From 811e97a7814a74c8d208f2cabb7e8f57f9657e10 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 29 Oct 2021 22:30:12 +0000 Subject: [PATCH 1/4] fix: remove classes for all v1alpha methods PiperOrigin-RevId: 399249336 Source-Link: https://github.com/googleapis/googleapis/commit/fcf719d038204306ab40cbc14c4be3c4a3155420 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e293c6d2d0ccf13f057c531270bc799cce4e8065 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTI5M2M2ZDJkMGNjZjEzZjA1N2M1MzEyNzBiYzc5OWNjZTRlODA2NSJ9 --- .../v1alpha/AlphaAnalyticsDataClient.java | 633 -- .../v1alpha/AlphaAnalyticsDataSettings.java | 240 - .../data/v1alpha/gapic_metadata.json | 36 - .../analytics/data/v1alpha/package-info.java | 52 - .../v1alpha/stub/AlphaAnalyticsDataStub.java | 74 - .../stub/AlphaAnalyticsDataStubSettings.java | 426 -- ...GrpcAlphaAnalyticsDataCallableFactory.java | 115 - .../stub/GrpcAlphaAnalyticsDataStub.java | 311 - .../v1alpha/AlphaAnalyticsDataClientTest.java | 501 -- .../data/v1alpha/MockAlphaAnalyticsData.java | 59 - .../v1alpha/MockAlphaAnalyticsDataImpl.java | 187 - .../data/v1alpha/AlphaAnalyticsDataGrpc.java | 1059 --- .../data/v1beta/BetaAnalyticsDataGrpc.java | 1057 --- .../data/v1beta/BetaAnalyticsDataClient.java | 81 +- .../v1beta/BetaAnalyticsDataSettings.java | 20 +- .../analytics/data/v1beta/gapic_metadata.json | 3 + .../analytics/data/v1beta/package-info.java | 0 .../v1beta/stub/BetaAnalyticsDataStub.java | 7 + .../stub/BetaAnalyticsDataStubSettings.java | 43 +- .../GrpcBetaAnalyticsDataCallableFactory.java | 0 .../stub/GrpcBetaAnalyticsDataStub.java | 39 + .../v1beta/BetaAnalyticsDataClientTest.java | 60 + .../data/v1beta/MockBetaAnalyticsData.java | 0 .../v1beta/MockBetaAnalyticsDataImpl.java | 22 + .../data/v1beta/BetaAnalyticsDataGrpc.java | 934 +++ .../data/v1beta/AnalyticsDataApiProto.java | 372 + .../v1beta/BatchRunPivotReportsRequest.java | 463 +- .../BatchRunPivotReportsRequestOrBuilder.java | 45 +- .../v1beta/BatchRunPivotReportsResponse.java | 481 +- ...BatchRunPivotReportsResponseOrBuilder.java | 42 +- .../data/v1beta/BatchRunReportsRequest.java | 460 +- .../BatchRunReportsRequestOrBuilder.java | 45 +- .../data/v1beta/BatchRunReportsResponse.java | 460 +- .../BatchRunReportsResponseOrBuilder.java | 45 +- .../v1beta/CheckCompatibilityRequest.java | 2211 ++++++ .../CheckCompatibilityRequestOrBuilder.java | 224 + .../v1beta/CheckCompatibilityResponse.java | 1310 ++++ .../CheckCompatibilityResponseOrBuilder.java | 97 + .../google/analytics/data/v1beta/Cohort.java | 475 +- .../data/v1beta/CohortOrBuilder.java | 44 +- .../data/v1beta/CohortReportSettings.java | 275 +- .../v1beta/CohortReportSettingsOrBuilder.java | 20 + .../analytics/data/v1beta/CohortSpec.java | 586 +- .../data/v1beta/CohortSpecOrBuilder.java | 52 +- .../analytics/data/v1beta/CohortsRange.java | 433 +- .../data/v1beta/CohortsRangeOrBuilder.java | 30 +- .../analytics/data/v1beta/Compatibility.java | 154 + .../analytics/data/v1beta/DateRange.java | 459 +- .../data/v1beta/DateRangeOrBuilder.java | 45 +- .../analytics/data/v1beta/Dimension.java | 415 +- .../data/v1beta/DimensionCompatibility.java | 861 +++ .../DimensionCompatibilityOrBuilder.java | 73 + .../data/v1beta/DimensionExpression.java | 1693 ++--- .../v1beta/DimensionExpressionOrBuilder.java | 63 +- .../data/v1beta/DimensionHeader.java | 308 +- .../data/v1beta/DimensionHeaderOrBuilder.java | 29 + .../data/v1beta/DimensionMetadata.java | 790 +- .../v1beta/DimensionMetadataOrBuilder.java | 88 +- .../data/v1beta/DimensionOrBuilder.java | 35 +- .../analytics/data/v1beta/DimensionValue.java | 361 +- .../data/v1beta/DimensionValueOrBuilder.java | 30 +- .../google/analytics/data/v1beta/Filter.java | 2643 +++---- .../data/v1beta/FilterExpression.java | 724 +- .../data/v1beta/FilterExpressionList.java | 370 +- .../v1beta/FilterExpressionListOrBuilder.java | 36 +- .../v1beta/FilterExpressionOrBuilder.java | 50 +- .../data/v1beta/FilterOrBuilder.java | 59 +- .../data/v1beta/GetMetadataRequest.java | 339 +- .../v1beta/GetMetadataRequestOrBuilder.java | 35 +- .../analytics/data/v1beta/Metadata.java | 586 +- .../analytics/data/v1beta/MetadataName.java | 0 .../data/v1beta/MetadataOrBuilder.java | 63 +- .../google/analytics/data/v1beta/Metric.java | 414 +- .../data/v1beta/MetricAggregation.java | 94 +- .../data/v1beta/MetricCompatibility.java | 861 +++ .../v1beta/MetricCompatibilityOrBuilder.java | 73 + .../analytics/data/v1beta/MetricHeader.java | 357 +- .../data/v1beta/MetricHeaderOrBuilder.java | 33 +- .../analytics/data/v1beta/MetricMetadata.java | 916 +-- .../data/v1beta/MetricMetadataOrBuilder.java | 103 +- .../data/v1beta/MetricOrBuilder.java | 39 +- .../analytics/data/v1beta/MetricType.java | 150 +- .../analytics/data/v1beta/MetricValue.java | 358 +- .../data/v1beta/MetricValueOrBuilder.java | 30 +- .../analytics/data/v1beta/MinuteRange.java | 376 +- .../data/v1beta/MinuteRangeOrBuilder.java | 39 +- .../analytics/data/v1beta/NumericValue.java | 374 +- .../data/v1beta/NumericValueOrBuilder.java | 30 +- .../google/analytics/data/v1beta/OrderBy.java | 2509 +++---- .../data/v1beta/OrderByOrBuilder.java | 45 +- .../google/analytics/data/v1beta/Pivot.java | 721 +- .../data/v1beta/PivotDimensionHeader.java | 366 +- .../v1beta/PivotDimensionHeaderOrBuilder.java | 36 +- .../analytics/data/v1beta/PivotHeader.java | 515 +- .../data/v1beta/PivotHeaderOrBuilder.java | 50 +- .../analytics/data/v1beta/PivotOrBuilder.java | 78 +- .../analytics/data/v1beta/PropertyQuota.java | 849 +-- .../data/v1beta/PropertyQuotaOrBuilder.java | 70 +- .../analytics/data/v1beta/QuotaStatus.java | 293 +- .../data/v1beta/QuotaStatusOrBuilder.java | 29 + .../data/v1beta/ReportingApiProto.java | 625 ++ .../data/v1beta/ResponseMetaData.java | 272 +- .../v1beta/ResponseMetaDataOrBuilder.java | 20 + .../com/google/analytics/data/v1beta/Row.java | 493 +- .../analytics/data/v1beta/RowOrBuilder.java | 54 +- .../data/v1beta/RunPivotReportRequest.java | 1360 ++-- .../RunPivotReportRequestOrBuilder.java | 138 +- .../data/v1beta/RunPivotReportResponse.java | 1218 ++-- .../RunPivotReportResponseOrBuilder.java | 134 +- .../data/v1beta/RunRealtimeReportRequest.java | 1355 ++-- .../RunRealtimeReportRequestOrBuilder.java | 139 +- .../v1beta/RunRealtimeReportResponse.java | 1302 ++-- .../RunRealtimeReportResponseOrBuilder.java | 148 +- .../data/v1beta/RunReportRequest.java | 1711 ++--- .../v1beta/RunReportRequestOrBuilder.java | 189 +- .../data/v1beta/RunReportResponse.java | 1398 ++-- .../v1beta/RunReportResponseOrBuilder.java | 156 +- .../data/v1beta/analytics_data_api.proto | 74 +- .../google/analytics/data/v1beta/data.proto | 46 + .../data/v1alpha/AnalyticsDataApiProto.java | 408 -- .../v1alpha/BatchRunPivotReportsRequest.java | 1296 ---- .../BatchRunPivotReportsRequestOrBuilder.java | 123 - .../v1alpha/BatchRunPivotReportsResponse.java | 995 --- ...BatchRunPivotReportsResponseOrBuilder.java | 78 - .../data/v1alpha/BatchRunReportsRequest.java | 1285 ---- .../BatchRunReportsRequestOrBuilder.java | 123 - .../data/v1alpha/BatchRunReportsResponse.java | 961 --- .../BatchRunReportsResponseOrBuilder.java | 77 - .../google/analytics/data/v1alpha/Cohort.java | 1271 ---- .../data/v1alpha/CohortOrBuilder.java | 155 - .../data/v1alpha/CohortReportSettings.java | 551 -- .../CohortReportSettingsOrBuilder.java | 39 - .../analytics/data/v1alpha/CohortSpec.java | 1589 ---- .../data/v1alpha/CohortSpecOrBuilder.java | 161 - .../analytics/data/v1alpha/CohortsRange.java | 1059 --- .../data/v1alpha/CohortsRangeOrBuilder.java | 95 - .../analytics/data/v1alpha/DateRange.java | 1057 --- .../data/v1alpha/DateRangeOrBuilder.java | 118 - .../analytics/data/v1alpha/Dimension.java | 985 --- .../data/v1alpha/DimensionExpression.java | 3346 --------- .../v1alpha/DimensionExpressionOrBuilder.java | 142 - .../data/v1alpha/DimensionHeader.java | 642 -- .../v1alpha/DimensionHeaderOrBuilder.java | 50 - .../data/v1alpha/DimensionMetadata.java | 1417 ---- .../v1alpha/DimensionMetadataOrBuilder.java | 180 - .../data/v1alpha/DimensionOrBuilder.java | 102 - .../data/v1alpha/DimensionValue.java | 765 -- .../data/v1alpha/DimensionValueOrBuilder.java | 64 - .../google/analytics/data/v1alpha/Entity.java | 647 -- .../data/v1alpha/EntityOrBuilder.java | 54 - .../google/analytics/data/v1alpha/Filter.java | 6453 ----------------- .../data/v1alpha/FilterExpression.java | 1790 ----- .../data/v1alpha/FilterExpressionList.java | 962 --- .../FilterExpressionListOrBuilder.java | 77 - .../v1alpha/FilterExpressionOrBuilder.java | 173 - .../data/v1alpha/FilterOrBuilder.java | 225 - .../data/v1alpha/GetMetadataRequest.java | 706 -- .../v1alpha/GetMetadataRequestOrBuilder.java | 70 - .../analytics/data/v1alpha/Metadata.java | 1630 ----- .../analytics/data/v1alpha/MetadataName.java | 168 - .../data/v1alpha/MetadataOrBuilder.java | 154 - .../google/analytics/data/v1alpha/Metric.java | 970 --- .../data/v1alpha/MetricAggregation.java | 224 - .../analytics/data/v1alpha/MetricHeader.java | 790 -- .../data/v1alpha/MetricHeaderOrBuilder.java | 75 - .../data/v1alpha/MetricMetadata.java | 1759 ----- .../data/v1alpha/MetricMetadataOrBuilder.java | 234 - .../data/v1alpha/MetricOrBuilder.java | 106 - .../analytics/data/v1alpha/MetricType.java | 398 - .../analytics/data/v1alpha/MetricValue.java | 764 -- .../data/v1alpha/MetricValueOrBuilder.java | 64 - .../analytics/data/v1alpha/NumericValue.java | 803 -- .../data/v1alpha/NumericValueOrBuilder.java | 77 - .../analytics/data/v1alpha/OrderBy.java | 5551 -------------- .../data/v1alpha/OrderByOrBuilder.java | 145 - .../google/analytics/data/v1alpha/Pivot.java | 1963 ----- .../data/v1alpha/PivotDimensionHeader.java | 965 --- .../PivotDimensionHeaderOrBuilder.java | 77 - .../analytics/data/v1alpha/PivotHeader.java | 1135 --- .../data/v1alpha/PivotHeaderOrBuilder.java | 104 - .../data/v1alpha/PivotOrBuilder.java | 255 - .../analytics/data/v1alpha/PropertyQuota.java | 1687 ----- .../data/v1alpha/PropertyQuotaOrBuilder.java | 190 - .../analytics/data/v1alpha/QuotaStatus.java | 634 -- .../data/v1alpha/QuotaStatusOrBuilder.java | 51 - .../data/v1alpha/ReportingApiProto.java | 656 -- .../data/v1alpha/ResponseMetaData.java | 550 -- .../v1alpha/ResponseMetaDataOrBuilder.java | 39 - .../google/analytics/data/v1alpha/Row.java | 1541 ---- .../analytics/data/v1alpha/RowOrBuilder.java | 134 - .../data/v1alpha/RunPivotReportRequest.java | 4198 ----------- .../RunPivotReportRequestOrBuilder.java | 494 -- .../data/v1alpha/RunPivotReportResponse.java | 4339 ----------- .../RunPivotReportResponseOrBuilder.java | 540 -- .../v1alpha/RunRealtimeReportRequest.java | 3343 --------- .../RunRealtimeReportRequestOrBuilder.java | 389 - .../v1alpha/RunRealtimeReportResponse.java | 3836 ---------- .../RunRealtimeReportResponseOrBuilder.java | 397 - .../data/v1alpha/RunReportRequest.java | 4686 ------------ .../v1alpha/RunReportRequestOrBuilder.java | 563 -- .../data/v1alpha/RunReportResponse.java | 4123 ----------- .../v1alpha/RunReportResponseOrBuilder.java | 434 -- .../data/v1alpha/analytics_data_api.proto | 477 -- .../google/analytics/data/v1alpha/data.proto | 793 -- .../data/v1beta/AnalyticsDataApiProto.java | 412 -- .../v1beta/CohortReportSettingsOrBuilder.java | 39 - .../data/v1beta/DimensionHeaderOrBuilder.java | 50 - .../data/v1beta/QuotaStatusOrBuilder.java | 51 - .../data/v1beta/ReportingApiProto.java | 659 -- .../v1beta/ResponseMetaDataOrBuilder.java | 39 - 210 files changed, 19936 insertions(+), 109188 deletions(-) delete mode 100644 google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClient.java delete mode 100644 google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataSettings.java delete mode 100644 google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/gapic_metadata.json delete mode 100644 google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/package-info.java delete mode 100644 google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStub.java delete mode 100644 google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStubSettings.java delete mode 100644 google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/GrpcAlphaAnalyticsDataCallableFactory.java delete mode 100644 google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/GrpcAlphaAnalyticsDataStub.java delete mode 100644 google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClientTest.java delete mode 100644 google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/MockAlphaAnalyticsData.java delete mode 100644 google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/MockAlphaAnalyticsDataImpl.java delete mode 100644 grpc-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataGrpc.java delete mode 100644 grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java (88%) rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java (91%) rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json (90%) rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/package-info.java (100%) rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java (89%) rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java (89%) rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataCallableFactory.java (100%) rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java (88%) rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java (88%) rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsData.java (100%) rename {google-analytics-data => owl-bot-staging/v1beta/google-analytics-data}/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java (88%) create mode 100644 owl-bot-staging/v1beta/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java (76%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java (78%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java (73%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java (74%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java (76%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java (78%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java (74%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java (72%) create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.java create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.java create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Cohort.java (79%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java (86%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java (67%) create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java (76%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java (82%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java (76%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java (79%) create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Compatibility.java rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DateRange.java (74%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java (75%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Dimension.java (74%) create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.java create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.java rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java (66%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java (73%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java (68%) create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java (68%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java (77%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java (79%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java (69%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java (55%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Filter.java (73%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java (71%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java (73%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java (65%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java (82%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java (81%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java (70%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java (61%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Metadata.java (75%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetadataName.java (100%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java (74%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Metric.java (75%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java (69%) create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.java create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.java rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java (70%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java (57%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java (70%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java (79%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java (76%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricType.java (74%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricValue.java (69%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java (55%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java (78%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java (83%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/NumericValue.java (69%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java (59%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/OrderBy.java (71%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java (78%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Pivot.java (79%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java (74%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java (66%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java (68%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java (67%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java (86%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java (71%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java (85%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java (68%) create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java (68%) create mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Row.java (78%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java (76%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java (81%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java (89%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java (83%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java (90%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java (79%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java (88%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java (80%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java (85%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java (77%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java (84%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java (79%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java (86%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto (87%) rename {proto-google-analytics-data-v1beta => owl-bot-staging/v1beta/proto-google-analytics-data-v1beta}/src/main/proto/google/analytics/data/v1beta/data.proto (94%) delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AnalyticsDataApiProto.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsRequest.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsRequestOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsResponse.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsResponseOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsRequest.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsRequestOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsResponse.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsResponseOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Cohort.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortReportSettings.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortReportSettingsOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortSpec.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortSpecOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortsRange.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortsRangeOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DateRange.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DateRangeOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Dimension.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionExpression.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionExpressionOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionHeader.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionHeaderOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionMetadata.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionMetadataOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionValue.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionValueOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Entity.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/EntityOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Filter.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpression.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionList.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionListOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetMetadataRequest.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetMetadataRequestOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Metadata.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetadataName.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetadataOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Metric.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricAggregation.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricHeader.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricHeaderOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricMetadata.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricMetadataOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricType.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricValue.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricValueOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/NumericValue.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/NumericValueOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/OrderBy.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/OrderByOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Pivot.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotDimensionHeader.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotDimensionHeaderOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotHeader.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotHeaderOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PropertyQuota.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PropertyQuotaOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/QuotaStatus.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/QuotaStatusOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ReportingApiProto.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ResponseMetaData.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ResponseMetaDataOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Row.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RowOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportRequest.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportRequestOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportResponse.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportResponseOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportRequest.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportRequestOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportResponse.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportResponseOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportRequest.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportRequestOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportResponse.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportResponseOrBuilder.java delete mode 100644 proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/analytics_data_api.proto delete mode 100644 proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/data.proto delete mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java delete mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java delete mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java delete mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java delete mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java delete mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClient.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClient.java deleted file mode 100644 index 412978f3..00000000 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClient.java +++ /dev/null @@ -1,633 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.analytics.data.v1alpha; - -import com.google.analytics.data.v1alpha.stub.AlphaAnalyticsDataStub; -import com.google.analytics.data.v1alpha.stub.AlphaAnalyticsDataStubSettings; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.rpc.UnaryCallable; -import java.io.IOException; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Service Description: Google Analytics reporting data service. - * - *

This class provides the ability to make remote calls to the backing service through method - * calls that map to API methods. Sample code to get started: - * - *

{@code
- * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
- *   RunReportRequest request =
- *       RunReportRequest.newBuilder()
- *           .setEntity(Entity.newBuilder().build())
- *           .addAllDimensions(new ArrayList())
- *           .addAllMetrics(new ArrayList())
- *           .addAllDateRanges(new ArrayList())
- *           .setOffset(-1019779949)
- *           .setLimit(102976443)
- *           .addAllMetricAggregations(new ArrayList())
- *           .setDimensionFilter(FilterExpression.newBuilder().build())
- *           .setMetricFilter(FilterExpression.newBuilder().build())
- *           .addAllOrderBys(new ArrayList())
- *           .setCurrencyCode("currencyCode1004773790")
- *           .setCohortSpec(CohortSpec.newBuilder().build())
- *           .setKeepEmptyRows(true)
- *           .setReturnPropertyQuota(true)
- *           .build();
- *   RunReportResponse response = alphaAnalyticsDataClient.runReport(request);
- * }
- * }
- * - *

Note: close() needs to be called on the AlphaAnalyticsDataClient object to clean up resources - * such as threads. In the example above, try-with-resources is used, which automatically calls - * close(). - * - *

The surface of this class includes several types of Java methods for each of the API's - * methods: - * - *

    - *
  1. 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. - *
  2. 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. - *
  3. 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. - *
- * - *

See the individual methods for example code. - * - *

Many parameters require resource names to be formatted in a particular way. To assist with - * these names, this class includes a format method for each type of name, and additionally a parse - * method to extract the individual identifiers contained within names that are returned. - * - *

This class can be customized by passing in a custom instance of AlphaAnalyticsDataSettings to - * create(). For example: - * - *

To customize credentials: - * - *

{@code
- * AlphaAnalyticsDataSettings alphaAnalyticsDataSettings =
- *     AlphaAnalyticsDataSettings.newBuilder()
- *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
- *         .build();
- * AlphaAnalyticsDataClient alphaAnalyticsDataClient =
- *     AlphaAnalyticsDataClient.create(alphaAnalyticsDataSettings);
- * }
- * - *

To customize the endpoint: - * - *

{@code
- * AlphaAnalyticsDataSettings alphaAnalyticsDataSettings =
- *     AlphaAnalyticsDataSettings.newBuilder().setEndpoint(myEndpoint).build();
- * AlphaAnalyticsDataClient alphaAnalyticsDataClient =
- *     AlphaAnalyticsDataClient.create(alphaAnalyticsDataSettings);
- * }
- * - *

Please refer to the GitHub repository's samples for more quickstart code snippets. - */ -@BetaApi -@Generated("by gapic-generator-java") -public class AlphaAnalyticsDataClient implements BackgroundResource { - private final AlphaAnalyticsDataSettings settings; - private final AlphaAnalyticsDataStub stub; - - /** Constructs an instance of AlphaAnalyticsDataClient with default settings. */ - public static final AlphaAnalyticsDataClient create() throws IOException { - return create(AlphaAnalyticsDataSettings.newBuilder().build()); - } - - /** - * Constructs an instance of AlphaAnalyticsDataClient, using the given settings. The channels are - * created based on the settings passed in, or defaults for any settings that are not set. - */ - public static final AlphaAnalyticsDataClient create(AlphaAnalyticsDataSettings settings) - throws IOException { - return new AlphaAnalyticsDataClient(settings); - } - - /** - * Constructs an instance of AlphaAnalyticsDataClient, using the given stub for making calls. This - * is for advanced usage - prefer using create(AlphaAnalyticsDataSettings). - */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") - public static final AlphaAnalyticsDataClient create(AlphaAnalyticsDataStub stub) { - return new AlphaAnalyticsDataClient(stub); - } - - /** - * Constructs an instance of AlphaAnalyticsDataClient, using the given settings. This is protected - * so that it is easy to make a subclass, but otherwise, the static factory methods should be - * preferred. - */ - protected AlphaAnalyticsDataClient(AlphaAnalyticsDataSettings settings) throws IOException { - this.settings = settings; - this.stub = ((AlphaAnalyticsDataStubSettings) settings.getStubSettings()).createStub(); - } - - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") - protected AlphaAnalyticsDataClient(AlphaAnalyticsDataStub stub) { - this.settings = null; - this.stub = stub; - } - - public final AlphaAnalyticsDataSettings getSettings() { - return settings; - } - - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") - public AlphaAnalyticsDataStub getStub() { - return stub; - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns a customized report of your Google Analytics event data. Reports contain statistics - * derived from data collected by the Google Analytics tracking code. The data returned from the - * API is as a table with columns for the requested dimensions and metrics. Metrics are individual - * measurements of user activity on your property, such as active users or event count. Dimensions - * break down metrics across some common criteria, such as country or event name. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   RunReportRequest request =
-   *       RunReportRequest.newBuilder()
-   *           .setEntity(Entity.newBuilder().build())
-   *           .addAllDimensions(new ArrayList())
-   *           .addAllMetrics(new ArrayList())
-   *           .addAllDateRanges(new ArrayList())
-   *           .setOffset(-1019779949)
-   *           .setLimit(102976443)
-   *           .addAllMetricAggregations(new ArrayList())
-   *           .setDimensionFilter(FilterExpression.newBuilder().build())
-   *           .setMetricFilter(FilterExpression.newBuilder().build())
-   *           .addAllOrderBys(new ArrayList())
-   *           .setCurrencyCode("currencyCode1004773790")
-   *           .setCohortSpec(CohortSpec.newBuilder().build())
-   *           .setKeepEmptyRows(true)
-   *           .setReturnPropertyQuota(true)
-   *           .build();
-   *   RunReportResponse response = alphaAnalyticsDataClient.runReport(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final RunReportResponse runReport(RunReportRequest request) { - return runReportCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns a customized report of your Google Analytics event data. Reports contain statistics - * derived from data collected by the Google Analytics tracking code. The data returned from the - * API is as a table with columns for the requested dimensions and metrics. Metrics are individual - * measurements of user activity on your property, such as active users or event count. Dimensions - * break down metrics across some common criteria, such as country or event name. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   RunReportRequest request =
-   *       RunReportRequest.newBuilder()
-   *           .setEntity(Entity.newBuilder().build())
-   *           .addAllDimensions(new ArrayList())
-   *           .addAllMetrics(new ArrayList())
-   *           .addAllDateRanges(new ArrayList())
-   *           .setOffset(-1019779949)
-   *           .setLimit(102976443)
-   *           .addAllMetricAggregations(new ArrayList())
-   *           .setDimensionFilter(FilterExpression.newBuilder().build())
-   *           .setMetricFilter(FilterExpression.newBuilder().build())
-   *           .addAllOrderBys(new ArrayList())
-   *           .setCurrencyCode("currencyCode1004773790")
-   *           .setCohortSpec(CohortSpec.newBuilder().build())
-   *           .setKeepEmptyRows(true)
-   *           .setReturnPropertyQuota(true)
-   *           .build();
-   *   ApiFuture future =
-   *       alphaAnalyticsDataClient.runReportCallable().futureCall(request);
-   *   // Do something.
-   *   RunReportResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable runReportCallable() { - return stub.runReportCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns a customized pivot report of your Google Analytics event data. Pivot reports are more - * advanced and expressive formats than regular reports. In a pivot report, dimensions are only - * visible if they are included in a pivot. Multiple pivots can be specified to further dissect - * your data. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   RunPivotReportRequest request =
-   *       RunPivotReportRequest.newBuilder()
-   *           .setEntity(Entity.newBuilder().build())
-   *           .addAllDimensions(new ArrayList())
-   *           .addAllMetrics(new ArrayList())
-   *           .setDimensionFilter(FilterExpression.newBuilder().build())
-   *           .setMetricFilter(FilterExpression.newBuilder().build())
-   *           .addAllPivots(new ArrayList())
-   *           .addAllDateRanges(new ArrayList())
-   *           .setCurrencyCode("currencyCode1004773790")
-   *           .setCohortSpec(CohortSpec.newBuilder().build())
-   *           .setKeepEmptyRows(true)
-   *           .setReturnPropertyQuota(true)
-   *           .build();
-   *   RunPivotReportResponse response = alphaAnalyticsDataClient.runPivotReport(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final RunPivotReportResponse runPivotReport(RunPivotReportRequest request) { - return runPivotReportCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns a customized pivot report of your Google Analytics event data. Pivot reports are more - * advanced and expressive formats than regular reports. In a pivot report, dimensions are only - * visible if they are included in a pivot. Multiple pivots can be specified to further dissect - * your data. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   RunPivotReportRequest request =
-   *       RunPivotReportRequest.newBuilder()
-   *           .setEntity(Entity.newBuilder().build())
-   *           .addAllDimensions(new ArrayList())
-   *           .addAllMetrics(new ArrayList())
-   *           .setDimensionFilter(FilterExpression.newBuilder().build())
-   *           .setMetricFilter(FilterExpression.newBuilder().build())
-   *           .addAllPivots(new ArrayList())
-   *           .addAllDateRanges(new ArrayList())
-   *           .setCurrencyCode("currencyCode1004773790")
-   *           .setCohortSpec(CohortSpec.newBuilder().build())
-   *           .setKeepEmptyRows(true)
-   *           .setReturnPropertyQuota(true)
-   *           .build();
-   *   ApiFuture future =
-   *       alphaAnalyticsDataClient.runPivotReportCallable().futureCall(request);
-   *   // Do something.
-   *   RunPivotReportResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - runPivotReportCallable() { - return stub.runPivotReportCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns multiple reports in a batch. All reports must be for the same Entity. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   BatchRunReportsRequest request =
-   *       BatchRunReportsRequest.newBuilder()
-   *           .setEntity(Entity.newBuilder().build())
-   *           .addAllRequests(new ArrayList())
-   *           .build();
-   *   BatchRunReportsResponse response = alphaAnalyticsDataClient.batchRunReports(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final BatchRunReportsResponse batchRunReports(BatchRunReportsRequest request) { - return batchRunReportsCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns multiple reports in a batch. All reports must be for the same Entity. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   BatchRunReportsRequest request =
-   *       BatchRunReportsRequest.newBuilder()
-   *           .setEntity(Entity.newBuilder().build())
-   *           .addAllRequests(new ArrayList())
-   *           .build();
-   *   ApiFuture future =
-   *       alphaAnalyticsDataClient.batchRunReportsCallable().futureCall(request);
-   *   // Do something.
-   *   BatchRunReportsResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - batchRunReportsCallable() { - return stub.batchRunReportsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns multiple pivot reports in a batch. All reports must be for the same Entity. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   BatchRunPivotReportsRequest request =
-   *       BatchRunPivotReportsRequest.newBuilder()
-   *           .setEntity(Entity.newBuilder().build())
-   *           .addAllRequests(new ArrayList())
-   *           .build();
-   *   BatchRunPivotReportsResponse response =
-   *       alphaAnalyticsDataClient.batchRunPivotReports(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final BatchRunPivotReportsResponse batchRunPivotReports( - BatchRunPivotReportsRequest request) { - return batchRunPivotReportsCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns multiple pivot reports in a batch. All reports must be for the same Entity. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   BatchRunPivotReportsRequest request =
-   *       BatchRunPivotReportsRequest.newBuilder()
-   *           .setEntity(Entity.newBuilder().build())
-   *           .addAllRequests(new ArrayList())
-   *           .build();
-   *   ApiFuture future =
-   *       alphaAnalyticsDataClient.batchRunPivotReportsCallable().futureCall(request);
-   *   // Do something.
-   *   BatchRunPivotReportsResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - batchRunPivotReportsCallable() { - return stub.batchRunPivotReportsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns metadata for dimensions and metrics available in reporting methods. Used to explore the - * dimensions and metrics. In this method, a Google Analytics GA4 Property Identifier is specified - * in the request, and the metadata response includes Custom dimensions and metrics as well as - * Universal metadata. - * - *

For example if a custom metric with parameter name `levels_unlocked` is registered to a - * property, the Metadata response will contain `customEvent:levels_unlocked`. Universal metadata - * are dimensions and metrics applicable to any property such as `country` and `totalUsers`. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   MetadataName name = MetadataName.of("[PROPERTY]");
-   *   Metadata response = alphaAnalyticsDataClient.getMetadata(name);
-   * }
-   * }
- * - * @param name Required. The resource name of the metadata to retrieve. This name field is - * specified in the URL path and not URL parameters. Property is a numeric Google Analytics - * GA4 Property identifier. To learn more, see [where to find your Property - * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). - *

Example: properties/1234/metadata - *

Set the Property ID to 0 for dimensions and metrics common to all properties. In this - * special mode, this method will not return custom dimensions and metrics. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Metadata getMetadata(MetadataName name) { - GetMetadataRequest request = - GetMetadataRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - return getMetadata(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns metadata for dimensions and metrics available in reporting methods. Used to explore the - * dimensions and metrics. In this method, a Google Analytics GA4 Property Identifier is specified - * in the request, and the metadata response includes Custom dimensions and metrics as well as - * Universal metadata. - * - *

For example if a custom metric with parameter name `levels_unlocked` is registered to a - * property, the Metadata response will contain `customEvent:levels_unlocked`. Universal metadata - * are dimensions and metrics applicable to any property such as `country` and `totalUsers`. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   String name = MetadataName.of("[PROPERTY]").toString();
-   *   Metadata response = alphaAnalyticsDataClient.getMetadata(name);
-   * }
-   * }
- * - * @param name Required. The resource name of the metadata to retrieve. This name field is - * specified in the URL path and not URL parameters. Property is a numeric Google Analytics - * GA4 Property identifier. To learn more, see [where to find your Property - * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). - *

Example: properties/1234/metadata - *

Set the Property ID to 0 for dimensions and metrics common to all properties. In this - * special mode, this method will not return custom dimensions and metrics. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Metadata getMetadata(String name) { - GetMetadataRequest request = GetMetadataRequest.newBuilder().setName(name).build(); - return getMetadata(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns metadata for dimensions and metrics available in reporting methods. Used to explore the - * dimensions and metrics. In this method, a Google Analytics GA4 Property Identifier is specified - * in the request, and the metadata response includes Custom dimensions and metrics as well as - * Universal metadata. - * - *

For example if a custom metric with parameter name `levels_unlocked` is registered to a - * property, the Metadata response will contain `customEvent:levels_unlocked`. Universal metadata - * are dimensions and metrics applicable to any property such as `country` and `totalUsers`. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   GetMetadataRequest request =
-   *       GetMetadataRequest.newBuilder().setName(MetadataName.of("[PROPERTY]").toString()).build();
-   *   Metadata response = alphaAnalyticsDataClient.getMetadata(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Metadata getMetadata(GetMetadataRequest request) { - return getMetadataCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns metadata for dimensions and metrics available in reporting methods. Used to explore the - * dimensions and metrics. In this method, a Google Analytics GA4 Property Identifier is specified - * in the request, and the metadata response includes Custom dimensions and metrics as well as - * Universal metadata. - * - *

For example if a custom metric with parameter name `levels_unlocked` is registered to a - * property, the Metadata response will contain `customEvent:levels_unlocked`. Universal metadata - * are dimensions and metrics applicable to any property such as `country` and `totalUsers`. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   GetMetadataRequest request =
-   *       GetMetadataRequest.newBuilder().setName(MetadataName.of("[PROPERTY]").toString()).build();
-   *   ApiFuture future =
-   *       alphaAnalyticsDataClient.getMetadataCallable().futureCall(request);
-   *   // Do something.
-   *   Metadata response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable getMetadataCallable() { - return stub.getMetadataCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * The Google Analytics Realtime API returns a customized report of realtime event data for your - * property. These reports show events and usage from the last 30 minutes. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   RunRealtimeReportRequest request =
-   *       RunRealtimeReportRequest.newBuilder()
-   *           .setProperty("property-993141291")
-   *           .addAllDimensions(new ArrayList())
-   *           .addAllMetrics(new ArrayList())
-   *           .setLimit(102976443)
-   *           .setDimensionFilter(FilterExpression.newBuilder().build())
-   *           .setMetricFilter(FilterExpression.newBuilder().build())
-   *           .addAllMetricAggregations(new ArrayList())
-   *           .addAllOrderBys(new ArrayList())
-   *           .setReturnPropertyQuota(true)
-   *           .build();
-   *   RunRealtimeReportResponse response = alphaAnalyticsDataClient.runRealtimeReport(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final RunRealtimeReportResponse runRealtimeReport(RunRealtimeReportRequest request) { - return runRealtimeReportCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * The Google Analytics Realtime API returns a customized report of realtime event data for your - * property. These reports show events and usage from the last 30 minutes. - * - *

Sample code: - * - *

{@code
-   * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
-   *   RunRealtimeReportRequest request =
-   *       RunRealtimeReportRequest.newBuilder()
-   *           .setProperty("property-993141291")
-   *           .addAllDimensions(new ArrayList())
-   *           .addAllMetrics(new ArrayList())
-   *           .setLimit(102976443)
-   *           .setDimensionFilter(FilterExpression.newBuilder().build())
-   *           .setMetricFilter(FilterExpression.newBuilder().build())
-   *           .addAllMetricAggregations(new ArrayList())
-   *           .addAllOrderBys(new ArrayList())
-   *           .setReturnPropertyQuota(true)
-   *           .build();
-   *   ApiFuture future =
-   *       alphaAnalyticsDataClient.runRealtimeReportCallable().futureCall(request);
-   *   // Do something.
-   *   RunRealtimeReportResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - runRealtimeReportCallable() { - return stub.runRealtimeReportCallable(); - } - - @Override - public final void close() { - stub.close(); - } - - @Override - public void shutdown() { - stub.shutdown(); - } - - @Override - public boolean isShutdown() { - return stub.isShutdown(); - } - - @Override - public boolean isTerminated() { - return stub.isTerminated(); - } - - @Override - public void shutdownNow() { - stub.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return stub.awaitTermination(duration, unit); - } -} diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataSettings.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataSettings.java deleted file mode 100644 index 11bb9826..00000000 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataSettings.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.analytics.data.v1alpha; - -import com.google.analytics.data.v1alpha.stub.AlphaAnalyticsDataStubSettings; -import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.GoogleCredentialsProvider; -import com.google.api.gax.core.InstantiatingExecutorProvider; -import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.TransportChannelProvider; -import com.google.api.gax.rpc.UnaryCallSettings; -import java.io.IOException; -import java.util.List; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link AlphaAnalyticsDataClient}. - * - *

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

    - *
  • The default service address (analyticsdata.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 - * build() is called, the tree of builders is called to create the complete settings object. - * - *

For example, to set the total timeout of runReport to 30 seconds: - * - *

{@code
- * AlphaAnalyticsDataSettings.Builder alphaAnalyticsDataSettingsBuilder =
- *     AlphaAnalyticsDataSettings.newBuilder();
- * alphaAnalyticsDataSettingsBuilder
- *     .runReportSettings()
- *     .setRetrySettings(
- *         alphaAnalyticsDataSettingsBuilder
- *             .runReportSettings()
- *             .getRetrySettings()
- *             .toBuilder()
- *             .setTotalTimeout(Duration.ofSeconds(30))
- *             .build());
- * AlphaAnalyticsDataSettings alphaAnalyticsDataSettings =
- *     alphaAnalyticsDataSettingsBuilder.build();
- * }
- */ -@BetaApi -@Generated("by gapic-generator-java") -public class AlphaAnalyticsDataSettings extends ClientSettings { - - /** Returns the object with the settings used for calls to runReport. */ - public UnaryCallSettings runReportSettings() { - return ((AlphaAnalyticsDataStubSettings) getStubSettings()).runReportSettings(); - } - - /** Returns the object with the settings used for calls to runPivotReport. */ - public UnaryCallSettings runPivotReportSettings() { - return ((AlphaAnalyticsDataStubSettings) getStubSettings()).runPivotReportSettings(); - } - - /** Returns the object with the settings used for calls to batchRunReports. */ - public UnaryCallSettings - batchRunReportsSettings() { - return ((AlphaAnalyticsDataStubSettings) getStubSettings()).batchRunReportsSettings(); - } - - /** Returns the object with the settings used for calls to batchRunPivotReports. */ - public UnaryCallSettings - batchRunPivotReportsSettings() { - return ((AlphaAnalyticsDataStubSettings) getStubSettings()).batchRunPivotReportsSettings(); - } - - /** Returns the object with the settings used for calls to getMetadata. */ - public UnaryCallSettings getMetadataSettings() { - return ((AlphaAnalyticsDataStubSettings) getStubSettings()).getMetadataSettings(); - } - - /** Returns the object with the settings used for calls to runRealtimeReport. */ - public UnaryCallSettings - runRealtimeReportSettings() { - return ((AlphaAnalyticsDataStubSettings) getStubSettings()).runRealtimeReportSettings(); - } - - public static final AlphaAnalyticsDataSettings create(AlphaAnalyticsDataStubSettings stub) - throws IOException { - return new AlphaAnalyticsDataSettings.Builder(stub.toBuilder()).build(); - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return AlphaAnalyticsDataStubSettings.defaultExecutorProviderBuilder(); - } - - /** Returns the default service endpoint. */ - public static String getDefaultEndpoint() { - return AlphaAnalyticsDataStubSettings.getDefaultEndpoint(); - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return AlphaAnalyticsDataStubSettings.getDefaultServiceScopes(); - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return AlphaAnalyticsDataStubSettings.defaultCredentialsProviderBuilder(); - } - - /** Returns a builder for the default ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return AlphaAnalyticsDataStubSettings.defaultGrpcTransportProviderBuilder(); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return AlphaAnalyticsDataStubSettings.defaultTransportChannelProvider(); - } - - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return AlphaAnalyticsDataStubSettings.defaultApiClientHeaderProviderBuilder(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected AlphaAnalyticsDataSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - } - - /** Builder for AlphaAnalyticsDataSettings. */ - public static class Builder extends ClientSettings.Builder { - - protected Builder() throws IOException { - this(((ClientContext) null)); - } - - protected Builder(ClientContext clientContext) { - super(AlphaAnalyticsDataStubSettings.newBuilder(clientContext)); - } - - protected Builder(AlphaAnalyticsDataSettings settings) { - super(settings.getStubSettings().toBuilder()); - } - - protected Builder(AlphaAnalyticsDataStubSettings.Builder stubSettings) { - super(stubSettings); - } - - private static Builder createDefault() { - return new Builder(AlphaAnalyticsDataStubSettings.newBuilder()); - } - - public AlphaAnalyticsDataStubSettings.Builder getStubSettingsBuilder() { - return ((AlphaAnalyticsDataStubSettings.Builder) getStubSettings()); - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods( - getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); - return this; - } - - /** Returns the builder for the settings used for calls to runReport. */ - public UnaryCallSettings.Builder runReportSettings() { - return getStubSettingsBuilder().runReportSettings(); - } - - /** Returns the builder for the settings used for calls to runPivotReport. */ - public UnaryCallSettings.Builder - runPivotReportSettings() { - return getStubSettingsBuilder().runPivotReportSettings(); - } - - /** Returns the builder for the settings used for calls to batchRunReports. */ - public UnaryCallSettings.Builder - batchRunReportsSettings() { - return getStubSettingsBuilder().batchRunReportsSettings(); - } - - /** Returns the builder for the settings used for calls to batchRunPivotReports. */ - public UnaryCallSettings.Builder - batchRunPivotReportsSettings() { - return getStubSettingsBuilder().batchRunPivotReportsSettings(); - } - - /** Returns the builder for the settings used for calls to getMetadata. */ - public UnaryCallSettings.Builder getMetadataSettings() { - return getStubSettingsBuilder().getMetadataSettings(); - } - - /** Returns the builder for the settings used for calls to runRealtimeReport. */ - public UnaryCallSettings.Builder - runRealtimeReportSettings() { - return getStubSettingsBuilder().runRealtimeReportSettings(); - } - - @Override - public AlphaAnalyticsDataSettings build() throws IOException { - return new AlphaAnalyticsDataSettings(this); - } - } -} diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/gapic_metadata.json b/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/gapic_metadata.json deleted file mode 100644 index 39ab2589..00000000 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/gapic_metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "schema": "1.0", - "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", - "language": "java", - "protoPackage": "google.analytics.data.v1alpha", - "libraryPackage": "com.google.analytics.data.v1alpha", - "services": { - "AlphaAnalyticsData": { - "clients": { - "grpc": { - "libraryClient": "AlphaAnalyticsDataClient", - "rpcs": { - "BatchRunPivotReports": { - "methods": ["batchRunPivotReports", "batchRunPivotReportsCallable"] - }, - "BatchRunReports": { - "methods": ["batchRunReports", "batchRunReportsCallable"] - }, - "GetMetadata": { - "methods": ["getMetadata", "getMetadata", "getMetadata", "getMetadataCallable"] - }, - "RunPivotReport": { - "methods": ["runPivotReport", "runPivotReportCallable"] - }, - "RunRealtimeReport": { - "methods": ["runRealtimeReport", "runRealtimeReportCallable"] - }, - "RunReport": { - "methods": ["runReport", "runReportCallable"] - } - } - } - } - } - } -} \ No newline at end of file diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/package-info.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/package-info.java deleted file mode 100644 index b5509079..00000000 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/package-info.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * The interfaces provided are listed below, along with usage samples. - * - *

======================= AlphaAnalyticsDataClient ======================= - * - *

Service Description: Google Analytics reporting data service. - * - *

Sample for AlphaAnalyticsDataClient: - * - *

{@code
- * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
- *   RunReportRequest request =
- *       RunReportRequest.newBuilder()
- *           .setEntity(Entity.newBuilder().build())
- *           .addAllDimensions(new ArrayList())
- *           .addAllMetrics(new ArrayList())
- *           .addAllDateRanges(new ArrayList())
- *           .setOffset(-1019779949)
- *           .setLimit(102976443)
- *           .addAllMetricAggregations(new ArrayList())
- *           .setDimensionFilter(FilterExpression.newBuilder().build())
- *           .setMetricFilter(FilterExpression.newBuilder().build())
- *           .addAllOrderBys(new ArrayList())
- *           .setCurrencyCode("currencyCode1004773790")
- *           .setCohortSpec(CohortSpec.newBuilder().build())
- *           .setKeepEmptyRows(true)
- *           .setReturnPropertyQuota(true)
- *           .build();
- *   RunReportResponse response = alphaAnalyticsDataClient.runReport(request);
- * }
- * }
- */ -@Generated("by gapic-generator-java") -package com.google.analytics.data.v1alpha; - -import javax.annotation.Generated; diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStub.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStub.java deleted file mode 100644 index 050b946a..00000000 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStub.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.analytics.data.v1alpha.stub; - -import com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest; -import com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse; -import com.google.analytics.data.v1alpha.BatchRunReportsRequest; -import com.google.analytics.data.v1alpha.BatchRunReportsResponse; -import com.google.analytics.data.v1alpha.GetMetadataRequest; -import com.google.analytics.data.v1alpha.Metadata; -import com.google.analytics.data.v1alpha.RunPivotReportRequest; -import com.google.analytics.data.v1alpha.RunPivotReportResponse; -import com.google.analytics.data.v1alpha.RunRealtimeReportRequest; -import com.google.analytics.data.v1alpha.RunRealtimeReportResponse; -import com.google.analytics.data.v1alpha.RunReportRequest; -import com.google.analytics.data.v1alpha.RunReportResponse; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.rpc.UnaryCallable; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Base stub class for the AlphaAnalyticsData service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ -@BetaApi -@Generated("by gapic-generator-java") -public abstract class AlphaAnalyticsDataStub implements BackgroundResource { - - public UnaryCallable runReportCallable() { - throw new UnsupportedOperationException("Not implemented: runReportCallable()"); - } - - public UnaryCallable runPivotReportCallable() { - throw new UnsupportedOperationException("Not implemented: runPivotReportCallable()"); - } - - public UnaryCallable batchRunReportsCallable() { - throw new UnsupportedOperationException("Not implemented: batchRunReportsCallable()"); - } - - public UnaryCallable - batchRunPivotReportsCallable() { - throw new UnsupportedOperationException("Not implemented: batchRunPivotReportsCallable()"); - } - - public UnaryCallable getMetadataCallable() { - throw new UnsupportedOperationException("Not implemented: getMetadataCallable()"); - } - - public UnaryCallable - runRealtimeReportCallable() { - throw new UnsupportedOperationException("Not implemented: runRealtimeReportCallable()"); - } - - @Override - public abstract void close(); -} diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStubSettings.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStubSettings.java deleted file mode 100644 index 51d7bc92..00000000 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/AlphaAnalyticsDataStubSettings.java +++ /dev/null @@ -1,426 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.analytics.data.v1alpha.stub; - -import com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest; -import com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse; -import com.google.analytics.data.v1alpha.BatchRunReportsRequest; -import com.google.analytics.data.v1alpha.BatchRunReportsResponse; -import com.google.analytics.data.v1alpha.GetMetadataRequest; -import com.google.analytics.data.v1alpha.Metadata; -import com.google.analytics.data.v1alpha.RunPivotReportRequest; -import com.google.analytics.data.v1alpha.RunPivotReportResponse; -import com.google.analytics.data.v1alpha.RunRealtimeReportRequest; -import com.google.analytics.data.v1alpha.RunRealtimeReportResponse; -import com.google.analytics.data.v1alpha.RunReportRequest; -import com.google.analytics.data.v1alpha.RunReportResponse; -import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.GaxProperties; -import com.google.api.gax.core.GoogleCredentialsProvider; -import com.google.api.gax.core.InstantiatingExecutorProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.GrpcTransportChannel; -import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.retrying.RetrySettings; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.StatusCode; -import com.google.api.gax.rpc.StubSettings; -import com.google.api.gax.rpc.TransportChannelProvider; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.common.collect.ImmutableList; -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.ImmutableSet; -import com.google.common.collect.Lists; -import java.io.IOException; -import java.util.List; -import javax.annotation.Generated; -import org.threeten.bp.Duration; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link AlphaAnalyticsDataStub}. - * - *

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

    - *
  • The default service address (analyticsdata.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 - * build() is called, the tree of builders is called to create the complete settings object. - * - *

For example, to set the total timeout of runReport to 30 seconds: - * - *

{@code
- * AlphaAnalyticsDataStubSettings.Builder alphaAnalyticsDataSettingsBuilder =
- *     AlphaAnalyticsDataStubSettings.newBuilder();
- * alphaAnalyticsDataSettingsBuilder
- *     .runReportSettings()
- *     .setRetrySettings(
- *         alphaAnalyticsDataSettingsBuilder
- *             .runReportSettings()
- *             .getRetrySettings()
- *             .toBuilder()
- *             .setTotalTimeout(Duration.ofSeconds(30))
- *             .build());
- * AlphaAnalyticsDataStubSettings alphaAnalyticsDataSettings =
- *     alphaAnalyticsDataSettingsBuilder.build();
- * }
- */ -@BetaApi -@Generated("by gapic-generator-java") -public class AlphaAnalyticsDataStubSettings extends StubSettings { - /** The default scopes of the service. */ - private static final ImmutableList DEFAULT_SERVICE_SCOPES = - ImmutableList.builder() - .add("https://www.googleapis.com/auth/analytics") - .add("https://www.googleapis.com/auth/analytics.readonly") - .build(); - - private final UnaryCallSettings runReportSettings; - private final UnaryCallSettings - runPivotReportSettings; - private final UnaryCallSettings - batchRunReportsSettings; - private final UnaryCallSettings - batchRunPivotReportsSettings; - private final UnaryCallSettings getMetadataSettings; - private final UnaryCallSettings - runRealtimeReportSettings; - - /** Returns the object with the settings used for calls to runReport. */ - public UnaryCallSettings runReportSettings() { - return runReportSettings; - } - - /** Returns the object with the settings used for calls to runPivotReport. */ - public UnaryCallSettings runPivotReportSettings() { - return runPivotReportSettings; - } - - /** Returns the object with the settings used for calls to batchRunReports. */ - public UnaryCallSettings - batchRunReportsSettings() { - return batchRunReportsSettings; - } - - /** Returns the object with the settings used for calls to batchRunPivotReports. */ - public UnaryCallSettings - batchRunPivotReportsSettings() { - return batchRunPivotReportsSettings; - } - - /** Returns the object with the settings used for calls to getMetadata. */ - public UnaryCallSettings getMetadataSettings() { - return getMetadataSettings; - } - - /** Returns the object with the settings used for calls to runRealtimeReport. */ - public UnaryCallSettings - runRealtimeReportSettings() { - return runRealtimeReportSettings; - } - - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") - public AlphaAnalyticsDataStub createStub() throws IOException { - if (getTransportChannelProvider() - .getTransportName() - .equals(GrpcTransportChannel.getGrpcTransportName())) { - return GrpcAlphaAnalyticsDataStub.create(this); - } - throw new UnsupportedOperationException( - String.format( - "Transport not supported: %s", getTransportChannelProvider().getTransportName())); - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return InstantiatingExecutorProvider.newBuilder(); - } - - /** Returns the default service endpoint. */ - public static String getDefaultEndpoint() { - return "analyticsdata.googleapis.com:443"; - } - - /** Returns the default mTLS service endpoint. */ - public static String getDefaultMtlsEndpoint() { - return "analyticsdata.mtls.googleapis.com:443"; - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return DEFAULT_SERVICE_SCOPES; - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES); - } - - /** Returns a builder for the default ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return InstantiatingGrpcChannelProvider.newBuilder() - .setMaxInboundMessageSize(Integer.MAX_VALUE); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return defaultGrpcTransportProviderBuilder().build(); - } - - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken( - "gapic", GaxProperties.getLibraryVersion(AlphaAnalyticsDataStubSettings.class)) - .setTransportToken( - GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected AlphaAnalyticsDataStubSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - - runReportSettings = settingsBuilder.runReportSettings().build(); - runPivotReportSettings = settingsBuilder.runPivotReportSettings().build(); - batchRunReportsSettings = settingsBuilder.batchRunReportsSettings().build(); - batchRunPivotReportsSettings = settingsBuilder.batchRunPivotReportsSettings().build(); - getMetadataSettings = settingsBuilder.getMetadataSettings().build(); - runRealtimeReportSettings = settingsBuilder.runRealtimeReportSettings().build(); - } - - /** Builder for AlphaAnalyticsDataStubSettings. */ - public static class Builder - extends StubSettings.Builder { - private final ImmutableList> unaryMethodSettingsBuilders; - private final UnaryCallSettings.Builder runReportSettings; - private final UnaryCallSettings.Builder - runPivotReportSettings; - private final UnaryCallSettings.Builder - batchRunReportsSettings; - private final UnaryCallSettings.Builder< - BatchRunPivotReportsRequest, BatchRunPivotReportsResponse> - batchRunPivotReportsSettings; - private final UnaryCallSettings.Builder getMetadataSettings; - private final UnaryCallSettings.Builder - runRealtimeReportSettings; - private static final ImmutableMap> - RETRYABLE_CODE_DEFINITIONS; - - static { - ImmutableMap.Builder> definitions = - ImmutableMap.builder(); - definitions.put( - "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); - definitions.put( - "retry_policy_0_codes", - ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNKNOWN))); - RETRYABLE_CODE_DEFINITIONS = definitions.build(); - } - - private static final ImmutableMap RETRY_PARAM_DEFINITIONS; - - static { - ImmutableMap.Builder definitions = ImmutableMap.builder(); - RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("no_retry_1_params", settings); - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(1000L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("retry_policy_0_params", settings); - RETRY_PARAM_DEFINITIONS = definitions.build(); - } - - protected Builder() { - this(((ClientContext) null)); - } - - protected Builder(ClientContext clientContext) { - super(clientContext); - - runReportSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - runPivotReportSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - batchRunReportsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - batchRunPivotReportsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - getMetadataSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - runRealtimeReportSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - runReportSettings, - runPivotReportSettings, - batchRunReportsSettings, - batchRunPivotReportsSettings, - getMetadataSettings, - runRealtimeReportSettings); - initDefaults(this); - } - - protected Builder(AlphaAnalyticsDataStubSettings settings) { - super(settings); - - runReportSettings = settings.runReportSettings.toBuilder(); - runPivotReportSettings = settings.runPivotReportSettings.toBuilder(); - batchRunReportsSettings = settings.batchRunReportsSettings.toBuilder(); - batchRunPivotReportsSettings = settings.batchRunPivotReportsSettings.toBuilder(); - getMetadataSettings = settings.getMetadataSettings.toBuilder(); - runRealtimeReportSettings = settings.runRealtimeReportSettings.toBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - runReportSettings, - runPivotReportSettings, - batchRunReportsSettings, - batchRunPivotReportsSettings, - getMetadataSettings, - runRealtimeReportSettings); - } - - private static Builder createDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultTransportChannelProvider()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - - private static Builder initDefaults(Builder builder) { - builder - .runReportSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .runPivotReportSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .batchRunReportsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .batchRunPivotReportsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .getMetadataSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); - - builder - .runRealtimeReportSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); - - return builder; - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); - return this; - } - - public ImmutableList> unaryMethodSettingsBuilders() { - return unaryMethodSettingsBuilders; - } - - /** Returns the builder for the settings used for calls to runReport. */ - public UnaryCallSettings.Builder runReportSettings() { - return runReportSettings; - } - - /** Returns the builder for the settings used for calls to runPivotReport. */ - public UnaryCallSettings.Builder - runPivotReportSettings() { - return runPivotReportSettings; - } - - /** Returns the builder for the settings used for calls to batchRunReports. */ - public UnaryCallSettings.Builder - batchRunReportsSettings() { - return batchRunReportsSettings; - } - - /** Returns the builder for the settings used for calls to batchRunPivotReports. */ - public UnaryCallSettings.Builder - batchRunPivotReportsSettings() { - return batchRunPivotReportsSettings; - } - - /** Returns the builder for the settings used for calls to getMetadata. */ - public UnaryCallSettings.Builder getMetadataSettings() { - return getMetadataSettings; - } - - /** Returns the builder for the settings used for calls to runRealtimeReport. */ - public UnaryCallSettings.Builder - runRealtimeReportSettings() { - return runRealtimeReportSettings; - } - - @Override - public AlphaAnalyticsDataStubSettings build() throws IOException { - return new AlphaAnalyticsDataStubSettings(this); - } - } -} diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/GrpcAlphaAnalyticsDataCallableFactory.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/GrpcAlphaAnalyticsDataCallableFactory.java deleted file mode 100644 index e5555dac..00000000 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/GrpcAlphaAnalyticsDataCallableFactory.java +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.analytics.data.v1alpha.stub; - -import com.google.api.core.BetaApi; -import com.google.api.gax.grpc.GrpcCallSettings; -import com.google.api.gax.grpc.GrpcCallableFactory; -import com.google.api.gax.grpc.GrpcStubCallableFactory; -import com.google.api.gax.rpc.BatchingCallSettings; -import com.google.api.gax.rpc.BidiStreamingCallable; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.ClientStreamingCallable; -import com.google.api.gax.rpc.OperationCallSettings; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.ServerStreamingCallSettings; -import com.google.api.gax.rpc.ServerStreamingCallable; -import com.google.api.gax.rpc.StreamingCallSettings; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.longrunning.Operation; -import com.google.longrunning.stub.OperationsStub; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * gRPC callable factory implementation for the AlphaAnalyticsData service API. - * - *

This class is for advanced usage. - */ -@BetaApi -@Generated("by gapic-generator-java") -public class GrpcAlphaAnalyticsDataCallableFactory implements GrpcStubCallableFactory { - - @Override - public UnaryCallable createUnaryCallable( - GrpcCallSettings grpcCallSettings, - UnaryCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); - } - - @Override - public - UnaryCallable createPagedCallable( - GrpcCallSettings grpcCallSettings, - PagedCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); - } - - @Override - public UnaryCallable createBatchingCallable( - GrpcCallSettings grpcCallSettings, - BatchingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createBatchingCallable( - grpcCallSettings, callSettings, clientContext); - } - - @Override - public - OperationCallable createOperationCallable( - GrpcCallSettings grpcCallSettings, - OperationCallSettings callSettings, - ClientContext clientContext, - OperationsStub operationsStub) { - return GrpcCallableFactory.createOperationCallable( - grpcCallSettings, callSettings, clientContext, operationsStub); - } - - @Override - public - BidiStreamingCallable createBidiStreamingCallable( - GrpcCallSettings grpcCallSettings, - StreamingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createBidiStreamingCallable( - grpcCallSettings, callSettings, clientContext); - } - - @Override - public - ServerStreamingCallable createServerStreamingCallable( - GrpcCallSettings grpcCallSettings, - ServerStreamingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createServerStreamingCallable( - grpcCallSettings, callSettings, clientContext); - } - - @Override - public - ClientStreamingCallable createClientStreamingCallable( - GrpcCallSettings grpcCallSettings, - StreamingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createClientStreamingCallable( - grpcCallSettings, callSettings, clientContext); - } -} diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/GrpcAlphaAnalyticsDataStub.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/GrpcAlphaAnalyticsDataStub.java deleted file mode 100644 index 1ddd88dc..00000000 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/GrpcAlphaAnalyticsDataStub.java +++ /dev/null @@ -1,311 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.analytics.data.v1alpha.stub; - -import com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest; -import com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse; -import com.google.analytics.data.v1alpha.BatchRunReportsRequest; -import com.google.analytics.data.v1alpha.BatchRunReportsResponse; -import com.google.analytics.data.v1alpha.GetMetadataRequest; -import com.google.analytics.data.v1alpha.Metadata; -import com.google.analytics.data.v1alpha.RunPivotReportRequest; -import com.google.analytics.data.v1alpha.RunPivotReportResponse; -import com.google.analytics.data.v1alpha.RunRealtimeReportRequest; -import com.google.analytics.data.v1alpha.RunRealtimeReportResponse; -import com.google.analytics.data.v1alpha.RunReportRequest; -import com.google.analytics.data.v1alpha.RunReportResponse; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.grpc.GrpcCallSettings; -import com.google.api.gax.grpc.GrpcStubCallableFactory; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; -import com.google.longrunning.stub.GrpcOperationsStub; -import io.grpc.MethodDescriptor; -import io.grpc.protobuf.ProtoUtils; -import java.io.IOException; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * gRPC stub implementation for the AlphaAnalyticsData service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ -@BetaApi -@Generated("by gapic-generator-java") -public class GrpcAlphaAnalyticsDataStub extends AlphaAnalyticsDataStub { - private static final MethodDescriptor - runReportMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.analytics.data.v1alpha.AlphaAnalyticsData/RunReport") - .setRequestMarshaller(ProtoUtils.marshaller(RunReportRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(RunReportResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - runPivotReportMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.analytics.data.v1alpha.AlphaAnalyticsData/RunPivotReport") - .setRequestMarshaller( - ProtoUtils.marshaller(RunPivotReportRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(RunPivotReportResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - batchRunReportsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.analytics.data.v1alpha.AlphaAnalyticsData/BatchRunReports") - .setRequestMarshaller( - ProtoUtils.marshaller(BatchRunReportsRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(BatchRunReportsResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - batchRunPivotReportsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.analytics.data.v1alpha.AlphaAnalyticsData/BatchRunPivotReports") - .setRequestMarshaller( - ProtoUtils.marshaller(BatchRunPivotReportsRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(BatchRunPivotReportsResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor getMetadataMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.analytics.data.v1alpha.AlphaAnalyticsData/GetMetadata") - .setRequestMarshaller(ProtoUtils.marshaller(GetMetadataRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Metadata.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - runRealtimeReportMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.analytics.data.v1alpha.AlphaAnalyticsData/RunRealtimeReport") - .setRequestMarshaller( - ProtoUtils.marshaller(RunRealtimeReportRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(RunRealtimeReportResponse.getDefaultInstance())) - .build(); - - private final UnaryCallable runReportCallable; - private final UnaryCallable runPivotReportCallable; - private final UnaryCallable - batchRunReportsCallable; - private final UnaryCallable - batchRunPivotReportsCallable; - private final UnaryCallable getMetadataCallable; - private final UnaryCallable - runRealtimeReportCallable; - - private final BackgroundResource backgroundResources; - private final GrpcOperationsStub operationsStub; - private final GrpcStubCallableFactory callableFactory; - - public static final GrpcAlphaAnalyticsDataStub create(AlphaAnalyticsDataStubSettings settings) - throws IOException { - return new GrpcAlphaAnalyticsDataStub(settings, ClientContext.create(settings)); - } - - public static final GrpcAlphaAnalyticsDataStub create(ClientContext clientContext) - throws IOException { - return new GrpcAlphaAnalyticsDataStub( - AlphaAnalyticsDataStubSettings.newBuilder().build(), clientContext); - } - - public static final GrpcAlphaAnalyticsDataStub create( - ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { - return new GrpcAlphaAnalyticsDataStub( - AlphaAnalyticsDataStubSettings.newBuilder().build(), clientContext, callableFactory); - } - - /** - * Constructs an instance of GrpcAlphaAnalyticsDataStub, using the given settings. This is - * protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected GrpcAlphaAnalyticsDataStub( - AlphaAnalyticsDataStubSettings settings, ClientContext clientContext) throws IOException { - this(settings, clientContext, new GrpcAlphaAnalyticsDataCallableFactory()); - } - - /** - * Constructs an instance of GrpcAlphaAnalyticsDataStub, using the given settings. This is - * protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected GrpcAlphaAnalyticsDataStub( - AlphaAnalyticsDataStubSettings settings, - ClientContext clientContext, - GrpcStubCallableFactory callableFactory) - throws IOException { - this.callableFactory = callableFactory; - this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); - - GrpcCallSettings runReportTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(runReportMethodDescriptor) - .build(); - GrpcCallSettings - runPivotReportTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(runPivotReportMethodDescriptor) - .build(); - GrpcCallSettings - batchRunReportsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(batchRunReportsMethodDescriptor) - .build(); - GrpcCallSettings - batchRunPivotReportsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(batchRunPivotReportsMethodDescriptor) - .build(); - GrpcCallSettings getMetadataTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getMetadataMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings - runRealtimeReportTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(runRealtimeReportMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("property", String.valueOf(request.getProperty())); - return params.build(); - }) - .build(); - - this.runReportCallable = - callableFactory.createUnaryCallable( - runReportTransportSettings, settings.runReportSettings(), clientContext); - this.runPivotReportCallable = - callableFactory.createUnaryCallable( - runPivotReportTransportSettings, settings.runPivotReportSettings(), clientContext); - this.batchRunReportsCallable = - callableFactory.createUnaryCallable( - batchRunReportsTransportSettings, settings.batchRunReportsSettings(), clientContext); - this.batchRunPivotReportsCallable = - callableFactory.createUnaryCallable( - batchRunPivotReportsTransportSettings, - settings.batchRunPivotReportsSettings(), - clientContext); - this.getMetadataCallable = - callableFactory.createUnaryCallable( - getMetadataTransportSettings, settings.getMetadataSettings(), clientContext); - this.runRealtimeReportCallable = - callableFactory.createUnaryCallable( - runRealtimeReportTransportSettings, - settings.runRealtimeReportSettings(), - clientContext); - - this.backgroundResources = - new BackgroundResourceAggregation(clientContext.getBackgroundResources()); - } - - public GrpcOperationsStub getOperationsStub() { - return operationsStub; - } - - @Override - public UnaryCallable runReportCallable() { - return runReportCallable; - } - - @Override - public UnaryCallable runPivotReportCallable() { - return runPivotReportCallable; - } - - @Override - public UnaryCallable batchRunReportsCallable() { - return batchRunReportsCallable; - } - - @Override - public UnaryCallable - batchRunPivotReportsCallable() { - return batchRunPivotReportsCallable; - } - - @Override - public UnaryCallable getMetadataCallable() { - return getMetadataCallable; - } - - @Override - public UnaryCallable - runRealtimeReportCallable() { - return runRealtimeReportCallable; - } - - @Override - public final void close() { - try { - backgroundResources.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception e) { - throw new IllegalStateException("Failed to close resource", e); - } - } - - @Override - public void shutdown() { - backgroundResources.shutdown(); - } - - @Override - public boolean isShutdown() { - return backgroundResources.isShutdown(); - } - - @Override - public boolean isTerminated() { - return backgroundResources.isTerminated(); - } - - @Override - public void shutdownNow() { - backgroundResources.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return backgroundResources.awaitTermination(duration, unit); - } -} diff --git a/google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClientTest.java b/google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClientTest.java deleted file mode 100644 index c325f14f..00000000 --- a/google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataClientTest.java +++ /dev/null @@ -1,501 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.analytics.data.v1alpha; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.testing.LocalChannelProvider; -import com.google.api.gax.grpc.testing.MockGrpcService; -import com.google.api.gax.grpc.testing.MockServiceHelper; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.InvalidArgumentException; -import com.google.protobuf.AbstractMessage; -import io.grpc.StatusRuntimeException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.UUID; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class AlphaAnalyticsDataClientTest { - private static MockAlphaAnalyticsData mockAlphaAnalyticsData; - private static MockServiceHelper mockServiceHelper; - private LocalChannelProvider channelProvider; - private AlphaAnalyticsDataClient client; - - @BeforeClass - public static void startStaticServer() { - mockAlphaAnalyticsData = new MockAlphaAnalyticsData(); - mockServiceHelper = - new MockServiceHelper( - UUID.randomUUID().toString(), Arrays.asList(mockAlphaAnalyticsData)); - mockServiceHelper.start(); - } - - @AfterClass - public static void stopServer() { - mockServiceHelper.stop(); - } - - @Before - public void setUp() throws IOException { - mockServiceHelper.reset(); - channelProvider = mockServiceHelper.createChannelProvider(); - AlphaAnalyticsDataSettings settings = - AlphaAnalyticsDataSettings.newBuilder() - .setTransportChannelProvider(channelProvider) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = AlphaAnalyticsDataClient.create(settings); - } - - @After - public void tearDown() throws Exception { - client.close(); - } - - @Test - public void runReportTest() throws Exception { - RunReportResponse expectedResponse = - RunReportResponse.newBuilder() - .addAllDimensionHeaders(new ArrayList()) - .addAllMetricHeaders(new ArrayList()) - .addAllRows(new ArrayList()) - .addAllTotals(new ArrayList()) - .addAllMaximums(new ArrayList()) - .addAllMinimums(new ArrayList()) - .setRowCount(1340416618) - .setMetadata(ResponseMetaData.newBuilder().build()) - .setPropertyQuota(PropertyQuota.newBuilder().build()) - .build(); - mockAlphaAnalyticsData.addResponse(expectedResponse); - - RunReportRequest request = - RunReportRequest.newBuilder() - .setEntity(Entity.newBuilder().build()) - .addAllDimensions(new ArrayList()) - .addAllMetrics(new ArrayList()) - .addAllDateRanges(new ArrayList()) - .setOffset(-1019779949) - .setLimit(102976443) - .addAllMetricAggregations(new ArrayList()) - .setDimensionFilter(FilterExpression.newBuilder().build()) - .setMetricFilter(FilterExpression.newBuilder().build()) - .addAllOrderBys(new ArrayList()) - .setCurrencyCode("currencyCode1004773790") - .setCohortSpec(CohortSpec.newBuilder().build()) - .setKeepEmptyRows(true) - .setReturnPropertyQuota(true) - .build(); - - RunReportResponse actualResponse = client.runReport(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAlphaAnalyticsData.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - RunReportRequest actualRequest = ((RunReportRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getEntity(), actualRequest.getEntity()); - Assert.assertEquals(request.getDimensionsList(), actualRequest.getDimensionsList()); - Assert.assertEquals(request.getMetricsList(), actualRequest.getMetricsList()); - Assert.assertEquals(request.getDateRangesList(), actualRequest.getDateRangesList()); - Assert.assertEquals(request.getOffset(), actualRequest.getOffset()); - Assert.assertEquals(request.getLimit(), actualRequest.getLimit()); - Assert.assertEquals( - request.getMetricAggregationsList(), actualRequest.getMetricAggregationsList()); - Assert.assertEquals(request.getDimensionFilter(), actualRequest.getDimensionFilter()); - Assert.assertEquals(request.getMetricFilter(), actualRequest.getMetricFilter()); - Assert.assertEquals(request.getOrderBysList(), actualRequest.getOrderBysList()); - Assert.assertEquals(request.getCurrencyCode(), actualRequest.getCurrencyCode()); - Assert.assertEquals(request.getCohortSpec(), actualRequest.getCohortSpec()); - Assert.assertEquals(request.getKeepEmptyRows(), actualRequest.getKeepEmptyRows()); - Assert.assertEquals(request.getReturnPropertyQuota(), actualRequest.getReturnPropertyQuota()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void runReportExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockAlphaAnalyticsData.addException(exception); - - try { - RunReportRequest request = - RunReportRequest.newBuilder() - .setEntity(Entity.newBuilder().build()) - .addAllDimensions(new ArrayList()) - .addAllMetrics(new ArrayList()) - .addAllDateRanges(new ArrayList()) - .setOffset(-1019779949) - .setLimit(102976443) - .addAllMetricAggregations(new ArrayList()) - .setDimensionFilter(FilterExpression.newBuilder().build()) - .setMetricFilter(FilterExpression.newBuilder().build()) - .addAllOrderBys(new ArrayList()) - .setCurrencyCode("currencyCode1004773790") - .setCohortSpec(CohortSpec.newBuilder().build()) - .setKeepEmptyRows(true) - .setReturnPropertyQuota(true) - .build(); - client.runReport(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void runPivotReportTest() throws Exception { - RunPivotReportResponse expectedResponse = - RunPivotReportResponse.newBuilder() - .addAllPivotHeaders(new ArrayList()) - .addAllDimensionHeaders(new ArrayList()) - .addAllMetricHeaders(new ArrayList()) - .addAllRows(new ArrayList()) - .addAllAggregates(new ArrayList()) - .setMetadata(ResponseMetaData.newBuilder().build()) - .setPropertyQuota(PropertyQuota.newBuilder().build()) - .build(); - mockAlphaAnalyticsData.addResponse(expectedResponse); - - RunPivotReportRequest request = - RunPivotReportRequest.newBuilder() - .setEntity(Entity.newBuilder().build()) - .addAllDimensions(new ArrayList()) - .addAllMetrics(new ArrayList()) - .setDimensionFilter(FilterExpression.newBuilder().build()) - .setMetricFilter(FilterExpression.newBuilder().build()) - .addAllPivots(new ArrayList()) - .addAllDateRanges(new ArrayList()) - .setCurrencyCode("currencyCode1004773790") - .setCohortSpec(CohortSpec.newBuilder().build()) - .setKeepEmptyRows(true) - .setReturnPropertyQuota(true) - .build(); - - RunPivotReportResponse actualResponse = client.runPivotReport(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAlphaAnalyticsData.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - RunPivotReportRequest actualRequest = ((RunPivotReportRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getEntity(), actualRequest.getEntity()); - Assert.assertEquals(request.getDimensionsList(), actualRequest.getDimensionsList()); - Assert.assertEquals(request.getMetricsList(), actualRequest.getMetricsList()); - Assert.assertEquals(request.getDimensionFilter(), actualRequest.getDimensionFilter()); - Assert.assertEquals(request.getMetricFilter(), actualRequest.getMetricFilter()); - Assert.assertEquals(request.getPivotsList(), actualRequest.getPivotsList()); - Assert.assertEquals(request.getDateRangesList(), actualRequest.getDateRangesList()); - Assert.assertEquals(request.getCurrencyCode(), actualRequest.getCurrencyCode()); - Assert.assertEquals(request.getCohortSpec(), actualRequest.getCohortSpec()); - Assert.assertEquals(request.getKeepEmptyRows(), actualRequest.getKeepEmptyRows()); - Assert.assertEquals(request.getReturnPropertyQuota(), actualRequest.getReturnPropertyQuota()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void runPivotReportExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockAlphaAnalyticsData.addException(exception); - - try { - RunPivotReportRequest request = - RunPivotReportRequest.newBuilder() - .setEntity(Entity.newBuilder().build()) - .addAllDimensions(new ArrayList()) - .addAllMetrics(new ArrayList()) - .setDimensionFilter(FilterExpression.newBuilder().build()) - .setMetricFilter(FilterExpression.newBuilder().build()) - .addAllPivots(new ArrayList()) - .addAllDateRanges(new ArrayList()) - .setCurrencyCode("currencyCode1004773790") - .setCohortSpec(CohortSpec.newBuilder().build()) - .setKeepEmptyRows(true) - .setReturnPropertyQuota(true) - .build(); - client.runPivotReport(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void batchRunReportsTest() throws Exception { - BatchRunReportsResponse expectedResponse = - BatchRunReportsResponse.newBuilder() - .addAllReports(new ArrayList()) - .build(); - mockAlphaAnalyticsData.addResponse(expectedResponse); - - BatchRunReportsRequest request = - BatchRunReportsRequest.newBuilder() - .setEntity(Entity.newBuilder().build()) - .addAllRequests(new ArrayList()) - .build(); - - BatchRunReportsResponse actualResponse = client.batchRunReports(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAlphaAnalyticsData.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - BatchRunReportsRequest actualRequest = ((BatchRunReportsRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getEntity(), actualRequest.getEntity()); - Assert.assertEquals(request.getRequestsList(), actualRequest.getRequestsList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void batchRunReportsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockAlphaAnalyticsData.addException(exception); - - try { - BatchRunReportsRequest request = - BatchRunReportsRequest.newBuilder() - .setEntity(Entity.newBuilder().build()) - .addAllRequests(new ArrayList()) - .build(); - client.batchRunReports(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void batchRunPivotReportsTest() throws Exception { - BatchRunPivotReportsResponse expectedResponse = - BatchRunPivotReportsResponse.newBuilder() - .addAllPivotReports(new ArrayList()) - .build(); - mockAlphaAnalyticsData.addResponse(expectedResponse); - - BatchRunPivotReportsRequest request = - BatchRunPivotReportsRequest.newBuilder() - .setEntity(Entity.newBuilder().build()) - .addAllRequests(new ArrayList()) - .build(); - - BatchRunPivotReportsResponse actualResponse = client.batchRunPivotReports(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAlphaAnalyticsData.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - BatchRunPivotReportsRequest actualRequest = - ((BatchRunPivotReportsRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getEntity(), actualRequest.getEntity()); - Assert.assertEquals(request.getRequestsList(), actualRequest.getRequestsList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void batchRunPivotReportsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockAlphaAnalyticsData.addException(exception); - - try { - BatchRunPivotReportsRequest request = - BatchRunPivotReportsRequest.newBuilder() - .setEntity(Entity.newBuilder().build()) - .addAllRequests(new ArrayList()) - .build(); - client.batchRunPivotReports(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getMetadataTest() throws Exception { - Metadata expectedResponse = - Metadata.newBuilder() - .setName(MetadataName.of("[PROPERTY]").toString()) - .addAllDimensions(new ArrayList()) - .addAllMetrics(new ArrayList()) - .build(); - mockAlphaAnalyticsData.addResponse(expectedResponse); - - MetadataName name = MetadataName.of("[PROPERTY]"); - - Metadata actualResponse = client.getMetadata(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAlphaAnalyticsData.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetMetadataRequest actualRequest = ((GetMetadataRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getMetadataExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockAlphaAnalyticsData.addException(exception); - - try { - MetadataName name = MetadataName.of("[PROPERTY]"); - client.getMetadata(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getMetadataTest2() throws Exception { - Metadata expectedResponse = - Metadata.newBuilder() - .setName(MetadataName.of("[PROPERTY]").toString()) - .addAllDimensions(new ArrayList()) - .addAllMetrics(new ArrayList()) - .build(); - mockAlphaAnalyticsData.addResponse(expectedResponse); - - String name = "name3373707"; - - Metadata actualResponse = client.getMetadata(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAlphaAnalyticsData.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetMetadataRequest actualRequest = ((GetMetadataRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getMetadataExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockAlphaAnalyticsData.addException(exception); - - try { - String name = "name3373707"; - client.getMetadata(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void runRealtimeReportTest() throws Exception { - RunRealtimeReportResponse expectedResponse = - RunRealtimeReportResponse.newBuilder() - .addAllDimensionHeaders(new ArrayList()) - .addAllMetricHeaders(new ArrayList()) - .addAllRows(new ArrayList()) - .addAllTotals(new ArrayList()) - .addAllMaximums(new ArrayList()) - .addAllMinimums(new ArrayList()) - .setRowCount(1340416618) - .setPropertyQuota(PropertyQuota.newBuilder().build()) - .build(); - mockAlphaAnalyticsData.addResponse(expectedResponse); - - RunRealtimeReportRequest request = - RunRealtimeReportRequest.newBuilder() - .setProperty("property-993141291") - .addAllDimensions(new ArrayList()) - .addAllMetrics(new ArrayList()) - .setLimit(102976443) - .setDimensionFilter(FilterExpression.newBuilder().build()) - .setMetricFilter(FilterExpression.newBuilder().build()) - .addAllMetricAggregations(new ArrayList()) - .addAllOrderBys(new ArrayList()) - .setReturnPropertyQuota(true) - .build(); - - RunRealtimeReportResponse actualResponse = client.runRealtimeReport(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockAlphaAnalyticsData.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - RunRealtimeReportRequest actualRequest = ((RunRealtimeReportRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getProperty(), actualRequest.getProperty()); - Assert.assertEquals(request.getDimensionsList(), actualRequest.getDimensionsList()); - Assert.assertEquals(request.getMetricsList(), actualRequest.getMetricsList()); - Assert.assertEquals(request.getLimit(), actualRequest.getLimit()); - Assert.assertEquals(request.getDimensionFilter(), actualRequest.getDimensionFilter()); - Assert.assertEquals(request.getMetricFilter(), actualRequest.getMetricFilter()); - Assert.assertEquals( - request.getMetricAggregationsList(), actualRequest.getMetricAggregationsList()); - Assert.assertEquals(request.getOrderBysList(), actualRequest.getOrderBysList()); - Assert.assertEquals(request.getReturnPropertyQuota(), actualRequest.getReturnPropertyQuota()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void runRealtimeReportExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockAlphaAnalyticsData.addException(exception); - - try { - RunRealtimeReportRequest request = - RunRealtimeReportRequest.newBuilder() - .setProperty("property-993141291") - .addAllDimensions(new ArrayList()) - .addAllMetrics(new ArrayList()) - .setLimit(102976443) - .setDimensionFilter(FilterExpression.newBuilder().build()) - .setMetricFilter(FilterExpression.newBuilder().build()) - .addAllMetricAggregations(new ArrayList()) - .addAllOrderBys(new ArrayList()) - .setReturnPropertyQuota(true) - .build(); - client.runRealtimeReport(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } -} diff --git a/google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/MockAlphaAnalyticsData.java b/google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/MockAlphaAnalyticsData.java deleted file mode 100644 index 44452183..00000000 --- a/google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/MockAlphaAnalyticsData.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.analytics.data.v1alpha; - -import com.google.api.core.BetaApi; -import com.google.api.gax.grpc.testing.MockGrpcService; -import com.google.protobuf.AbstractMessage; -import io.grpc.ServerServiceDefinition; -import java.util.List; -import javax.annotation.Generated; - -@BetaApi -@Generated("by gapic-generator-java") -public class MockAlphaAnalyticsData implements MockGrpcService { - private final MockAlphaAnalyticsDataImpl serviceImpl; - - public MockAlphaAnalyticsData() { - serviceImpl = new MockAlphaAnalyticsDataImpl(); - } - - @Override - public List getRequests() { - return serviceImpl.getRequests(); - } - - @Override - public void addResponse(AbstractMessage response) { - serviceImpl.addResponse(response); - } - - @Override - public void addException(Exception exception) { - serviceImpl.addException(exception); - } - - @Override - public ServerServiceDefinition getServiceDefinition() { - return serviceImpl.bindService(); - } - - @Override - public void reset() { - serviceImpl.reset(); - } -} diff --git a/google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/MockAlphaAnalyticsDataImpl.java b/google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/MockAlphaAnalyticsDataImpl.java deleted file mode 100644 index 444ed830..00000000 --- a/google-analytics-data/src/test/java/com/google/analytics/data/v1alpha/MockAlphaAnalyticsDataImpl.java +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.analytics.data.v1alpha; - -import com.google.analytics.data.v1alpha.AlphaAnalyticsDataGrpc.AlphaAnalyticsDataImplBase; -import com.google.api.core.BetaApi; -import com.google.protobuf.AbstractMessage; -import io.grpc.stub.StreamObserver; -import java.util.ArrayList; -import java.util.LinkedList; -import java.util.List; -import java.util.Queue; -import javax.annotation.Generated; - -@BetaApi -@Generated("by gapic-generator-java") -public class MockAlphaAnalyticsDataImpl extends AlphaAnalyticsDataImplBase { - private List requests; - private Queue responses; - - public MockAlphaAnalyticsDataImpl() { - requests = new ArrayList<>(); - responses = new LinkedList<>(); - } - - public List getRequests() { - return requests; - } - - public void addResponse(AbstractMessage response) { - responses.add(response); - } - - public void setResponses(List responses) { - this.responses = new LinkedList(responses); - } - - public void addException(Exception exception) { - responses.add(exception); - } - - public void reset() { - requests = new ArrayList<>(); - responses = new LinkedList<>(); - } - - @Override - public void runReport( - RunReportRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof RunReportResponse) { - requests.add(request); - responseObserver.onNext(((RunReportResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method RunReport, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - RunReportResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void runPivotReport( - RunPivotReportRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof RunPivotReportResponse) { - requests.add(request); - responseObserver.onNext(((RunPivotReportResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method RunPivotReport, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - RunPivotReportResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void batchRunReports( - BatchRunReportsRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof BatchRunReportsResponse) { - requests.add(request); - responseObserver.onNext(((BatchRunReportsResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method BatchRunReports, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - BatchRunReportsResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void batchRunPivotReports( - BatchRunPivotReportsRequest request, - StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof BatchRunPivotReportsResponse) { - requests.add(request); - responseObserver.onNext(((BatchRunPivotReportsResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method BatchRunPivotReports, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - BatchRunPivotReportsResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void getMetadata(GetMetadataRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Metadata) { - requests.add(request); - responseObserver.onNext(((Metadata) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method GetMetadata, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Metadata.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void runRealtimeReport( - RunRealtimeReportRequest request, - StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof RunRealtimeReportResponse) { - requests.add(request); - responseObserver.onNext(((RunRealtimeReportResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method RunRealtimeReport, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - RunRealtimeReportResponse.class.getName(), - Exception.class.getName()))); - } - } -} diff --git a/grpc-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataGrpc.java b/grpc-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataGrpc.java deleted file mode 100644 index e830e901..00000000 --- a/grpc-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AlphaAnalyticsDataGrpc.java +++ /dev/null @@ -1,1059 +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.analytics.data.v1alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Google Analytics reporting data service.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/analytics/data/v1alpha/analytics_data_api.proto") -public final class AlphaAnalyticsDataGrpc { - - private AlphaAnalyticsDataGrpc() {} - - public static final String SERVICE_NAME = "google.analytics.data.v1alpha.AlphaAnalyticsData"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.RunReportRequest, - com.google.analytics.data.v1alpha.RunReportResponse> - getRunReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunReport", - requestType = com.google.analytics.data.v1alpha.RunReportRequest.class, - responseType = com.google.analytics.data.v1alpha.RunReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.RunReportRequest, - com.google.analytics.data.v1alpha.RunReportResponse> - getRunReportMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.RunReportRequest, - com.google.analytics.data.v1alpha.RunReportResponse> - getRunReportMethod; - if ((getRunReportMethod = AlphaAnalyticsDataGrpc.getRunReportMethod) == null) { - synchronized (AlphaAnalyticsDataGrpc.class) { - if ((getRunReportMethod = AlphaAnalyticsDataGrpc.getRunReportMethod) == null) { - AlphaAnalyticsDataGrpc.getRunReportMethod = - getRunReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.RunReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.RunReportResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlphaAnalyticsDataMethodDescriptorSupplier("RunReport")) - .build(); - } - } - } - return getRunReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.RunPivotReportRequest, - com.google.analytics.data.v1alpha.RunPivotReportResponse> - getRunPivotReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunPivotReport", - requestType = com.google.analytics.data.v1alpha.RunPivotReportRequest.class, - responseType = com.google.analytics.data.v1alpha.RunPivotReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.RunPivotReportRequest, - com.google.analytics.data.v1alpha.RunPivotReportResponse> - getRunPivotReportMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.RunPivotReportRequest, - com.google.analytics.data.v1alpha.RunPivotReportResponse> - getRunPivotReportMethod; - if ((getRunPivotReportMethod = AlphaAnalyticsDataGrpc.getRunPivotReportMethod) == null) { - synchronized (AlphaAnalyticsDataGrpc.class) { - if ((getRunPivotReportMethod = AlphaAnalyticsDataGrpc.getRunPivotReportMethod) == null) { - AlphaAnalyticsDataGrpc.getRunPivotReportMethod = - getRunPivotReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunPivotReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.RunPivotReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.RunPivotReportResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlphaAnalyticsDataMethodDescriptorSupplier("RunPivotReport")) - .build(); - } - } - } - return getRunPivotReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.BatchRunReportsRequest, - com.google.analytics.data.v1alpha.BatchRunReportsResponse> - getBatchRunReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchRunReports", - requestType = com.google.analytics.data.v1alpha.BatchRunReportsRequest.class, - responseType = com.google.analytics.data.v1alpha.BatchRunReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.BatchRunReportsRequest, - com.google.analytics.data.v1alpha.BatchRunReportsResponse> - getBatchRunReportsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.BatchRunReportsRequest, - com.google.analytics.data.v1alpha.BatchRunReportsResponse> - getBatchRunReportsMethod; - if ((getBatchRunReportsMethod = AlphaAnalyticsDataGrpc.getBatchRunReportsMethod) == null) { - synchronized (AlphaAnalyticsDataGrpc.class) { - if ((getBatchRunReportsMethod = AlphaAnalyticsDataGrpc.getBatchRunReportsMethod) == null) { - AlphaAnalyticsDataGrpc.getBatchRunReportsMethod = - getBatchRunReportsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchRunReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.BatchRunReportsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.BatchRunReportsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlphaAnalyticsDataMethodDescriptorSupplier("BatchRunReports")) - .build(); - } - } - } - return getBatchRunReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest, - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse> - getBatchRunPivotReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchRunPivotReports", - requestType = com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest.class, - responseType = com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest, - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse> - getBatchRunPivotReportsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest, - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse> - getBatchRunPivotReportsMethod; - if ((getBatchRunPivotReportsMethod = AlphaAnalyticsDataGrpc.getBatchRunPivotReportsMethod) - == null) { - synchronized (AlphaAnalyticsDataGrpc.class) { - if ((getBatchRunPivotReportsMethod = AlphaAnalyticsDataGrpc.getBatchRunPivotReportsMethod) - == null) { - AlphaAnalyticsDataGrpc.getBatchRunPivotReportsMethod = - getBatchRunPivotReportsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchRunPivotReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlphaAnalyticsDataMethodDescriptorSupplier("BatchRunPivotReports")) - .build(); - } - } - } - return getBatchRunPivotReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.GetMetadataRequest, - com.google.analytics.data.v1alpha.Metadata> - getGetMetadataMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMetadata", - requestType = com.google.analytics.data.v1alpha.GetMetadataRequest.class, - responseType = com.google.analytics.data.v1alpha.Metadata.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.GetMetadataRequest, - com.google.analytics.data.v1alpha.Metadata> - getGetMetadataMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.GetMetadataRequest, - com.google.analytics.data.v1alpha.Metadata> - getGetMetadataMethod; - if ((getGetMetadataMethod = AlphaAnalyticsDataGrpc.getGetMetadataMethod) == null) { - synchronized (AlphaAnalyticsDataGrpc.class) { - if ((getGetMetadataMethod = AlphaAnalyticsDataGrpc.getGetMetadataMethod) == null) { - AlphaAnalyticsDataGrpc.getGetMetadataMethod = - getGetMetadataMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMetadata")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.GetMetadataRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.Metadata.getDefaultInstance())) - .setSchemaDescriptor( - new AlphaAnalyticsDataMethodDescriptorSupplier("GetMetadata")) - .build(); - } - } - } - return getGetMetadataMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.RunRealtimeReportRequest, - com.google.analytics.data.v1alpha.RunRealtimeReportResponse> - getRunRealtimeReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunRealtimeReport", - requestType = com.google.analytics.data.v1alpha.RunRealtimeReportRequest.class, - responseType = com.google.analytics.data.v1alpha.RunRealtimeReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.RunRealtimeReportRequest, - com.google.analytics.data.v1alpha.RunRealtimeReportResponse> - getRunRealtimeReportMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1alpha.RunRealtimeReportRequest, - com.google.analytics.data.v1alpha.RunRealtimeReportResponse> - getRunRealtimeReportMethod; - if ((getRunRealtimeReportMethod = AlphaAnalyticsDataGrpc.getRunRealtimeReportMethod) == null) { - synchronized (AlphaAnalyticsDataGrpc.class) { - if ((getRunRealtimeReportMethod = AlphaAnalyticsDataGrpc.getRunRealtimeReportMethod) - == null) { - AlphaAnalyticsDataGrpc.getRunRealtimeReportMethod = - getRunRealtimeReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunRealtimeReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.RunRealtimeReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1alpha.RunRealtimeReportResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlphaAnalyticsDataMethodDescriptorSupplier("RunRealtimeReport")) - .build(); - } - } - } - return getRunRealtimeReportMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AlphaAnalyticsDataStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlphaAnalyticsDataStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlphaAnalyticsDataStub(channel, callOptions); - } - }; - return AlphaAnalyticsDataStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AlphaAnalyticsDataBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlphaAnalyticsDataBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlphaAnalyticsDataBlockingStub(channel, callOptions); - } - }; - return AlphaAnalyticsDataBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AlphaAnalyticsDataFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlphaAnalyticsDataFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlphaAnalyticsDataFutureStub(channel, callOptions); - } - }; - return AlphaAnalyticsDataFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Google Analytics reporting data service.
-   * 
- */ - public abstract static class AlphaAnalyticsDataImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public void runReport( - com.google.analytics.data.v1alpha.RunReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunReportMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public void runPivotReport( - com.google.analytics.data.v1alpha.RunPivotReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunPivotReportMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * Entity.
-     * 
- */ - public void batchRunReports( - com.google.analytics.data.v1alpha.BatchRunReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchRunReportsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * Entity.
-     * 
- */ - public void batchRunPivotReports( - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchRunPivotReportsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public void getMetadata( - com.google.analytics.data.v1alpha.GetMetadataRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMetadataMethod(), responseObserver); - } - - /** - * - * - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public void runRealtimeReport( - com.google.analytics.data.v1alpha.RunRealtimeReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunRealtimeReportMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getRunReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1alpha.RunReportRequest, - com.google.analytics.data.v1alpha.RunReportResponse>( - this, METHODID_RUN_REPORT))) - .addMethod( - getRunPivotReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1alpha.RunPivotReportRequest, - com.google.analytics.data.v1alpha.RunPivotReportResponse>( - this, METHODID_RUN_PIVOT_REPORT))) - .addMethod( - getBatchRunReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1alpha.BatchRunReportsRequest, - com.google.analytics.data.v1alpha.BatchRunReportsResponse>( - this, METHODID_BATCH_RUN_REPORTS))) - .addMethod( - getBatchRunPivotReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest, - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse>( - this, METHODID_BATCH_RUN_PIVOT_REPORTS))) - .addMethod( - getGetMetadataMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1alpha.GetMetadataRequest, - com.google.analytics.data.v1alpha.Metadata>(this, METHODID_GET_METADATA))) - .addMethod( - getRunRealtimeReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1alpha.RunRealtimeReportRequest, - com.google.analytics.data.v1alpha.RunRealtimeReportResponse>( - this, METHODID_RUN_REALTIME_REPORT))) - .build(); - } - } - - /** - * - * - *
-   * Google Analytics reporting data service.
-   * 
- */ - public static final class AlphaAnalyticsDataStub - extends io.grpc.stub.AbstractAsyncStub { - private AlphaAnalyticsDataStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlphaAnalyticsDataStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlphaAnalyticsDataStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public void runReport( - com.google.analytics.data.v1alpha.RunReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public void runPivotReport( - com.google.analytics.data.v1alpha.RunPivotReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * Entity.
-     * 
- */ - public void batchRunReports( - com.google.analytics.data.v1alpha.BatchRunReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * Entity.
-     * 
- */ - public void batchRunPivotReports( - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public void getMetadata( - com.google.analytics.data.v1alpha.GetMetadataRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMetadataMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public void runRealtimeReport( - com.google.analytics.data.v1alpha.RunRealtimeReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Google Analytics reporting data service.
-   * 
- */ - public static final class AlphaAnalyticsDataBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AlphaAnalyticsDataBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlphaAnalyticsDataBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlphaAnalyticsDataBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public com.google.analytics.data.v1alpha.RunReportResponse runReport( - com.google.analytics.data.v1alpha.RunReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public com.google.analytics.data.v1alpha.RunPivotReportResponse runPivotReport( - com.google.analytics.data.v1alpha.RunPivotReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunPivotReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * Entity.
-     * 
- */ - public com.google.analytics.data.v1alpha.BatchRunReportsResponse batchRunReports( - com.google.analytics.data.v1alpha.BatchRunReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchRunReportsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * Entity.
-     * 
- */ - public com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse batchRunPivotReports( - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchRunPivotReportsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public com.google.analytics.data.v1alpha.Metadata getMetadata( - com.google.analytics.data.v1alpha.GetMetadataRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMetadataMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public com.google.analytics.data.v1alpha.RunRealtimeReportResponse runRealtimeReport( - com.google.analytics.data.v1alpha.RunRealtimeReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunRealtimeReportMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Google Analytics reporting data service.
-   * 
- */ - public static final class AlphaAnalyticsDataFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AlphaAnalyticsDataFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlphaAnalyticsDataFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlphaAnalyticsDataFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1alpha.RunReportResponse> - runReport(com.google.analytics.data.v1alpha.RunReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1alpha.RunPivotReportResponse> - runPivotReport(com.google.analytics.data.v1alpha.RunPivotReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * Entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1alpha.BatchRunReportsResponse> - batchRunReports(com.google.analytics.data.v1alpha.BatchRunReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * Entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse> - batchRunPivotReports( - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1alpha.Metadata> - getMetadata(com.google.analytics.data.v1alpha.GetMetadataRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1alpha.RunRealtimeReportResponse> - runRealtimeReport(com.google.analytics.data.v1alpha.RunRealtimeReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_RUN_REPORT = 0; - private static final int METHODID_RUN_PIVOT_REPORT = 1; - private static final int METHODID_BATCH_RUN_REPORTS = 2; - private static final int METHODID_BATCH_RUN_PIVOT_REPORTS = 3; - private static final int METHODID_GET_METADATA = 4; - private static final int METHODID_RUN_REALTIME_REPORT = 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 AlphaAnalyticsDataImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AlphaAnalyticsDataImplBase 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_RUN_REPORT: - serviceImpl.runReport( - (com.google.analytics.data.v1alpha.RunReportRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RUN_PIVOT_REPORT: - serviceImpl.runPivotReport( - (com.google.analytics.data.v1alpha.RunPivotReportRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.data.v1alpha.RunPivotReportResponse>) - responseObserver); - break; - case METHODID_BATCH_RUN_REPORTS: - serviceImpl.batchRunReports( - (com.google.analytics.data.v1alpha.BatchRunReportsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.data.v1alpha.BatchRunReportsResponse>) - responseObserver); - break; - case METHODID_BATCH_RUN_PIVOT_REPORTS: - serviceImpl.batchRunPivotReports( - (com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse>) - responseObserver); - break; - case METHODID_GET_METADATA: - serviceImpl.getMetadata( - (com.google.analytics.data.v1alpha.GetMetadataRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RUN_REALTIME_REPORT: - serviceImpl.runRealtimeReport( - (com.google.analytics.data.v1alpha.RunRealtimeReportRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.data.v1alpha.RunRealtimeReportResponse>) - 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 AlphaAnalyticsDataBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AlphaAnalyticsDataBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AlphaAnalyticsData"); - } - } - - private static final class AlphaAnalyticsDataFileDescriptorSupplier - extends AlphaAnalyticsDataBaseDescriptorSupplier { - AlphaAnalyticsDataFileDescriptorSupplier() {} - } - - private static final class AlphaAnalyticsDataMethodDescriptorSupplier - extends AlphaAnalyticsDataBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AlphaAnalyticsDataMethodDescriptorSupplier(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 (AlphaAnalyticsDataGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AlphaAnalyticsDataFileDescriptorSupplier()) - .addMethod(getRunReportMethod()) - .addMethod(getRunPivotReportMethod()) - .addMethod(getBatchRunReportsMethod()) - .addMethod(getBatchRunPivotReportsMethod()) - .addMethod(getGetMetadataMethod()) - .addMethod(getRunRealtimeReportMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java b/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java deleted file mode 100644 index d986ee45..00000000 --- a/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java +++ /dev/null @@ -1,1057 +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.analytics.data.v1beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Google Analytics reporting data service.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/analytics/data/v1beta/analytics_data_api.proto") -public final class BetaAnalyticsDataGrpc { - - private BetaAnalyticsDataGrpc() {} - - public static final String SERVICE_NAME = "google.analytics.data.v1beta.BetaAnalyticsData"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.RunReportRequest, - com.google.analytics.data.v1beta.RunReportResponse> - getRunReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunReport", - requestType = com.google.analytics.data.v1beta.RunReportRequest.class, - responseType = com.google.analytics.data.v1beta.RunReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.RunReportRequest, - com.google.analytics.data.v1beta.RunReportResponse> - getRunReportMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.RunReportRequest, - com.google.analytics.data.v1beta.RunReportResponse> - getRunReportMethod; - if ((getRunReportMethod = BetaAnalyticsDataGrpc.getRunReportMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getRunReportMethod = BetaAnalyticsDataGrpc.getRunReportMethod) == null) { - BetaAnalyticsDataGrpc.getRunReportMethod = - getRunReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunReportResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BetaAnalyticsDataMethodDescriptorSupplier("RunReport")) - .build(); - } - } - } - return getRunReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.RunPivotReportRequest, - com.google.analytics.data.v1beta.RunPivotReportResponse> - getRunPivotReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunPivotReport", - requestType = com.google.analytics.data.v1beta.RunPivotReportRequest.class, - responseType = com.google.analytics.data.v1beta.RunPivotReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.RunPivotReportRequest, - com.google.analytics.data.v1beta.RunPivotReportResponse> - getRunPivotReportMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.RunPivotReportRequest, - com.google.analytics.data.v1beta.RunPivotReportResponse> - getRunPivotReportMethod; - if ((getRunPivotReportMethod = BetaAnalyticsDataGrpc.getRunPivotReportMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getRunPivotReportMethod = BetaAnalyticsDataGrpc.getRunPivotReportMethod) == null) { - BetaAnalyticsDataGrpc.getRunPivotReportMethod = - getRunPivotReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunPivotReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunPivotReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunPivotReportResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BetaAnalyticsDataMethodDescriptorSupplier("RunPivotReport")) - .build(); - } - } - } - return getRunPivotReportMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.BatchRunReportsRequest, - com.google.analytics.data.v1beta.BatchRunReportsResponse> - getBatchRunReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchRunReports", - requestType = com.google.analytics.data.v1beta.BatchRunReportsRequest.class, - responseType = com.google.analytics.data.v1beta.BatchRunReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.BatchRunReportsRequest, - com.google.analytics.data.v1beta.BatchRunReportsResponse> - getBatchRunReportsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.BatchRunReportsRequest, - com.google.analytics.data.v1beta.BatchRunReportsResponse> - getBatchRunReportsMethod; - if ((getBatchRunReportsMethod = BetaAnalyticsDataGrpc.getBatchRunReportsMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getBatchRunReportsMethod = BetaAnalyticsDataGrpc.getBatchRunReportsMethod) == null) { - BetaAnalyticsDataGrpc.getBatchRunReportsMethod = - getBatchRunReportsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchRunReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.BatchRunReportsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.BatchRunReportsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BetaAnalyticsDataMethodDescriptorSupplier("BatchRunReports")) - .build(); - } - } - } - return getBatchRunReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest, - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse> - getBatchRunPivotReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchRunPivotReports", - requestType = com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, - responseType = com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest, - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse> - getBatchRunPivotReportsMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest, - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse> - getBatchRunPivotReportsMethod; - if ((getBatchRunPivotReportsMethod = BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod) - == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getBatchRunPivotReportsMethod = BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod) - == null) { - BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod = - getBatchRunPivotReportsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchRunPivotReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BetaAnalyticsDataMethodDescriptorSupplier("BatchRunPivotReports")) - .build(); - } - } - } - return getBatchRunPivotReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.GetMetadataRequest, - com.google.analytics.data.v1beta.Metadata> - getGetMetadataMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMetadata", - requestType = com.google.analytics.data.v1beta.GetMetadataRequest.class, - responseType = com.google.analytics.data.v1beta.Metadata.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.GetMetadataRequest, - com.google.analytics.data.v1beta.Metadata> - getGetMetadataMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.GetMetadataRequest, - com.google.analytics.data.v1beta.Metadata> - getGetMetadataMethod; - if ((getGetMetadataMethod = BetaAnalyticsDataGrpc.getGetMetadataMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getGetMetadataMethod = BetaAnalyticsDataGrpc.getGetMetadataMethod) == null) { - BetaAnalyticsDataGrpc.getGetMetadataMethod = - getGetMetadataMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMetadata")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.GetMetadataRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.Metadata.getDefaultInstance())) - .setSchemaDescriptor( - new BetaAnalyticsDataMethodDescriptorSupplier("GetMetadata")) - .build(); - } - } - } - return getGetMetadataMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.RunRealtimeReportRequest, - com.google.analytics.data.v1beta.RunRealtimeReportResponse> - getRunRealtimeReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunRealtimeReport", - requestType = com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, - responseType = com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.RunRealtimeReportRequest, - com.google.analytics.data.v1beta.RunRealtimeReportResponse> - getRunRealtimeReportMethod() { - io.grpc.MethodDescriptor< - com.google.analytics.data.v1beta.RunRealtimeReportRequest, - com.google.analytics.data.v1beta.RunRealtimeReportResponse> - getRunRealtimeReportMethod; - if ((getRunRealtimeReportMethod = BetaAnalyticsDataGrpc.getRunRealtimeReportMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getRunRealtimeReportMethod = BetaAnalyticsDataGrpc.getRunRealtimeReportMethod) - == null) { - BetaAnalyticsDataGrpc.getRunRealtimeReportMethod = - getRunRealtimeReportMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunRealtimeReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunRealtimeReportRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunRealtimeReportResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BetaAnalyticsDataMethodDescriptorSupplier("RunRealtimeReport")) - .build(); - } - } - } - return getRunRealtimeReportMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static BetaAnalyticsDataStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BetaAnalyticsDataStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataStub(channel, callOptions); - } - }; - return BetaAnalyticsDataStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static BetaAnalyticsDataBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BetaAnalyticsDataBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataBlockingStub(channel, callOptions); - } - }; - return BetaAnalyticsDataBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static BetaAnalyticsDataFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BetaAnalyticsDataFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataFutureStub(channel, callOptions); - } - }; - return BetaAnalyticsDataFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Google Analytics reporting data service.
-   * 
- */ - public abstract static class BetaAnalyticsDataImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public void runReport( - com.google.analytics.data.v1beta.RunReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunReportMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public void runPivotReport( - com.google.analytics.data.v1beta.RunPivotReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunPivotReportMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public void batchRunReports( - com.google.analytics.data.v1beta.BatchRunReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchRunReportsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public void batchRunPivotReports( - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchRunPivotReportsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public void getMetadata( - com.google.analytics.data.v1beta.GetMetadataRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMetadataMethod(), responseObserver); - } - - /** - * - * - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public void runRealtimeReport( - com.google.analytics.data.v1beta.RunRealtimeReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunRealtimeReportMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getRunReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.RunReportRequest, - com.google.analytics.data.v1beta.RunReportResponse>( - this, METHODID_RUN_REPORT))) - .addMethod( - getRunPivotReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.RunPivotReportRequest, - com.google.analytics.data.v1beta.RunPivotReportResponse>( - this, METHODID_RUN_PIVOT_REPORT))) - .addMethod( - getBatchRunReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.BatchRunReportsRequest, - com.google.analytics.data.v1beta.BatchRunReportsResponse>( - this, METHODID_BATCH_RUN_REPORTS))) - .addMethod( - getBatchRunPivotReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest, - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse>( - this, METHODID_BATCH_RUN_PIVOT_REPORTS))) - .addMethod( - getGetMetadataMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.GetMetadataRequest, - com.google.analytics.data.v1beta.Metadata>(this, METHODID_GET_METADATA))) - .addMethod( - getRunRealtimeReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.RunRealtimeReportRequest, - com.google.analytics.data.v1beta.RunRealtimeReportResponse>( - this, METHODID_RUN_REALTIME_REPORT))) - .build(); - } - } - - /** - * - * - *
-   * Google Analytics reporting data service.
-   * 
- */ - public static final class BetaAnalyticsDataStub - extends io.grpc.stub.AbstractAsyncStub { - private BetaAnalyticsDataStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BetaAnalyticsDataStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public void runReport( - com.google.analytics.data.v1beta.RunReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public void runPivotReport( - com.google.analytics.data.v1beta.RunPivotReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public void batchRunReports( - com.google.analytics.data.v1beta.BatchRunReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public void batchRunPivotReports( - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public void getMetadata( - com.google.analytics.data.v1beta.GetMetadataRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMetadataMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public void runRealtimeReport( - com.google.analytics.data.v1beta.RunRealtimeReportRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Google Analytics reporting data service.
-   * 
- */ - public static final class BetaAnalyticsDataBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BetaAnalyticsDataBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BetaAnalyticsDataBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public com.google.analytics.data.v1beta.RunReportResponse runReport( - com.google.analytics.data.v1beta.RunReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public com.google.analytics.data.v1beta.RunPivotReportResponse runPivotReport( - com.google.analytics.data.v1beta.RunPivotReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunPivotReportMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public com.google.analytics.data.v1beta.BatchRunReportsResponse batchRunReports( - com.google.analytics.data.v1beta.BatchRunReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchRunReportsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse batchRunPivotReports( - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchRunPivotReportsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public com.google.analytics.data.v1beta.Metadata getMetadata( - com.google.analytics.data.v1beta.GetMetadataRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMetadataMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public com.google.analytics.data.v1beta.RunRealtimeReportResponse runRealtimeReport( - com.google.analytics.data.v1beta.RunRealtimeReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunRealtimeReportMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Google Analytics reporting data service.
-   * 
- */ - public static final class BetaAnalyticsDataFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BetaAnalyticsDataFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BetaAnalyticsDataFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1beta.RunReportResponse> - runReport(com.google.analytics.data.v1beta.RunReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1beta.RunPivotReportResponse> - runPivotReport(com.google.analytics.data.v1beta.RunPivotReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1beta.BatchRunReportsResponse> - batchRunReports(com.google.analytics.data.v1beta.BatchRunReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse> - batchRunPivotReports(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1beta.Metadata> - getMetadata(com.google.analytics.data.v1beta.GetMetadataRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.analytics.data.v1beta.RunRealtimeReportResponse> - runRealtimeReport(com.google.analytics.data.v1beta.RunRealtimeReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_RUN_REPORT = 0; - private static final int METHODID_RUN_PIVOT_REPORT = 1; - private static final int METHODID_BATCH_RUN_REPORTS = 2; - private static final int METHODID_BATCH_RUN_PIVOT_REPORTS = 3; - private static final int METHODID_GET_METADATA = 4; - private static final int METHODID_RUN_REALTIME_REPORT = 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 BetaAnalyticsDataImplBase serviceImpl; - private final int methodId; - - MethodHandlers(BetaAnalyticsDataImplBase 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_RUN_REPORT: - serviceImpl.runReport( - (com.google.analytics.data.v1beta.RunReportRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RUN_PIVOT_REPORT: - serviceImpl.runPivotReport( - (com.google.analytics.data.v1beta.RunPivotReportRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_RUN_REPORTS: - serviceImpl.batchRunReports( - (com.google.analytics.data.v1beta.BatchRunReportsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.data.v1beta.BatchRunReportsResponse>) - responseObserver); - break; - case METHODID_BATCH_RUN_PIVOT_REPORTS: - serviceImpl.batchRunPivotReports( - (com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse>) - responseObserver); - break; - case METHODID_GET_METADATA: - serviceImpl.getMetadata( - (com.google.analytics.data.v1beta.GetMetadataRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RUN_REALTIME_REPORT: - serviceImpl.runRealtimeReport( - (com.google.analytics.data.v1beta.RunRealtimeReportRequest) request, - (io.grpc.stub.StreamObserver< - com.google.analytics.data.v1beta.RunRealtimeReportResponse>) - 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 BetaAnalyticsDataBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BetaAnalyticsDataBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("BetaAnalyticsData"); - } - } - - private static final class BetaAnalyticsDataFileDescriptorSupplier - extends BetaAnalyticsDataBaseDescriptorSupplier { - BetaAnalyticsDataFileDescriptorSupplier() {} - } - - private static final class BetaAnalyticsDataMethodDescriptorSupplier - extends BetaAnalyticsDataBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - BetaAnalyticsDataMethodDescriptorSupplier(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 (BetaAnalyticsDataGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BetaAnalyticsDataFileDescriptorSupplier()) - .addMethod(getRunReportMethod()) - .addMethod(getRunPivotReportMethod()) - .addMethod(getBatchRunReportsMethod()) - .addMethod(getBatchRunPivotReportsMethod()) - .addMethod(getGetMetadataMethod()) - .addMethod(getRunRealtimeReportMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java similarity index 88% rename from google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java rename to owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java index c0ab6913..a82cacbd 100644 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java +++ b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java @@ -63,13 +63,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. *
* @@ -602,6 +602,81 @@ public final RunRealtimeReportResponse runRealtimeReport(RunRealtimeReportReques return stub.runRealtimeReportCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * This compatibility method lists dimensions and metrics that can be added to a report request + * and maintain compatibility. This method fails if the request's dimensions and metrics are + * incompatible. + * + *

In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in + * that case, you will need to remove dimensions and/or metrics from the incompatible report until + * the report is compatible. + * + *

The Realtime and Core reports have different compatibility rules. This method checks + * compatibility for Core reports. + * + *

Sample code: + * + *

{@code
+   * try (BetaAnalyticsDataClient betaAnalyticsDataClient = BetaAnalyticsDataClient.create()) {
+   *   CheckCompatibilityRequest request =
+   *       CheckCompatibilityRequest.newBuilder()
+   *           .setProperty("property-993141291")
+   *           .addAllDimensions(new ArrayList())
+   *           .addAllMetrics(new ArrayList())
+   *           .setDimensionFilter(FilterExpression.newBuilder().build())
+   *           .setMetricFilter(FilterExpression.newBuilder().build())
+   *           .setCompatibilityFilter(Compatibility.forNumber(0))
+   *           .build();
+   *   CheckCompatibilityResponse response = betaAnalyticsDataClient.checkCompatibility(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckCompatibilityResponse checkCompatibility(CheckCompatibilityRequest request) { + return checkCompatibilityCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * This compatibility method lists dimensions and metrics that can be added to a report request + * and maintain compatibility. This method fails if the request's dimensions and metrics are + * incompatible. + * + *

In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in + * that case, you will need to remove dimensions and/or metrics from the incompatible report until + * the report is compatible. + * + *

The Realtime and Core reports have different compatibility rules. This method checks + * compatibility for Core reports. + * + *

Sample code: + * + *

{@code
+   * try (BetaAnalyticsDataClient betaAnalyticsDataClient = BetaAnalyticsDataClient.create()) {
+   *   CheckCompatibilityRequest request =
+   *       CheckCompatibilityRequest.newBuilder()
+   *           .setProperty("property-993141291")
+   *           .addAllDimensions(new ArrayList())
+   *           .addAllMetrics(new ArrayList())
+   *           .setDimensionFilter(FilterExpression.newBuilder().build())
+   *           .setMetricFilter(FilterExpression.newBuilder().build())
+   *           .setCompatibilityFilter(Compatibility.forNumber(0))
+   *           .build();
+   *   ApiFuture future =
+   *       betaAnalyticsDataClient.checkCompatibilityCallable().futureCall(request);
+   *   // Do something.
+   *   CheckCompatibilityResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + checkCompatibilityCallable() { + return stub.checkCompatibilityCallable(); + } + @Override public final void close() { stub.close(); diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java similarity index 91% rename from google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java rename to owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java index 63ef319d..10c71939 100644 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java +++ b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import java.io.IOException; @@ -38,9 +39,10 @@ *

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

    - *
  • The default service address (analyticsdata.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 (analyticsdata.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 @@ -100,6 +102,12 @@ public UnaryCallSettings getMetadataSettings() { return ((BetaAnalyticsDataStubSettings) getStubSettings()).runRealtimeReportSettings(); } + /** Returns the object with the settings used for calls to checkCompatibility. */ + public UnaryCallSettings + checkCompatibilitySettings() { + return ((BetaAnalyticsDataStubSettings) getStubSettings()).checkCompatibilitySettings(); + } + public static final BetaAnalyticsDataSettings create(BetaAnalyticsDataStubSettings stub) throws IOException { return new BetaAnalyticsDataSettings.Builder(stub.toBuilder()).build(); @@ -231,6 +239,12 @@ public UnaryCallSettings.Builder getMetadataSettin return getStubSettingsBuilder().runRealtimeReportSettings(); } + /** Returns the builder for the settings used for calls to checkCompatibility. */ + public UnaryCallSettings.Builder + checkCompatibilitySettings() { + return getStubSettingsBuilder().checkCompatibilitySettings(); + } + @Override public BetaAnalyticsDataSettings build() throws IOException { return new BetaAnalyticsDataSettings(this); diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json similarity index 90% rename from google-analytics-data/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json rename to owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json index 59503e06..2ef60309 100644 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json +++ b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json @@ -16,6 +16,9 @@ "BatchRunReports": { "methods": ["batchRunReports", "batchRunReportsCallable"] }, + "CheckCompatibility": { + "methods": ["checkCompatibility", "checkCompatibilityCallable"] + }, "GetMetadata": { "methods": ["getMetadata", "getMetadata", "getMetadata", "getMetadataCallable"] }, diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/package-info.java b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/package-info.java similarity index 100% rename from google-analytics-data/src/main/java/com/google/analytics/data/v1beta/package-info.java rename to owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/package-info.java diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java similarity index 89% rename from google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java rename to owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java index 24b2ff66..96b8e57b 100644 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java +++ b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java @@ -20,6 +20,8 @@ import com.google.analytics.data.v1beta.BatchRunPivotReportsResponse; import com.google.analytics.data.v1beta.BatchRunReportsRequest; import com.google.analytics.data.v1beta.BatchRunReportsResponse; +import com.google.analytics.data.v1beta.CheckCompatibilityRequest; +import com.google.analytics.data.v1beta.CheckCompatibilityResponse; import com.google.analytics.data.v1beta.GetMetadataRequest; import com.google.analytics.data.v1beta.Metadata; import com.google.analytics.data.v1beta.RunPivotReportRequest; @@ -69,6 +71,11 @@ public UnaryCallable getMetadataCallable() { throw new UnsupportedOperationException("Not implemented: runRealtimeReportCallable()"); } + public UnaryCallable + checkCompatibilityCallable() { + throw new UnsupportedOperationException("Not implemented: checkCompatibilityCallable()"); + } + @Override public abstract void close(); } diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java similarity index 89% rename from google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java rename to owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java index 0122fea4..46ddff54 100644 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java +++ b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java @@ -20,6 +20,8 @@ import com.google.analytics.data.v1beta.BatchRunPivotReportsResponse; import com.google.analytics.data.v1beta.BatchRunReportsRequest; import com.google.analytics.data.v1beta.BatchRunReportsResponse; +import com.google.analytics.data.v1beta.CheckCompatibilityRequest; +import com.google.analytics.data.v1beta.CheckCompatibilityResponse; import com.google.analytics.data.v1beta.GetMetadataRequest; import com.google.analytics.data.v1beta.Metadata; import com.google.analytics.data.v1beta.RunPivotReportRequest; @@ -59,9 +61,10 @@ *

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

    - *
  • The default service address (analyticsdata.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 (analyticsdata.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,6 +108,8 @@ public class BetaAnalyticsDataStubSettings extends StubSettings getMetadataSettings; private final UnaryCallSettings runRealtimeReportSettings; + private final UnaryCallSettings + checkCompatibilitySettings; /** Returns the object with the settings used for calls to runReport. */ public UnaryCallSettings runReportSettings() { @@ -139,6 +144,12 @@ public UnaryCallSettings getMetadataSettings() { return runRealtimeReportSettings; } + /** Returns the object with the settings used for calls to checkCompatibility. */ + public UnaryCallSettings + checkCompatibilitySettings() { + return checkCompatibilitySettings; + } + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public BetaAnalyticsDataStub createStub() throws IOException { if (getTransportChannelProvider() @@ -173,7 +184,9 @@ public static List getDefaultServiceScopes() { /** Returns a builder for the default credentials for this service. */ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES); + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); } /** Returns a builder for the default ChannelProvider for this service. */ @@ -219,6 +232,7 @@ protected BetaAnalyticsDataStubSettings(Builder settingsBuilder) throws IOExcept batchRunPivotReportsSettings = settingsBuilder.batchRunPivotReportsSettings().build(); getMetadataSettings = settingsBuilder.getMetadataSettings().build(); runRealtimeReportSettings = settingsBuilder.runRealtimeReportSettings().build(); + checkCompatibilitySettings = settingsBuilder.checkCompatibilitySettings().build(); } /** Builder for BetaAnalyticsDataStubSettings. */ @@ -235,6 +249,8 @@ public static class Builder extends StubSettings.Builder getMetadataSettings; private final UnaryCallSettings.Builder runRealtimeReportSettings; + private final UnaryCallSettings.Builder + checkCompatibilitySettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; @@ -289,6 +305,7 @@ protected Builder(ClientContext clientContext) { batchRunPivotReportsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getMetadataSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); runRealtimeReportSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + checkCompatibilitySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -297,7 +314,8 @@ protected Builder(ClientContext clientContext) { batchRunReportsSettings, batchRunPivotReportsSettings, getMetadataSettings, - runRealtimeReportSettings); + runRealtimeReportSettings, + checkCompatibilitySettings); initDefaults(this); } @@ -310,6 +328,7 @@ protected Builder(BetaAnalyticsDataStubSettings settings) { batchRunPivotReportsSettings = settings.batchRunPivotReportsSettings.toBuilder(); getMetadataSettings = settings.getMetadataSettings.toBuilder(); runRealtimeReportSettings = settings.runRealtimeReportSettings.toBuilder(); + checkCompatibilitySettings = settings.checkCompatibilitySettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -318,7 +337,8 @@ protected Builder(BetaAnalyticsDataStubSettings settings) { batchRunReportsSettings, batchRunPivotReportsSettings, getMetadataSettings, - runRealtimeReportSettings); + runRealtimeReportSettings, + checkCompatibilitySettings); } private static Builder createDefault() { @@ -365,6 +385,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .checkCompatibilitySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + return builder; } @@ -417,6 +442,12 @@ public UnaryCallSettings.Builder getMetadataSettin return runRealtimeReportSettings; } + /** Returns the builder for the settings used for calls to checkCompatibility. */ + public UnaryCallSettings.Builder + checkCompatibilitySettings() { + return checkCompatibilitySettings; + } + @Override public BetaAnalyticsDataStubSettings build() throws IOException { return new BetaAnalyticsDataStubSettings(this); diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataCallableFactory.java b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataCallableFactory.java similarity index 100% rename from google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataCallableFactory.java rename to owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataCallableFactory.java diff --git a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java similarity index 88% rename from google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java rename to owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java index fedf5cbc..286bf4b6 100644 --- a/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java +++ b/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java @@ -20,6 +20,8 @@ import com.google.analytics.data.v1beta.BatchRunPivotReportsResponse; import com.google.analytics.data.v1beta.BatchRunReportsRequest; import com.google.analytics.data.v1beta.BatchRunReportsResponse; +import com.google.analytics.data.v1beta.CheckCompatibilityRequest; +import com.google.analytics.data.v1beta.CheckCompatibilityResponse; import com.google.analytics.data.v1beta.GetMetadataRequest; import com.google.analytics.data.v1beta.Metadata; import com.google.analytics.data.v1beta.RunPivotReportRequest; @@ -40,6 +42,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; @@ -114,6 +117,18 @@ public class GrpcBetaAnalyticsDataStub extends BetaAnalyticsDataStub { ProtoUtils.marshaller(RunRealtimeReportResponse.getDefaultInstance())) .build(); + private static final MethodDescriptor + checkCompatibilityMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.analytics.data.v1beta.BetaAnalyticsData/CheckCompatibility") + .setRequestMarshaller( + ProtoUtils.marshaller(CheckCompatibilityRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(CheckCompatibilityResponse.getDefaultInstance())) + .build(); + private final UnaryCallable runReportCallable; private final UnaryCallable runPivotReportCallable; private final UnaryCallable @@ -123,6 +138,8 @@ public class GrpcBetaAnalyticsDataStub extends BetaAnalyticsDataStub { private final UnaryCallable getMetadataCallable; private final UnaryCallable runRealtimeReportCallable; + private final UnaryCallable + checkCompatibilityCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -232,6 +249,17 @@ protected GrpcBetaAnalyticsDataStub( return params.build(); }) .build(); + GrpcCallSettings + checkCompatibilityTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(checkCompatibilityMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("property", String.valueOf(request.getProperty())); + return params.build(); + }) + .build(); this.runReportCallable = callableFactory.createUnaryCallable( @@ -255,6 +283,11 @@ protected GrpcBetaAnalyticsDataStub( runRealtimeReportTransportSettings, settings.runRealtimeReportSettings(), clientContext); + this.checkCompatibilityCallable = + callableFactory.createUnaryCallable( + checkCompatibilityTransportSettings, + settings.checkCompatibilitySettings(), + clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -296,6 +329,12 @@ public UnaryCallable getMetadataCallable() { return runRealtimeReportCallable; } + @Override + public UnaryCallable + checkCompatibilityCallable() { + return checkCompatibilityCallable; + } + @Override public final void close() { try { diff --git a/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java b/owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java similarity index 88% rename from google-analytics-data/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java rename to owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java index 9606ddb4..5a705d40 100644 --- a/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java +++ b/owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java @@ -506,4 +506,64 @@ public void runRealtimeReportExceptionTest() throws Exception { // Expected exception. } } + + @Test + public void checkCompatibilityTest() throws Exception { + CheckCompatibilityResponse expectedResponse = + CheckCompatibilityResponse.newBuilder() + .addAllDimensionCompatibilities(new ArrayList()) + .addAllMetricCompatibilities(new ArrayList()) + .build(); + mockBetaAnalyticsData.addResponse(expectedResponse); + + CheckCompatibilityRequest request = + CheckCompatibilityRequest.newBuilder() + .setProperty("property-993141291") + .addAllDimensions(new ArrayList()) + .addAllMetrics(new ArrayList()) + .setDimensionFilter(FilterExpression.newBuilder().build()) + .setMetricFilter(FilterExpression.newBuilder().build()) + .setCompatibilityFilter(Compatibility.forNumber(0)) + .build(); + + CheckCompatibilityResponse actualResponse = client.checkCompatibility(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBetaAnalyticsData.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckCompatibilityRequest actualRequest = ((CheckCompatibilityRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getProperty(), actualRequest.getProperty()); + Assert.assertEquals(request.getDimensionsList(), actualRequest.getDimensionsList()); + Assert.assertEquals(request.getMetricsList(), actualRequest.getMetricsList()); + Assert.assertEquals(request.getDimensionFilter(), actualRequest.getDimensionFilter()); + Assert.assertEquals(request.getMetricFilter(), actualRequest.getMetricFilter()); + Assert.assertEquals(request.getCompatibilityFilter(), actualRequest.getCompatibilityFilter()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkCompatibilityExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBetaAnalyticsData.addException(exception); + + try { + CheckCompatibilityRequest request = + CheckCompatibilityRequest.newBuilder() + .setProperty("property-993141291") + .addAllDimensions(new ArrayList()) + .addAllMetrics(new ArrayList()) + .setDimensionFilter(FilterExpression.newBuilder().build()) + .setMetricFilter(FilterExpression.newBuilder().build()) + .setCompatibilityFilter(Compatibility.forNumber(0)) + .build(); + client.checkCompatibility(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsData.java b/owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsData.java similarity index 100% rename from google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsData.java rename to owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsData.java diff --git a/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java b/owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java similarity index 88% rename from google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java rename to owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java index bb6e3dc3..618d05c2 100644 --- a/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java +++ b/owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java @@ -184,4 +184,26 @@ public void runRealtimeReport( Exception.class.getName()))); } } + + @Override + public void checkCompatibility( + CheckCompatibilityRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof CheckCompatibilityResponse) { + requests.add(request); + responseObserver.onNext(((CheckCompatibilityResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CheckCompatibility, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + CheckCompatibilityResponse.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/owl-bot-staging/v1beta/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java b/owl-bot-staging/v1beta/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java new file mode 100644 index 00000000..79ad1941 --- /dev/null +++ b/owl-bot-staging/v1beta/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java @@ -0,0 +1,934 @@ +package com.google.analytics.data.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Google Analytics reporting data service.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/analytics/data/v1beta/analytics_data_api.proto") +public final class BetaAnalyticsDataGrpc { + + private BetaAnalyticsDataGrpc() {} + + public static final String SERVICE_NAME = "google.analytics.data.v1beta.BetaAnalyticsData"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getRunReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunReport", + requestType = com.google.analytics.data.v1beta.RunReportRequest.class, + responseType = com.google.analytics.data.v1beta.RunReportResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRunReportMethod() { + io.grpc.MethodDescriptor getRunReportMethod; + if ((getRunReportMethod = BetaAnalyticsDataGrpc.getRunReportMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getRunReportMethod = BetaAnalyticsDataGrpc.getRunReportMethod) == null) { + BetaAnalyticsDataGrpc.getRunReportMethod = getRunReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance())) + .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("RunReport")) + .build(); + } + } + } + return getRunReportMethod; + } + + private static volatile io.grpc.MethodDescriptor getRunPivotReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunPivotReport", + requestType = com.google.analytics.data.v1beta.RunPivotReportRequest.class, + responseType = com.google.analytics.data.v1beta.RunPivotReportResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRunPivotReportMethod() { + io.grpc.MethodDescriptor getRunPivotReportMethod; + if ((getRunPivotReportMethod = BetaAnalyticsDataGrpc.getRunPivotReportMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getRunPivotReportMethod = BetaAnalyticsDataGrpc.getRunPivotReportMethod) == null) { + BetaAnalyticsDataGrpc.getRunPivotReportMethod = getRunPivotReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunPivotReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance())) + .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("RunPivotReport")) + .build(); + } + } + } + return getRunPivotReportMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchRunReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchRunReports", + requestType = com.google.analytics.data.v1beta.BatchRunReportsRequest.class, + responseType = com.google.analytics.data.v1beta.BatchRunReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchRunReportsMethod() { + io.grpc.MethodDescriptor getBatchRunReportsMethod; + if ((getBatchRunReportsMethod = BetaAnalyticsDataGrpc.getBatchRunReportsMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getBatchRunReportsMethod = BetaAnalyticsDataGrpc.getBatchRunReportsMethod) == null) { + BetaAnalyticsDataGrpc.getBatchRunReportsMethod = getBatchRunReportsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchRunReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.BatchRunReportsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.BatchRunReportsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("BatchRunReports")) + .build(); + } + } + } + return getBatchRunReportsMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchRunPivotReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchRunPivotReports", + requestType = com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, + responseType = com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchRunPivotReportsMethod() { + io.grpc.MethodDescriptor getBatchRunPivotReportsMethod; + if ((getBatchRunPivotReportsMethod = BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getBatchRunPivotReportsMethod = BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod) == null) { + BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod = getBatchRunPivotReportsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchRunPivotReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("BatchRunPivotReports")) + .build(); + } + } + } + return getBatchRunPivotReportsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMetadataMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMetadata", + requestType = com.google.analytics.data.v1beta.GetMetadataRequest.class, + responseType = com.google.analytics.data.v1beta.Metadata.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMetadataMethod() { + io.grpc.MethodDescriptor getGetMetadataMethod; + if ((getGetMetadataMethod = BetaAnalyticsDataGrpc.getGetMetadataMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getGetMetadataMethod = BetaAnalyticsDataGrpc.getGetMetadataMethod) == null) { + BetaAnalyticsDataGrpc.getGetMetadataMethod = getGetMetadataMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMetadata")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.GetMetadataRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.Metadata.getDefaultInstance())) + .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("GetMetadata")) + .build(); + } + } + } + return getGetMetadataMethod; + } + + private static volatile io.grpc.MethodDescriptor getRunRealtimeReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunRealtimeReport", + requestType = com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, + responseType = com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRunRealtimeReportMethod() { + io.grpc.MethodDescriptor getRunRealtimeReportMethod; + if ((getRunRealtimeReportMethod = BetaAnalyticsDataGrpc.getRunRealtimeReportMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getRunRealtimeReportMethod = BetaAnalyticsDataGrpc.getRunRealtimeReportMethod) == null) { + BetaAnalyticsDataGrpc.getRunRealtimeReportMethod = getRunRealtimeReportMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunRealtimeReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunRealtimeReportRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunRealtimeReportResponse.getDefaultInstance())) + .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("RunRealtimeReport")) + .build(); + } + } + } + return getRunRealtimeReportMethod; + } + + private static volatile io.grpc.MethodDescriptor getCheckCompatibilityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckCompatibility", + requestType = com.google.analytics.data.v1beta.CheckCompatibilityRequest.class, + responseType = com.google.analytics.data.v1beta.CheckCompatibilityResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCheckCompatibilityMethod() { + io.grpc.MethodDescriptor getCheckCompatibilityMethod; + if ((getCheckCompatibilityMethod = BetaAnalyticsDataGrpc.getCheckCompatibilityMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getCheckCompatibilityMethod = BetaAnalyticsDataGrpc.getCheckCompatibilityMethod) == null) { + BetaAnalyticsDataGrpc.getCheckCompatibilityMethod = getCheckCompatibilityMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckCompatibility")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.CheckCompatibilityRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.CheckCompatibilityResponse.getDefaultInstance())) + .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("CheckCompatibility")) + .build(); + } + } + } + return getCheckCompatibilityMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static BetaAnalyticsDataStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BetaAnalyticsDataStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataStub(channel, callOptions); + } + }; + return BetaAnalyticsDataStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BetaAnalyticsDataBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BetaAnalyticsDataBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataBlockingStub(channel, callOptions); + } + }; + return BetaAnalyticsDataBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static BetaAnalyticsDataFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BetaAnalyticsDataFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataFutureStub(channel, callOptions); + } + }; + return BetaAnalyticsDataFutureStub.newStub(factory, channel); + } + + /** + *
+   * Google Analytics reporting data service.
+   * 
+ */ + public static abstract class BetaAnalyticsDataImplBase implements io.grpc.BindableService { + + /** + *
+     * Returns a customized report of your Google Analytics event data. Reports
+     * contain statistics derived from data collected by the Google Analytics
+     * tracking code. The data returned from the API is as a table with columns
+     * for the requested dimensions and metrics. Metrics are individual
+     * measurements of user activity on your property, such as active users or
+     * event count. Dimensions break down metrics across some common criteria,
+     * such as country or event name.
+     * 
+ */ + public void runReport(com.google.analytics.data.v1beta.RunReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunReportMethod(), responseObserver); + } + + /** + *
+     * Returns a customized pivot report of your Google Analytics event data.
+     * Pivot reports are more advanced and expressive formats than regular
+     * reports. In a pivot report, dimensions are only visible if they are
+     * included in a pivot. Multiple pivots can be specified to further dissect
+     * your data.
+     * 
+ */ + public void runPivotReport(com.google.analytics.data.v1beta.RunPivotReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunPivotReportMethod(), responseObserver); + } + + /** + *
+     * Returns multiple reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public void batchRunReports(com.google.analytics.data.v1beta.BatchRunReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchRunReportsMethod(), responseObserver); + } + + /** + *
+     * Returns multiple pivot reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public void batchRunPivotReports(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchRunPivotReportsMethod(), responseObserver); + } + + /** + *
+     * Returns metadata for dimensions and metrics available in reporting methods.
+     * Used to explore the dimensions and metrics. In this method, a Google
+     * Analytics GA4 Property Identifier is specified in the request, and
+     * the metadata response includes Custom dimensions and metrics as well as
+     * Universal metadata.
+     * For example if a custom metric with parameter name `levels_unlocked` is
+     * registered to a property, the Metadata response will contain
+     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
+     * metrics applicable to any property such as `country` and `totalUsers`.
+     * 
+ */ + public void getMetadata(com.google.analytics.data.v1beta.GetMetadataRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMetadataMethod(), responseObserver); + } + + /** + *
+     * The Google Analytics Realtime API returns a customized report of realtime
+     * event data for your property. These reports show events and usage from the
+     * last 30 minutes.
+     * 
+ */ + public void runRealtimeReport(com.google.analytics.data.v1beta.RunRealtimeReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunRealtimeReportMethod(), responseObserver); + } + + /** + *
+     * This compatibility method lists dimensions and metrics that can be added to
+     * a report request and maintain compatibility. This method fails if the
+     * request's dimensions and metrics are incompatible.
+     * In Google Analytics, reports fail if they request incompatible dimensions
+     * and/or metrics; in that case, you will need to remove dimensions and/or
+     * metrics from the incompatible report until the report is compatible.
+     * The Realtime and Core reports have different compatibility rules. This
+     * method checks compatibility for Core reports.
+     * 
+ */ + public void checkCompatibility(com.google.analytics.data.v1beta.CheckCompatibilityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckCompatibilityMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getRunReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.RunReportRequest, + com.google.analytics.data.v1beta.RunReportResponse>( + this, METHODID_RUN_REPORT))) + .addMethod( + getRunPivotReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.RunPivotReportRequest, + com.google.analytics.data.v1beta.RunPivotReportResponse>( + this, METHODID_RUN_PIVOT_REPORT))) + .addMethod( + getBatchRunReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.BatchRunReportsRequest, + com.google.analytics.data.v1beta.BatchRunReportsResponse>( + this, METHODID_BATCH_RUN_REPORTS))) + .addMethod( + getBatchRunPivotReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest, + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse>( + this, METHODID_BATCH_RUN_PIVOT_REPORTS))) + .addMethod( + getGetMetadataMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.GetMetadataRequest, + com.google.analytics.data.v1beta.Metadata>( + this, METHODID_GET_METADATA))) + .addMethod( + getRunRealtimeReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.RunRealtimeReportRequest, + com.google.analytics.data.v1beta.RunRealtimeReportResponse>( + this, METHODID_RUN_REALTIME_REPORT))) + .addMethod( + getCheckCompatibilityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.CheckCompatibilityRequest, + com.google.analytics.data.v1beta.CheckCompatibilityResponse>( + this, METHODID_CHECK_COMPATIBILITY))) + .build(); + } + } + + /** + *
+   * Google Analytics reporting data service.
+   * 
+ */ + public static final class BetaAnalyticsDataStub extends io.grpc.stub.AbstractAsyncStub { + private BetaAnalyticsDataStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BetaAnalyticsDataStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataStub(channel, callOptions); + } + + /** + *
+     * Returns a customized report of your Google Analytics event data. Reports
+     * contain statistics derived from data collected by the Google Analytics
+     * tracking code. The data returned from the API is as a table with columns
+     * for the requested dimensions and metrics. Metrics are individual
+     * measurements of user activity on your property, such as active users or
+     * event count. Dimensions break down metrics across some common criteria,
+     * such as country or event name.
+     * 
+ */ + public void runReport(com.google.analytics.data.v1beta.RunReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a customized pivot report of your Google Analytics event data.
+     * Pivot reports are more advanced and expressive formats than regular
+     * reports. In a pivot report, dimensions are only visible if they are
+     * included in a pivot. Multiple pivots can be specified to further dissect
+     * your data.
+     * 
+ */ + public void runPivotReport(com.google.analytics.data.v1beta.RunPivotReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns multiple reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public void batchRunReports(com.google.analytics.data.v1beta.BatchRunReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns multiple pivot reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public void batchRunPivotReports(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns metadata for dimensions and metrics available in reporting methods.
+     * Used to explore the dimensions and metrics. In this method, a Google
+     * Analytics GA4 Property Identifier is specified in the request, and
+     * the metadata response includes Custom dimensions and metrics as well as
+     * Universal metadata.
+     * For example if a custom metric with parameter name `levels_unlocked` is
+     * registered to a property, the Metadata response will contain
+     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
+     * metrics applicable to any property such as `country` and `totalUsers`.
+     * 
+ */ + public void getMetadata(com.google.analytics.data.v1beta.GetMetadataRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * The Google Analytics Realtime API returns a customized report of realtime
+     * event data for your property. These reports show events and usage from the
+     * last 30 minutes.
+     * 
+ */ + public void runRealtimeReport(com.google.analytics.data.v1beta.RunRealtimeReportRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * This compatibility method lists dimensions and metrics that can be added to
+     * a report request and maintain compatibility. This method fails if the
+     * request's dimensions and metrics are incompatible.
+     * In Google Analytics, reports fail if they request incompatible dimensions
+     * and/or metrics; in that case, you will need to remove dimensions and/or
+     * metrics from the incompatible report until the report is compatible.
+     * The Realtime and Core reports have different compatibility rules. This
+     * method checks compatibility for Core reports.
+     * 
+ */ + public void checkCompatibility(com.google.analytics.data.v1beta.CheckCompatibilityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckCompatibilityMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Google Analytics reporting data service.
+   * 
+ */ + public static final class BetaAnalyticsDataBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private BetaAnalyticsDataBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BetaAnalyticsDataBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataBlockingStub(channel, callOptions); + } + + /** + *
+     * Returns a customized report of your Google Analytics event data. Reports
+     * contain statistics derived from data collected by the Google Analytics
+     * tracking code. The data returned from the API is as a table with columns
+     * for the requested dimensions and metrics. Metrics are individual
+     * measurements of user activity on your property, such as active users or
+     * event count. Dimensions break down metrics across some common criteria,
+     * such as country or event name.
+     * 
+ */ + public com.google.analytics.data.v1beta.RunReportResponse runReport(com.google.analytics.data.v1beta.RunReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunReportMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a customized pivot report of your Google Analytics event data.
+     * Pivot reports are more advanced and expressive formats than regular
+     * reports. In a pivot report, dimensions are only visible if they are
+     * included in a pivot. Multiple pivots can be specified to further dissect
+     * your data.
+     * 
+ */ + public com.google.analytics.data.v1beta.RunPivotReportResponse runPivotReport(com.google.analytics.data.v1beta.RunPivotReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunPivotReportMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns multiple reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public com.google.analytics.data.v1beta.BatchRunReportsResponse batchRunReports(com.google.analytics.data.v1beta.BatchRunReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchRunReportsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns multiple pivot reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse batchRunPivotReports(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchRunPivotReportsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns metadata for dimensions and metrics available in reporting methods.
+     * Used to explore the dimensions and metrics. In this method, a Google
+     * Analytics GA4 Property Identifier is specified in the request, and
+     * the metadata response includes Custom dimensions and metrics as well as
+     * Universal metadata.
+     * For example if a custom metric with parameter name `levels_unlocked` is
+     * registered to a property, the Metadata response will contain
+     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
+     * metrics applicable to any property such as `country` and `totalUsers`.
+     * 
+ */ + public com.google.analytics.data.v1beta.Metadata getMetadata(com.google.analytics.data.v1beta.GetMetadataRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMetadataMethod(), getCallOptions(), request); + } + + /** + *
+     * The Google Analytics Realtime API returns a customized report of realtime
+     * event data for your property. These reports show events and usage from the
+     * last 30 minutes.
+     * 
+ */ + public com.google.analytics.data.v1beta.RunRealtimeReportResponse runRealtimeReport(com.google.analytics.data.v1beta.RunRealtimeReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunRealtimeReportMethod(), getCallOptions(), request); + } + + /** + *
+     * This compatibility method lists dimensions and metrics that can be added to
+     * a report request and maintain compatibility. This method fails if the
+     * request's dimensions and metrics are incompatible.
+     * In Google Analytics, reports fail if they request incompatible dimensions
+     * and/or metrics; in that case, you will need to remove dimensions and/or
+     * metrics from the incompatible report until the report is compatible.
+     * The Realtime and Core reports have different compatibility rules. This
+     * method checks compatibility for Core reports.
+     * 
+ */ + public com.google.analytics.data.v1beta.CheckCompatibilityResponse checkCompatibility(com.google.analytics.data.v1beta.CheckCompatibilityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckCompatibilityMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Google Analytics reporting data service.
+   * 
+ */ + public static final class BetaAnalyticsDataFutureStub extends io.grpc.stub.AbstractFutureStub { + private BetaAnalyticsDataFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BetaAnalyticsDataFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataFutureStub(channel, callOptions); + } + + /** + *
+     * Returns a customized report of your Google Analytics event data. Reports
+     * contain statistics derived from data collected by the Google Analytics
+     * tracking code. The data returned from the API is as a table with columns
+     * for the requested dimensions and metrics. Metrics are individual
+     * measurements of user activity on your property, such as active users or
+     * event count. Dimensions break down metrics across some common criteria,
+     * such as country or event name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture runReport( + com.google.analytics.data.v1beta.RunReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunReportMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a customized pivot report of your Google Analytics event data.
+     * Pivot reports are more advanced and expressive formats than regular
+     * reports. In a pivot report, dimensions are only visible if they are
+     * included in a pivot. Multiple pivots can be specified to further dissect
+     * your data.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture runPivotReport( + com.google.analytics.data.v1beta.RunPivotReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns multiple reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchRunReports( + com.google.analytics.data.v1beta.BatchRunReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns multiple pivot reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchRunPivotReports( + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns metadata for dimensions and metrics available in reporting methods.
+     * Used to explore the dimensions and metrics. In this method, a Google
+     * Analytics GA4 Property Identifier is specified in the request, and
+     * the metadata response includes Custom dimensions and metrics as well as
+     * Universal metadata.
+     * For example if a custom metric with parameter name `levels_unlocked` is
+     * registered to a property, the Metadata response will contain
+     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
+     * metrics applicable to any property such as `country` and `totalUsers`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMetadata( + com.google.analytics.data.v1beta.GetMetadataRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request); + } + + /** + *
+     * The Google Analytics Realtime API returns a customized report of realtime
+     * event data for your property. These reports show events and usage from the
+     * last 30 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture runRealtimeReport( + com.google.analytics.data.v1beta.RunRealtimeReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), request); + } + + /** + *
+     * This compatibility method lists dimensions and metrics that can be added to
+     * a report request and maintain compatibility. This method fails if the
+     * request's dimensions and metrics are incompatible.
+     * In Google Analytics, reports fail if they request incompatible dimensions
+     * and/or metrics; in that case, you will need to remove dimensions and/or
+     * metrics from the incompatible report until the report is compatible.
+     * The Realtime and Core reports have different compatibility rules. This
+     * method checks compatibility for Core reports.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture checkCompatibility( + com.google.analytics.data.v1beta.CheckCompatibilityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckCompatibilityMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_RUN_REPORT = 0; + private static final int METHODID_RUN_PIVOT_REPORT = 1; + private static final int METHODID_BATCH_RUN_REPORTS = 2; + private static final int METHODID_BATCH_RUN_PIVOT_REPORTS = 3; + private static final int METHODID_GET_METADATA = 4; + private static final int METHODID_RUN_REALTIME_REPORT = 5; + private static final int METHODID_CHECK_COMPATIBILITY = 6; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final BetaAnalyticsDataImplBase serviceImpl; + private final int methodId; + + MethodHandlers(BetaAnalyticsDataImplBase 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_RUN_REPORT: + serviceImpl.runReport((com.google.analytics.data.v1beta.RunReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_PIVOT_REPORT: + serviceImpl.runPivotReport((com.google.analytics.data.v1beta.RunPivotReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_RUN_REPORTS: + serviceImpl.batchRunReports((com.google.analytics.data.v1beta.BatchRunReportsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_RUN_PIVOT_REPORTS: + serviceImpl.batchRunPivotReports((com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_METADATA: + serviceImpl.getMetadata((com.google.analytics.data.v1beta.GetMetadataRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_REALTIME_REPORT: + serviceImpl.runRealtimeReport((com.google.analytics.data.v1beta.RunRealtimeReportRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CHECK_COMPATIBILITY: + serviceImpl.checkCompatibility((com.google.analytics.data.v1beta.CheckCompatibilityRequest) 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 BetaAnalyticsDataBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BetaAnalyticsDataBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BetaAnalyticsData"); + } + } + + private static final class BetaAnalyticsDataFileDescriptorSupplier + extends BetaAnalyticsDataBaseDescriptorSupplier { + BetaAnalyticsDataFileDescriptorSupplier() {} + } + + private static final class BetaAnalyticsDataMethodDescriptorSupplier + extends BetaAnalyticsDataBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + BetaAnalyticsDataMethodDescriptorSupplier(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 (BetaAnalyticsDataGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BetaAnalyticsDataFileDescriptorSupplier()) + .addMethod(getRunReportMethod()) + .addMethod(getRunPivotReportMethod()) + .addMethod(getBatchRunReportsMethod()) + .addMethod(getBatchRunPivotReportsMethod()) + .addMethod(getGetMetadataMethod()) + .addMethod(getRunRealtimeReportMethod()) + .addMethod(getCheckCompatibilityMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java new file mode 100644 index 00000000..ea24f89b --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java @@ -0,0 +1,372 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/analytics_data_api.proto + +package com.google.analytics.data.v1beta; + +public final class AnalyticsDataApiProto { + private AnalyticsDataApiProto() {} + 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_analytics_data_v1beta_CheckCompatibilityRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Metadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n5google/analytics/data/v1beta/analytics" + + "_data_api.proto\022\034google.analytics.data.v" + + "1beta\032\'google/analytics/data/v1beta/data" + + ".proto\032\034google/api/annotations.proto\032\027go" + + "ogle/api/client.proto\032\037google/api/field_" + + "behavior.proto\032\031google/api/resource.prot" + + "o\"\375\002\n\031CheckCompatibilityRequest\022\020\n\010prope" + + "rty\030\001 \001(\t\022;\n\ndimensions\030\002 \003(\0132\'.google.a" + + "nalytics.data.v1beta.Dimension\0225\n\007metric" + + "s\030\003 \003(\0132$.google.analytics.data.v1beta.M" + + "etric\022H\n\020dimension_filter\030\004 \001(\0132..google" + + ".analytics.data.v1beta.FilterExpression\022" + + "E\n\rmetric_filter\030\005 \001(\0132..google.analytic" + + "s.data.v1beta.FilterExpression\022I\n\024compat" + + "ibility_filter\030\006 \001(\0162+.google.analytics." + + "data.v1beta.Compatibility\"\310\001\n\032CheckCompa" + + "tibilityResponse\022W\n\031dimension_compatibil" + + "ities\030\001 \003(\01324.google.analytics.data.v1be" + + "ta.DimensionCompatibility\022Q\n\026metric_comp" + + "atibilities\030\002 \003(\01321.google.analytics.dat" + + "a.v1beta.MetricCompatibility\"\350\001\n\010Metadat" + + "a\022\014\n\004name\030\003 \001(\t\022C\n\ndimensions\030\001 \003(\0132/.go" + + "ogle.analytics.data.v1beta.DimensionMeta" + + "data\022=\n\007metrics\030\002 \003(\0132,.google.analytics" + + ".data.v1beta.MetricMetadata:J\352AG\n%analyt" + + "icsdata.googleapis.com/Metadata\022\036propert" + + "ies/{property}/metadata\"\234\005\n\020RunReportReq" + + "uest\022\020\n\010property\030\001 \001(\t\022;\n\ndimensions\030\002 \003" + + "(\0132\'.google.analytics.data.v1beta.Dimens" + + "ion\0225\n\007metrics\030\003 \003(\0132$.google.analytics." + + "data.v1beta.Metric\022<\n\013date_ranges\030\004 \003(\0132" + + "\'.google.analytics.data.v1beta.DateRange" + + "\022H\n\020dimension_filter\030\005 \001(\0132..google.anal" + + "ytics.data.v1beta.FilterExpression\022E\n\rme" + + "tric_filter\030\006 \001(\0132..google.analytics.dat" + + "a.v1beta.FilterExpression\022\016\n\006offset\030\007 \001(" + + "\003\022\r\n\005limit\030\010 \001(\003\022L\n\023metric_aggregations\030" + + "\t \003(\0162/.google.analytics.data.v1beta.Met" + + "ricAggregation\0228\n\torder_bys\030\n \003(\0132%.goog" + + "le.analytics.data.v1beta.OrderBy\022\025\n\rcurr" + + "ency_code\030\013 \001(\t\022=\n\013cohort_spec\030\014 \001(\0132(.g" + + "oogle.analytics.data.v1beta.CohortSpec\022\027" + + "\n\017keep_empty_rows\030\r \001(\010\022\035\n\025return_proper" + + "ty_quota\030\016 \001(\010\"\227\004\n\021RunReportResponse\022H\n\021" + + "dimension_headers\030\001 \003(\0132-.google.analyti" + + "cs.data.v1beta.DimensionHeader\022B\n\016metric" + + "_headers\030\002 \003(\0132*.google.analytics.data.v" + + "1beta.MetricHeader\022/\n\004rows\030\003 \003(\0132!.googl" + + "e.analytics.data.v1beta.Row\0221\n\006totals\030\004 " + + "\003(\0132!.google.analytics.data.v1beta.Row\0223" + + "\n\010maximums\030\005 \003(\0132!.google.analytics.data" + + ".v1beta.Row\0223\n\010minimums\030\006 \003(\0132!.google.a" + + "nalytics.data.v1beta.Row\022\021\n\trow_count\030\007 " + + "\001(\005\022@\n\010metadata\030\010 \001(\0132..google.analytics" + + ".data.v1beta.ResponseMetaData\022C\n\016propert" + + "y_quota\030\t \001(\0132+.google.analytics.data.v1" + + "beta.PropertyQuota\022\014\n\004kind\030\n \001(\t\"\257\004\n\025Run" + + "PivotReportRequest\022\020\n\010property\030\001 \001(\t\022;\n\n" + + "dimensions\030\002 \003(\0132\'.google.analytics.data" + + ".v1beta.Dimension\0225\n\007metrics\030\003 \003(\0132$.goo" + + "gle.analytics.data.v1beta.Metric\022<\n\013date" + + "_ranges\030\004 \003(\0132\'.google.analytics.data.v1" + + "beta.DateRange\0223\n\006pivots\030\005 \003(\0132#.google." + + "analytics.data.v1beta.Pivot\022H\n\020dimension" + + "_filter\030\006 \001(\0132..google.analytics.data.v1" + + "beta.FilterExpression\022E\n\rmetric_filter\030\007" + + " \001(\0132..google.analytics.data.v1beta.Filt" + + "erExpression\022\025\n\rcurrency_code\030\010 \001(\t\022=\n\013c" + + "ohort_spec\030\t \001(\0132(.google.analytics.data" + + ".v1beta.CohortSpec\022\027\n\017keep_empty_rows\030\n " + + "\001(\010\022\035\n\025return_property_quota\030\013 \001(\010\"\345\003\n\026R" + + "unPivotReportResponse\022@\n\rpivot_headers\030\001" + + " \003(\0132).google.analytics.data.v1beta.Pivo" + + "tHeader\022H\n\021dimension_headers\030\002 \003(\0132-.goo" + + "gle.analytics.data.v1beta.DimensionHeade" + + "r\022B\n\016metric_headers\030\003 \003(\0132*.google.analy" + + "tics.data.v1beta.MetricHeader\022/\n\004rows\030\004 " + + "\003(\0132!.google.analytics.data.v1beta.Row\0225" + + "\n\naggregates\030\005 \003(\0132!.google.analytics.da" + + "ta.v1beta.Row\022@\n\010metadata\030\006 \001(\0132..google" + + ".analytics.data.v1beta.ResponseMetaData\022" + + "C\n\016property_quota\030\007 \001(\0132+.google.analyti" + + "cs.data.v1beta.PropertyQuota\022\014\n\004kind\030\010 \001" + + "(\t\"l\n\026BatchRunReportsRequest\022\020\n\010property" + + "\030\001 \001(\t\022@\n\010requests\030\002 \003(\0132..google.analyt" + + "ics.data.v1beta.RunReportRequest\"i\n\027Batc" + + "hRunReportsResponse\022@\n\007reports\030\001 \003(\0132/.g" + + "oogle.analytics.data.v1beta.RunReportRes" + + "ponse\022\014\n\004kind\030\002 \001(\t\"v\n\033BatchRunPivotRepo" + + "rtsRequest\022\020\n\010property\030\001 \001(\t\022E\n\010requests" + + "\030\002 \003(\01323.google.analytics.data.v1beta.Ru" + + "nPivotReportRequest\"y\n\034BatchRunPivotRepo" + + "rtsResponse\022K\n\rpivot_reports\030\001 \003(\01324.goo" + + "gle.analytics.data.v1beta.RunPivotReport" + + "Response\022\014\n\004kind\030\002 \001(\t\"Q\n\022GetMetadataReq" + + "uest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsdat" + + "a.googleapis.com/Metadata\"\251\004\n\030RunRealtim" + + "eReportRequest\022\020\n\010property\030\001 \001(\t\022;\n\ndime" + + "nsions\030\002 \003(\0132\'.google.analytics.data.v1b" + + "eta.Dimension\0225\n\007metrics\030\003 \003(\0132$.google." + + "analytics.data.v1beta.Metric\022H\n\020dimensio" + + "n_filter\030\004 \001(\0132..google.analytics.data.v" + + "1beta.FilterExpression\022E\n\rmetric_filter\030" + + "\005 \001(\0132..google.analytics.data.v1beta.Fil" + + "terExpression\022\r\n\005limit\030\006 \001(\003\022L\n\023metric_a" + + "ggregations\030\007 \003(\0162/.google.analytics.dat" + + "a.v1beta.MetricAggregation\0228\n\torder_bys\030" + + "\010 \003(\0132%.google.analytics.data.v1beta.Ord" + + "erBy\022\035\n\025return_property_quota\030\t \001(\010\022@\n\rm" + + "inute_ranges\030\n \003(\0132).google.analytics.da" + + "ta.v1beta.MinuteRange\"\335\003\n\031RunRealtimeRep" + + "ortResponse\022H\n\021dimension_headers\030\001 \003(\0132-" + + ".google.analytics.data.v1beta.DimensionH" + + "eader\022B\n\016metric_headers\030\002 \003(\0132*.google.a" + + "nalytics.data.v1beta.MetricHeader\022/\n\004row" + + "s\030\003 \003(\0132!.google.analytics.data.v1beta.R" + + "ow\0221\n\006totals\030\004 \003(\0132!.google.analytics.da" + + "ta.v1beta.Row\0223\n\010maximums\030\005 \003(\0132!.google" + + ".analytics.data.v1beta.Row\0223\n\010minimums\030\006" + + " \003(\0132!.google.analytics.data.v1beta.Row\022" + + "\021\n\trow_count\030\007 \001(\005\022C\n\016property_quota\030\010 \001" + + "(\0132+.google.analytics.data.v1beta.Proper" + + "tyQuota\022\014\n\004kind\030\t \001(\t2\254\013\n\021BetaAnalyticsD" + + "ata\022\242\001\n\tRunReport\022..google.analytics.dat" + + "a.v1beta.RunReportRequest\032/.google.analy" + + "tics.data.v1beta.RunReportResponse\"4\202\323\344\223" + + "\002.\")/v1beta/{property=properties/*}:runR" + + "eport:\001*\022\266\001\n\016RunPivotReport\0223.google.ana" + + "lytics.data.v1beta.RunPivotReportRequest" + + "\0324.google.analytics.data.v1beta.RunPivot" + + "ReportResponse\"9\202\323\344\223\0023\"./v1beta/{propert" + + "y=properties/*}:runPivotReport:\001*\022\272\001\n\017Ba" + + "tchRunReports\0224.google.analytics.data.v1" + + "beta.BatchRunReportsRequest\0325.google.ana" + + "lytics.data.v1beta.BatchRunReportsRespon" + + "se\":\202\323\344\223\0024\"//v1beta/{property=properties" + + "/*}:batchRunReports:\001*\022\316\001\n\024BatchRunPivot" + + "Reports\0229.google.analytics.data.v1beta.B" + + "atchRunPivotReportsRequest\032:.google.anal" + + "ytics.data.v1beta.BatchRunPivotReportsRe" + + "sponse\"?\202\323\344\223\0029\"4/v1beta/{property=proper" + + "ties/*}:batchRunPivotReports:\001*\022\234\001\n\013GetM" + + "etadata\0220.google.analytics.data.v1beta.G" + + "etMetadataRequest\032&.google.analytics.dat" + + "a.v1beta.Metadata\"3\202\323\344\223\002&\022$/v1beta/{name" + + "=properties/*/metadata}\332A\004name\022\302\001\n\021RunRe" + + "altimeReport\0226.google.analytics.data.v1b" + + "eta.RunRealtimeReportRequest\0327.google.an" + + "alytics.data.v1beta.RunRealtimeReportRes" + + "ponse\"<\202\323\344\223\0026\"1/v1beta/{property=propert" + + "ies/*}:runRealtimeReport:\001*\022\306\001\n\022CheckCom" + + "patibility\0227.google.analytics.data.v1bet" + + "a.CheckCompatibilityRequest\0328.google.ana" + + "lytics.data.v1beta.CheckCompatibilityRes" + + "ponse\"=\202\323\344\223\0027\"2/v1beta/{property=propert" + + "ies/*}:checkCompatibility:\001*\032~\312A\034analyti" + + "csdata.googleapis.com\322A\\https://www.goog" + + "leapis.com/auth/analytics,https://www.go" + + "ogleapis.com/auth/analytics.readonlyB}\n " + + "com.google.analytics.data.v1betaB\025Analyt" + + "icsDataApiProtoP\001Z@google.golang.org/gen" + + "proto/googleapis/analytics/data/v1beta;d" + + "atab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.data.v1beta.ReportingApiProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor, + new java.lang.String[] { "Property", "Dimensions", "Metrics", "DimensionFilter", "MetricFilter", "CompatibilityFilter", }); + internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor, + new java.lang.String[] { "DimensionCompatibilities", "MetricCompatibilities", }); + internal_static_google_analytics_data_v1beta_Metadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Metadata_descriptor, + new java.lang.String[] { "Name", "Dimensions", "Metrics", }); + internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor, + new java.lang.String[] { "Property", "Dimensions", "Metrics", "DateRanges", "DimensionFilter", "MetricFilter", "Offset", "Limit", "MetricAggregations", "OrderBys", "CurrencyCode", "CohortSpec", "KeepEmptyRows", "ReturnPropertyQuota", }); + internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor, + new java.lang.String[] { "DimensionHeaders", "MetricHeaders", "Rows", "Totals", "Maximums", "Minimums", "RowCount", "Metadata", "PropertyQuota", "Kind", }); + internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor, + new java.lang.String[] { "Property", "Dimensions", "Metrics", "DateRanges", "Pivots", "DimensionFilter", "MetricFilter", "CurrencyCode", "CohortSpec", "KeepEmptyRows", "ReturnPropertyQuota", }); + internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor, + new java.lang.String[] { "PivotHeaders", "DimensionHeaders", "MetricHeaders", "Rows", "Aggregates", "Metadata", "PropertyQuota", "Kind", }); + internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor, + new java.lang.String[] { "Property", "Requests", }); + internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor, + new java.lang.String[] { "Reports", "Kind", }); + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor, + new java.lang.String[] { "Property", "Requests", }); + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor, + new java.lang.String[] { "PivotReports", "Kind", }); + internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor, + new java.lang.String[] { "Property", "Dimensions", "Metrics", "DimensionFilter", "MetricFilter", "Limit", "MetricAggregations", "OrderBys", "ReturnPropertyQuota", "MinuteRanges", }); + internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor, + new java.lang.String[] { "DimensionHeaders", "MetricHeaders", "Rows", "Totals", "Maximums", "Minimums", "RowCount", "PropertyQuota", "Kind", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.analytics.data.v1beta.ReportingApiProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java similarity index 76% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java index fd3e5ae2..92069668 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The batch request containing multiple pivot report requests.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunPivotReportsRequest} */ -public final class BatchRunPivotReportsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchRunPivotReportsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.BatchRunPivotReportsRequest) BatchRunPivotReportsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchRunPivotReportsRequest.newBuilder() to construct. private BatchRunPivotReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchRunPivotReportsRequest() { property_ = ""; requests_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private BatchRunPivotReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchRunPivotReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchRunPivotReportsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,35 @@ private BatchRunPivotReportsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList< - com.google.analytics.data.v1beta.RunPivotReportRequest>(); - mutable_bitField0_ |= 0x00000001; - } - requests_.add( - input.readMessage( - com.google.analytics.data.v1beta.RunPivotReportRequest.parser(), - extensionRegistry)); - break; + property_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + requests_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requests_.add( + input.readMessage(com.google.analytics.data.v1beta.RunPivotReportRequest.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)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -114,27 +92,22 @@ private BatchRunPivotReportsRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.Builder.class); + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -147,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string property = 1; - * * @return The property. */ @java.lang.Override @@ -156,15 +128,14 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -177,15 +148,16 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; - * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -196,8 +168,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { public static final int REQUESTS_FIELD_NUMBER = 2; private java.util.List requests_; /** - * - * *
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -210,8 +180,6 @@ public java.util.List ge
     return requests_;
   }
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -220,13 +188,11 @@ public java.util.List ge
    * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRequestsOrBuilderList() {
     return requests_;
   }
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -239,8 +205,6 @@ public int getRequestsCount() {
     return requests_.size();
   }
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -253,8 +217,6 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest getRequests(int in
     return requests_.get(index);
   }
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -269,7 +231,6 @@ public com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getReques
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -281,7 +242,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!getPropertyBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_);
     }
@@ -301,7 +263,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_);
     }
     for (int i = 0; i < requests_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, requests_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -311,16 +274,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.analytics.data.v1beta.BatchRunPivotReportsRequest)) {
       return super.equals(obj);
     }
-    com.google.analytics.data.v1beta.BatchRunPivotReportsRequest other =
-        (com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) obj;
+    com.google.analytics.data.v1beta.BatchRunPivotReportsRequest other = (com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) obj;
 
-    if (!getProperty().equals(other.getProperty())) return false;
-    if (!getRequestsList().equals(other.getRequestsList())) return false;
+    if (!getProperty()
+        .equals(other.getProperty())) return false;
+    if (!getRequestsList()
+        .equals(other.getRequestsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -344,127 +308,117 @@ public int hashCode() {
   }
 
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.analytics.data.v1beta.BatchRunPivotReportsRequest prototype) {
+  public static Builder newBuilder(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 batch request containing multiple pivot report requests.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunPivotReportsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.BatchRunPivotReportsRequest) com.google.analytics.data.v1beta.BatchRunPivotReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.Builder.class); + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.newBuilder() @@ -472,17 +426,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) { getRequestsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -498,14 +452,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; } @java.lang.Override - public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest - getDefaultInstanceForType() { + public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest getDefaultInstanceForType() { return com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.getDefaultInstance(); } @@ -520,8 +473,7 @@ public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest buildPartial() { - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest result = - new com.google.analytics.data.v1beta.BatchRunPivotReportsRequest(this); + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest result = new com.google.analytics.data.v1beta.BatchRunPivotReportsRequest(this); int from_bitField0_ = bitField0_; result.property_ = property_; if (requestsBuilder_ == null) { @@ -541,39 +493,38 @@ public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) { - return mergeFrom((com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) other); + return mergeFrom((com.google.analytics.data.v1beta.BatchRunPivotReportsRequest)other); } else { super.mergeFrom(other); return this; @@ -581,9 +532,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest other) { - if (other - == com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -606,10 +555,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunPivotReportsRe requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRequestsFieldBuilder() - : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRequestsFieldBuilder() : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -634,8 +582,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -644,13 +591,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object property_ = ""; /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -663,13 +607,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; - * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -678,8 +622,6 @@ public java.lang.String getProperty() { } } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -692,14 +634,15 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; - * * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -707,8 +650,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -721,22 +662,20 @@ public com.google.protobuf.ByteString getPropertyBytes() {
      * 
* * string property = 1; - * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { + public Builder setProperty( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -749,18 +688,15 @@ public Builder setProperty(java.lang.String value) {
      * 
* * string property = 1; - * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -773,42 +709,34 @@ public Builder clearProperty() {
      * 
* * string property = 1; - * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List requests_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList( - requests_); + requests_ = new java.util.ArrayList(requests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunPivotReportRequest, - com.google.analytics.data.v1beta.RunPivotReportRequest.Builder, - com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder> - requestsBuilder_; + com.google.analytics.data.v1beta.RunPivotReportRequest, com.google.analytics.data.v1beta.RunPivotReportRequest.Builder, com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder> requestsBuilder_; /** - * - * *
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -816,8 +744,7 @@ private void ensureRequestsIsMutable() {
      *
      * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
      */
-    public java.util.List
-        getRequestsList() {
+    public java.util.List getRequestsList() {
       if (requestsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(requests_);
       } else {
@@ -825,8 +752,6 @@ private void ensureRequestsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -842,8 +767,6 @@ public int getRequestsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -859,8 +782,6 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest getRequests(int in
       }
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -883,8 +804,6 @@ public Builder setRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -904,8 +823,6 @@ public Builder setRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -927,8 +844,6 @@ public Builder addRequests(com.google.analytics.data.v1beta.RunPivotReportReques
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -951,8 +866,6 @@ public Builder addRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -972,8 +885,6 @@ public Builder addRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -993,8 +904,6 @@ public Builder addRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1003,11 +912,11 @@ public Builder addRequests(
      * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
      */
     public Builder addAllRequests(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (requestsBuilder_ == null) {
         ensureRequestsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, requests_);
         onChanged();
       } else {
         requestsBuilder_.addAllMessages(values);
@@ -1015,8 +924,6 @@ public Builder addAllRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1035,8 +942,6 @@ public Builder clearRequests() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1055,8 +960,6 @@ public Builder removeRequests(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1069,8 +972,6 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder getRequest
       return getRequestsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1081,14 +982,11 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder getRequest
     public com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getRequestsOrBuilder(
         int index) {
       if (requestsBuilder_ == null) {
-        return requests_.get(index);
-      } else {
+        return requests_.get(index);  } else {
         return requestsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1096,8 +994,8 @@ public com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getReques
      *
      * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
      */
-    public java.util.List
-        getRequestsOrBuilderList() {
+    public java.util.List 
+         getRequestsOrBuilderList() {
       if (requestsBuilder_ != null) {
         return requestsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1105,8 +1003,6 @@ public com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getReques
       }
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1115,12 +1011,10 @@ public com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getReques
      * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
      */
     public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder addRequestsBuilder() {
-      return getRequestsFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance());
+      return getRequestsFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1130,13 +1024,10 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder addRequest
      */
     public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder addRequestsBuilder(
         int index) {
-      return getRequestsFieldBuilder()
-          .addBuilder(
-              index, com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance());
+      return getRequestsFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1144,30 +1035,27 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder addRequest
      *
      * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
      */
-    public java.util.List
-        getRequestsBuilderList() {
+    public java.util.List 
+         getRequestsBuilderList() {
       return getRequestsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.RunPivotReportRequest,
-            com.google.analytics.data.v1beta.RunPivotReportRequest.Builder,
-            com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder>
+        com.google.analytics.data.v1beta.RunPivotReportRequest, com.google.analytics.data.v1beta.RunPivotReportRequest.Builder, com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder> 
         getRequestsFieldBuilder() {
       if (requestsBuilder_ == null) {
-        requestsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.RunPivotReportRequest,
-                com.google.analytics.data.v1beta.RunPivotReportRequest.Builder,
-                com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder>(
-                requests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.RunPivotReportRequest, com.google.analytics.data.v1beta.RunPivotReportRequest.Builder, com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder>(
+                requests_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         requests_ = null;
       }
       return requestsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1177,13 +1065,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.BatchRunPivotReportsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.BatchRunPivotReportsRequest)
-  private static final com.google.analytics.data.v1beta.BatchRunPivotReportsRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.analytics.data.v1beta.BatchRunPivotReportsRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.BatchRunPivotReportsRequest();
   }
@@ -1192,16 +1079,16 @@ public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest getDe
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchRunPivotReportsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new BatchRunPivotReportsRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchRunPivotReportsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new BatchRunPivotReportsRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1216,4 +1103,6 @@ public com.google.protobuf.Parser getParserForType(
   public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java
similarity index 78%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java
index 20522666..71a71655 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
-public interface BatchRunPivotReportsRequestOrBuilder
-    extends
+public interface BatchRunPivotReportsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.BatchRunPivotReportsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -38,13 +20,10 @@ public interface BatchRunPivotReportsRequestOrBuilder
    * 
* * string property = 1; - * * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -57,14 +36,12 @@ public interface BatchRunPivotReportsRequestOrBuilder
    * 
* * string property = 1; - * * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -72,10 +49,9 @@ public interface BatchRunPivotReportsRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
    */
-  java.util.List getRequestsList();
+  java.util.List 
+      getRequestsList();
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -85,8 +61,6 @@ public interface BatchRunPivotReportsRequestOrBuilder
    */
   com.google.analytics.data.v1beta.RunPivotReportRequest getRequests(int index);
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -96,8 +70,6 @@ public interface BatchRunPivotReportsRequestOrBuilder
    */
   int getRequestsCount();
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -105,11 +77,9 @@ public interface BatchRunPivotReportsRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
    */
-  java.util.List
+  java.util.List 
       getRequestsOrBuilderList();
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -117,5 +87,6 @@ public interface BatchRunPivotReportsRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
    */
-  com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getRequestsOrBuilder(int index);
+  com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getRequestsOrBuilder(
+      int index);
 }
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java
similarity index 73%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java
index 660701e0..b69860f3 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
- *
- *
  * 
  * The batch response containing multiple pivot reports.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunPivotReportsResponse} */ -public final class BatchRunPivotReportsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchRunPivotReportsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.BatchRunPivotReportsResponse) BatchRunPivotReportsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchRunPivotReportsResponse.newBuilder() to construct. private BatchRunPivotReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchRunPivotReportsResponse() { pivotReports_ = java.util.Collections.emptyList(); kind_ = ""; @@ -44,15 +26,16 @@ private BatchRunPivotReportsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchRunPivotReportsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchRunPivotReportsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,35 @@ private BatchRunPivotReportsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotReports_ = - new java.util.ArrayList< - com.google.analytics.data.v1beta.RunPivotReportResponse>(); - mutable_bitField0_ |= 0x00000001; - } - pivotReports_.add( - input.readMessage( - com.google.analytics.data.v1beta.RunPivotReportResponse.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pivotReports_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + pivotReports_.add( + input.readMessage(com.google.analytics.data.v1beta.RunPivotReportResponse.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - kind_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + kind_ = 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)) { pivotReports_ = java.util.Collections.unmodifiableList(pivotReports_); @@ -114,27 +92,22 @@ private BatchRunPivotReportsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.Builder.class); + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.Builder.class); } public static final int PIVOT_REPORTS_FIELD_NUMBER = 1; private java.util.List pivotReports_; /** - * - * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -142,13 +115,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ @java.lang.Override - public java.util.List - getPivotReportsList() { + public java.util.List getPivotReportsList() { return pivotReports_; } /** - * - * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -156,13 +126,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPivotReportsOrBuilderList() { return pivotReports_; } /** - * - * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -174,8 +142,6 @@ public int getPivotReportsCount() { return pivotReports_.size(); } /** - * - * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -187,8 +153,6 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse getPivotReports(i return pivotReports_.get(index); } /** - * - * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -204,8 +168,6 @@ public com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivot public static final int KIND_FIELD_NUMBER = 2; private volatile java.lang.Object kind_; /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -213,7 +175,6 @@ public com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivot
    * 
* * string kind = 2; - * * @return The kind. */ @java.lang.Override @@ -222,15 +183,14 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -238,15 +198,16 @@ public java.lang.String getKind() {
    * 
* * string kind = 2; - * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -255,7 +216,6 @@ public com.google.protobuf.ByteString getKindBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < pivotReports_.size(); i++) { output.writeMessage(1, pivotReports_.get(i)); } @@ -284,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < pivotReports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, pivotReports_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, pivotReports_.get(i)); } if (!getKindBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_); @@ -297,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.analytics.data.v1beta.BatchRunPivotReportsResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse other = - (com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) obj; + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse other = (com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) obj; - if (!getPivotReportsList().equals(other.getPivotReportsList())) return false; - if (!getKind().equals(other.getKind())) return false; + if (!getPivotReportsList() + .equals(other.getPivotReportsList())) return false; + if (!getKind() + .equals(other.getKind())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +293,117 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.BatchRunPivotReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 batch response containing multiple pivot reports.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunPivotReportsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.BatchRunPivotReportsResponse) com.google.analytics.data.v1beta.BatchRunPivotReportsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.Builder.class); + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.newBuilder() @@ -458,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) { getPivotReportsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; } @java.lang.Override - public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse - getDefaultInstanceForType() { + public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse getDefaultInstanceForType() { return com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.getDefaultInstance(); } @@ -506,8 +458,7 @@ public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse buildPartial() { - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse result = - new com.google.analytics.data.v1beta.BatchRunPivotReportsResponse(this); + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse result = new com.google.analytics.data.v1beta.BatchRunPivotReportsResponse(this); int from_bitField0_ = bitField0_; if (pivotReportsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,39 +478,38 @@ public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) { - return mergeFrom((com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) other); + return mergeFrom((com.google.analytics.data.v1beta.BatchRunPivotReportsResponse)other); } else { super.mergeFrom(other); return this; @@ -567,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunPivotReportsResponse other) { - if (other - == com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.getDefaultInstance()) return this; if (pivotReportsBuilder_ == null) { if (!other.pivotReports_.isEmpty()) { if (pivotReports_.isEmpty()) { @@ -588,10 +536,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunPivotReportsRe pivotReportsBuilder_ = null; pivotReports_ = other.pivotReports_; bitField0_ = (bitField0_ & ~0x00000001); - pivotReportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPivotReportsFieldBuilder() - : null; + pivotReportsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPivotReportsFieldBuilder() : null; } else { pivotReportsBuilder_.addAllMessages(other.pivotReports_); } @@ -620,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -631,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List pivotReports_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePivotReportsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pivotReports_ = - new java.util.ArrayList( - pivotReports_); + pivotReports_ = new java.util.ArrayList(pivotReports_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunPivotReportResponse, - com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, - com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder> - pivotReportsBuilder_; + com.google.analytics.data.v1beta.RunPivotReportResponse, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder> pivotReportsBuilder_; /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - public java.util.List - getPivotReportsList() { + public java.util.List getPivotReportsList() { if (pivotReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(pivotReports_); } else { @@ -670,8 +605,6 @@ private void ensurePivotReportsIsMutable() { } } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -686,8 +619,6 @@ public int getPivotReportsCount() { } } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -702,8 +633,6 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse getPivotReports(i } } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -725,8 +654,6 @@ public Builder setPivotReports( return this; } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -734,8 +661,7 @@ public Builder setPivotReports( * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ public Builder setPivotReports( - int index, - com.google.analytics.data.v1beta.RunPivotReportResponse.Builder builderForValue) { + int index, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder builderForValue) { if (pivotReportsBuilder_ == null) { ensurePivotReportsIsMutable(); pivotReports_.set(index, builderForValue.build()); @@ -746,8 +672,6 @@ public Builder setPivotReports( return this; } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -768,8 +692,6 @@ public Builder addPivotReports(com.google.analytics.data.v1beta.RunPivotReportRe return this; } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -791,8 +713,6 @@ public Builder addPivotReports( return this; } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -811,8 +731,6 @@ public Builder addPivotReports( return this; } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -820,8 +738,7 @@ public Builder addPivotReports( * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ public Builder addPivotReports( - int index, - com.google.analytics.data.v1beta.RunPivotReportResponse.Builder builderForValue) { + int index, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder builderForValue) { if (pivotReportsBuilder_ == null) { ensurePivotReportsIsMutable(); pivotReports_.add(index, builderForValue.build()); @@ -832,8 +749,6 @@ public Builder addPivotReports( return this; } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -841,11 +756,11 @@ public Builder addPivotReports( * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ public Builder addAllPivotReports( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (pivotReportsBuilder_ == null) { ensurePivotReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pivotReports_); onChanged(); } else { pivotReportsBuilder_.addAllMessages(values); @@ -853,8 +768,6 @@ public Builder addAllPivotReports( return this; } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -872,8 +785,6 @@ public Builder clearPivotReports() { return this; } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -891,8 +802,6 @@ public Builder removePivotReports(int index) { return this; } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -904,34 +813,28 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder getPivotR return getPivotReportsFieldBuilder().getBuilder(index); } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - public com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder - getPivotReportsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivotReportsOrBuilder( + int index) { if (pivotReportsBuilder_ == null) { - return pivotReports_.get(index); - } else { + return pivotReports_.get(index); } else { return pivotReportsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - public java.util.List< - ? extends com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder> - getPivotReportsOrBuilderList() { + public java.util.List + getPivotReportsOrBuilderList() { if (pivotReportsBuilder_ != null) { return pivotReportsBuilder_.getMessageOrBuilderList(); } else { @@ -939,22 +842,17 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder getPivotR } } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder - addPivotReportsBuilder() { - return getPivotReportsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()); + public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder addPivotReportsBuilder() { + return getPivotReportsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()); } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -963,36 +861,30 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder getPivotR */ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder addPivotReportsBuilder( int index) { - return getPivotReportsFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()); + return getPivotReportsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()); } /** - * - * *
      * Individual responses. Each response has a separate pivot report request.
      * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - public java.util.List - getPivotReportsBuilderList() { + public java.util.List + getPivotReportsBuilderList() { return getPivotReportsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunPivotReportResponse, - com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, - com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder> + com.google.analytics.data.v1beta.RunPivotReportResponse, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder> getPivotReportsFieldBuilder() { if (pivotReportsBuilder_ == null) { - pivotReportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunPivotReportResponse, - com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, - com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder>( - pivotReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + pivotReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.RunPivotReportResponse, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder>( + pivotReports_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); pivotReports_ = null; } return pivotReportsBuilder_; @@ -1000,8 +892,6 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder addPivotR private java.lang.Object kind_ = ""; /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -1009,13 +899,13 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder addPivotR
      * 
* * string kind = 2; - * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -1024,8 +914,6 @@ public java.lang.String getKind() { } } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -1033,14 +921,15 @@ public java.lang.String getKind() {
      * 
* * string kind = 2; - * * @return The bytes for kind. */ - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -1048,8 +937,6 @@ public com.google.protobuf.ByteString getKindBytes() { } } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -1057,22 +944,20 @@ public com.google.protobuf.ByteString getKindBytes() {
      * 
* * string kind = 2; - * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind(java.lang.String value) { + public Builder setKind( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -1080,18 +965,15 @@ public Builder setKind(java.lang.String value) {
      * 
* * string kind = 2; - * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -1099,23 +981,23 @@ public Builder clearKind() {
      * 
* * string kind = 2; - * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { + public Builder setKindBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = 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); } @@ -1125,13 +1007,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.BatchRunPivotReportsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.BatchRunPivotReportsResponse) - private static final com.google.analytics.data.v1beta.BatchRunPivotReportsResponse - DEFAULT_INSTANCE; - + private static final com.google.analytics.data.v1beta.BatchRunPivotReportsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.BatchRunPivotReportsResponse(); } @@ -1140,16 +1021,16 @@ public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchRunPivotReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchRunPivotReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchRunPivotReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchRunPivotReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1164,4 +1045,6 @@ public com.google.protobuf.Parser getParserForType public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java similarity index 74% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java index 97e2320f..ce5f30bd 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface BatchRunPivotReportsResponseOrBuilder - extends +public interface BatchRunPivotReportsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.BatchRunPivotReportsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Individual responses. Each response has a separate pivot report request.
    * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - java.util.List getPivotReportsList(); + java.util.List + getPivotReportsList(); /** - * - * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -44,8 +25,6 @@ public interface BatchRunPivotReportsResponseOrBuilder */ com.google.analytics.data.v1beta.RunPivotReportResponse getPivotReports(int index); /** - * - * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -54,19 +33,15 @@ public interface BatchRunPivotReportsResponseOrBuilder */ int getPivotReportsCount(); /** - * - * *
    * Individual responses. Each response has a separate pivot report request.
    * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - java.util.List + java.util.List getPivotReportsOrBuilderList(); /** - * - * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -77,8 +52,6 @@ com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivotReports int index); /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -86,13 +59,10 @@ com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivotReports
    * 
* * string kind = 2; - * * @return The kind. */ java.lang.String getKind(); /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -100,8 +70,8 @@ com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivotReports
    * 
* * string kind = 2; - * * @return The bytes for kind. */ - com.google.protobuf.ByteString getKindBytes(); + com.google.protobuf.ByteString + getKindBytes(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java similarity index 76% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java index afe702f1..0c99387a 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The batch request containing multiple report requests.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunReportsRequest} */ -public final class BatchRunReportsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchRunReportsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.BatchRunReportsRequest) BatchRunReportsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchRunReportsRequest.newBuilder() to construct. private BatchRunReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchRunReportsRequest() { property_ = ""; requests_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private BatchRunReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchRunReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchRunReportsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,35 @@ private BatchRunReportsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - requests_.add( - input.readMessage( - com.google.analytics.data.v1beta.RunReportRequest.parser(), - extensionRegistry)); - break; + property_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + requests_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + requests_.add( + input.readMessage(com.google.analytics.data.v1beta.RunReportRequest.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)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -113,27 +92,22 @@ private BatchRunReportsRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunReportsRequest.class, - com.google.analytics.data.v1beta.BatchRunReportsRequest.Builder.class); + com.google.analytics.data.v1beta.BatchRunReportsRequest.class, com.google.analytics.data.v1beta.BatchRunReportsRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -146,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string property = 1; - * * @return The property. */ @java.lang.Override @@ -155,15 +128,14 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -176,15 +148,16 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; - * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -195,8 +168,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { public static final int REQUESTS_FIELD_NUMBER = 2; private java.util.List requests_; /** - * - * *
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -209,8 +180,6 @@ public java.util.List getRequ
     return requests_;
   }
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -219,13 +188,11 @@ public java.util.List getRequ
    * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRequestsOrBuilderList() {
     return requests_;
   }
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -238,8 +205,6 @@ public int getRequestsCount() {
     return requests_.size();
   }
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -252,8 +217,6 @@ public com.google.analytics.data.v1beta.RunReportRequest getRequests(int index)
     return requests_.get(index);
   }
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -268,7 +231,6 @@ public com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrB
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -280,7 +242,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!getPropertyBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_);
     }
@@ -300,7 +263,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_);
     }
     for (int i = 0; i < requests_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, requests_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -310,16 +274,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.analytics.data.v1beta.BatchRunReportsRequest)) {
       return super.equals(obj);
     }
-    com.google.analytics.data.v1beta.BatchRunReportsRequest other =
-        (com.google.analytics.data.v1beta.BatchRunReportsRequest) obj;
+    com.google.analytics.data.v1beta.BatchRunReportsRequest other = (com.google.analytics.data.v1beta.BatchRunReportsRequest) obj;
 
-    if (!getProperty().equals(other.getProperty())) return false;
-    if (!getRequestsList().equals(other.getRequestsList())) return false;
+    if (!getProperty()
+        .equals(other.getProperty())) return false;
+    if (!getRequestsList()
+        .equals(other.getRequestsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -343,127 +308,117 @@ public int hashCode() {
   }
 
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.analytics.data.v1beta.BatchRunReportsRequest prototype) {
+  public static Builder newBuilder(com.google.analytics.data.v1beta.BatchRunReportsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 batch request containing multiple report requests.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunReportsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.BatchRunReportsRequest) com.google.analytics.data.v1beta.BatchRunReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunReportsRequest.class, - com.google.analytics.data.v1beta.BatchRunReportsRequest.Builder.class); + com.google.analytics.data.v1beta.BatchRunReportsRequest.class, com.google.analytics.data.v1beta.BatchRunReportsRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.BatchRunReportsRequest.newBuilder() @@ -471,17 +426,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) { getRequestsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -497,9 +452,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; } @java.lang.Override @@ -518,8 +473,7 @@ public com.google.analytics.data.v1beta.BatchRunReportsRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.BatchRunReportsRequest buildPartial() { - com.google.analytics.data.v1beta.BatchRunReportsRequest result = - new com.google.analytics.data.v1beta.BatchRunReportsRequest(this); + com.google.analytics.data.v1beta.BatchRunReportsRequest result = new com.google.analytics.data.v1beta.BatchRunReportsRequest(this); int from_bitField0_ = bitField0_; result.property_ = property_; if (requestsBuilder_ == null) { @@ -539,39 +493,38 @@ public com.google.analytics.data.v1beta.BatchRunReportsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.BatchRunReportsRequest) { - return mergeFrom((com.google.analytics.data.v1beta.BatchRunReportsRequest) other); + return mergeFrom((com.google.analytics.data.v1beta.BatchRunReportsRequest)other); } else { super.mergeFrom(other); return this; @@ -579,8 +532,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunReportsRequest other) { - if (other == com.google.analytics.data.v1beta.BatchRunReportsRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.BatchRunReportsRequest.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -603,10 +555,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunReportsRequest requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRequestsFieldBuilder() - : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRequestsFieldBuilder() : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -631,8 +582,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.BatchRunReportsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.BatchRunReportsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -641,13 +591,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object property_ = ""; /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -660,13 +607,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; - * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -675,8 +622,6 @@ public java.lang.String getProperty() { } } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -689,14 +634,15 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; - * * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -704,8 +650,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -718,22 +662,20 @@ public com.google.protobuf.ByteString getPropertyBytes() {
      * 
* * string property = 1; - * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { + public Builder setProperty( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -746,18 +688,15 @@ public Builder setProperty(java.lang.String value) {
      * 
* * string property = 1; - * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -770,41 +709,34 @@ public Builder clearProperty() {
      * 
* * string property = 1; - * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List requests_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList(requests_); + requests_ = new java.util.ArrayList(requests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunReportRequest, - com.google.analytics.data.v1beta.RunReportRequest.Builder, - com.google.analytics.data.v1beta.RunReportRequestOrBuilder> - requestsBuilder_; + com.google.analytics.data.v1beta.RunReportRequest, com.google.analytics.data.v1beta.RunReportRequest.Builder, com.google.analytics.data.v1beta.RunReportRequestOrBuilder> requestsBuilder_; /** - * - * *
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -820,8 +752,6 @@ public java.util.List getRequ
       }
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -837,8 +767,6 @@ public int getRequestsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -854,8 +782,6 @@ public com.google.analytics.data.v1beta.RunReportRequest getRequests(int index)
       }
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -863,7 +789,8 @@ public com.google.analytics.data.v1beta.RunReportRequest getRequests(int index)
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public Builder setRequests(int index, com.google.analytics.data.v1beta.RunReportRequest value) {
+    public Builder setRequests(
+        int index, com.google.analytics.data.v1beta.RunReportRequest value) {
       if (requestsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -877,8 +804,6 @@ public Builder setRequests(int index, com.google.analytics.data.v1beta.RunReport
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -898,8 +823,6 @@ public Builder setRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -921,8 +844,6 @@ public Builder addRequests(com.google.analytics.data.v1beta.RunReportRequest val
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -930,7 +851,8 @@ public Builder addRequests(com.google.analytics.data.v1beta.RunReportRequest val
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public Builder addRequests(int index, com.google.analytics.data.v1beta.RunReportRequest value) {
+    public Builder addRequests(
+        int index, com.google.analytics.data.v1beta.RunReportRequest value) {
       if (requestsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -944,8 +866,6 @@ public Builder addRequests(int index, com.google.analytics.data.v1beta.RunReport
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -965,8 +885,6 @@ public Builder addRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -986,8 +904,6 @@ public Builder addRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -999,7 +915,8 @@ public Builder addAllRequests(
         java.lang.Iterable values) {
       if (requestsBuilder_ == null) {
         ensureRequestsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, requests_);
         onChanged();
       } else {
         requestsBuilder_.addAllMessages(values);
@@ -1007,8 +924,6 @@ public Builder addAllRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1027,8 +942,6 @@ public Builder clearRequests() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1047,8 +960,6 @@ public Builder removeRequests(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1056,12 +967,11 @@ public Builder removeRequests(int index) {
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public com.google.analytics.data.v1beta.RunReportRequest.Builder getRequestsBuilder(int index) {
+    public com.google.analytics.data.v1beta.RunReportRequest.Builder getRequestsBuilder(
+        int index) {
       return getRequestsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1072,14 +982,11 @@ public com.google.analytics.data.v1beta.RunReportRequest.Builder getRequestsBuil
     public com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrBuilder(
         int index) {
       if (requestsBuilder_ == null) {
-        return requests_.get(index);
-      } else {
+        return requests_.get(index);  } else {
         return requestsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1087,8 +994,8 @@ public com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrB
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public java.util.List
-        getRequestsOrBuilderList() {
+    public java.util.List 
+         getRequestsOrBuilderList() {
       if (requestsBuilder_ != null) {
         return requestsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1096,8 +1003,6 @@ public com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrB
       }
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1106,12 +1011,10 @@ public com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrB
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
     public com.google.analytics.data.v1beta.RunReportRequest.Builder addRequestsBuilder() {
-      return getRequestsFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance());
+      return getRequestsFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1119,14 +1022,12 @@ public com.google.analytics.data.v1beta.RunReportRequest.Builder addRequestsBuil
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public com.google.analytics.data.v1beta.RunReportRequest.Builder addRequestsBuilder(int index) {
-      return getRequestsFieldBuilder()
-          .addBuilder(
-              index, com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance());
+    public com.google.analytics.data.v1beta.RunReportRequest.Builder addRequestsBuilder(
+        int index) {
+      return getRequestsFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1134,30 +1035,27 @@ public com.google.analytics.data.v1beta.RunReportRequest.Builder addRequestsBuil
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public java.util.List
-        getRequestsBuilderList() {
+    public java.util.List 
+         getRequestsBuilderList() {
       return getRequestsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.RunReportRequest,
-            com.google.analytics.data.v1beta.RunReportRequest.Builder,
-            com.google.analytics.data.v1beta.RunReportRequestOrBuilder>
+        com.google.analytics.data.v1beta.RunReportRequest, com.google.analytics.data.v1beta.RunReportRequest.Builder, com.google.analytics.data.v1beta.RunReportRequestOrBuilder> 
         getRequestsFieldBuilder() {
       if (requestsBuilder_ == null) {
-        requestsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.RunReportRequest,
-                com.google.analytics.data.v1beta.RunReportRequest.Builder,
-                com.google.analytics.data.v1beta.RunReportRequestOrBuilder>(
-                requests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.RunReportRequest, com.google.analytics.data.v1beta.RunReportRequest.Builder, com.google.analytics.data.v1beta.RunReportRequestOrBuilder>(
+                requests_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         requests_ = null;
       }
       return requestsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1167,12 +1065,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.BatchRunReportsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.BatchRunReportsRequest)
   private static final com.google.analytics.data.v1beta.BatchRunReportsRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.BatchRunReportsRequest();
   }
@@ -1181,16 +1079,16 @@ public static com.google.analytics.data.v1beta.BatchRunReportsRequest getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchRunReportsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new BatchRunReportsRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchRunReportsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new BatchRunReportsRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1205,4 +1103,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.data.v1beta.BatchRunReportsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java
similarity index 78%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java
index 636115b7..5f646a06 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
-public interface BatchRunReportsRequestOrBuilder
-    extends
+public interface BatchRunReportsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.BatchRunReportsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -38,13 +20,10 @@ public interface BatchRunReportsRequestOrBuilder
    * 
* * string property = 1; - * * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -57,14 +36,12 @@ public interface BatchRunReportsRequestOrBuilder
    * 
* * string property = 1; - * * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -72,10 +49,9 @@ public interface BatchRunReportsRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    */
-  java.util.List getRequestsList();
+  java.util.List 
+      getRequestsList();
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -85,8 +61,6 @@ public interface BatchRunReportsRequestOrBuilder
    */
   com.google.analytics.data.v1beta.RunReportRequest getRequests(int index);
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -96,8 +70,6 @@ public interface BatchRunReportsRequestOrBuilder
    */
   int getRequestsCount();
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -105,11 +77,9 @@ public interface BatchRunReportsRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    */
-  java.util.List
+  java.util.List 
       getRequestsOrBuilderList();
   /**
-   *
-   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -117,5 +87,6 @@ public interface BatchRunReportsRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    */
-  com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrBuilder(int index);
+  com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrBuilder(
+      int index);
 }
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java
similarity index 74%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java
index ae433bfd..636c850f 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
- *
- *
  * 
  * The batch response containing multiple reports.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunReportsResponse} */ -public final class BatchRunReportsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchRunReportsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.BatchRunReportsResponse) BatchRunReportsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchRunReportsResponse.newBuilder() to construct. private BatchRunReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchRunReportsResponse() { reports_ = java.util.Collections.emptyList(); kind_ = ""; @@ -44,15 +26,16 @@ private BatchRunReportsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchRunReportsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchRunReportsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,35 @@ private BatchRunReportsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - reports_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - reports_.add( - input.readMessage( - com.google.analytics.data.v1beta.RunReportResponse.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + reports_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + reports_.add( + input.readMessage(com.google.analytics.data.v1beta.RunReportResponse.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - kind_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + kind_ = 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)) { reports_ = java.util.Collections.unmodifiableList(reports_); @@ -113,27 +92,22 @@ private BatchRunReportsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunReportsResponse.class, - com.google.analytics.data.v1beta.BatchRunReportsResponse.Builder.class); + com.google.analytics.data.v1beta.BatchRunReportsResponse.class, com.google.analytics.data.v1beta.BatchRunReportsResponse.Builder.class); } public static final int REPORTS_FIELD_NUMBER = 1; private java.util.List reports_; /** - * - * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -145,8 +119,6 @@ public java.util.List getRep return reports_; } /** - * - * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -154,13 +126,11 @@ public java.util.List getRep * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ @java.lang.Override - public java.util.List + public java.util.List getReportsOrBuilderList() { return reports_; } /** - * - * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -172,8 +142,6 @@ public int getReportsCount() { return reports_.size(); } /** - * - * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -185,8 +153,6 @@ public com.google.analytics.data.v1beta.RunReportResponse getReports(int index) return reports_.get(index); } /** - * - * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -202,8 +168,6 @@ public com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrB public static final int KIND_FIELD_NUMBER = 2; private volatile java.lang.Object kind_; /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -211,7 +175,6 @@ public com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrB
    * 
* * string kind = 2; - * * @return The kind. */ @java.lang.Override @@ -220,15 +183,14 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -236,15 +198,16 @@ public java.lang.String getKind() {
    * 
* * string kind = 2; - * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getKindBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,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 < reports_.size(); i++) { output.writeMessage(1, reports_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < reports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, reports_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, reports_.get(i)); } if (!getKindBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_); @@ -295,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.analytics.data.v1beta.BatchRunReportsResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.BatchRunReportsResponse other = - (com.google.analytics.data.v1beta.BatchRunReportsResponse) obj; + com.google.analytics.data.v1beta.BatchRunReportsResponse other = (com.google.analytics.data.v1beta.BatchRunReportsResponse) obj; - if (!getReportsList().equals(other.getReportsList())) return false; - if (!getKind().equals(other.getKind())) return false; + if (!getReportsList() + .equals(other.getReportsList())) return false; + if (!getKind() + .equals(other.getKind())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.BatchRunReportsResponse prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.BatchRunReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 batch response containing multiple reports.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunReportsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.BatchRunReportsResponse) com.google.analytics.data.v1beta.BatchRunReportsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunReportsResponse.class, - com.google.analytics.data.v1beta.BatchRunReportsResponse.Builder.class); + com.google.analytics.data.v1beta.BatchRunReportsResponse.class, com.google.analytics.data.v1beta.BatchRunReportsResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.BatchRunReportsResponse.newBuilder() @@ -456,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) { getReportsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; } @java.lang.Override @@ -503,8 +458,7 @@ public com.google.analytics.data.v1beta.BatchRunReportsResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.BatchRunReportsResponse buildPartial() { - com.google.analytics.data.v1beta.BatchRunReportsResponse result = - new com.google.analytics.data.v1beta.BatchRunReportsResponse(this); + com.google.analytics.data.v1beta.BatchRunReportsResponse result = new com.google.analytics.data.v1beta.BatchRunReportsResponse(this); int from_bitField0_ = bitField0_; if (reportsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,39 +478,38 @@ public com.google.analytics.data.v1beta.BatchRunReportsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.BatchRunReportsResponse) { - return mergeFrom((com.google.analytics.data.v1beta.BatchRunReportsResponse) other); + return mergeFrom((com.google.analytics.data.v1beta.BatchRunReportsResponse)other); } else { super.mergeFrom(other); return this; @@ -564,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunReportsResponse other) { - if (other == com.google.analytics.data.v1beta.BatchRunReportsResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.BatchRunReportsResponse.getDefaultInstance()) return this; if (reportsBuilder_ == null) { if (!other.reports_.isEmpty()) { if (reports_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunReportsRespons reportsBuilder_ = null; reports_ = other.reports_; bitField0_ = (bitField0_ & ~0x00000001); - reportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReportsFieldBuilder() - : null; + reportsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReportsFieldBuilder() : null; } else { reportsBuilder_.addAllMessages(other.reports_); } @@ -616,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.BatchRunReportsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.BatchRunReportsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List reports_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureReportsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - reports_ = - new java.util.ArrayList(reports_); + reports_ = new java.util.ArrayList(reports_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunReportResponse, - com.google.analytics.data.v1beta.RunReportResponse.Builder, - com.google.analytics.data.v1beta.RunReportResponseOrBuilder> - reportsBuilder_; + com.google.analytics.data.v1beta.RunReportResponse, com.google.analytics.data.v1beta.RunReportResponse.Builder, com.google.analytics.data.v1beta.RunReportResponseOrBuilder> reportsBuilder_; /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -663,8 +605,6 @@ public java.util.List getRep } } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -679,8 +619,6 @@ public int getReportsCount() { } } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -695,15 +633,14 @@ public com.google.analytics.data.v1beta.RunReportResponse getReports(int index) } } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public Builder setReports(int index, com.google.analytics.data.v1beta.RunReportResponse value) { + public Builder setReports( + int index, com.google.analytics.data.v1beta.RunReportResponse value) { if (reportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setReports(int index, com.google.analytics.data.v1beta.RunReportR return this; } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -737,8 +672,6 @@ public Builder setReports( return this; } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -759,15 +692,14 @@ public Builder addReports(com.google.analytics.data.v1beta.RunReportResponse val return this; } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public Builder addReports(int index, com.google.analytics.data.v1beta.RunReportResponse value) { + public Builder addReports( + int index, com.google.analytics.data.v1beta.RunReportResponse value) { if (reportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addReports(int index, com.google.analytics.data.v1beta.RunReportR return this; } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -801,8 +731,6 @@ public Builder addReports( return this; } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -821,8 +749,6 @@ public Builder addReports( return this; } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -833,7 +759,8 @@ public Builder addAllReports( java.lang.Iterable values) { if (reportsBuilder_ == null) { ensureReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, reports_); onChanged(); } else { reportsBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllReports( return this; } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -860,8 +785,6 @@ public Builder clearReports() { return this; } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -879,20 +802,17 @@ public Builder removeReports(int index) { return this; } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public com.google.analytics.data.v1beta.RunReportResponse.Builder getReportsBuilder(int index) { + public com.google.analytics.data.v1beta.RunReportResponse.Builder getReportsBuilder( + int index) { return getReportsFieldBuilder().getBuilder(index); } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -902,22 +822,19 @@ public com.google.analytics.data.v1beta.RunReportResponse.Builder getReportsBuil public com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrBuilder( int index) { if (reportsBuilder_ == null) { - return reports_.get(index); - } else { + return reports_.get(index); } else { return reportsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public java.util.List - getReportsOrBuilderList() { + public java.util.List + getReportsOrBuilderList() { if (reportsBuilder_ != null) { return reportsBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrB } } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -934,49 +849,42 @@ public com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrB * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ public com.google.analytics.data.v1beta.RunReportResponse.Builder addReportsBuilder() { - return getReportsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()); + return getReportsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()); } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public com.google.analytics.data.v1beta.RunReportResponse.Builder addReportsBuilder(int index) { - return getReportsFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()); + public com.google.analytics.data.v1beta.RunReportResponse.Builder addReportsBuilder( + int index) { + return getReportsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()); } /** - * - * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public java.util.List - getReportsBuilderList() { + public java.util.List + getReportsBuilderList() { return getReportsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunReportResponse, - com.google.analytics.data.v1beta.RunReportResponse.Builder, - com.google.analytics.data.v1beta.RunReportResponseOrBuilder> + com.google.analytics.data.v1beta.RunReportResponse, com.google.analytics.data.v1beta.RunReportResponse.Builder, com.google.analytics.data.v1beta.RunReportResponseOrBuilder> getReportsFieldBuilder() { if (reportsBuilder_ == null) { - reportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunReportResponse, - com.google.analytics.data.v1beta.RunReportResponse.Builder, - com.google.analytics.data.v1beta.RunReportResponseOrBuilder>( - reports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + reportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.RunReportResponse, com.google.analytics.data.v1beta.RunReportResponse.Builder, com.google.analytics.data.v1beta.RunReportResponseOrBuilder>( + reports_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); reports_ = null; } return reportsBuilder_; @@ -984,8 +892,6 @@ public com.google.analytics.data.v1beta.RunReportResponse.Builder addReportsBuil private java.lang.Object kind_ = ""; /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -993,13 +899,13 @@ public com.google.analytics.data.v1beta.RunReportResponse.Builder addReportsBuil
      * 
* * string kind = 2; - * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -1008,8 +914,6 @@ public java.lang.String getKind() { } } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -1017,14 +921,15 @@ public java.lang.String getKind() {
      * 
* * string kind = 2; - * * @return The bytes for kind. */ - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -1032,8 +937,6 @@ public com.google.protobuf.ByteString getKindBytes() { } } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -1041,22 +944,20 @@ public com.google.protobuf.ByteString getKindBytes() {
      * 
* * string kind = 2; - * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind(java.lang.String value) { + public Builder setKind( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -1064,18 +965,15 @@ public Builder setKind(java.lang.String value) {
      * 
* * string kind = 2; - * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -1083,23 +981,23 @@ public Builder clearKind() {
      * 
* * string kind = 2; - * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { + public Builder setKindBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1109,12 +1007,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.BatchRunReportsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.BatchRunReportsResponse) private static final com.google.analytics.data.v1beta.BatchRunReportsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.BatchRunReportsResponse(); } @@ -1123,16 +1021,16 @@ public static com.google.analytics.data.v1beta.BatchRunReportsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchRunReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchRunReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchRunReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchRunReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,4 +1045,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.BatchRunReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java similarity index 72% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java index 1fd1ce9e..6b6f9480 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface BatchRunReportsResponseOrBuilder - extends +public interface BatchRunReportsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.BatchRunReportsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Individual responses. Each response has a separate report request.
    * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - java.util.List getReportsList(); + java.util.List + getReportsList(); /** - * - * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -44,8 +25,6 @@ public interface BatchRunReportsResponseOrBuilder */ com.google.analytics.data.v1beta.RunReportResponse getReports(int index); /** - * - * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -54,30 +33,25 @@ public interface BatchRunReportsResponseOrBuilder */ int getReportsCount(); /** - * - * *
    * Individual responses. Each response has a separate report request.
    * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - java.util.List + java.util.List getReportsOrBuilderList(); /** - * - * *
    * Individual responses. Each response has a separate report request.
    * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrBuilder(int index); + com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrBuilder( + int index); /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -85,13 +59,10 @@ public interface BatchRunReportsResponseOrBuilder
    * 
* * string kind = 2; - * * @return The kind. */ java.lang.String getKind(); /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -99,8 +70,8 @@ public interface BatchRunReportsResponseOrBuilder
    * 
* * string kind = 2; - * * @return The bytes for kind. */ - com.google.protobuf.ByteString getKindBytes(); + com.google.protobuf.ByteString + getKindBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.java new file mode 100644 index 00000000..02ddcf9d --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.java @@ -0,0 +1,2211 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/analytics_data_api.proto + +package com.google.analytics.data.v1beta; + +/** + *
+ * The request for compatibility information for a report's dimensions and
+ * metrics. Check compatibility provides a preview of the compatibility of a
+ * report; fields shared with the `runReport` request should be the same values
+ * as in your `runReport` request.
+ * 
+ * + * Protobuf type {@code google.analytics.data.v1beta.CheckCompatibilityRequest} + */ +public final class CheckCompatibilityRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.CheckCompatibilityRequest) + CheckCompatibilityRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CheckCompatibilityRequest.newBuilder() to construct. + private CheckCompatibilityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CheckCompatibilityRequest() { + property_ = ""; + dimensions_ = java.util.Collections.emptyList(); + metrics_ = java.util.Collections.emptyList(); + compatibilityFilter_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CheckCompatibilityRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CheckCompatibilityRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + property_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dimensions_.add( + input.readMessage(com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metrics_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + metrics_.add( + input.readMessage(com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); + break; + } + case 34: { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (dimensionFilter_ != null) { + subBuilder = dimensionFilter_.toBuilder(); + } + dimensionFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dimensionFilter_); + dimensionFilter_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (metricFilter_ != null) { + subBuilder = metricFilter_.toBuilder(); + } + metricFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricFilter_); + metricFilter_ = subBuilder.buildPartial(); + } + + break; + } + case 48: { + int rawValue = input.readEnum(); + + compatibilityFilter_ = 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); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = java.util.Collections.unmodifiableList(dimensions_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + metrics_ = java.util.Collections.unmodifiableList(metrics_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.data.v1beta.CheckCompatibilityRequest.class, com.google.analytics.data.v1beta.CheckCompatibilityRequest.Builder.class); + } + + public static final int PROPERTY_FIELD_NUMBER = 1; + private volatile java.lang.Object property_; + /** + *
+   * A Google Analytics GA4 property identifier whose events are tracked. To
+   * learn more, see [where to find your Property
+   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
+   * `property` should be the same value as in your `runReport` request.
+   * Example: properties/1234
+   * Set the Property ID to 0 for compatibility checking on dimensions and
+   * metrics common to all properties. In this special mode, this method will
+   * not return custom dimensions and metrics.
+   * 
+ * + * string property = 1; + * @return The property. + */ + @java.lang.Override + public java.lang.String getProperty() { + java.lang.Object ref = property_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + property_ = s; + return s; + } + } + /** + *
+   * A Google Analytics GA4 property identifier whose events are tracked. To
+   * learn more, see [where to find your Property
+   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
+   * `property` should be the same value as in your `runReport` request.
+   * Example: properties/1234
+   * Set the Property ID to 0 for compatibility checking on dimensions and
+   * metrics common to all properties. In this special mode, this method will
+   * not return custom dimensions and metrics.
+   * 
+ * + * string property = 1; + * @return The bytes for property. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPropertyBytes() { + java.lang.Object ref = property_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + property_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DIMENSIONS_FIELD_NUMBER = 2; + private java.util.List dimensions_; + /** + *
+   * The dimensions in this report. `dimensions` should be the same value as in
+   * your `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + @java.lang.Override + public java.util.List getDimensionsList() { + return dimensions_; + } + /** + *
+   * The dimensions in this report. `dimensions` should be the same value as in
+   * your `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + @java.lang.Override + public java.util.List + getDimensionsOrBuilderList() { + return dimensions_; + } + /** + *
+   * The dimensions in this report. `dimensions` should be the same value as in
+   * your `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + @java.lang.Override + public int getDimensionsCount() { + return dimensions_.size(); + } + /** + *
+   * The dimensions in this report. `dimensions` should be the same value as in
+   * your `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { + return dimensions_.get(index); + } + /** + *
+   * The dimensions in this report. `dimensions` should be the same value as in
+   * your `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( + int index) { + return dimensions_.get(index); + } + + public static final int METRICS_FIELD_NUMBER = 3; + private java.util.List metrics_; + /** + *
+   * The metrics in this report. `metrics` should be the same value as in your
+   * `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + @java.lang.Override + public java.util.List getMetricsList() { + return metrics_; + } + /** + *
+   * The metrics in this report. `metrics` should be the same value as in your
+   * `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + @java.lang.Override + public java.util.List + getMetricsOrBuilderList() { + return metrics_; + } + /** + *
+   * The metrics in this report. `metrics` should be the same value as in your
+   * `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + @java.lang.Override + public int getMetricsCount() { + return metrics_.size(); + } + /** + *
+   * The metrics in this report. `metrics` should be the same value as in your
+   * `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.Metric getMetrics(int index) { + return metrics_.get(index); + } + /** + *
+   * The metrics in this report. `metrics` should be the same value as in your
+   * `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( + int index) { + return metrics_.get(index); + } + + public static final int DIMENSION_FILTER_FIELD_NUMBER = 4; + private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_; + /** + *
+   * The filter clause of dimensions. `dimensionFilter` should be the same value
+   * as in your `runReport` request.
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * @return Whether the dimensionFilter field is set. + */ + @java.lang.Override + public boolean hasDimensionFilter() { + return dimensionFilter_ != null; + } + /** + *
+   * The filter clause of dimensions. `dimensionFilter` should be the same value
+   * as in your `runReport` request.
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * @return The dimensionFilter. + */ + @java.lang.Override + public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { + return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + } + /** + *
+   * The filter clause of dimensions. `dimensionFilter` should be the same value
+   * as in your `runReport` request.
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder() { + return getDimensionFilter(); + } + + public static final int METRIC_FILTER_FIELD_NUMBER = 5; + private com.google.analytics.data.v1beta.FilterExpression metricFilter_; + /** + *
+   * The filter clause of metrics. `metricFilter` should be the same value as in
+   * your `runReport` request
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * @return Whether the metricFilter field is set. + */ + @java.lang.Override + public boolean hasMetricFilter() { + return metricFilter_ != null; + } + /** + *
+   * The filter clause of metrics. `metricFilter` should be the same value as in
+   * your `runReport` request
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * @return The metricFilter. + */ + @java.lang.Override + public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { + return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + } + /** + *
+   * The filter clause of metrics. `metricFilter` should be the same value as in
+   * your `runReport` request
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilterOrBuilder() { + return getMetricFilter(); + } + + public static final int COMPATIBILITY_FILTER_FIELD_NUMBER = 6; + private int compatibilityFilter_; + /** + *
+   * Filters the dimensions and metrics in the response to just this
+   * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
+   * to only return compatible dimensions & metrics.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * @return The enum numeric value on the wire for compatibilityFilter. + */ + @java.lang.Override public int getCompatibilityFilterValue() { + return compatibilityFilter_; + } + /** + *
+   * Filters the dimensions and metrics in the response to just this
+   * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
+   * to only return compatible dimensions & metrics.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * @return The compatibilityFilter. + */ + @java.lang.Override public com.google.analytics.data.v1beta.Compatibility getCompatibilityFilter() { + @SuppressWarnings("deprecation") + com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibilityFilter_); + return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getPropertyBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); + } + for (int i = 0; i < dimensions_.size(); i++) { + output.writeMessage(2, dimensions_.get(i)); + } + for (int i = 0; i < metrics_.size(); i++) { + output.writeMessage(3, metrics_.get(i)); + } + if (dimensionFilter_ != null) { + output.writeMessage(4, getDimensionFilter()); + } + if (metricFilter_ != null) { + output.writeMessage(5, getMetricFilter()); + } + if (compatibilityFilter_ != com.google.analytics.data.v1beta.Compatibility.COMPATIBILITY_UNSPECIFIED.getNumber()) { + output.writeEnum(6, compatibilityFilter_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getPropertyBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); + } + for (int i = 0; i < dimensions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, dimensions_.get(i)); + } + for (int i = 0; i < metrics_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metrics_.get(i)); + } + if (dimensionFilter_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDimensionFilter()); + } + if (metricFilter_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getMetricFilter()); + } + if (compatibilityFilter_ != com.google.analytics.data.v1beta.Compatibility.COMPATIBILITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, compatibilityFilter_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.data.v1beta.CheckCompatibilityRequest)) { + return super.equals(obj); + } + com.google.analytics.data.v1beta.CheckCompatibilityRequest other = (com.google.analytics.data.v1beta.CheckCompatibilityRequest) obj; + + if (!getProperty() + .equals(other.getProperty())) return false; + if (!getDimensionsList() + .equals(other.getDimensionsList())) return false; + if (!getMetricsList() + .equals(other.getMetricsList())) return false; + if (hasDimensionFilter() != other.hasDimensionFilter()) return false; + if (hasDimensionFilter()) { + if (!getDimensionFilter() + .equals(other.getDimensionFilter())) return false; + } + if (hasMetricFilter() != other.hasMetricFilter()) return false; + if (hasMetricFilter()) { + if (!getMetricFilter() + .equals(other.getMetricFilter())) return false; + } + if (compatibilityFilter_ != other.compatibilityFilter_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROPERTY_FIELD_NUMBER; + hash = (53 * hash) + getProperty().hashCode(); + if (getDimensionsCount() > 0) { + hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; + hash = (53 * hash) + getDimensionsList().hashCode(); + } + if (getMetricsCount() > 0) { + hash = (37 * hash) + METRICS_FIELD_NUMBER; + hash = (53 * hash) + getMetricsList().hashCode(); + } + if (hasDimensionFilter()) { + hash = (37 * hash) + DIMENSION_FILTER_FIELD_NUMBER; + hash = (53 * hash) + getDimensionFilter().hashCode(); + } + if (hasMetricFilter()) { + hash = (37 * hash) + METRIC_FILTER_FIELD_NUMBER; + hash = (53 * hash) + getMetricFilter().hashCode(); + } + hash = (37 * hash) + COMPATIBILITY_FILTER_FIELD_NUMBER; + hash = (53 * hash) + compatibilityFilter_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.analytics.data.v1beta.CheckCompatibilityRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * The request for compatibility information for a report's dimensions and
+   * metrics. Check compatibility provides a preview of the compatibility of a
+   * report; fields shared with the `runReport` request should be the same values
+   * as in your `runReport` request.
+   * 
+ * + * Protobuf type {@code google.analytics.data.v1beta.CheckCompatibilityRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.CheckCompatibilityRequest) + com.google.analytics.data.v1beta.CheckCompatibilityRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.data.v1beta.CheckCompatibilityRequest.class, com.google.analytics.data.v1beta.CheckCompatibilityRequest.Builder.class); + } + + // Construct using com.google.analytics.data.v1beta.CheckCompatibilityRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getDimensionsFieldBuilder(); + getMetricsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + property_ = ""; + + if (dimensionsBuilder_ == null) { + dimensions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + dimensionsBuilder_.clear(); + } + if (metricsBuilder_ == null) { + metrics_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + metricsBuilder_.clear(); + } + if (dimensionFilterBuilder_ == null) { + dimensionFilter_ = null; + } else { + dimensionFilter_ = null; + dimensionFilterBuilder_ = null; + } + if (metricFilterBuilder_ == null) { + metricFilter_ = null; + } else { + metricFilter_ = null; + metricFilterBuilder_ = null; + } + compatibilityFilter_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.CheckCompatibilityRequest getDefaultInstanceForType() { + return com.google.analytics.data.v1beta.CheckCompatibilityRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.data.v1beta.CheckCompatibilityRequest build() { + com.google.analytics.data.v1beta.CheckCompatibilityRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.CheckCompatibilityRequest buildPartial() { + com.google.analytics.data.v1beta.CheckCompatibilityRequest result = new com.google.analytics.data.v1beta.CheckCompatibilityRequest(this); + int from_bitField0_ = bitField0_; + result.property_ = property_; + if (dimensionsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + dimensions_ = java.util.Collections.unmodifiableList(dimensions_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.dimensions_ = dimensions_; + } else { + result.dimensions_ = dimensionsBuilder_.build(); + } + if (metricsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + metrics_ = java.util.Collections.unmodifiableList(metrics_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.metrics_ = metrics_; + } else { + result.metrics_ = metricsBuilder_.build(); + } + if (dimensionFilterBuilder_ == null) { + result.dimensionFilter_ = dimensionFilter_; + } else { + result.dimensionFilter_ = dimensionFilterBuilder_.build(); + } + if (metricFilterBuilder_ == null) { + result.metricFilter_ = metricFilter_; + } else { + result.metricFilter_ = metricFilterBuilder_.build(); + } + result.compatibilityFilter_ = compatibilityFilter_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.data.v1beta.CheckCompatibilityRequest) { + return mergeFrom((com.google.analytics.data.v1beta.CheckCompatibilityRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.data.v1beta.CheckCompatibilityRequest other) { + if (other == com.google.analytics.data.v1beta.CheckCompatibilityRequest.getDefaultInstance()) return this; + if (!other.getProperty().isEmpty()) { + property_ = other.property_; + onChanged(); + } + if (dimensionsBuilder_ == null) { + if (!other.dimensions_.isEmpty()) { + if (dimensions_.isEmpty()) { + dimensions_ = other.dimensions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDimensionsIsMutable(); + dimensions_.addAll(other.dimensions_); + } + onChanged(); + } + } else { + if (!other.dimensions_.isEmpty()) { + if (dimensionsBuilder_.isEmpty()) { + dimensionsBuilder_.dispose(); + dimensionsBuilder_ = null; + dimensions_ = other.dimensions_; + bitField0_ = (bitField0_ & ~0x00000001); + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionsFieldBuilder() : null; + } else { + dimensionsBuilder_.addAllMessages(other.dimensions_); + } + } + } + if (metricsBuilder_ == null) { + if (!other.metrics_.isEmpty()) { + if (metrics_.isEmpty()) { + metrics_ = other.metrics_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureMetricsIsMutable(); + metrics_.addAll(other.metrics_); + } + onChanged(); + } + } else { + if (!other.metrics_.isEmpty()) { + if (metricsBuilder_.isEmpty()) { + metricsBuilder_.dispose(); + metricsBuilder_ = null; + metrics_ = other.metrics_; + bitField0_ = (bitField0_ & ~0x00000002); + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricsFieldBuilder() : null; + } else { + metricsBuilder_.addAllMessages(other.metrics_); + } + } + } + if (other.hasDimensionFilter()) { + mergeDimensionFilter(other.getDimensionFilter()); + } + if (other.hasMetricFilter()) { + mergeMetricFilter(other.getMetricFilter()); + } + if (other.compatibilityFilter_ != 0) { + setCompatibilityFilterValue(other.getCompatibilityFilterValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.analytics.data.v1beta.CheckCompatibilityRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.data.v1beta.CheckCompatibilityRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object property_ = ""; + /** + *
+     * A Google Analytics GA4 property identifier whose events are tracked. To
+     * learn more, see [where to find your Property
+     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
+     * `property` should be the same value as in your `runReport` request.
+     * Example: properties/1234
+     * Set the Property ID to 0 for compatibility checking on dimensions and
+     * metrics common to all properties. In this special mode, this method will
+     * not return custom dimensions and metrics.
+     * 
+ * + * string property = 1; + * @return The property. + */ + public java.lang.String getProperty() { + java.lang.Object ref = property_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + property_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A Google Analytics GA4 property identifier whose events are tracked. To
+     * learn more, see [where to find your Property
+     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
+     * `property` should be the same value as in your `runReport` request.
+     * Example: properties/1234
+     * Set the Property ID to 0 for compatibility checking on dimensions and
+     * metrics common to all properties. In this special mode, this method will
+     * not return custom dimensions and metrics.
+     * 
+ * + * string property = 1; + * @return The bytes for property. + */ + public com.google.protobuf.ByteString + getPropertyBytes() { + java.lang.Object ref = property_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + property_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A Google Analytics GA4 property identifier whose events are tracked. To
+     * learn more, see [where to find your Property
+     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
+     * `property` should be the same value as in your `runReport` request.
+     * Example: properties/1234
+     * Set the Property ID to 0 for compatibility checking on dimensions and
+     * metrics common to all properties. In this special mode, this method will
+     * not return custom dimensions and metrics.
+     * 
+ * + * string property = 1; + * @param value The property to set. + * @return This builder for chaining. + */ + public Builder setProperty( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + property_ = value; + onChanged(); + return this; + } + /** + *
+     * A Google Analytics GA4 property identifier whose events are tracked. To
+     * learn more, see [where to find your Property
+     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
+     * `property` should be the same value as in your `runReport` request.
+     * Example: properties/1234
+     * Set the Property ID to 0 for compatibility checking on dimensions and
+     * metrics common to all properties. In this special mode, this method will
+     * not return custom dimensions and metrics.
+     * 
+ * + * string property = 1; + * @return This builder for chaining. + */ + public Builder clearProperty() { + + property_ = getDefaultInstance().getProperty(); + onChanged(); + return this; + } + /** + *
+     * A Google Analytics GA4 property identifier whose events are tracked. To
+     * learn more, see [where to find your Property
+     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
+     * `property` should be the same value as in your `runReport` request.
+     * Example: properties/1234
+     * Set the Property ID to 0 for compatibility checking on dimensions and
+     * metrics common to all properties. In this special mode, this method will
+     * not return custom dimensions and metrics.
+     * 
+ * + * string property = 1; + * @param value The bytes for property to set. + * @return This builder for chaining. + */ + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + property_ = value; + onChanged(); + return this; + } + + private java.util.List dimensions_ = + java.util.Collections.emptyList(); + private void ensureDimensionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + dimensions_ = new java.util.ArrayList(dimensions_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> dimensionsBuilder_; + + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public java.util.List getDimensionsList() { + if (dimensionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(dimensions_); + } else { + return dimensionsBuilder_.getMessageList(); + } + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public int getDimensionsCount() { + if (dimensionsBuilder_ == null) { + return dimensions_.size(); + } else { + return dimensionsBuilder_.getCount(); + } + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { + if (dimensionsBuilder_ == null) { + return dimensions_.get(index); + } else { + return dimensionsBuilder_.getMessage(index); + } + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public Builder setDimensions( + int index, com.google.analytics.data.v1beta.Dimension value) { + if (dimensionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDimensionsIsMutable(); + dimensions_.set(index, value); + onChanged(); + } else { + dimensionsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public Builder setDimensions( + int index, com.google.analytics.data.v1beta.Dimension.Builder builderForValue) { + if (dimensionsBuilder_ == null) { + ensureDimensionsIsMutable(); + dimensions_.set(index, builderForValue.build()); + onChanged(); + } else { + dimensionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) { + if (dimensionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDimensionsIsMutable(); + dimensions_.add(value); + onChanged(); + } else { + dimensionsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public Builder addDimensions( + int index, com.google.analytics.data.v1beta.Dimension value) { + if (dimensionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDimensionsIsMutable(); + dimensions_.add(index, value); + onChanged(); + } else { + dimensionsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public Builder addDimensions( + com.google.analytics.data.v1beta.Dimension.Builder builderForValue) { + if (dimensionsBuilder_ == null) { + ensureDimensionsIsMutable(); + dimensions_.add(builderForValue.build()); + onChanged(); + } else { + dimensionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public Builder addDimensions( + int index, com.google.analytics.data.v1beta.Dimension.Builder builderForValue) { + if (dimensionsBuilder_ == null) { + ensureDimensionsIsMutable(); + dimensions_.add(index, builderForValue.build()); + onChanged(); + } else { + dimensionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public Builder addAllDimensions( + java.lang.Iterable values) { + if (dimensionsBuilder_ == null) { + ensureDimensionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dimensions_); + onChanged(); + } else { + dimensionsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public Builder clearDimensions() { + if (dimensionsBuilder_ == null) { + dimensions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + dimensionsBuilder_.clear(); + } + return this; + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public Builder removeDimensions(int index) { + if (dimensionsBuilder_ == null) { + ensureDimensionsIsMutable(); + dimensions_.remove(index); + onChanged(); + } else { + dimensionsBuilder_.remove(index); + } + return this; + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder( + int index) { + return getDimensionsFieldBuilder().getBuilder(index); + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( + int index) { + if (dimensionsBuilder_ == null) { + return dimensions_.get(index); } else { + return dimensionsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public java.util.List + getDimensionsOrBuilderList() { + if (dimensionsBuilder_ != null) { + return dimensionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(dimensions_); + } + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder() { + return getDimensionsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder( + int index) { + return getDimensionsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); + } + /** + *
+     * The dimensions in this report. `dimensions` should be the same value as in
+     * your `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + public java.util.List + getDimensionsBuilderList() { + return getDimensionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> + getDimensionsFieldBuilder() { + if (dimensionsBuilder_ == null) { + dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder>( + dimensions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + dimensions_ = null; + } + return dimensionsBuilder_; + } + + private java.util.List metrics_ = + java.util.Collections.emptyList(); + private void ensureMetricsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + metrics_ = new java.util.ArrayList(metrics_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> metricsBuilder_; + + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public java.util.List getMetricsList() { + if (metricsBuilder_ == null) { + return java.util.Collections.unmodifiableList(metrics_); + } else { + return metricsBuilder_.getMessageList(); + } + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public int getMetricsCount() { + if (metricsBuilder_ == null) { + return metrics_.size(); + } else { + return metricsBuilder_.getCount(); + } + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public com.google.analytics.data.v1beta.Metric getMetrics(int index) { + if (metricsBuilder_ == null) { + return metrics_.get(index); + } else { + return metricsBuilder_.getMessage(index); + } + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public Builder setMetrics( + int index, com.google.analytics.data.v1beta.Metric value) { + if (metricsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMetricsIsMutable(); + metrics_.set(index, value); + onChanged(); + } else { + metricsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public Builder setMetrics( + int index, com.google.analytics.data.v1beta.Metric.Builder builderForValue) { + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.set(index, builderForValue.build()); + onChanged(); + } else { + metricsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) { + if (metricsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMetricsIsMutable(); + metrics_.add(value); + onChanged(); + } else { + metricsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public Builder addMetrics( + int index, com.google.analytics.data.v1beta.Metric value) { + if (metricsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMetricsIsMutable(); + metrics_.add(index, value); + onChanged(); + } else { + metricsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public Builder addMetrics( + com.google.analytics.data.v1beta.Metric.Builder builderForValue) { + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.add(builderForValue.build()); + onChanged(); + } else { + metricsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public Builder addMetrics( + int index, com.google.analytics.data.v1beta.Metric.Builder builderForValue) { + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.add(index, builderForValue.build()); + onChanged(); + } else { + metricsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public Builder addAllMetrics( + java.lang.Iterable values) { + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metrics_); + onChanged(); + } else { + metricsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public Builder clearMetrics() { + if (metricsBuilder_ == null) { + metrics_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + metricsBuilder_.clear(); + } + return this; + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public Builder removeMetrics(int index) { + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.remove(index); + onChanged(); + } else { + metricsBuilder_.remove(index); + } + return this; + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder( + int index) { + return getMetricsFieldBuilder().getBuilder(index); + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( + int index) { + if (metricsBuilder_ == null) { + return metrics_.get(index); } else { + return metricsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public java.util.List + getMetricsOrBuilderList() { + if (metricsBuilder_ != null) { + return metricsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(metrics_); + } + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() { + return getMetricsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Metric.getDefaultInstance()); + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder( + int index) { + return getMetricsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Metric.getDefaultInstance()); + } + /** + *
+     * The metrics in this report. `metrics` should be the same value as in your
+     * `runReport` request.
+     * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + public java.util.List + getMetricsBuilderList() { + return getMetricsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> + getMetricsFieldBuilder() { + if (metricsBuilder_ == null) { + metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder>( + metrics_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + metrics_ = null; + } + return metricsBuilder_; + } + + private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> dimensionFilterBuilder_; + /** + *
+     * The filter clause of dimensions. `dimensionFilter` should be the same value
+     * as in your `runReport` request.
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * @return Whether the dimensionFilter field is set. + */ + public boolean hasDimensionFilter() { + return dimensionFilterBuilder_ != null || dimensionFilter_ != null; + } + /** + *
+     * The filter clause of dimensions. `dimensionFilter` should be the same value
+     * as in your `runReport` request.
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * @return The dimensionFilter. + */ + public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { + if (dimensionFilterBuilder_ == null) { + return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + } else { + return dimensionFilterBuilder_.getMessage(); + } + } + /** + *
+     * The filter clause of dimensions. `dimensionFilter` should be the same value
+     * as in your `runReport` request.
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + */ + public Builder setDimensionFilter(com.google.analytics.data.v1beta.FilterExpression value) { + if (dimensionFilterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dimensionFilter_ = value; + onChanged(); + } else { + dimensionFilterBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * The filter clause of dimensions. `dimensionFilter` should be the same value
+     * as in your `runReport` request.
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + */ + public Builder setDimensionFilter( + com.google.analytics.data.v1beta.FilterExpression.Builder builderForValue) { + if (dimensionFilterBuilder_ == null) { + dimensionFilter_ = builderForValue.build(); + onChanged(); + } else { + dimensionFilterBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * The filter clause of dimensions. `dimensionFilter` should be the same value
+     * as in your `runReport` request.
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + */ + public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpression value) { + if (dimensionFilterBuilder_ == null) { + if (dimensionFilter_ != null) { + dimensionFilter_ = + com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_).mergeFrom(value).buildPartial(); + } else { + dimensionFilter_ = value; + } + onChanged(); + } else { + dimensionFilterBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * The filter clause of dimensions. `dimensionFilter` should be the same value
+     * as in your `runReport` request.
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + */ + public Builder clearDimensionFilter() { + if (dimensionFilterBuilder_ == null) { + dimensionFilter_ = null; + onChanged(); + } else { + dimensionFilter_ = null; + dimensionFilterBuilder_ = null; + } + + return this; + } + /** + *
+     * The filter clause of dimensions. `dimensionFilter` should be the same value
+     * as in your `runReport` request.
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + */ + public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFilterBuilder() { + + onChanged(); + return getDimensionFilterFieldBuilder().getBuilder(); + } + /** + *
+     * The filter clause of dimensions. `dimensionFilter` should be the same value
+     * as in your `runReport` request.
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + */ + public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder() { + if (dimensionFilterBuilder_ != null) { + return dimensionFilterBuilder_.getMessageOrBuilder(); + } else { + return dimensionFilter_ == null ? + com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + } + } + /** + *
+     * The filter clause of dimensions. `dimensionFilter` should be the same value
+     * as in your `runReport` request.
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + getDimensionFilterFieldBuilder() { + if (dimensionFilterBuilder_ == null) { + dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( + getDimensionFilter(), + getParentForChildren(), + isClean()); + dimensionFilter_ = null; + } + return dimensionFilterBuilder_; + } + + private com.google.analytics.data.v1beta.FilterExpression metricFilter_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> metricFilterBuilder_; + /** + *
+     * The filter clause of metrics. `metricFilter` should be the same value as in
+     * your `runReport` request
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * @return Whether the metricFilter field is set. + */ + public boolean hasMetricFilter() { + return metricFilterBuilder_ != null || metricFilter_ != null; + } + /** + *
+     * The filter clause of metrics. `metricFilter` should be the same value as in
+     * your `runReport` request
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * @return The metricFilter. + */ + public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { + if (metricFilterBuilder_ == null) { + return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + } else { + return metricFilterBuilder_.getMessage(); + } + } + /** + *
+     * The filter clause of metrics. `metricFilter` should be the same value as in
+     * your `runReport` request
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + */ + public Builder setMetricFilter(com.google.analytics.data.v1beta.FilterExpression value) { + if (metricFilterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metricFilter_ = value; + onChanged(); + } else { + metricFilterBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * The filter clause of metrics. `metricFilter` should be the same value as in
+     * your `runReport` request
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + */ + public Builder setMetricFilter( + com.google.analytics.data.v1beta.FilterExpression.Builder builderForValue) { + if (metricFilterBuilder_ == null) { + metricFilter_ = builderForValue.build(); + onChanged(); + } else { + metricFilterBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * The filter clause of metrics. `metricFilter` should be the same value as in
+     * your `runReport` request
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + */ + public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpression value) { + if (metricFilterBuilder_ == null) { + if (metricFilter_ != null) { + metricFilter_ = + com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_).mergeFrom(value).buildPartial(); + } else { + metricFilter_ = value; + } + onChanged(); + } else { + metricFilterBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * The filter clause of metrics. `metricFilter` should be the same value as in
+     * your `runReport` request
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + */ + public Builder clearMetricFilter() { + if (metricFilterBuilder_ == null) { + metricFilter_ = null; + onChanged(); + } else { + metricFilter_ = null; + metricFilterBuilder_ = null; + } + + return this; + } + /** + *
+     * The filter clause of metrics. `metricFilter` should be the same value as in
+     * your `runReport` request
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + */ + public com.google.analytics.data.v1beta.FilterExpression.Builder getMetricFilterBuilder() { + + onChanged(); + return getMetricFilterFieldBuilder().getBuilder(); + } + /** + *
+     * The filter clause of metrics. `metricFilter` should be the same value as in
+     * your `runReport` request
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + */ + public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilterOrBuilder() { + if (metricFilterBuilder_ != null) { + return metricFilterBuilder_.getMessageOrBuilder(); + } else { + return metricFilter_ == null ? + com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + } + } + /** + *
+     * The filter clause of metrics. `metricFilter` should be the same value as in
+     * your `runReport` request
+     * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + getMetricFilterFieldBuilder() { + if (metricFilterBuilder_ == null) { + metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( + getMetricFilter(), + getParentForChildren(), + isClean()); + metricFilter_ = null; + } + return metricFilterBuilder_; + } + + private int compatibilityFilter_ = 0; + /** + *
+     * Filters the dimensions and metrics in the response to just this
+     * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
+     * to only return compatible dimensions & metrics.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * @return The enum numeric value on the wire for compatibilityFilter. + */ + @java.lang.Override public int getCompatibilityFilterValue() { + return compatibilityFilter_; + } + /** + *
+     * Filters the dimensions and metrics in the response to just this
+     * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
+     * to only return compatible dimensions & metrics.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * @param value The enum numeric value on the wire for compatibilityFilter to set. + * @return This builder for chaining. + */ + public Builder setCompatibilityFilterValue(int value) { + + compatibilityFilter_ = value; + onChanged(); + return this; + } + /** + *
+     * Filters the dimensions and metrics in the response to just this
+     * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
+     * to only return compatible dimensions & metrics.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * @return The compatibilityFilter. + */ + @java.lang.Override + public com.google.analytics.data.v1beta.Compatibility getCompatibilityFilter() { + @SuppressWarnings("deprecation") + com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibilityFilter_); + return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; + } + /** + *
+     * Filters the dimensions and metrics in the response to just this
+     * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
+     * to only return compatible dimensions & metrics.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * @param value The compatibilityFilter to set. + * @return This builder for chaining. + */ + public Builder setCompatibilityFilter(com.google.analytics.data.v1beta.Compatibility value) { + if (value == null) { + throw new NullPointerException(); + } + + compatibilityFilter_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Filters the dimensions and metrics in the response to just this
+     * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
+     * to only return compatible dimensions & metrics.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * @return This builder for chaining. + */ + public Builder clearCompatibilityFilter() { + + compatibilityFilter_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.CheckCompatibilityRequest) + } + + // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.CheckCompatibilityRequest) + private static final com.google.analytics.data.v1beta.CheckCompatibilityRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.CheckCompatibilityRequest(); + } + + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckCompatibilityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CheckCompatibilityRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.CheckCompatibilityRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.java new file mode 100644 index 00000000..3c7b2759 --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.java @@ -0,0 +1,224 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/analytics_data_api.proto + +package com.google.analytics.data.v1beta; + +public interface CheckCompatibilityRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CheckCompatibilityRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * A Google Analytics GA4 property identifier whose events are tracked. To
+   * learn more, see [where to find your Property
+   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
+   * `property` should be the same value as in your `runReport` request.
+   * Example: properties/1234
+   * Set the Property ID to 0 for compatibility checking on dimensions and
+   * metrics common to all properties. In this special mode, this method will
+   * not return custom dimensions and metrics.
+   * 
+ * + * string property = 1; + * @return The property. + */ + java.lang.String getProperty(); + /** + *
+   * A Google Analytics GA4 property identifier whose events are tracked. To
+   * learn more, see [where to find your Property
+   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
+   * `property` should be the same value as in your `runReport` request.
+   * Example: properties/1234
+   * Set the Property ID to 0 for compatibility checking on dimensions and
+   * metrics common to all properties. In this special mode, this method will
+   * not return custom dimensions and metrics.
+   * 
+ * + * string property = 1; + * @return The bytes for property. + */ + com.google.protobuf.ByteString + getPropertyBytes(); + + /** + *
+   * The dimensions in this report. `dimensions` should be the same value as in
+   * your `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + java.util.List + getDimensionsList(); + /** + *
+   * The dimensions in this report. `dimensions` should be the same value as in
+   * your `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + com.google.analytics.data.v1beta.Dimension getDimensions(int index); + /** + *
+   * The dimensions in this report. `dimensions` should be the same value as in
+   * your `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + int getDimensionsCount(); + /** + *
+   * The dimensions in this report. `dimensions` should be the same value as in
+   * your `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + java.util.List + getDimensionsOrBuilderList(); + /** + *
+   * The dimensions in this report. `dimensions` should be the same value as in
+   * your `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; + */ + com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( + int index); + + /** + *
+   * The metrics in this report. `metrics` should be the same value as in your
+   * `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + java.util.List + getMetricsList(); + /** + *
+   * The metrics in this report. `metrics` should be the same value as in your
+   * `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + com.google.analytics.data.v1beta.Metric getMetrics(int index); + /** + *
+   * The metrics in this report. `metrics` should be the same value as in your
+   * `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + int getMetricsCount(); + /** + *
+   * The metrics in this report. `metrics` should be the same value as in your
+   * `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + java.util.List + getMetricsOrBuilderList(); + /** + *
+   * The metrics in this report. `metrics` should be the same value as in your
+   * `runReport` request.
+   * 
+ * + * repeated .google.analytics.data.v1beta.Metric metrics = 3; + */ + com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( + int index); + + /** + *
+   * The filter clause of dimensions. `dimensionFilter` should be the same value
+   * as in your `runReport` request.
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * @return Whether the dimensionFilter field is set. + */ + boolean hasDimensionFilter(); + /** + *
+   * The filter clause of dimensions. `dimensionFilter` should be the same value
+   * as in your `runReport` request.
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * @return The dimensionFilter. + */ + com.google.analytics.data.v1beta.FilterExpression getDimensionFilter(); + /** + *
+   * The filter clause of dimensions. `dimensionFilter` should be the same value
+   * as in your `runReport` request.
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + */ + com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder(); + + /** + *
+   * The filter clause of metrics. `metricFilter` should be the same value as in
+   * your `runReport` request
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * @return Whether the metricFilter field is set. + */ + boolean hasMetricFilter(); + /** + *
+   * The filter clause of metrics. `metricFilter` should be the same value as in
+   * your `runReport` request
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * @return The metricFilter. + */ + com.google.analytics.data.v1beta.FilterExpression getMetricFilter(); + /** + *
+   * The filter clause of metrics. `metricFilter` should be the same value as in
+   * your `runReport` request
+   * 
+ * + * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + */ + com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilterOrBuilder(); + + /** + *
+   * Filters the dimensions and metrics in the response to just this
+   * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
+   * to only return compatible dimensions & metrics.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * @return The enum numeric value on the wire for compatibilityFilter. + */ + int getCompatibilityFilterValue(); + /** + *
+   * Filters the dimensions and metrics in the response to just this
+   * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
+   * to only return compatible dimensions & metrics.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * @return The compatibilityFilter. + */ + com.google.analytics.data.v1beta.Compatibility getCompatibilityFilter(); +} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.java new file mode 100644 index 00000000..70814d4f --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.java @@ -0,0 +1,1310 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/analytics_data_api.proto + +package com.google.analytics.data.v1beta; + +/** + *
+ * The compatibility response with the compatibility of each dimension & metric.
+ * 
+ * + * Protobuf type {@code google.analytics.data.v1beta.CheckCompatibilityResponse} + */ +public final class CheckCompatibilityResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.CheckCompatibilityResponse) + CheckCompatibilityResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use CheckCompatibilityResponse.newBuilder() to construct. + private CheckCompatibilityResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CheckCompatibilityResponse() { + dimensionCompatibilities_ = java.util.Collections.emptyList(); + metricCompatibilities_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CheckCompatibilityResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CheckCompatibilityResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionCompatibilities_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dimensionCompatibilities_.add( + input.readMessage(com.google.analytics.data.v1beta.DimensionCompatibility.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metricCompatibilities_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + metricCompatibilities_.add( + input.readMessage(com.google.analytics.data.v1beta.MetricCompatibility.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); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionCompatibilities_ = java.util.Collections.unmodifiableList(dimensionCompatibilities_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + metricCompatibilities_ = java.util.Collections.unmodifiableList(metricCompatibilities_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.data.v1beta.CheckCompatibilityResponse.class, com.google.analytics.data.v1beta.CheckCompatibilityResponse.Builder.class); + } + + public static final int DIMENSION_COMPATIBILITIES_FIELD_NUMBER = 1; + private java.util.List dimensionCompatibilities_; + /** + *
+   * The compatibility of each dimension.
+   * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + @java.lang.Override + public java.util.List getDimensionCompatibilitiesList() { + return dimensionCompatibilities_; + } + /** + *
+   * The compatibility of each dimension.
+   * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + @java.lang.Override + public java.util.List + getDimensionCompatibilitiesOrBuilderList() { + return dimensionCompatibilities_; + } + /** + *
+   * The compatibility of each dimension.
+   * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + @java.lang.Override + public int getDimensionCompatibilitiesCount() { + return dimensionCompatibilities_.size(); + } + /** + *
+   * The compatibility of each dimension.
+   * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.DimensionCompatibility getDimensionCompatibilities(int index) { + return dimensionCompatibilities_.get(index); + } + /** + *
+   * The compatibility of each dimension.
+   * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder getDimensionCompatibilitiesOrBuilder( + int index) { + return dimensionCompatibilities_.get(index); + } + + public static final int METRIC_COMPATIBILITIES_FIELD_NUMBER = 2; + private java.util.List metricCompatibilities_; + /** + *
+   * The compatibility of each metric.
+   * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + @java.lang.Override + public java.util.List getMetricCompatibilitiesList() { + return metricCompatibilities_; + } + /** + *
+   * The compatibility of each metric.
+   * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + @java.lang.Override + public java.util.List + getMetricCompatibilitiesOrBuilderList() { + return metricCompatibilities_; + } + /** + *
+   * The compatibility of each metric.
+   * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + @java.lang.Override + public int getMetricCompatibilitiesCount() { + return metricCompatibilities_.size(); + } + /** + *
+   * The compatibility of each metric.
+   * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.MetricCompatibility getMetricCompatibilities(int index) { + return metricCompatibilities_.get(index); + } + /** + *
+   * The compatibility of each metric.
+   * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder getMetricCompatibilitiesOrBuilder( + int index) { + return metricCompatibilities_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < dimensionCompatibilities_.size(); i++) { + output.writeMessage(1, dimensionCompatibilities_.get(i)); + } + for (int i = 0; i < metricCompatibilities_.size(); i++) { + output.writeMessage(2, metricCompatibilities_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < dimensionCompatibilities_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dimensionCompatibilities_.get(i)); + } + for (int i = 0; i < metricCompatibilities_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, metricCompatibilities_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.data.v1beta.CheckCompatibilityResponse)) { + return super.equals(obj); + } + com.google.analytics.data.v1beta.CheckCompatibilityResponse other = (com.google.analytics.data.v1beta.CheckCompatibilityResponse) obj; + + if (!getDimensionCompatibilitiesList() + .equals(other.getDimensionCompatibilitiesList())) return false; + if (!getMetricCompatibilitiesList() + .equals(other.getMetricCompatibilitiesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDimensionCompatibilitiesCount() > 0) { + hash = (37 * hash) + DIMENSION_COMPATIBILITIES_FIELD_NUMBER; + hash = (53 * hash) + getDimensionCompatibilitiesList().hashCode(); + } + if (getMetricCompatibilitiesCount() > 0) { + hash = (37 * hash) + METRIC_COMPATIBILITIES_FIELD_NUMBER; + hash = (53 * hash) + getMetricCompatibilitiesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.analytics.data.v1beta.CheckCompatibilityResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * The compatibility response with the compatibility of each dimension & metric.
+   * 
+ * + * Protobuf type {@code google.analytics.data.v1beta.CheckCompatibilityResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.CheckCompatibilityResponse) + com.google.analytics.data.v1beta.CheckCompatibilityResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.data.v1beta.CheckCompatibilityResponse.class, com.google.analytics.data.v1beta.CheckCompatibilityResponse.Builder.class); + } + + // Construct using com.google.analytics.data.v1beta.CheckCompatibilityResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getDimensionCompatibilitiesFieldBuilder(); + getMetricCompatibilitiesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (dimensionCompatibilitiesBuilder_ == null) { + dimensionCompatibilities_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + dimensionCompatibilitiesBuilder_.clear(); + } + if (metricCompatibilitiesBuilder_ == null) { + metricCompatibilities_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + metricCompatibilitiesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.CheckCompatibilityResponse getDefaultInstanceForType() { + return com.google.analytics.data.v1beta.CheckCompatibilityResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.data.v1beta.CheckCompatibilityResponse build() { + com.google.analytics.data.v1beta.CheckCompatibilityResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.CheckCompatibilityResponse buildPartial() { + com.google.analytics.data.v1beta.CheckCompatibilityResponse result = new com.google.analytics.data.v1beta.CheckCompatibilityResponse(this); + int from_bitField0_ = bitField0_; + if (dimensionCompatibilitiesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + dimensionCompatibilities_ = java.util.Collections.unmodifiableList(dimensionCompatibilities_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.dimensionCompatibilities_ = dimensionCompatibilities_; + } else { + result.dimensionCompatibilities_ = dimensionCompatibilitiesBuilder_.build(); + } + if (metricCompatibilitiesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + metricCompatibilities_ = java.util.Collections.unmodifiableList(metricCompatibilities_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.metricCompatibilities_ = metricCompatibilities_; + } else { + result.metricCompatibilities_ = metricCompatibilitiesBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.data.v1beta.CheckCompatibilityResponse) { + return mergeFrom((com.google.analytics.data.v1beta.CheckCompatibilityResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.data.v1beta.CheckCompatibilityResponse other) { + if (other == com.google.analytics.data.v1beta.CheckCompatibilityResponse.getDefaultInstance()) return this; + if (dimensionCompatibilitiesBuilder_ == null) { + if (!other.dimensionCompatibilities_.isEmpty()) { + if (dimensionCompatibilities_.isEmpty()) { + dimensionCompatibilities_ = other.dimensionCompatibilities_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDimensionCompatibilitiesIsMutable(); + dimensionCompatibilities_.addAll(other.dimensionCompatibilities_); + } + onChanged(); + } + } else { + if (!other.dimensionCompatibilities_.isEmpty()) { + if (dimensionCompatibilitiesBuilder_.isEmpty()) { + dimensionCompatibilitiesBuilder_.dispose(); + dimensionCompatibilitiesBuilder_ = null; + dimensionCompatibilities_ = other.dimensionCompatibilities_; + bitField0_ = (bitField0_ & ~0x00000001); + dimensionCompatibilitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionCompatibilitiesFieldBuilder() : null; + } else { + dimensionCompatibilitiesBuilder_.addAllMessages(other.dimensionCompatibilities_); + } + } + } + if (metricCompatibilitiesBuilder_ == null) { + if (!other.metricCompatibilities_.isEmpty()) { + if (metricCompatibilities_.isEmpty()) { + metricCompatibilities_ = other.metricCompatibilities_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureMetricCompatibilitiesIsMutable(); + metricCompatibilities_.addAll(other.metricCompatibilities_); + } + onChanged(); + } + } else { + if (!other.metricCompatibilities_.isEmpty()) { + if (metricCompatibilitiesBuilder_.isEmpty()) { + metricCompatibilitiesBuilder_.dispose(); + metricCompatibilitiesBuilder_ = null; + metricCompatibilities_ = other.metricCompatibilities_; + bitField0_ = (bitField0_ & ~0x00000002); + metricCompatibilitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricCompatibilitiesFieldBuilder() : null; + } else { + metricCompatibilitiesBuilder_.addAllMessages(other.metricCompatibilities_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.analytics.data.v1beta.CheckCompatibilityResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.data.v1beta.CheckCompatibilityResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List dimensionCompatibilities_ = + java.util.Collections.emptyList(); + private void ensureDimensionCompatibilitiesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + dimensionCompatibilities_ = new java.util.ArrayList(dimensionCompatibilities_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionCompatibility, com.google.analytics.data.v1beta.DimensionCompatibility.Builder, com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder> dimensionCompatibilitiesBuilder_; + + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public java.util.List getDimensionCompatibilitiesList() { + if (dimensionCompatibilitiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(dimensionCompatibilities_); + } else { + return dimensionCompatibilitiesBuilder_.getMessageList(); + } + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public int getDimensionCompatibilitiesCount() { + if (dimensionCompatibilitiesBuilder_ == null) { + return dimensionCompatibilities_.size(); + } else { + return dimensionCompatibilitiesBuilder_.getCount(); + } + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public com.google.analytics.data.v1beta.DimensionCompatibility getDimensionCompatibilities(int index) { + if (dimensionCompatibilitiesBuilder_ == null) { + return dimensionCompatibilities_.get(index); + } else { + return dimensionCompatibilitiesBuilder_.getMessage(index); + } + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public Builder setDimensionCompatibilities( + int index, com.google.analytics.data.v1beta.DimensionCompatibility value) { + if (dimensionCompatibilitiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDimensionCompatibilitiesIsMutable(); + dimensionCompatibilities_.set(index, value); + onChanged(); + } else { + dimensionCompatibilitiesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public Builder setDimensionCompatibilities( + int index, com.google.analytics.data.v1beta.DimensionCompatibility.Builder builderForValue) { + if (dimensionCompatibilitiesBuilder_ == null) { + ensureDimensionCompatibilitiesIsMutable(); + dimensionCompatibilities_.set(index, builderForValue.build()); + onChanged(); + } else { + dimensionCompatibilitiesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public Builder addDimensionCompatibilities(com.google.analytics.data.v1beta.DimensionCompatibility value) { + if (dimensionCompatibilitiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDimensionCompatibilitiesIsMutable(); + dimensionCompatibilities_.add(value); + onChanged(); + } else { + dimensionCompatibilitiesBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public Builder addDimensionCompatibilities( + int index, com.google.analytics.data.v1beta.DimensionCompatibility value) { + if (dimensionCompatibilitiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDimensionCompatibilitiesIsMutable(); + dimensionCompatibilities_.add(index, value); + onChanged(); + } else { + dimensionCompatibilitiesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public Builder addDimensionCompatibilities( + com.google.analytics.data.v1beta.DimensionCompatibility.Builder builderForValue) { + if (dimensionCompatibilitiesBuilder_ == null) { + ensureDimensionCompatibilitiesIsMutable(); + dimensionCompatibilities_.add(builderForValue.build()); + onChanged(); + } else { + dimensionCompatibilitiesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public Builder addDimensionCompatibilities( + int index, com.google.analytics.data.v1beta.DimensionCompatibility.Builder builderForValue) { + if (dimensionCompatibilitiesBuilder_ == null) { + ensureDimensionCompatibilitiesIsMutable(); + dimensionCompatibilities_.add(index, builderForValue.build()); + onChanged(); + } else { + dimensionCompatibilitiesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public Builder addAllDimensionCompatibilities( + java.lang.Iterable values) { + if (dimensionCompatibilitiesBuilder_ == null) { + ensureDimensionCompatibilitiesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dimensionCompatibilities_); + onChanged(); + } else { + dimensionCompatibilitiesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public Builder clearDimensionCompatibilities() { + if (dimensionCompatibilitiesBuilder_ == null) { + dimensionCompatibilities_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + dimensionCompatibilitiesBuilder_.clear(); + } + return this; + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public Builder removeDimensionCompatibilities(int index) { + if (dimensionCompatibilitiesBuilder_ == null) { + ensureDimensionCompatibilitiesIsMutable(); + dimensionCompatibilities_.remove(index); + onChanged(); + } else { + dimensionCompatibilitiesBuilder_.remove(index); + } + return this; + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public com.google.analytics.data.v1beta.DimensionCompatibility.Builder getDimensionCompatibilitiesBuilder( + int index) { + return getDimensionCompatibilitiesFieldBuilder().getBuilder(index); + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder getDimensionCompatibilitiesOrBuilder( + int index) { + if (dimensionCompatibilitiesBuilder_ == null) { + return dimensionCompatibilities_.get(index); } else { + return dimensionCompatibilitiesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public java.util.List + getDimensionCompatibilitiesOrBuilderList() { + if (dimensionCompatibilitiesBuilder_ != null) { + return dimensionCompatibilitiesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(dimensionCompatibilities_); + } + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public com.google.analytics.data.v1beta.DimensionCompatibility.Builder addDimensionCompatibilitiesBuilder() { + return getDimensionCompatibilitiesFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.DimensionCompatibility.getDefaultInstance()); + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public com.google.analytics.data.v1beta.DimensionCompatibility.Builder addDimensionCompatibilitiesBuilder( + int index) { + return getDimensionCompatibilitiesFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.DimensionCompatibility.getDefaultInstance()); + } + /** + *
+     * The compatibility of each dimension.
+     * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + public java.util.List + getDimensionCompatibilitiesBuilderList() { + return getDimensionCompatibilitiesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionCompatibility, com.google.analytics.data.v1beta.DimensionCompatibility.Builder, com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder> + getDimensionCompatibilitiesFieldBuilder() { + if (dimensionCompatibilitiesBuilder_ == null) { + dimensionCompatibilitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionCompatibility, com.google.analytics.data.v1beta.DimensionCompatibility.Builder, com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder>( + dimensionCompatibilities_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + dimensionCompatibilities_ = null; + } + return dimensionCompatibilitiesBuilder_; + } + + private java.util.List metricCompatibilities_ = + java.util.Collections.emptyList(); + private void ensureMetricCompatibilitiesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + metricCompatibilities_ = new java.util.ArrayList(metricCompatibilities_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.MetricCompatibility, com.google.analytics.data.v1beta.MetricCompatibility.Builder, com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder> metricCompatibilitiesBuilder_; + + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public java.util.List getMetricCompatibilitiesList() { + if (metricCompatibilitiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(metricCompatibilities_); + } else { + return metricCompatibilitiesBuilder_.getMessageList(); + } + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public int getMetricCompatibilitiesCount() { + if (metricCompatibilitiesBuilder_ == null) { + return metricCompatibilities_.size(); + } else { + return metricCompatibilitiesBuilder_.getCount(); + } + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public com.google.analytics.data.v1beta.MetricCompatibility getMetricCompatibilities(int index) { + if (metricCompatibilitiesBuilder_ == null) { + return metricCompatibilities_.get(index); + } else { + return metricCompatibilitiesBuilder_.getMessage(index); + } + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public Builder setMetricCompatibilities( + int index, com.google.analytics.data.v1beta.MetricCompatibility value) { + if (metricCompatibilitiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMetricCompatibilitiesIsMutable(); + metricCompatibilities_.set(index, value); + onChanged(); + } else { + metricCompatibilitiesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public Builder setMetricCompatibilities( + int index, com.google.analytics.data.v1beta.MetricCompatibility.Builder builderForValue) { + if (metricCompatibilitiesBuilder_ == null) { + ensureMetricCompatibilitiesIsMutable(); + metricCompatibilities_.set(index, builderForValue.build()); + onChanged(); + } else { + metricCompatibilitiesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public Builder addMetricCompatibilities(com.google.analytics.data.v1beta.MetricCompatibility value) { + if (metricCompatibilitiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMetricCompatibilitiesIsMutable(); + metricCompatibilities_.add(value); + onChanged(); + } else { + metricCompatibilitiesBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public Builder addMetricCompatibilities( + int index, com.google.analytics.data.v1beta.MetricCompatibility value) { + if (metricCompatibilitiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMetricCompatibilitiesIsMutable(); + metricCompatibilities_.add(index, value); + onChanged(); + } else { + metricCompatibilitiesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public Builder addMetricCompatibilities( + com.google.analytics.data.v1beta.MetricCompatibility.Builder builderForValue) { + if (metricCompatibilitiesBuilder_ == null) { + ensureMetricCompatibilitiesIsMutable(); + metricCompatibilities_.add(builderForValue.build()); + onChanged(); + } else { + metricCompatibilitiesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public Builder addMetricCompatibilities( + int index, com.google.analytics.data.v1beta.MetricCompatibility.Builder builderForValue) { + if (metricCompatibilitiesBuilder_ == null) { + ensureMetricCompatibilitiesIsMutable(); + metricCompatibilities_.add(index, builderForValue.build()); + onChanged(); + } else { + metricCompatibilitiesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public Builder addAllMetricCompatibilities( + java.lang.Iterable values) { + if (metricCompatibilitiesBuilder_ == null) { + ensureMetricCompatibilitiesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metricCompatibilities_); + onChanged(); + } else { + metricCompatibilitiesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public Builder clearMetricCompatibilities() { + if (metricCompatibilitiesBuilder_ == null) { + metricCompatibilities_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + metricCompatibilitiesBuilder_.clear(); + } + return this; + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public Builder removeMetricCompatibilities(int index) { + if (metricCompatibilitiesBuilder_ == null) { + ensureMetricCompatibilitiesIsMutable(); + metricCompatibilities_.remove(index); + onChanged(); + } else { + metricCompatibilitiesBuilder_.remove(index); + } + return this; + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public com.google.analytics.data.v1beta.MetricCompatibility.Builder getMetricCompatibilitiesBuilder( + int index) { + return getMetricCompatibilitiesFieldBuilder().getBuilder(index); + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder getMetricCompatibilitiesOrBuilder( + int index) { + if (metricCompatibilitiesBuilder_ == null) { + return metricCompatibilities_.get(index); } else { + return metricCompatibilitiesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public java.util.List + getMetricCompatibilitiesOrBuilderList() { + if (metricCompatibilitiesBuilder_ != null) { + return metricCompatibilitiesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(metricCompatibilities_); + } + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public com.google.analytics.data.v1beta.MetricCompatibility.Builder addMetricCompatibilitiesBuilder() { + return getMetricCompatibilitiesFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.MetricCompatibility.getDefaultInstance()); + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public com.google.analytics.data.v1beta.MetricCompatibility.Builder addMetricCompatibilitiesBuilder( + int index) { + return getMetricCompatibilitiesFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.MetricCompatibility.getDefaultInstance()); + } + /** + *
+     * The compatibility of each metric.
+     * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + public java.util.List + getMetricCompatibilitiesBuilderList() { + return getMetricCompatibilitiesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.MetricCompatibility, com.google.analytics.data.v1beta.MetricCompatibility.Builder, com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder> + getMetricCompatibilitiesFieldBuilder() { + if (metricCompatibilitiesBuilder_ == null) { + metricCompatibilitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.MetricCompatibility, com.google.analytics.data.v1beta.MetricCompatibility.Builder, com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder>( + metricCompatibilities_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + metricCompatibilities_ = null; + } + return metricCompatibilitiesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.CheckCompatibilityResponse) + } + + // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.CheckCompatibilityResponse) + private static final com.google.analytics.data.v1beta.CheckCompatibilityResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.CheckCompatibilityResponse(); + } + + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckCompatibilityResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CheckCompatibilityResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.CheckCompatibilityResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java new file mode 100644 index 00000000..cca4fbd0 --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java @@ -0,0 +1,97 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/analytics_data_api.proto + +package com.google.analytics.data.v1beta; + +public interface CheckCompatibilityResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CheckCompatibilityResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The compatibility of each dimension.
+   * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + java.util.List + getDimensionCompatibilitiesList(); + /** + *
+   * The compatibility of each dimension.
+   * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + com.google.analytics.data.v1beta.DimensionCompatibility getDimensionCompatibilities(int index); + /** + *
+   * The compatibility of each dimension.
+   * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + int getDimensionCompatibilitiesCount(); + /** + *
+   * The compatibility of each dimension.
+   * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + java.util.List + getDimensionCompatibilitiesOrBuilderList(); + /** + *
+   * The compatibility of each dimension.
+   * 
+ * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + */ + com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder getDimensionCompatibilitiesOrBuilder( + int index); + + /** + *
+   * The compatibility of each metric.
+   * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + java.util.List + getMetricCompatibilitiesList(); + /** + *
+   * The compatibility of each metric.
+   * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + com.google.analytics.data.v1beta.MetricCompatibility getMetricCompatibilities(int index); + /** + *
+   * The compatibility of each metric.
+   * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + int getMetricCompatibilitiesCount(); + /** + *
+   * The compatibility of each metric.
+   * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + java.util.List + getMetricCompatibilitiesOrBuilderList(); + /** + *
+   * The compatibility of each metric.
+   * 
+ * + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + */ + com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder getMetricCompatibilitiesOrBuilder( + int index); +} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.java similarity index 79% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.java index 47ce0c7f..b979b543 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Defines a cohort selection criteria. A cohort is a group of users who share
  * a common characteristic. For example, users with the same `firstSessionDate`
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.Cohort}
  */
-public final class Cohort extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Cohort extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Cohort)
     CohortOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Cohort.newBuilder() to construct.
   private Cohort(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Cohort() {
     name_ = "";
     dimension_ = "";
@@ -46,15 +28,16 @@ private Cohort() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Cohort();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Cohort(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,75 +56,66 @@ private Cohort(
           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();
 
-              dimension_ = s;
-              break;
+            dimension_ = s;
+            break;
+          }
+          case 26: {
+            com.google.analytics.data.v1beta.DateRange.Builder subBuilder = null;
+            if (dateRange_ != null) {
+              subBuilder = dateRange_.toBuilder();
             }
-          case 26:
-            {
-              com.google.analytics.data.v1beta.DateRange.Builder subBuilder = null;
-              if (dateRange_ != null) {
-                subBuilder = dateRange_.toBuilder();
-              }
-              dateRange_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(dateRange_);
-                dateRange_ = subBuilder.buildPartial();
-              }
-
-              break;
+            dateRange_ = input.readMessage(com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(dateRange_);
+              dateRange_ = 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.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_Cohort_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Cohort_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.Cohort.class,
-            com.google.analytics.data.v1beta.Cohort.Builder.class);
+            com.google.analytics.data.v1beta.Cohort.class, com.google.analytics.data.v1beta.Cohort.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Assigns a name to this cohort. The dimension `cohort` is valued to this
    * name in a report response. If set, cannot begin with `cohort_` or
@@ -150,7 +124,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -159,15 +132,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; } } /** - * - * *
    * Assigns a name to this cohort. The dimension `cohort` is valued to this
    * name in a report response. If set, cannot begin with `cohort_` or
@@ -176,15 +148,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 { @@ -195,15 +168,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DIMENSION_FIELD_NUMBER = 2; private volatile java.lang.Object dimension_; /** - * - * *
    * Dimension used by the cohort. Required and only supports
    * `firstSessionDate`.
    * 
* * string dimension = 2; - * * @return The dimension. */ @java.lang.Override @@ -212,30 +182,30 @@ public java.lang.String getDimension() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimension_ = s; return s; } } /** - * - * *
    * Dimension used by the cohort. Required and only supports
    * `firstSessionDate`.
    * 
* * string dimension = 2; - * * @return The bytes for dimension. */ @java.lang.Override - public com.google.protobuf.ByteString getDimensionBytes() { + public com.google.protobuf.ByteString + getDimensionBytes() { java.lang.Object ref = dimension_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimension_ = b; return b; } else { @@ -246,8 +216,6 @@ public com.google.protobuf.ByteString getDimensionBytes() { public static final int DATE_RANGE_FIELD_NUMBER = 3; private com.google.analytics.data.v1beta.DateRange dateRange_; /** - * - * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -266,7 +234,6 @@ public com.google.protobuf.ByteString getDimensionBytes() {
    * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; - * * @return Whether the dateRange field is set. */ @java.lang.Override @@ -274,8 +241,6 @@ public boolean hasDateRange() { return dateRange_ != null; } /** - * - * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -294,18 +259,13 @@ public boolean hasDateRange() {
    * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; - * * @return The dateRange. */ @java.lang.Override public com.google.analytics.data.v1beta.DateRange getDateRange() { - return dateRange_ == null - ? com.google.analytics.data.v1beta.DateRange.getDefaultInstance() - : dateRange_; + return dateRange_ == null ? com.google.analytics.data.v1beta.DateRange.getDefaultInstance() : dateRange_; } /** - * - * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -331,7 +291,6 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangeOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -343,7 +302,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!getNameBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -369,7 +329,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dimension_);
     }
     if (dateRange_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDateRange());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getDateRange());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -379,18 +340,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.analytics.data.v1beta.Cohort)) {
       return super.equals(obj);
     }
     com.google.analytics.data.v1beta.Cohort other = (com.google.analytics.data.v1beta.Cohort) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDimension().equals(other.getDimension())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDimension()
+        .equals(other.getDimension())) return false;
     if (hasDateRange() != other.hasDateRange()) return false;
     if (hasDateRange()) {
-      if (!getDateRange().equals(other.getDateRange())) return false;
+      if (!getDateRange()
+          .equals(other.getDateRange())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -416,104 +380,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.analytics.data.v1beta.Cohort parseFrom(java.nio.ByteBuffer data)
+  public static com.google.analytics.data.v1beta.Cohort parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.Cohort parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.Cohort 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.analytics.data.v1beta.Cohort parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.data.v1beta.Cohort parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.data.v1beta.Cohort parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.Cohort parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.analytics.data.v1beta.Cohort prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Defines a cohort selection criteria. A cohort is a group of users who share
    * a common characteristic. For example, users with the same `firstSessionDate`
@@ -522,23 +479,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.Cohort}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Cohort)
       com.google.analytics.data.v1beta.CohortOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Cohort_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Cohort_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.Cohort.class,
-              com.google.analytics.data.v1beta.Cohort.Builder.class);
+              com.google.analytics.data.v1beta.Cohort.class, com.google.analytics.data.v1beta.Cohort.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.Cohort.newBuilder()
@@ -546,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();
@@ -572,9 +528,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Cohort_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Cohort_descriptor;
     }
 
     @java.lang.Override
@@ -593,8 +549,7 @@ public com.google.analytics.data.v1beta.Cohort build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.Cohort buildPartial() {
-      com.google.analytics.data.v1beta.Cohort result =
-          new com.google.analytics.data.v1beta.Cohort(this);
+      com.google.analytics.data.v1beta.Cohort result = new com.google.analytics.data.v1beta.Cohort(this);
       result.name_ = name_;
       result.dimension_ = dimension_;
       if (dateRangeBuilder_ == null) {
@@ -610,39 +565,38 @@ public com.google.analytics.data.v1beta.Cohort buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.Cohort) {
-        return mergeFrom((com.google.analytics.data.v1beta.Cohort) other);
+        return mergeFrom((com.google.analytics.data.v1beta.Cohort)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -693,8 +647,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Assigns a name to this cohort. The dimension `cohort` is valued to this
      * name in a report response. If set, cannot begin with `cohort_` or
@@ -703,13 +655,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; @@ -718,8 +670,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Assigns a name to this cohort. The dimension `cohort` is valued to this
      * name in a report response. If set, cannot begin with `cohort_` or
@@ -728,14 +678,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 { @@ -743,8 +694,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Assigns a name to this cohort. The dimension `cohort` is valued to this
      * name in a report response. If set, cannot begin with `cohort_` or
@@ -753,22 +702,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; } /** - * - * *
      * Assigns a name to this cohort. The dimension `cohort` is valued to this
      * name in a report response. If set, cannot begin with `cohort_` or
@@ -777,18 +724,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; } /** - * - * *
      * Assigns a name to this cohort. The dimension `cohort` is valued to this
      * name in a report response. If set, cannot begin with `cohort_` or
@@ -797,16 +741,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; @@ -814,21 +758,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object dimension_ = ""; /** - * - * *
      * Dimension used by the cohort. Required and only supports
      * `firstSessionDate`.
      * 
* * string dimension = 2; - * * @return The dimension. */ public java.lang.String getDimension() { java.lang.Object ref = dimension_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimension_ = s; return s; @@ -837,22 +779,21 @@ public java.lang.String getDimension() { } } /** - * - * *
      * Dimension used by the cohort. Required and only supports
      * `firstSessionDate`.
      * 
* * string dimension = 2; - * * @return The bytes for dimension. */ - public com.google.protobuf.ByteString getDimensionBytes() { + public com.google.protobuf.ByteString + getDimensionBytes() { java.lang.Object ref = dimension_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimension_ = b; return b; } else { @@ -860,64 +801,57 @@ public com.google.protobuf.ByteString getDimensionBytes() { } } /** - * - * *
      * Dimension used by the cohort. Required and only supports
      * `firstSessionDate`.
      * 
* * string dimension = 2; - * * @param value The dimension to set. * @return This builder for chaining. */ - public Builder setDimension(java.lang.String value) { + public Builder setDimension( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dimension_ = value; onChanged(); return this; } /** - * - * *
      * Dimension used by the cohort. Required and only supports
      * `firstSessionDate`.
      * 
* * string dimension = 2; - * * @return This builder for chaining. */ public Builder clearDimension() { - + dimension_ = getDefaultInstance().getDimension(); onChanged(); return this; } /** - * - * *
      * Dimension used by the cohort. Required and only supports
      * `firstSessionDate`.
      * 
* * string dimension = 2; - * * @param value The bytes for dimension to set. * @return This builder for chaining. */ - public Builder setDimensionBytes(com.google.protobuf.ByteString value) { + public Builder setDimensionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dimension_ = value; onChanged(); return this; @@ -925,13 +859,8 @@ public Builder setDimensionBytes(com.google.protobuf.ByteString value) { private com.google.analytics.data.v1beta.DateRange dateRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DateRange, - com.google.analytics.data.v1beta.DateRange.Builder, - com.google.analytics.data.v1beta.DateRangeOrBuilder> - dateRangeBuilder_; + com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> dateRangeBuilder_; /** - * - * *
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -950,15 +879,12 @@ public Builder setDimensionBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; - * * @return Whether the dateRange field is set. */ public boolean hasDateRange() { return dateRangeBuilder_ != null || dateRange_ != null; } /** - * - * *
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -977,21 +903,16 @@ public boolean hasDateRange() {
      * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; - * * @return The dateRange. */ public com.google.analytics.data.v1beta.DateRange getDateRange() { if (dateRangeBuilder_ == null) { - return dateRange_ == null - ? com.google.analytics.data.v1beta.DateRange.getDefaultInstance() - : dateRange_; + return dateRange_ == null ? com.google.analytics.data.v1beta.DateRange.getDefaultInstance() : dateRange_; } else { return dateRangeBuilder_.getMessage(); } } /** - * - * *
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1025,8 +946,6 @@ public Builder setDateRange(com.google.analytics.data.v1beta.DateRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1058,8 +977,6 @@ public Builder setDateRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1083,9 +1000,7 @@ public Builder mergeDateRange(com.google.analytics.data.v1beta.DateRange value)
       if (dateRangeBuilder_ == null) {
         if (dateRange_ != null) {
           dateRange_ =
-              com.google.analytics.data.v1beta.DateRange.newBuilder(dateRange_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.DateRange.newBuilder(dateRange_).mergeFrom(value).buildPartial();
         } else {
           dateRange_ = value;
         }
@@ -1097,8 +1012,6 @@ public Builder mergeDateRange(com.google.analytics.data.v1beta.DateRange value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1130,8 +1043,6 @@ public Builder clearDateRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1152,13 +1063,11 @@ public Builder clearDateRange() {
      * .google.analytics.data.v1beta.DateRange date_range = 3;
      */
     public com.google.analytics.data.v1beta.DateRange.Builder getDateRangeBuilder() {
-
+      
       onChanged();
       return getDateRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1182,14 +1091,11 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangeOrBuilder
       if (dateRangeBuilder_ != null) {
         return dateRangeBuilder_.getMessageOrBuilder();
       } else {
-        return dateRange_ == null
-            ? com.google.analytics.data.v1beta.DateRange.getDefaultInstance()
-            : dateRange_;
+        return dateRange_ == null ?
+            com.google.analytics.data.v1beta.DateRange.getDefaultInstance() : dateRange_;
       }
     }
     /**
-     *
-     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1210,24 +1116,21 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangeOrBuilder
      * .google.analytics.data.v1beta.DateRange date_range = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.DateRange,
-            com.google.analytics.data.v1beta.DateRange.Builder,
-            com.google.analytics.data.v1beta.DateRangeOrBuilder>
+        com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> 
         getDateRangeFieldBuilder() {
       if (dateRangeBuilder_ == null) {
-        dateRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.DateRange,
-                com.google.analytics.data.v1beta.DateRange.Builder,
-                com.google.analytics.data.v1beta.DateRangeOrBuilder>(
-                getDateRange(), getParentForChildren(), isClean());
+        dateRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder>(
+                getDateRange(),
+                getParentForChildren(),
+                isClean());
         dateRange_ = null;
       }
       return dateRangeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1237,12 +1140,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Cohort)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Cohort)
   private static final com.google.analytics.data.v1beta.Cohort DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Cohort();
   }
@@ -1251,16 +1154,16 @@ public static com.google.analytics.data.v1beta.Cohort getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Cohort parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Cohort(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Cohort parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Cohort(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1275,4 +1178,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.data.v1beta.Cohort getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java
similarity index 86%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java
index 90348f44..d6cfb817 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
-public interface CohortOrBuilder
-    extends
+public interface CohortOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Cohort)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Assigns a name to this cohort. The dimension `cohort` is valued to this
    * name in a report response. If set, cannot begin with `cohort_` or
@@ -34,13 +16,10 @@ public interface CohortOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Assigns a name to this cohort. The dimension `cohort` is valued to this
    * name in a report response. If set, cannot begin with `cohort_` or
@@ -49,41 +28,34 @@ public interface CohortOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Dimension used by the cohort. Required and only supports
    * `firstSessionDate`.
    * 
* * string dimension = 2; - * * @return The dimension. */ java.lang.String getDimension(); /** - * - * *
    * Dimension used by the cohort. Required and only supports
    * `firstSessionDate`.
    * 
* * string dimension = 2; - * * @return The bytes for dimension. */ - com.google.protobuf.ByteString getDimensionBytes(); + com.google.protobuf.ByteString + getDimensionBytes(); /** - * - * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -102,13 +74,10 @@ public interface CohortOrBuilder
    * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; - * * @return Whether the dateRange field is set. */ boolean hasDateRange(); /** - * - * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -127,13 +96,10 @@ public interface CohortOrBuilder
    * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; - * * @return The dateRange. */ com.google.analytics.data.v1beta.DateRange getDateRange(); /** - * - * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java
similarity index 67%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java
index a7be7e46..362de0e8 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
- *
- *
  * 
  * Optional settings of a cohort report.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.CohortReportSettings} */ -public final class CohortReportSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CohortReportSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.CohortReportSettings) CohortReportSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CohortReportSettings.newBuilder() to construct. private CohortReportSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CohortReportSettings() {} + private CohortReportSettings() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CohortReportSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CohortReportSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,57 +52,52 @@ private CohortReportSettings( case 0: done = true; break; - case 8: - { - accumulate_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + accumulate_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.CohortReportSettings.class, - com.google.analytics.data.v1beta.CohortReportSettings.Builder.class); + com.google.analytics.data.v1beta.CohortReportSettings.class, com.google.analytics.data.v1beta.CohortReportSettings.Builder.class); } public static final int ACCUMULATE_FIELD_NUMBER = 1; private boolean accumulate_; /** - * - * *
    * If true, accumulates the result from first touch day to the end day. Not
    * supported in `RunReportRequest`.
    * 
* * bool accumulate = 1; - * * @return The accumulate. */ @java.lang.Override @@ -127,7 +106,6 @@ public boolean getAccumulate() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (accumulate_ != false) { output.writeBool(1, accumulate_); } @@ -153,7 +132,8 @@ public int getSerializedSize() { size = 0; if (accumulate_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, accumulate_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, accumulate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -163,15 +143,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.analytics.data.v1beta.CohortReportSettings)) { return super.equals(obj); } - com.google.analytics.data.v1beta.CohortReportSettings other = - (com.google.analytics.data.v1beta.CohortReportSettings) obj; + com.google.analytics.data.v1beta.CohortReportSettings other = (com.google.analytics.data.v1beta.CohortReportSettings) obj; - if (getAccumulate() != other.getAccumulate()) return false; + if (getAccumulate() + != other.getAccumulate()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,134 +164,125 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACCUMULATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAccumulate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAccumulate()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.CohortReportSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.CohortReportSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.CohortReportSettings prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.CohortReportSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Optional settings of a cohort report.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.CohortReportSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.CohortReportSettings) com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.CohortReportSettings.class, - com.google.analytics.data.v1beta.CohortReportSettings.Builder.class); + com.google.analytics.data.v1beta.CohortReportSettings.class, com.google.analytics.data.v1beta.CohortReportSettings.Builder.class); } // Construct using com.google.analytics.data.v1beta.CohortReportSettings.newBuilder() @@ -319,15 +290,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(); @@ -337,9 +309,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; } @java.lang.Override @@ -358,8 +330,7 @@ public com.google.analytics.data.v1beta.CohortReportSettings build() { @java.lang.Override public com.google.analytics.data.v1beta.CohortReportSettings buildPartial() { - com.google.analytics.data.v1beta.CohortReportSettings result = - new com.google.analytics.data.v1beta.CohortReportSettings(this); + com.google.analytics.data.v1beta.CohortReportSettings result = new com.google.analytics.data.v1beta.CohortReportSettings(this); result.accumulate_ = accumulate_; onBuilt(); return result; @@ -369,39 +340,38 @@ public com.google.analytics.data.v1beta.CohortReportSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.CohortReportSettings) { - return mergeFrom((com.google.analytics.data.v1beta.CohortReportSettings) other); + return mergeFrom((com.google.analytics.data.v1beta.CohortReportSettings)other); } else { super.mergeFrom(other); return this; @@ -409,8 +379,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.CohortReportSettings other) { - if (other == com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance()) return this; if (other.getAccumulate() != false) { setAccumulate(other.getAccumulate()); } @@ -433,8 +402,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.CohortReportSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.CohortReportSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -444,17 +412,14 @@ public Builder mergeFrom( return this; } - private boolean accumulate_; + private boolean accumulate_ ; /** - * - * *
      * If true, accumulates the result from first touch day to the end day. Not
      * supported in `RunReportRequest`.
      * 
* * bool accumulate = 1; - * * @return The accumulate. */ @java.lang.Override @@ -462,45 +427,39 @@ public boolean getAccumulate() { return accumulate_; } /** - * - * *
      * If true, accumulates the result from first touch day to the end day. Not
      * supported in `RunReportRequest`.
      * 
* * bool accumulate = 1; - * * @param value The accumulate to set. * @return This builder for chaining. */ public Builder setAccumulate(boolean value) { - + accumulate_ = value; onChanged(); return this; } /** - * - * *
      * If true, accumulates the result from first touch day to the end day. Not
      * supported in `RunReportRequest`.
      * 
* * bool accumulate = 1; - * * @return This builder for chaining. */ public Builder clearAccumulate() { - + accumulate_ = 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); } @@ -510,12 +469,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.CohortReportSettings) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.CohortReportSettings) private static final com.google.analytics.data.v1beta.CohortReportSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.CohortReportSettings(); } @@ -524,16 +483,16 @@ public static com.google.analytics.data.v1beta.CohortReportSettings getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CohortReportSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CohortReportSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CohortReportSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CohortReportSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -548,4 +507,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.CohortReportSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java new file mode 100644 index 00000000..e557dc35 --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public interface CohortReportSettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CohortReportSettings) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * If true, accumulates the result from first touch day to the end day. Not
+   * supported in `RunReportRequest`.
+   * 
+ * + * bool accumulate = 1; + * @return The accumulate. + */ + boolean getAccumulate(); +} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java similarity index 76% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java index 85ac27e7..179bc6a0 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The specification of cohorts for a cohort report.
  * Cohort reports create a time series of user retention for the cohort. For
@@ -39,31 +22,31 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.CohortSpec}
  */
-public final class CohortSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CohortSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.CohortSpec)
     CohortSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CohortSpec.newBuilder() to construct.
   private CohortSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CohortSpec() {
     cohorts_ = 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 CohortSpec();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CohortSpec(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -83,63 +66,55 @@ private CohortSpec(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                cohorts_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              cohorts_.add(
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.Cohort.parser(), extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              cohorts_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              com.google.analytics.data.v1beta.CohortsRange.Builder subBuilder = null;
-              if (cohortsRange_ != null) {
-                subBuilder = cohortsRange_.toBuilder();
-              }
-              cohortsRange_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.CohortsRange.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(cohortsRange_);
-                cohortsRange_ = subBuilder.buildPartial();
-              }
-
-              break;
+            cohorts_.add(
+                input.readMessage(com.google.analytics.data.v1beta.Cohort.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            com.google.analytics.data.v1beta.CohortsRange.Builder subBuilder = null;
+            if (cohortsRange_ != null) {
+              subBuilder = cohortsRange_.toBuilder();
+            }
+            cohortsRange_ = input.readMessage(com.google.analytics.data.v1beta.CohortsRange.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(cohortsRange_);
+              cohortsRange_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.analytics.data.v1beta.CohortReportSettings.Builder subBuilder = null;
-              if (cohortReportSettings_ != null) {
-                subBuilder = cohortReportSettings_.toBuilder();
-              }
-              cohortReportSettings_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.CohortReportSettings.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(cohortReportSettings_);
-                cohortReportSettings_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.analytics.data.v1beta.CohortReportSettings.Builder subBuilder = null;
+            if (cohortReportSettings_ != null) {
+              subBuilder = cohortReportSettings_.toBuilder();
+            }
+            cohortReportSettings_ = input.readMessage(com.google.analytics.data.v1beta.CohortReportSettings.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(cohortReportSettings_);
+              cohortReportSettings_ = 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)) {
         cohorts_ = java.util.Collections.unmodifiableList(cohorts_);
@@ -148,27 +123,22 @@ private CohortSpec(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.CohortSpec.class,
-            com.google.analytics.data.v1beta.CohortSpec.Builder.class);
+            com.google.analytics.data.v1beta.CohortSpec.class, com.google.analytics.data.v1beta.CohortSpec.Builder.class);
   }
 
   public static final int COHORTS_FIELD_NUMBER = 1;
   private java.util.List cohorts_;
   /**
-   *
-   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -182,8 +152,6 @@ public java.util.List getCohortsList()
     return cohorts_;
   }
   /**
-   *
-   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -193,13 +161,11 @@ public java.util.List getCohortsList()
    * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCohortsOrBuilderList() {
     return cohorts_;
   }
   /**
-   *
-   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -213,8 +179,6 @@ public int getCohortsCount() {
     return cohorts_.size();
   }
   /**
-   *
-   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -228,8 +192,6 @@ public com.google.analytics.data.v1beta.Cohort getCohorts(int index) {
     return cohorts_.get(index);
   }
   /**
-   *
-   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -239,22 +201,20 @@ public com.google.analytics.data.v1beta.Cohort getCohorts(int index) {
    * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(int index) {
+  public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(
+      int index) {
     return cohorts_.get(index);
   }
 
   public static final int COHORTS_RANGE_FIELD_NUMBER = 2;
   private com.google.analytics.data.v1beta.CohortsRange cohortsRange_;
   /**
-   *
-   *
    * 
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
    * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; - * * @return Whether the cohortsRange field is set. */ @java.lang.Override @@ -262,26 +222,19 @@ public boolean hasCohortsRange() { return cohortsRange_ != null; } /** - * - * *
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
    * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; - * * @return The cohortsRange. */ @java.lang.Override public com.google.analytics.data.v1beta.CohortsRange getCohortsRange() { - return cohortsRange_ == null - ? com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance() - : cohortsRange_; + return cohortsRange_ == null ? com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance() : cohortsRange_; } /** - * - * *
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
@@ -297,14 +250,11 @@ public com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrB
   public static final int COHORT_REPORT_SETTINGS_FIELD_NUMBER = 3;
   private com.google.analytics.data.v1beta.CohortReportSettings cohortReportSettings_;
   /**
-   *
-   *
    * 
    * Optional settings for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; - * * @return Whether the cohortReportSettings field is set. */ @java.lang.Override @@ -312,25 +262,18 @@ public boolean hasCohortReportSettings() { return cohortReportSettings_ != null; } /** - * - * *
    * Optional settings for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; - * * @return The cohortReportSettings. */ @java.lang.Override public com.google.analytics.data.v1beta.CohortReportSettings getCohortReportSettings() { - return cohortReportSettings_ == null - ? com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() - : cohortReportSettings_; + return cohortReportSettings_ == null ? com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() : cohortReportSettings_; } /** - * - * *
    * Optional settings for a cohort report.
    * 
@@ -338,13 +281,11 @@ public com.google.analytics.data.v1beta.CohortReportSettings getCohortReportSett * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder - getCohortReportSettingsOrBuilder() { + public com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder getCohortReportSettingsOrBuilder() { return getCohortReportSettings(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -356,7 +297,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < cohorts_.size(); i++) { output.writeMessage(1, cohorts_.get(i)); } @@ -376,14 +318,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < cohorts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, cohorts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, cohorts_.get(i)); } if (cohortsRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCohortsRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCohortsRange()); } if (cohortReportSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCohortReportSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCohortReportSettings()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -393,22 +337,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.analytics.data.v1beta.CohortSpec)) { return super.equals(obj); } - com.google.analytics.data.v1beta.CohortSpec other = - (com.google.analytics.data.v1beta.CohortSpec) obj; + com.google.analytics.data.v1beta.CohortSpec other = (com.google.analytics.data.v1beta.CohortSpec) obj; - if (!getCohortsList().equals(other.getCohortsList())) return false; + if (!getCohortsList() + .equals(other.getCohortsList())) return false; if (hasCohortsRange() != other.hasCohortsRange()) return false; if (hasCohortsRange()) { - if (!getCohortsRange().equals(other.getCohortsRange())) return false; + if (!getCohortsRange() + .equals(other.getCohortsRange())) return false; } if (hasCohortReportSettings() != other.hasCohortReportSettings()) return false; if (hasCohortReportSettings()) { - if (!getCohortReportSettings().equals(other.getCohortReportSettings())) return false; + if (!getCohortReportSettings() + .equals(other.getCohortReportSettings())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -438,104 +384,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.CohortSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.CohortSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.CohortSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.CohortSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.CohortSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortSpec 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.analytics.data.v1beta.CohortSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.CohortSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.CohortSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.CohortSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.CohortSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.CohortSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 specification of cohorts for a cohort report.
    * Cohort reports create a time series of user retention for the cohort. For
@@ -554,23 +493,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.CohortSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.CohortSpec)
       com.google.analytics.data.v1beta.CohortSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.CohortSpec.class,
-              com.google.analytics.data.v1beta.CohortSpec.Builder.class);
+              com.google.analytics.data.v1beta.CohortSpec.class, com.google.analytics.data.v1beta.CohortSpec.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.CohortSpec.newBuilder()
@@ -578,17 +515,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) {
         getCohortsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -614,9 +551,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
     }
 
     @java.lang.Override
@@ -635,8 +572,7 @@ public com.google.analytics.data.v1beta.CohortSpec build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.CohortSpec buildPartial() {
-      com.google.analytics.data.v1beta.CohortSpec result =
-          new com.google.analytics.data.v1beta.CohortSpec(this);
+      com.google.analytics.data.v1beta.CohortSpec result = new com.google.analytics.data.v1beta.CohortSpec(this);
       int from_bitField0_ = bitField0_;
       if (cohortsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -665,39 +601,38 @@ public com.google.analytics.data.v1beta.CohortSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.CohortSpec) {
-        return mergeFrom((com.google.analytics.data.v1beta.CohortSpec) other);
+        return mergeFrom((com.google.analytics.data.v1beta.CohortSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -724,10 +659,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.CohortSpec other) {
             cohortsBuilder_ = null;
             cohorts_ = other.cohorts_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cohortsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCohortsFieldBuilder()
-                    : null;
+            cohortsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCohortsFieldBuilder() : null;
           } else {
             cohortsBuilder_.addAllMessages(other.cohorts_);
           }
@@ -767,28 +701,21 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List cohorts_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureCohortsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         cohorts_ = new java.util.ArrayList(cohorts_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Cohort,
-            com.google.analytics.data.v1beta.Cohort.Builder,
-            com.google.analytics.data.v1beta.CohortOrBuilder>
-        cohortsBuilder_;
+        com.google.analytics.data.v1beta.Cohort, com.google.analytics.data.v1beta.Cohort.Builder, com.google.analytics.data.v1beta.CohortOrBuilder> cohortsBuilder_;
 
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -805,8 +732,6 @@ public java.util.List getCohortsList()
       }
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -823,8 +748,6 @@ public int getCohortsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -841,8 +764,6 @@ public com.google.analytics.data.v1beta.Cohort getCohorts(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -851,7 +772,8 @@ public com.google.analytics.data.v1beta.Cohort getCohorts(int index) {
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public Builder setCohorts(int index, com.google.analytics.data.v1beta.Cohort value) {
+    public Builder setCohorts(
+        int index, com.google.analytics.data.v1beta.Cohort value) {
       if (cohortsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -865,8 +787,6 @@ public Builder setCohorts(int index, com.google.analytics.data.v1beta.Cohort val
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -887,8 +807,6 @@ public Builder setCohorts(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -911,8 +829,6 @@ public Builder addCohorts(com.google.analytics.data.v1beta.Cohort value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -921,7 +837,8 @@ public Builder addCohorts(com.google.analytics.data.v1beta.Cohort value) {
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public Builder addCohorts(int index, com.google.analytics.data.v1beta.Cohort value) {
+    public Builder addCohorts(
+        int index, com.google.analytics.data.v1beta.Cohort value) {
       if (cohortsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -935,8 +852,6 @@ public Builder addCohorts(int index, com.google.analytics.data.v1beta.Cohort val
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -945,7 +860,8 @@ public Builder addCohorts(int index, com.google.analytics.data.v1beta.Cohort val
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public Builder addCohorts(com.google.analytics.data.v1beta.Cohort.Builder builderForValue) {
+    public Builder addCohorts(
+        com.google.analytics.data.v1beta.Cohort.Builder builderForValue) {
       if (cohortsBuilder_ == null) {
         ensureCohortsIsMutable();
         cohorts_.add(builderForValue.build());
@@ -956,8 +872,6 @@ public Builder addCohorts(com.google.analytics.data.v1beta.Cohort.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -978,8 +892,6 @@ public Builder addCohorts(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -992,7 +904,8 @@ public Builder addAllCohorts(
         java.lang.Iterable values) {
       if (cohortsBuilder_ == null) {
         ensureCohortsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cohorts_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, cohorts_);
         onChanged();
       } else {
         cohortsBuilder_.addAllMessages(values);
@@ -1000,8 +913,6 @@ public Builder addAllCohorts(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1021,8 +932,6 @@ public Builder clearCohorts() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1042,8 +951,6 @@ public Builder removeCohorts(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1052,12 +959,11 @@ public Builder removeCohorts(int index) {
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public com.google.analytics.data.v1beta.Cohort.Builder getCohortsBuilder(int index) {
+    public com.google.analytics.data.v1beta.Cohort.Builder getCohortsBuilder(
+        int index) {
       return getCohortsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1066,16 +972,14 @@ public com.google.analytics.data.v1beta.Cohort.Builder getCohortsBuilder(int ind
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(int index) {
+    public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(
+        int index) {
       if (cohortsBuilder_ == null) {
-        return cohorts_.get(index);
-      } else {
+        return cohorts_.get(index);  } else {
         return cohortsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1084,8 +988,8 @@ public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(int
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public java.util.List
-        getCohortsOrBuilderList() {
+    public java.util.List 
+         getCohortsOrBuilderList() {
       if (cohortsBuilder_ != null) {
         return cohortsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1093,8 +997,6 @@ public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1104,12 +1006,10 @@ public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(int
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
     public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder() {
-      return getCohortsFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.Cohort.getDefaultInstance());
+      return getCohortsFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.Cohort.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1118,13 +1018,12 @@ public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder() {
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder(int index) {
-      return getCohortsFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.Cohort.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder(
+        int index) {
+      return getCohortsFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.Cohort.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1133,22 +1032,20 @@ public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder(int ind
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public java.util.List getCohortsBuilderList() {
+    public java.util.List 
+         getCohortsBuilderList() {
       return getCohortsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Cohort,
-            com.google.analytics.data.v1beta.Cohort.Builder,
-            com.google.analytics.data.v1beta.CohortOrBuilder>
+        com.google.analytics.data.v1beta.Cohort, com.google.analytics.data.v1beta.Cohort.Builder, com.google.analytics.data.v1beta.CohortOrBuilder> 
         getCohortsFieldBuilder() {
       if (cohortsBuilder_ == null) {
-        cohortsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.Cohort,
-                com.google.analytics.data.v1beta.Cohort.Builder,
-                com.google.analytics.data.v1beta.CohortOrBuilder>(
-                cohorts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        cohortsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.Cohort, com.google.analytics.data.v1beta.Cohort.Builder, com.google.analytics.data.v1beta.CohortOrBuilder>(
+                cohorts_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         cohorts_ = null;
       }
       return cohortsBuilder_;
@@ -1156,49 +1053,36 @@ public java.util.List getCohort
 
     private com.google.analytics.data.v1beta.CohortsRange cohortsRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.CohortsRange,
-            com.google.analytics.data.v1beta.CohortsRange.Builder,
-            com.google.analytics.data.v1beta.CohortsRangeOrBuilder>
-        cohortsRangeBuilder_;
+        com.google.analytics.data.v1beta.CohortsRange, com.google.analytics.data.v1beta.CohortsRange.Builder, com.google.analytics.data.v1beta.CohortsRangeOrBuilder> cohortsRangeBuilder_;
     /**
-     *
-     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
      * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; - * * @return Whether the cohortsRange field is set. */ public boolean hasCohortsRange() { return cohortsRangeBuilder_ != null || cohortsRange_ != null; } /** - * - * *
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
      * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; - * * @return The cohortsRange. */ public com.google.analytics.data.v1beta.CohortsRange getCohortsRange() { if (cohortsRangeBuilder_ == null) { - return cohortsRange_ == null - ? com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance() - : cohortsRange_; + return cohortsRange_ == null ? com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance() : cohortsRange_; } else { return cohortsRangeBuilder_.getMessage(); } } /** - * - * *
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1220,8 +1104,6 @@ public Builder setCohortsRange(com.google.analytics.data.v1beta.CohortsRange val
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1241,8 +1123,6 @@ public Builder setCohortsRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1254,9 +1134,7 @@ public Builder mergeCohortsRange(com.google.analytics.data.v1beta.CohortsRange v
       if (cohortsRangeBuilder_ == null) {
         if (cohortsRange_ != null) {
           cohortsRange_ =
-              com.google.analytics.data.v1beta.CohortsRange.newBuilder(cohortsRange_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.CohortsRange.newBuilder(cohortsRange_).mergeFrom(value).buildPartial();
         } else {
           cohortsRange_ = value;
         }
@@ -1268,8 +1146,6 @@ public Builder mergeCohortsRange(com.google.analytics.data.v1beta.CohortsRange v
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1289,8 +1165,6 @@ public Builder clearCohortsRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1299,13 +1173,11 @@ public Builder clearCohortsRange() {
      * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2;
      */
     public com.google.analytics.data.v1beta.CohortsRange.Builder getCohortsRangeBuilder() {
-
+      
       onChanged();
       return getCohortsRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1317,14 +1189,11 @@ public com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrB
       if (cohortsRangeBuilder_ != null) {
         return cohortsRangeBuilder_.getMessageOrBuilder();
       } else {
-        return cohortsRange_ == null
-            ? com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance()
-            : cohortsRange_;
+        return cohortsRange_ == null ?
+            com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance() : cohortsRange_;
       }
     }
     /**
-     *
-     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1333,17 +1202,14 @@ public com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrB
      * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.CohortsRange,
-            com.google.analytics.data.v1beta.CohortsRange.Builder,
-            com.google.analytics.data.v1beta.CohortsRangeOrBuilder>
+        com.google.analytics.data.v1beta.CohortsRange, com.google.analytics.data.v1beta.CohortsRange.Builder, com.google.analytics.data.v1beta.CohortsRangeOrBuilder> 
         getCohortsRangeFieldBuilder() {
       if (cohortsRangeBuilder_ == null) {
-        cohortsRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.CohortsRange,
-                com.google.analytics.data.v1beta.CohortsRange.Builder,
-                com.google.analytics.data.v1beta.CohortsRangeOrBuilder>(
-                getCohortsRange(), getParentForChildren(), isClean());
+        cohortsRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.CohortsRange, com.google.analytics.data.v1beta.CohortsRange.Builder, com.google.analytics.data.v1beta.CohortsRangeOrBuilder>(
+                getCohortsRange(),
+                getParentForChildren(),
+                isClean());
         cohortsRange_ = null;
       }
       return cohortsRangeBuilder_;
@@ -1351,55 +1217,41 @@ public com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrB
 
     private com.google.analytics.data.v1beta.CohortReportSettings cohortReportSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.CohortReportSettings,
-            com.google.analytics.data.v1beta.CohortReportSettings.Builder,
-            com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder>
-        cohortReportSettingsBuilder_;
+        com.google.analytics.data.v1beta.CohortReportSettings, com.google.analytics.data.v1beta.CohortReportSettings.Builder, com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder> cohortReportSettingsBuilder_;
     /**
-     *
-     *
      * 
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; - * * @return Whether the cohortReportSettings field is set. */ public boolean hasCohortReportSettings() { return cohortReportSettingsBuilder_ != null || cohortReportSettings_ != null; } /** - * - * *
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; - * * @return The cohortReportSettings. */ public com.google.analytics.data.v1beta.CohortReportSettings getCohortReportSettings() { if (cohortReportSettingsBuilder_ == null) { - return cohortReportSettings_ == null - ? com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() - : cohortReportSettings_; + return cohortReportSettings_ == null ? com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() : cohortReportSettings_; } else { return cohortReportSettingsBuilder_.getMessage(); } } /** - * - * *
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ - public Builder setCohortReportSettings( - com.google.analytics.data.v1beta.CohortReportSettings value) { + public Builder setCohortReportSettings(com.google.analytics.data.v1beta.CohortReportSettings value) { if (cohortReportSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1413,8 +1265,6 @@ public Builder setCohortReportSettings( return this; } /** - * - * *
      * Optional settings for a cohort report.
      * 
@@ -1433,23 +1283,17 @@ public Builder setCohortReportSettings( return this; } /** - * - * *
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ - public Builder mergeCohortReportSettings( - com.google.analytics.data.v1beta.CohortReportSettings value) { + public Builder mergeCohortReportSettings(com.google.analytics.data.v1beta.CohortReportSettings value) { if (cohortReportSettingsBuilder_ == null) { if (cohortReportSettings_ != null) { cohortReportSettings_ = - com.google.analytics.data.v1beta.CohortReportSettings.newBuilder( - cohortReportSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.CohortReportSettings.newBuilder(cohortReportSettings_).mergeFrom(value).buildPartial(); } else { cohortReportSettings_ = value; } @@ -1461,8 +1305,6 @@ public Builder mergeCohortReportSettings( return this; } /** - * - * *
      * Optional settings for a cohort report.
      * 
@@ -1481,42 +1323,33 @@ public Builder clearCohortReportSettings() { return this; } /** - * - * *
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ - public com.google.analytics.data.v1beta.CohortReportSettings.Builder - getCohortReportSettingsBuilder() { - + public com.google.analytics.data.v1beta.CohortReportSettings.Builder getCohortReportSettingsBuilder() { + onChanged(); return getCohortReportSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ - public com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder - getCohortReportSettingsOrBuilder() { + public com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder getCohortReportSettingsOrBuilder() { if (cohortReportSettingsBuilder_ != null) { return cohortReportSettingsBuilder_.getMessageOrBuilder(); } else { - return cohortReportSettings_ == null - ? com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() - : cohortReportSettings_; + return cohortReportSettings_ == null ? + com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() : cohortReportSettings_; } } /** - * - * *
      * Optional settings for a cohort report.
      * 
@@ -1524,24 +1357,21 @@ public Builder clearCohortReportSettings() { * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.CohortReportSettings, - com.google.analytics.data.v1beta.CohortReportSettings.Builder, - com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder> + com.google.analytics.data.v1beta.CohortReportSettings, com.google.analytics.data.v1beta.CohortReportSettings.Builder, com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder> getCohortReportSettingsFieldBuilder() { if (cohortReportSettingsBuilder_ == null) { - cohortReportSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.CohortReportSettings, - com.google.analytics.data.v1beta.CohortReportSettings.Builder, - com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder>( - getCohortReportSettings(), getParentForChildren(), isClean()); + cohortReportSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.CohortReportSettings, com.google.analytics.data.v1beta.CohortReportSettings.Builder, com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder>( + getCohortReportSettings(), + getParentForChildren(), + isClean()); cohortReportSettings_ = null; } return cohortReportSettingsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1551,12 +1381,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.CohortSpec) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.CohortSpec) private static final com.google.analytics.data.v1beta.CohortSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.CohortSpec(); } @@ -1565,16 +1395,16 @@ public static com.google.analytics.data.v1beta.CohortSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CohortSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CohortSpec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CohortSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CohortSpec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1589,4 +1419,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.CohortSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java similarity index 82% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java index c06e217d..d45bbdb5 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface CohortSpecOrBuilder - extends +public interface CohortSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CohortSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -34,10 +16,9 @@ public interface CohortSpecOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
    */
-  java.util.List getCohortsList();
+  java.util.List 
+      getCohortsList();
   /**
-   *
-   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -48,8 +29,6 @@ public interface CohortSpecOrBuilder
    */
   com.google.analytics.data.v1beta.Cohort getCohorts(int index);
   /**
-   *
-   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -60,8 +39,6 @@ public interface CohortSpecOrBuilder
    */
   int getCohortsCount();
   /**
-   *
-   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -70,11 +47,9 @@ public interface CohortSpecOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
    */
-  java.util.List
+  java.util.List 
       getCohortsOrBuilderList();
   /**
-   *
-   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -83,37 +58,30 @@ public interface CohortSpecOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
    */
-  com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(int index);
+  com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
    * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; - * * @return Whether the cohortsRange field is set. */ boolean hasCohortsRange(); /** - * - * *
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
    * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; - * * @return The cohortsRange. */ com.google.analytics.data.v1beta.CohortsRange getCohortsRange(); /** - * - * *
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
@@ -124,32 +92,24 @@ public interface CohortSpecOrBuilder
   com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional settings for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; - * * @return Whether the cohortReportSettings field is set. */ boolean hasCohortReportSettings(); /** - * - * *
    * Optional settings for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; - * * @return The cohortReportSettings. */ com.google.analytics.data.v1beta.CohortReportSettings getCohortReportSettings(); /** - * - * *
    * Optional settings for a cohort report.
    * 
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java similarity index 76% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java index 89faa7b5..f37d97bd 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Configures the extended reporting date range for a cohort report. Specifies
  * an offset duration to follow the cohorts over.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.CohortsRange}
  */
-public final class CohortsRange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CohortsRange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.CohortsRange)
     CohortsRangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CohortsRange.newBuilder() to construct.
   private CohortsRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CohortsRange() {
     granularity_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CohortsRange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CohortsRange(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,60 +54,55 @@ private CohortsRange(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              granularity_ = rawValue;
-              break;
-            }
-          case 16:
-            {
-              startOffset_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              endOffset_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            granularity_ = rawValue;
+            break;
+          }
+          case 16: {
+
+            startOffset_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            endOffset_ = 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.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.CohortsRange.class,
-            com.google.analytics.data.v1beta.CohortsRange.Builder.class);
+            com.google.analytics.data.v1beta.CohortsRange.class, com.google.analytics.data.v1beta.CohortsRange.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The granularity used to interpret the `startOffset` and `endOffset` for the
    * extended reporting date range for a cohort report.
@@ -132,10 +110,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.analytics.data.v1beta.CohortsRange.Granularity}
    */
-  public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Granularity
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Should never be specified.
      * 
@@ -144,8 +121,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { */ GRANULARITY_UNSPECIFIED(0), /** - * - * *
      * Daily granularity. Commonly used if the cohort's `dateRange` is a single
      * day and the request contains `cohortNthDay`.
@@ -155,8 +130,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
      */
     DAILY(1),
     /**
-     *
-     *
      * 
      * Weekly granularity. Commonly used if the cohort's `dateRange` is a week
      * in duration (starting on Sunday and ending on Saturday) and the request
@@ -167,8 +140,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
      */
     WEEKLY(2),
     /**
-     *
-     *
      * 
      * Monthly granularity. Commonly used if the cohort's `dateRange` is a month
      * in duration and the request contains `cohortNthMonth`.
@@ -181,8 +152,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Should never be specified.
      * 
@@ -191,8 +160,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GRANULARITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Daily granularity. Commonly used if the cohort's `dateRange` is a single
      * day and the request contains `cohortNthDay`.
@@ -202,8 +169,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DAILY_VALUE = 1;
     /**
-     *
-     *
      * 
      * Weekly granularity. Commonly used if the cohort's `dateRange` is a week
      * in duration (starting on Sunday and ending on Saturday) and the request
@@ -214,8 +179,6 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int WEEKLY_VALUE = 2;
     /**
-     *
-     *
      * 
      * Monthly granularity. Commonly used if the cohort's `dateRange` is a month
      * in duration and the request contains `cohortNthMonth`.
@@ -225,6 +188,7 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MONTHLY_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -249,51 +213,50 @@ public static Granularity valueOf(int value) {
      */
     public static Granularity forNumber(int value) {
       switch (value) {
-        case 0:
-          return GRANULARITY_UNSPECIFIED;
-        case 1:
-          return DAILY;
-        case 2:
-          return WEEKLY;
-        case 3:
-          return MONTHLY;
-        default:
-          return null;
+        case 0: return GRANULARITY_UNSPECIFIED;
+        case 1: return DAILY;
+        case 2: return WEEKLY;
+        case 3: return MONTHLY;
+        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<
+        Granularity> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Granularity findValueByNumber(int number) {
+              return Granularity.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Granularity findValueByNumber(int number) {
-            return Granularity.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.analytics.data.v1beta.CohortsRange.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Granularity[] VALUES = values();
 
-    public static Granularity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Granularity 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;
@@ -313,48 +276,35 @@ private Granularity(int value) {
   public static final int GRANULARITY_FIELD_NUMBER = 1;
   private int granularity_;
   /**
-   *
-   *
    * 
    * Required. The granularity used to interpret the `startOffset` and
    * `endOffset` for the extended reporting date range for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; - * * @return The enum numeric value on the wire for granularity. */ - @java.lang.Override - public int getGranularityValue() { + @java.lang.Override public int getGranularityValue() { return granularity_; } /** - * - * *
    * Required. The granularity used to interpret the `startOffset` and
    * `endOffset` for the extended reporting date range for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; - * * @return The granularity. */ - @java.lang.Override - public com.google.analytics.data.v1beta.CohortsRange.Granularity getGranularity() { + @java.lang.Override public com.google.analytics.data.v1beta.CohortsRange.Granularity getGranularity() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.CohortsRange.Granularity result = - com.google.analytics.data.v1beta.CohortsRange.Granularity.valueOf(granularity_); - return result == null - ? com.google.analytics.data.v1beta.CohortsRange.Granularity.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.CohortsRange.Granularity result = com.google.analytics.data.v1beta.CohortsRange.Granularity.valueOf(granularity_); + return result == null ? com.google.analytics.data.v1beta.CohortsRange.Granularity.UNRECOGNIZED : result; } public static final int START_OFFSET_FIELD_NUMBER = 2; private int startOffset_; /** - * - * *
    * `startOffset` specifies the start date of the extended reporting date range
    * for a cohort report. `startOffset` is commonly set to 0 so that reports
@@ -368,7 +318,6 @@ public com.google.analytics.data.v1beta.CohortsRange.Granularity getGranularity(
    * 
* * int32 start_offset = 2; - * * @return The startOffset. */ @java.lang.Override @@ -379,8 +328,6 @@ public int getStartOffset() { public static final int END_OFFSET_FIELD_NUMBER = 3; private int endOffset_; /** - * - * *
    * Required. `endOffset` specifies the end date of the extended reporting date
    * range for a cohort report. `endOffset` can be any positive integer but is
@@ -395,7 +342,6 @@ public int getStartOffset() {
    * 
* * int32 end_offset = 3; - * * @return The endOffset. */ @java.lang.Override @@ -404,7 +350,6 @@ public int getEndOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -416,10 +361,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (granularity_ - != com.google.analytics.data.v1beta.CohortsRange.Granularity.GRANULARITY_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (granularity_ != com.google.analytics.data.v1beta.CohortsRange.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { output.writeEnum(1, granularity_); } if (startOffset_ != 0) { @@ -437,16 +381,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (granularity_ - != com.google.analytics.data.v1beta.CohortsRange.Granularity.GRANULARITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, granularity_); + if (granularity_ != com.google.analytics.data.v1beta.CohortsRange.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, granularity_); } if (startOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, startOffset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, startOffset_); } if (endOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, endOffset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, endOffset_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -456,17 +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.analytics.data.v1beta.CohortsRange)) { return super.equals(obj); } - com.google.analytics.data.v1beta.CohortsRange other = - (com.google.analytics.data.v1beta.CohortsRange) obj; + com.google.analytics.data.v1beta.CohortsRange other = (com.google.analytics.data.v1beta.CohortsRange) obj; if (granularity_ != other.granularity_) return false; - if (getStartOffset() != other.getStartOffset()) return false; - if (getEndOffset() != other.getEndOffset()) return false; + if (getStartOffset() + != other.getStartOffset()) return false; + if (getEndOffset() + != other.getEndOffset()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -489,104 +435,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.CohortsRange parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.CohortsRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.CohortsRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortsRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.CohortsRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortsRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.CohortsRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortsRange 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.analytics.data.v1beta.CohortsRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.CohortsRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.CohortsRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.CohortsRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortsRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.CohortsRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.CohortsRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configures the extended reporting date range for a cohort report. Specifies
    * an offset duration to follow the cohorts over.
@@ -594,23 +533,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.CohortsRange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.CohortsRange)
       com.google.analytics.data.v1beta.CohortsRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.CohortsRange.class,
-              com.google.analytics.data.v1beta.CohortsRange.Builder.class);
+              com.google.analytics.data.v1beta.CohortsRange.class, com.google.analytics.data.v1beta.CohortsRange.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.CohortsRange.newBuilder()
@@ -618,15 +555,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();
@@ -640,9 +578,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
     }
 
     @java.lang.Override
@@ -661,8 +599,7 @@ public com.google.analytics.data.v1beta.CohortsRange build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.CohortsRange buildPartial() {
-      com.google.analytics.data.v1beta.CohortsRange result =
-          new com.google.analytics.data.v1beta.CohortsRange(this);
+      com.google.analytics.data.v1beta.CohortsRange result = new com.google.analytics.data.v1beta.CohortsRange(this);
       result.granularity_ = granularity_;
       result.startOffset_ = startOffset_;
       result.endOffset_ = endOffset_;
@@ -674,39 +611,38 @@ public com.google.analytics.data.v1beta.CohortsRange buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.CohortsRange) {
-        return mergeFrom((com.google.analytics.data.v1beta.CohortsRange) other);
+        return mergeFrom((com.google.analytics.data.v1beta.CohortsRange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -755,71 +691,55 @@ public Builder mergeFrom(
 
     private int granularity_ = 0;
     /**
-     *
-     *
      * 
      * Required. The granularity used to interpret the `startOffset` and
      * `endOffset` for the extended reporting date range for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; - * * @return The enum numeric value on the wire for granularity. */ - @java.lang.Override - public int getGranularityValue() { + @java.lang.Override public int getGranularityValue() { return granularity_; } /** - * - * *
      * Required. The granularity used to interpret the `startOffset` and
      * `endOffset` for the extended reporting date range for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; - * * @param value The enum numeric value on the wire for granularity to set. * @return This builder for chaining. */ public Builder setGranularityValue(int value) { - + granularity_ = value; onChanged(); return this; } /** - * - * *
      * Required. The granularity used to interpret the `startOffset` and
      * `endOffset` for the extended reporting date range for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; - * * @return The granularity. */ @java.lang.Override public com.google.analytics.data.v1beta.CohortsRange.Granularity getGranularity() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.CohortsRange.Granularity result = - com.google.analytics.data.v1beta.CohortsRange.Granularity.valueOf(granularity_); - return result == null - ? com.google.analytics.data.v1beta.CohortsRange.Granularity.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.CohortsRange.Granularity result = com.google.analytics.data.v1beta.CohortsRange.Granularity.valueOf(granularity_); + return result == null ? com.google.analytics.data.v1beta.CohortsRange.Granularity.UNRECOGNIZED : result; } /** - * - * *
      * Required. The granularity used to interpret the `startOffset` and
      * `endOffset` for the extended reporting date range for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; - * * @param value The granularity to set. * @return This builder for chaining. */ @@ -827,34 +747,29 @@ public Builder setGranularity(com.google.analytics.data.v1beta.CohortsRange.Gran if (value == null) { throw new NullPointerException(); } - + granularity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The granularity used to interpret the `startOffset` and
      * `endOffset` for the extended reporting date range for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; - * * @return This builder for chaining. */ public Builder clearGranularity() { - + granularity_ = 0; onChanged(); return this; } - private int startOffset_; + private int startOffset_ ; /** - * - * *
      * `startOffset` specifies the start date of the extended reporting date range
      * for a cohort report. `startOffset` is commonly set to 0 so that reports
@@ -868,7 +783,6 @@ public Builder clearGranularity() {
      * 
* * int32 start_offset = 2; - * * @return The startOffset. */ @java.lang.Override @@ -876,8 +790,6 @@ public int getStartOffset() { return startOffset_; } /** - * - * *
      * `startOffset` specifies the start date of the extended reporting date range
      * for a cohort report. `startOffset` is commonly set to 0 so that reports
@@ -891,19 +803,16 @@ public int getStartOffset() {
      * 
* * int32 start_offset = 2; - * * @param value The startOffset to set. * @return This builder for chaining. */ public Builder setStartOffset(int value) { - + startOffset_ = value; onChanged(); return this; } /** - * - * *
      * `startOffset` specifies the start date of the extended reporting date range
      * for a cohort report. `startOffset` is commonly set to 0 so that reports
@@ -917,20 +826,17 @@ public Builder setStartOffset(int value) {
      * 
* * int32 start_offset = 2; - * * @return This builder for chaining. */ public Builder clearStartOffset() { - + startOffset_ = 0; onChanged(); return this; } - private int endOffset_; + private int endOffset_ ; /** - * - * *
      * Required. `endOffset` specifies the end date of the extended reporting date
      * range for a cohort report. `endOffset` can be any positive integer but is
@@ -945,7 +851,6 @@ public Builder clearStartOffset() {
      * 
* * int32 end_offset = 3; - * * @return The endOffset. */ @java.lang.Override @@ -953,8 +858,6 @@ public int getEndOffset() { return endOffset_; } /** - * - * *
      * Required. `endOffset` specifies the end date of the extended reporting date
      * range for a cohort report. `endOffset` can be any positive integer but is
@@ -969,19 +872,16 @@ public int getEndOffset() {
      * 
* * int32 end_offset = 3; - * * @param value The endOffset to set. * @return This builder for chaining. */ public Builder setEndOffset(int value) { - + endOffset_ = value; onChanged(); return this; } /** - * - * *
      * Required. `endOffset` specifies the end date of the extended reporting date
      * range for a cohort report. `endOffset` can be any positive integer but is
@@ -996,18 +896,17 @@ public Builder setEndOffset(int value) {
      * 
* * int32 end_offset = 3; - * * @return This builder for chaining. */ public Builder clearEndOffset() { - + endOffset_ = 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); } @@ -1017,12 +916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.CohortsRange) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.CohortsRange) private static final com.google.analytics.data.v1beta.CohortsRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.CohortsRange(); } @@ -1031,16 +930,16 @@ public static com.google.analytics.data.v1beta.CohortsRange getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CohortsRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CohortsRange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CohortsRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CohortsRange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1055,4 +954,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.CohortsRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java similarity index 79% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java index 45e963a3..cd76b62d 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java @@ -1,58 +1,34 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface CohortsRangeOrBuilder - extends +public interface CohortsRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CohortsRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The granularity used to interpret the `startOffset` and
    * `endOffset` for the extended reporting date range for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; - * * @return The enum numeric value on the wire for granularity. */ int getGranularityValue(); /** - * - * *
    * Required. The granularity used to interpret the `startOffset` and
    * `endOffset` for the extended reporting date range for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; - * * @return The granularity. */ com.google.analytics.data.v1beta.CohortsRange.Granularity getGranularity(); /** - * - * *
    * `startOffset` specifies the start date of the extended reporting date range
    * for a cohort report. `startOffset` is commonly set to 0 so that reports
@@ -66,14 +42,11 @@ public interface CohortsRangeOrBuilder
    * 
* * int32 start_offset = 2; - * * @return The startOffset. */ int getStartOffset(); /** - * - * *
    * Required. `endOffset` specifies the end date of the extended reporting date
    * range for a cohort report. `endOffset` can be any positive integer but is
@@ -88,7 +61,6 @@ public interface CohortsRangeOrBuilder
    * 
* * int32 end_offset = 3; - * * @return The endOffset. */ int getEndOffset(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Compatibility.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Compatibility.java new file mode 100644 index 00000000..c2882047 --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Compatibility.java @@ -0,0 +1,154 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +/** + *
+ * The compatibility types for a single dimension or metric.
+ * 
+ * + * Protobuf enum {@code google.analytics.data.v1beta.Compatibility} + */ +public enum Compatibility + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+   * Unspecified compatibility.
+   * 
+ * + * COMPATIBILITY_UNSPECIFIED = 0; + */ + COMPATIBILITY_UNSPECIFIED(0), + /** + *
+   * The dimension or metric is compatible. This dimension or metric can be
+   * successfully added to a report.
+   * 
+ * + * COMPATIBLE = 1; + */ + COMPATIBLE(1), + /** + *
+   * The dimension or metric is incompatible. This dimension or metric cannot be
+   * successfully added to a report.
+   * 
+ * + * INCOMPATIBLE = 2; + */ + INCOMPATIBLE(2), + UNRECOGNIZED(-1), + ; + + /** + *
+   * Unspecified compatibility.
+   * 
+ * + * COMPATIBILITY_UNSPECIFIED = 0; + */ + public static final int COMPATIBILITY_UNSPECIFIED_VALUE = 0; + /** + *
+   * The dimension or metric is compatible. This dimension or metric can be
+   * successfully added to a report.
+   * 
+ * + * COMPATIBLE = 1; + */ + public static final int COMPATIBLE_VALUE = 1; + /** + *
+   * The dimension or metric is incompatible. This dimension or metric cannot be
+   * successfully added to a report.
+   * 
+ * + * INCOMPATIBLE = 2; + */ + public static final int INCOMPATIBLE_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Compatibility valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Compatibility forNumber(int value) { + switch (value) { + case 0: return COMPATIBILITY_UNSPECIFIED; + case 1: return COMPATIBLE; + case 2: return INCOMPATIBLE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + Compatibility> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Compatibility findValueByNumber(int number) { + return Compatibility.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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.getDescriptor().getEnumTypes().get(2); + } + + private static final Compatibility[] VALUES = values(); + + public static Compatibility valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Compatibility(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.analytics.data.v1beta.Compatibility) +} + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.java similarity index 74% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.java index 09368707..792f767a 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests
  * are allowed up to 4 date ranges.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.DateRange}
  */
-public final class DateRange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DateRange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DateRange)
     DateRangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DateRange.newBuilder() to construct.
   private DateRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DateRange() {
     startDate_ = "";
     endDate_ = "";
@@ -46,15 +28,16 @@ private DateRange() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DateRange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DateRange(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,66 +56,59 @@ private DateRange(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              startDate_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            startDate_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              endDate_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            endDate_ = s;
+            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 {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_DateRange_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DateRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.DateRange.class,
-            com.google.analytics.data.v1beta.DateRange.Builder.class);
+            com.google.analytics.data.v1beta.DateRange.class, com.google.analytics.data.v1beta.DateRange.Builder.class);
   }
 
   public static final int START_DATE_FIELD_NUMBER = 1;
   private volatile java.lang.Object startDate_;
   /**
-   *
-   *
    * 
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -141,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string start_date = 1; - * * @return The startDate. */ @java.lang.Override @@ -150,15 +125,14 @@ public java.lang.String getStartDate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; } } /** - * - * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -167,15 +141,16 @@ public java.lang.String getStartDate() {
    * 
* * string start_date = 1; - * * @return The bytes for startDate. */ @java.lang.Override - public com.google.protobuf.ByteString getStartDateBytes() { + public com.google.protobuf.ByteString + getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startDate_ = b; return b; } else { @@ -186,8 +161,6 @@ public com.google.protobuf.ByteString getStartDateBytes() { public static final int END_DATE_FIELD_NUMBER = 2; private volatile java.lang.Object endDate_; /** - * - * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -196,7 +169,6 @@ public com.google.protobuf.ByteString getStartDateBytes() {
    * 
* * string end_date = 2; - * * @return The endDate. */ @java.lang.Override @@ -205,15 +177,14 @@ public java.lang.String getEndDate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; } } /** - * - * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -222,15 +193,16 @@ public java.lang.String getEndDate() {
    * 
* * string end_date = 2; - * * @return The bytes for endDate. */ @java.lang.Override - public com.google.protobuf.ByteString getEndDateBytes() { + public com.google.protobuf.ByteString + getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endDate_ = b; return b; } else { @@ -241,8 +213,6 @@ public com.google.protobuf.ByteString getEndDateBytes() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Assigns a name to this date range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -251,7 +221,6 @@ public com.google.protobuf.ByteString getEndDateBytes() {
    * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -260,15 +229,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; } } /** - * - * *
    * Assigns a name to this date range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -277,15 +245,16 @@ public java.lang.String getName() {
    * 
* * string name = 3; - * * @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 { @@ -294,7 +263,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getStartDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, startDate_); } @@ -342,17 +311,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.analytics.data.v1beta.DateRange)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DateRange other = - (com.google.analytics.data.v1beta.DateRange) obj; + com.google.analytics.data.v1beta.DateRange other = (com.google.analytics.data.v1beta.DateRange) obj; - if (!getStartDate().equals(other.getStartDate())) return false; - if (!getEndDate().equals(other.getEndDate())) return false; - if (!getName().equals(other.getName())) return false; + if (!getStartDate() + .equals(other.getStartDate())) return false; + if (!getEndDate() + .equals(other.getEndDate())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -375,104 +346,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.DateRange parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.DateRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DateRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DateRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DateRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DateRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DateRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DateRange 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.analytics.data.v1beta.DateRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DateRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DateRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DateRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DateRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DateRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.DateRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 contiguous set of days: startDate, startDate + 1, ..., endDate. Requests
    * are allowed up to 4 date ranges.
@@ -480,23 +444,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.DateRange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DateRange)
       com.google.analytics.data.v1beta.DateRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_DateRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DateRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.DateRange.class,
-              com.google.analytics.data.v1beta.DateRange.Builder.class);
+              com.google.analytics.data.v1beta.DateRange.class, com.google.analytics.data.v1beta.DateRange.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.DateRange.newBuilder()
@@ -504,15 +466,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -526,9 +489,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_DateRange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DateRange_descriptor;
     }
 
     @java.lang.Override
@@ -547,8 +510,7 @@ public com.google.analytics.data.v1beta.DateRange build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.DateRange buildPartial() {
-      com.google.analytics.data.v1beta.DateRange result =
-          new com.google.analytics.data.v1beta.DateRange(this);
+      com.google.analytics.data.v1beta.DateRange result = new com.google.analytics.data.v1beta.DateRange(this);
       result.startDate_ = startDate_;
       result.endDate_ = endDate_;
       result.name_ = name_;
@@ -560,39 +522,38 @@ public com.google.analytics.data.v1beta.DateRange buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.DateRange) {
-        return mergeFrom((com.google.analytics.data.v1beta.DateRange) other);
+        return mergeFrom((com.google.analytics.data.v1beta.DateRange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -644,8 +605,6 @@ public Builder mergeFrom(
 
     private java.lang.Object startDate_ = "";
     /**
-     *
-     *
      * 
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -654,13 +613,13 @@ public Builder mergeFrom(
      * 
* * string start_date = 1; - * * @return The startDate. */ public java.lang.String getStartDate() { java.lang.Object ref = startDate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; @@ -669,8 +628,6 @@ public java.lang.String getStartDate() { } } /** - * - * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -679,14 +636,15 @@ public java.lang.String getStartDate() {
      * 
* * string start_date = 1; - * * @return The bytes for startDate. */ - public com.google.protobuf.ByteString getStartDateBytes() { + public com.google.protobuf.ByteString + getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startDate_ = b; return b; } else { @@ -694,8 +652,6 @@ public com.google.protobuf.ByteString getStartDateBytes() { } } /** - * - * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -704,22 +660,20 @@ public com.google.protobuf.ByteString getStartDateBytes() {
      * 
* * string start_date = 1; - * * @param value The startDate to set. * @return This builder for chaining. */ - public Builder setStartDate(java.lang.String value) { + public Builder setStartDate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startDate_ = value; onChanged(); return this; } /** - * - * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -728,18 +682,15 @@ public Builder setStartDate(java.lang.String value) {
      * 
* * string start_date = 1; - * * @return This builder for chaining. */ public Builder clearStartDate() { - + startDate_ = getDefaultInstance().getStartDate(); onChanged(); return this; } /** - * - * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -748,16 +699,16 @@ public Builder clearStartDate() {
      * 
* * string start_date = 1; - * * @param value The bytes for startDate to set. * @return This builder for chaining. */ - public Builder setStartDateBytes(com.google.protobuf.ByteString value) { + public Builder setStartDateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startDate_ = value; onChanged(); return this; @@ -765,8 +716,6 @@ public Builder setStartDateBytes(com.google.protobuf.ByteString value) { private java.lang.Object endDate_ = ""; /** - * - * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -775,13 +724,13 @@ public Builder setStartDateBytes(com.google.protobuf.ByteString value) {
      * 
* * string end_date = 2; - * * @return The endDate. */ public java.lang.String getEndDate() { java.lang.Object ref = endDate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; @@ -790,8 +739,6 @@ public java.lang.String getEndDate() { } } /** - * - * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -800,14 +747,15 @@ public java.lang.String getEndDate() {
      * 
* * string end_date = 2; - * * @return The bytes for endDate. */ - public com.google.protobuf.ByteString getEndDateBytes() { + public com.google.protobuf.ByteString + getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endDate_ = b; return b; } else { @@ -815,8 +763,6 @@ public com.google.protobuf.ByteString getEndDateBytes() { } } /** - * - * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -825,22 +771,20 @@ public com.google.protobuf.ByteString getEndDateBytes() {
      * 
* * string end_date = 2; - * * @param value The endDate to set. * @return This builder for chaining. */ - public Builder setEndDate(java.lang.String value) { + public Builder setEndDate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endDate_ = value; onChanged(); return this; } /** - * - * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -849,18 +793,15 @@ public Builder setEndDate(java.lang.String value) {
      * 
* * string end_date = 2; - * * @return This builder for chaining. */ public Builder clearEndDate() { - + endDate_ = getDefaultInstance().getEndDate(); onChanged(); return this; } /** - * - * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -869,16 +810,16 @@ public Builder clearEndDate() {
      * 
* * string end_date = 2; - * * @param value The bytes for endDate to set. * @return This builder for chaining. */ - public Builder setEndDateBytes(com.google.protobuf.ByteString value) { + public Builder setEndDateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endDate_ = value; onChanged(); return this; @@ -886,8 +827,6 @@ public Builder setEndDateBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * Assigns a name to this date range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -896,13 +835,13 @@ public Builder setEndDateBytes(com.google.protobuf.ByteString value) {
      * 
* * string name = 3; - * * @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; @@ -911,8 +850,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Assigns a name to this date range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -921,14 +858,15 @@ public java.lang.String getName() {
      * 
* * string name = 3; - * * @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 { @@ -936,8 +874,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Assigns a name to this date range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -946,22 +882,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 3; - * * @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; } /** - * - * *
      * Assigns a name to this date range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -970,18 +904,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Assigns a name to this date range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -990,23 +921,23 @@ public Builder clearName() {
      * 
* * string name = 3; - * * @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); } @@ -1016,12 +947,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DateRange) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DateRange) private static final com.google.analytics.data.v1beta.DateRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DateRange(); } @@ -1030,16 +961,16 @@ public static com.google.analytics.data.v1beta.DateRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DateRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DateRange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DateRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DateRange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1054,4 +985,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DateRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java similarity index 75% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java index b08bd6d1..ea6bd8b8 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DateRangeOrBuilder - extends +public interface DateRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DateRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -34,13 +16,10 @@ public interface DateRangeOrBuilder
    * 
* * string start_date = 1; - * * @return The startDate. */ java.lang.String getStartDate(); /** - * - * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -49,14 +28,12 @@ public interface DateRangeOrBuilder
    * 
* * string start_date = 1; - * * @return The bytes for startDate. */ - com.google.protobuf.ByteString getStartDateBytes(); + com.google.protobuf.ByteString + getStartDateBytes(); /** - * - * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -65,13 +42,10 @@ public interface DateRangeOrBuilder
    * 
* * string end_date = 2; - * * @return The endDate. */ java.lang.String getEndDate(); /** - * - * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -80,14 +54,12 @@ public interface DateRangeOrBuilder
    * 
* * string end_date = 2; - * * @return The bytes for endDate. */ - com.google.protobuf.ByteString getEndDateBytes(); + com.google.protobuf.ByteString + getEndDateBytes(); /** - * - * *
    * Assigns a name to this date range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -96,13 +68,10 @@ public interface DateRangeOrBuilder
    * 
* * string name = 3; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Assigns a name to this date range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -111,8 +80,8 @@ public interface DateRangeOrBuilder
    * 
* * string name = 3; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.java similarity index 74% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.java index 92b8deba..56a907f5 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Dimensions are attributes of your data. For example, the dimension city
  * indicates the city from which an event originates. Dimension values in report
@@ -30,31 +13,31 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.Dimension}
  */
-public final class Dimension extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Dimension extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Dimension)
     DimensionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Dimension.newBuilder() to construct.
   private Dimension(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Dimension() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Dimension();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Dimension(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,69 +56,60 @@ private Dimension(
           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.analytics.data.v1beta.DimensionExpression.Builder subBuilder = null;
+            if (dimensionExpression_ != null) {
+              subBuilder = dimensionExpression_.toBuilder();
             }
-          case 18:
-            {
-              com.google.analytics.data.v1beta.DimensionExpression.Builder subBuilder = null;
-              if (dimensionExpression_ != null) {
-                subBuilder = dimensionExpression_.toBuilder();
-              }
-              dimensionExpression_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.DimensionExpression.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(dimensionExpression_);
-                dimensionExpression_ = subBuilder.buildPartial();
-              }
-
-              break;
+            dimensionExpression_ = input.readMessage(com.google.analytics.data.v1beta.DimensionExpression.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(dimensionExpression_);
+              dimensionExpression_ = 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.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_Dimension_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Dimension_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.Dimension.class,
-            com.google.analytics.data.v1beta.Dimension.Builder.class);
+            com.google.analytics.data.v1beta.Dimension.class, com.google.analytics.data.v1beta.Dimension.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the dimension. See the [API
    * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -150,7 +124,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -159,15 +132,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 name of the dimension. See the [API
    * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -182,15 +154,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 { @@ -201,15 +174,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DIMENSION_EXPRESSION_FIELD_NUMBER = 2; private com.google.analytics.data.v1beta.DimensionExpression dimensionExpression_; /** - * - * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; - * * @return Whether the dimensionExpression field is set. */ @java.lang.Override @@ -217,26 +187,19 @@ public boolean hasDimensionExpression() { return dimensionExpression_ != null; } /** - * - * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; - * * @return The dimensionExpression. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression getDimensionExpression() { - return dimensionExpression_ == null - ? com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance() - : dimensionExpression_; + return dimensionExpression_ == null ? com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance() : dimensionExpression_; } /** - * - * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -245,13 +208,11 @@ public com.google.analytics.data.v1beta.DimensionExpression getDimensionExpressi
    * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.DimensionExpressionOrBuilder
-      getDimensionExpressionOrBuilder() {
+  public com.google.analytics.data.v1beta.DimensionExpressionOrBuilder getDimensionExpressionOrBuilder() {
     return getDimensionExpression();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -263,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 (!getNameBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -283,7 +245,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (dimensionExpression_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDimensionExpression());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDimensionExpression());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -293,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.analytics.data.v1beta.Dimension)) {
       return super.equals(obj);
     }
-    com.google.analytics.data.v1beta.Dimension other =
-        (com.google.analytics.data.v1beta.Dimension) obj;
+    com.google.analytics.data.v1beta.Dimension other = (com.google.analytics.data.v1beta.Dimension) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasDimensionExpression() != other.hasDimensionExpression()) return false;
     if (hasDimensionExpression()) {
-      if (!getDimensionExpression().equals(other.getDimensionExpression())) return false;
+      if (!getDimensionExpression()
+          .equals(other.getDimensionExpression())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -328,104 +292,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.analytics.data.v1beta.Dimension parseFrom(java.nio.ByteBuffer data)
+  public static com.google.analytics.data.v1beta.Dimension parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.Dimension parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.Dimension 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.analytics.data.v1beta.Dimension parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.data.v1beta.Dimension parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.data.v1beta.Dimension parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.Dimension parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.analytics.data.v1beta.Dimension prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Dimensions are attributes of your data. For example, the dimension city
    * indicates the city from which an event originates. Dimension values in report
@@ -435,23 +392,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.Dimension}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Dimension)
       com.google.analytics.data.v1beta.DimensionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Dimension_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Dimension_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.Dimension.class,
-              com.google.analytics.data.v1beta.Dimension.Builder.class);
+              com.google.analytics.data.v1beta.Dimension.class, com.google.analytics.data.v1beta.Dimension.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.Dimension.newBuilder()
@@ -459,15 +414,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 +439,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Dimension_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Dimension_descriptor;
     }
 
     @java.lang.Override
@@ -504,8 +460,7 @@ public com.google.analytics.data.v1beta.Dimension build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.Dimension buildPartial() {
-      com.google.analytics.data.v1beta.Dimension result =
-          new com.google.analytics.data.v1beta.Dimension(this);
+      com.google.analytics.data.v1beta.Dimension result = new com.google.analytics.data.v1beta.Dimension(this);
       result.name_ = name_;
       if (dimensionExpressionBuilder_ == null) {
         result.dimensionExpression_ = dimensionExpression_;
@@ -520,39 +475,38 @@ public com.google.analytics.data.v1beta.Dimension buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.Dimension) {
-        return mergeFrom((com.google.analytics.data.v1beta.Dimension) other);
+        return mergeFrom((com.google.analytics.data.v1beta.Dimension)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -599,8 +553,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the dimension. See the [API
      * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -615,13 +567,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; @@ -630,8 +582,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the dimension. See the [API
      * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -646,14 +596,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 { @@ -661,8 +612,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the dimension. See the [API
      * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -677,22 +626,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the dimension. See the [API
      * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -707,18 +654,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the dimension. See the [API
      * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -733,16 +677,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; @@ -750,49 +694,36 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.analytics.data.v1beta.DimensionExpression dimensionExpression_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression, - com.google.analytics.data.v1beta.DimensionExpression.Builder, - com.google.analytics.data.v1beta.DimensionExpressionOrBuilder> - dimensionExpressionBuilder_; + com.google.analytics.data.v1beta.DimensionExpression, com.google.analytics.data.v1beta.DimensionExpression.Builder, com.google.analytics.data.v1beta.DimensionExpressionOrBuilder> dimensionExpressionBuilder_; /** - * - * *
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; - * * @return Whether the dimensionExpression field is set. */ public boolean hasDimensionExpression() { return dimensionExpressionBuilder_ != null || dimensionExpression_ != null; } /** - * - * *
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; - * * @return The dimensionExpression. */ public com.google.analytics.data.v1beta.DimensionExpression getDimensionExpression() { if (dimensionExpressionBuilder_ == null) { - return dimensionExpression_ == null - ? com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance() - : dimensionExpression_; + return dimensionExpression_ == null ? com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance() : dimensionExpression_; } else { return dimensionExpressionBuilder_.getMessage(); } } /** - * - * *
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -800,8 +731,7 @@ public com.google.analytics.data.v1beta.DimensionExpression getDimensionExpressi
      *
      * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
      */
-    public Builder setDimensionExpression(
-        com.google.analytics.data.v1beta.DimensionExpression value) {
+    public Builder setDimensionExpression(com.google.analytics.data.v1beta.DimensionExpression value) {
       if (dimensionExpressionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -815,8 +745,6 @@ public Builder setDimensionExpression(
       return this;
     }
     /**
-     *
-     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -836,8 +764,6 @@ public Builder setDimensionExpression(
       return this;
     }
     /**
-     *
-     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -845,14 +771,11 @@ public Builder setDimensionExpression(
      *
      * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
      */
-    public Builder mergeDimensionExpression(
-        com.google.analytics.data.v1beta.DimensionExpression value) {
+    public Builder mergeDimensionExpression(com.google.analytics.data.v1beta.DimensionExpression value) {
       if (dimensionExpressionBuilder_ == null) {
         if (dimensionExpression_ != null) {
           dimensionExpression_ =
-              com.google.analytics.data.v1beta.DimensionExpression.newBuilder(dimensionExpression_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.DimensionExpression.newBuilder(dimensionExpression_).mergeFrom(value).buildPartial();
         } else {
           dimensionExpression_ = value;
         }
@@ -864,8 +787,6 @@ public Builder mergeDimensionExpression(
       return this;
     }
     /**
-     *
-     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -885,8 +806,6 @@ public Builder clearDimensionExpression() {
       return this;
     }
     /**
-     *
-     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -894,15 +813,12 @@ public Builder clearDimensionExpression() {
      *
      * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
      */
-    public com.google.analytics.data.v1beta.DimensionExpression.Builder
-        getDimensionExpressionBuilder() {
-
+    public com.google.analytics.data.v1beta.DimensionExpression.Builder getDimensionExpressionBuilder() {
+      
       onChanged();
       return getDimensionExpressionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -910,19 +826,15 @@ public Builder clearDimensionExpression() {
      *
      * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
      */
-    public com.google.analytics.data.v1beta.DimensionExpressionOrBuilder
-        getDimensionExpressionOrBuilder() {
+    public com.google.analytics.data.v1beta.DimensionExpressionOrBuilder getDimensionExpressionOrBuilder() {
       if (dimensionExpressionBuilder_ != null) {
         return dimensionExpressionBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionExpression_ == null
-            ? com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance()
-            : dimensionExpression_;
+        return dimensionExpression_ == null ?
+            com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance() : dimensionExpression_;
       }
     }
     /**
-     *
-     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -931,24 +843,21 @@ public Builder clearDimensionExpression() {
      * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionExpression,
-            com.google.analytics.data.v1beta.DimensionExpression.Builder,
-            com.google.analytics.data.v1beta.DimensionExpressionOrBuilder>
+        com.google.analytics.data.v1beta.DimensionExpression, com.google.analytics.data.v1beta.DimensionExpression.Builder, com.google.analytics.data.v1beta.DimensionExpressionOrBuilder> 
         getDimensionExpressionFieldBuilder() {
       if (dimensionExpressionBuilder_ == null) {
-        dimensionExpressionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.DimensionExpression,
-                com.google.analytics.data.v1beta.DimensionExpression.Builder,
-                com.google.analytics.data.v1beta.DimensionExpressionOrBuilder>(
-                getDimensionExpression(), getParentForChildren(), isClean());
+        dimensionExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.DimensionExpression, com.google.analytics.data.v1beta.DimensionExpression.Builder, com.google.analytics.data.v1beta.DimensionExpressionOrBuilder>(
+                getDimensionExpression(),
+                getParentForChildren(),
+                isClean());
         dimensionExpression_ = null;
       }
       return dimensionExpressionBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -958,12 +867,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Dimension)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Dimension)
   private static final com.google.analytics.data.v1beta.Dimension DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Dimension();
   }
@@ -972,16 +881,16 @@ public static com.google.analytics.data.v1beta.Dimension getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Dimension parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Dimension(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Dimension parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Dimension(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -996,4 +905,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.data.v1beta.Dimension getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.java
new file mode 100644
index 00000000..9409095b
--- /dev/null
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.java
@@ -0,0 +1,861 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/analytics/data/v1beta/data.proto
+
+package com.google.analytics.data.v1beta;
+
+/**
+ * 
+ * The compatibility for a single dimension.
+ * 
+ * + * Protobuf type {@code google.analytics.data.v1beta.DimensionCompatibility} + */ +public final class DimensionCompatibility extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionCompatibility) + DimensionCompatibilityOrBuilder { +private static final long serialVersionUID = 0L; + // Use DimensionCompatibility.newBuilder() to construct. + private DimensionCompatibility(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DimensionCompatibility() { + compatibility_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DimensionCompatibility(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DimensionCompatibility( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.analytics.data.v1beta.DimensionMetadata.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = dimensionMetadata_.toBuilder(); + } + dimensionMetadata_ = input.readMessage(com.google.analytics.data.v1beta.DimensionMetadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dimensionMetadata_); + dimensionMetadata_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 16: { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000002; + compatibility_ = 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); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.data.v1beta.DimensionCompatibility.class, com.google.analytics.data.v1beta.DimensionCompatibility.Builder.class); + } + + private int bitField0_; + public static final int DIMENSION_METADATA_FIELD_NUMBER = 1; + private com.google.analytics.data.v1beta.DimensionMetadata dimensionMetadata_; + /** + *
+   * The dimension metadata contains the API name for this compatibility
+   * information. The dimension metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * @return Whether the dimensionMetadata field is set. + */ + @java.lang.Override + public boolean hasDimensionMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+   * The dimension metadata contains the API name for this compatibility
+   * information. The dimension metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * @return The dimensionMetadata. + */ + @java.lang.Override + public com.google.analytics.data.v1beta.DimensionMetadata getDimensionMetadata() { + return dimensionMetadata_ == null ? com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance() : dimensionMetadata_; + } + /** + *
+   * The dimension metadata contains the API name for this compatibility
+   * information. The dimension metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionMetadataOrBuilder() { + return dimensionMetadata_ == null ? com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance() : dimensionMetadata_; + } + + public static final int COMPATIBILITY_FIELD_NUMBER = 2; + private int compatibility_; + /** + *
+   * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+   * this dimension can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return Whether the compatibility field is set. + */ + @java.lang.Override public boolean hasCompatibility() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+   * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+   * this dimension can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The enum numeric value on the wire for compatibility. + */ + @java.lang.Override public int getCompatibilityValue() { + return compatibility_; + } + /** + *
+   * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+   * this dimension can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The compatibility. + */ + @java.lang.Override public com.google.analytics.data.v1beta.Compatibility getCompatibility() { + @SuppressWarnings("deprecation") + com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); + return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getDimensionMetadata()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, compatibility_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDimensionMetadata()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, compatibility_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.data.v1beta.DimensionCompatibility)) { + return super.equals(obj); + } + com.google.analytics.data.v1beta.DimensionCompatibility other = (com.google.analytics.data.v1beta.DimensionCompatibility) obj; + + if (hasDimensionMetadata() != other.hasDimensionMetadata()) return false; + if (hasDimensionMetadata()) { + if (!getDimensionMetadata() + .equals(other.getDimensionMetadata())) return false; + } + if (hasCompatibility() != other.hasCompatibility()) return false; + if (hasCompatibility()) { + if (compatibility_ != other.compatibility_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDimensionMetadata()) { + hash = (37 * hash) + DIMENSION_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getDimensionMetadata().hashCode(); + } + if (hasCompatibility()) { + hash = (37 * hash) + COMPATIBILITY_FIELD_NUMBER; + hash = (53 * hash) + compatibility_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionCompatibility prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * The compatibility for a single dimension.
+   * 
+ * + * Protobuf type {@code google.analytics.data.v1beta.DimensionCompatibility} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionCompatibility) + com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.data.v1beta.DimensionCompatibility.class, com.google.analytics.data.v1beta.DimensionCompatibility.Builder.class); + } + + // Construct using com.google.analytics.data.v1beta.DimensionCompatibility.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getDimensionMetadataFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (dimensionMetadataBuilder_ == null) { + dimensionMetadata_ = null; + } else { + dimensionMetadataBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + compatibility_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.DimensionCompatibility getDefaultInstanceForType() { + return com.google.analytics.data.v1beta.DimensionCompatibility.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.data.v1beta.DimensionCompatibility build() { + com.google.analytics.data.v1beta.DimensionCompatibility result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.DimensionCompatibility buildPartial() { + com.google.analytics.data.v1beta.DimensionCompatibility result = new com.google.analytics.data.v1beta.DimensionCompatibility(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (dimensionMetadataBuilder_ == null) { + result.dimensionMetadata_ = dimensionMetadata_; + } else { + result.dimensionMetadata_ = dimensionMetadataBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.compatibility_ = compatibility_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.data.v1beta.DimensionCompatibility) { + return mergeFrom((com.google.analytics.data.v1beta.DimensionCompatibility)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionCompatibility other) { + if (other == com.google.analytics.data.v1beta.DimensionCompatibility.getDefaultInstance()) return this; + if (other.hasDimensionMetadata()) { + mergeDimensionMetadata(other.getDimensionMetadata()); + } + if (other.hasCompatibility()) { + setCompatibility(other.getCompatibility()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.analytics.data.v1beta.DimensionCompatibility parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.data.v1beta.DimensionCompatibility) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.analytics.data.v1beta.DimensionMetadata dimensionMetadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> dimensionMetadataBuilder_; + /** + *
+     * The dimension metadata contains the API name for this compatibility
+     * information. The dimension metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * @return Whether the dimensionMetadata field is set. + */ + public boolean hasDimensionMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * The dimension metadata contains the API name for this compatibility
+     * information. The dimension metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * @return The dimensionMetadata. + */ + public com.google.analytics.data.v1beta.DimensionMetadata getDimensionMetadata() { + if (dimensionMetadataBuilder_ == null) { + return dimensionMetadata_ == null ? com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance() : dimensionMetadata_; + } else { + return dimensionMetadataBuilder_.getMessage(); + } + } + /** + *
+     * The dimension metadata contains the API name for this compatibility
+     * information. The dimension metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + */ + public Builder setDimensionMetadata(com.google.analytics.data.v1beta.DimensionMetadata value) { + if (dimensionMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dimensionMetadata_ = value; + onChanged(); + } else { + dimensionMetadataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * The dimension metadata contains the API name for this compatibility
+     * information. The dimension metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + */ + public Builder setDimensionMetadata( + com.google.analytics.data.v1beta.DimensionMetadata.Builder builderForValue) { + if (dimensionMetadataBuilder_ == null) { + dimensionMetadata_ = builderForValue.build(); + onChanged(); + } else { + dimensionMetadataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * The dimension metadata contains the API name for this compatibility
+     * information. The dimension metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + */ + public Builder mergeDimensionMetadata(com.google.analytics.data.v1beta.DimensionMetadata value) { + if (dimensionMetadataBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + dimensionMetadata_ != null && + dimensionMetadata_ != com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()) { + dimensionMetadata_ = + com.google.analytics.data.v1beta.DimensionMetadata.newBuilder(dimensionMetadata_).mergeFrom(value).buildPartial(); + } else { + dimensionMetadata_ = value; + } + onChanged(); + } else { + dimensionMetadataBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * The dimension metadata contains the API name for this compatibility
+     * information. The dimension metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + */ + public Builder clearDimensionMetadata() { + if (dimensionMetadataBuilder_ == null) { + dimensionMetadata_ = null; + onChanged(); + } else { + dimensionMetadataBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + *
+     * The dimension metadata contains the API name for this compatibility
+     * information. The dimension metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + */ + public com.google.analytics.data.v1beta.DimensionMetadata.Builder getDimensionMetadataBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getDimensionMetadataFieldBuilder().getBuilder(); + } + /** + *
+     * The dimension metadata contains the API name for this compatibility
+     * information. The dimension metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + */ + public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionMetadataOrBuilder() { + if (dimensionMetadataBuilder_ != null) { + return dimensionMetadataBuilder_.getMessageOrBuilder(); + } else { + return dimensionMetadata_ == null ? + com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance() : dimensionMetadata_; + } + } + /** + *
+     * The dimension metadata contains the API name for this compatibility
+     * information. The dimension metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> + getDimensionMetadataFieldBuilder() { + if (dimensionMetadataBuilder_ == null) { + dimensionMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder>( + getDimensionMetadata(), + getParentForChildren(), + isClean()); + dimensionMetadata_ = null; + } + return dimensionMetadataBuilder_; + } + + private int compatibility_ = 0; + /** + *
+     * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+     * this dimension can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return Whether the compatibility field is set. + */ + @java.lang.Override public boolean hasCompatibility() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+     * this dimension can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The enum numeric value on the wire for compatibility. + */ + @java.lang.Override public int getCompatibilityValue() { + return compatibility_; + } + /** + *
+     * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+     * this dimension can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @param value The enum numeric value on the wire for compatibility to set. + * @return This builder for chaining. + */ + public Builder setCompatibilityValue(int value) { + bitField0_ |= 0x00000002; + compatibility_ = value; + onChanged(); + return this; + } + /** + *
+     * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+     * this dimension can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The compatibility. + */ + @java.lang.Override + public com.google.analytics.data.v1beta.Compatibility getCompatibility() { + @SuppressWarnings("deprecation") + com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); + return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; + } + /** + *
+     * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+     * this dimension can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @param value The compatibility to set. + * @return This builder for chaining. + */ + public Builder setCompatibility(com.google.analytics.data.v1beta.Compatibility value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + compatibility_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+     * this dimension can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return This builder for chaining. + */ + public Builder clearCompatibility() { + bitField0_ = (bitField0_ & ~0x00000002); + compatibility_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionCompatibility) + } + + // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionCompatibility) + private static final com.google.analytics.data.v1beta.DimensionCompatibility DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionCompatibility(); + } + + public static com.google.analytics.data.v1beta.DimensionCompatibility getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionCompatibility parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionCompatibility(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.DimensionCompatibility getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.java new file mode 100644 index 00000000..6b93a436 --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.java @@ -0,0 +1,73 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public interface DimensionCompatibilityOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionCompatibility) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The dimension metadata contains the API name for this compatibility
+   * information. The dimension metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * @return Whether the dimensionMetadata field is set. + */ + boolean hasDimensionMetadata(); + /** + *
+   * The dimension metadata contains the API name for this compatibility
+   * information. The dimension metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * @return The dimensionMetadata. + */ + com.google.analytics.data.v1beta.DimensionMetadata getDimensionMetadata(); + /** + *
+   * The dimension metadata contains the API name for this compatibility
+   * information. The dimension metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + */ + com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionMetadataOrBuilder(); + + /** + *
+   * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+   * this dimension can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return Whether the compatibility field is set. + */ + boolean hasCompatibility(); + /** + *
+   * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+   * this dimension can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The enum numeric value on the wire for compatibility. + */ + int getCompatibilityValue(); + /** + *
+   * The compatibility of this dimension. If the compatibility is COMPATIBLE,
+   * this dimension can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The compatibility. + */ + com.google.analytics.data.v1beta.Compatibility getCompatibility(); +} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java similarity index 66% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java index 2482d358..f8bd17ff 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Used to express a dimension which is the result of a formula of multiple
  * dimensions. Example usages:
@@ -30,29 +13,30 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression}
  */
-public final class DimensionExpression extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DimensionExpression extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionExpression)
     DimensionExpressionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DimensionExpression.newBuilder() to construct.
   private DimensionExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DimensionExpression() {}
+  private DimensionExpression() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DimensionExpression();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DimensionExpression(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,176 +55,138 @@ private DimensionExpression(
           case 0:
             done = true;
             break;
-          case 34:
-            {
-              com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder
-                  subBuilder = null;
-              if (oneExpressionCase_ == 4) {
-                subBuilder =
-                    ((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression)
-                            oneExpression_)
-                        .toBuilder();
-              }
-              oneExpression_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression)
-                        oneExpression_);
-                oneExpression_ = subBuilder.buildPartial();
-              }
-              oneExpressionCase_ = 4;
-              break;
+          case 34: {
+            com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder subBuilder = null;
+            if (oneExpressionCase_ == 4) {
+              subBuilder = ((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_).toBuilder();
             }
-          case 42:
-            {
-              com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder
-                  subBuilder = null;
-              if (oneExpressionCase_ == 5) {
-                subBuilder =
-                    ((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression)
-                            oneExpression_)
-                        .toBuilder();
-              }
-              oneExpression_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression)
-                        oneExpression_);
-                oneExpression_ = subBuilder.buildPartial();
-              }
-              oneExpressionCase_ = 5;
-              break;
+            oneExpression_ =
+                input.readMessage(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_);
+              oneExpression_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder
-                  subBuilder = null;
-              if (oneExpressionCase_ == 6) {
-                subBuilder =
-                    ((com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression)
-                            oneExpression_)
-                        .toBuilder();
-              }
-              oneExpression_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression
-                          .parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression)
-                        oneExpression_);
-                oneExpression_ = subBuilder.buildPartial();
-              }
-              oneExpressionCase_ = 6;
-              break;
+            oneExpressionCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder subBuilder = null;
+            if (oneExpressionCase_ == 5) {
+              subBuilder = ((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            oneExpression_ =
+                input.readMessage(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_);
+              oneExpression_ = subBuilder.buildPartial();
+            }
+            oneExpressionCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder subBuilder = null;
+            if (oneExpressionCase_ == 6) {
+              subBuilder = ((com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_).toBuilder();
+            }
+            oneExpression_ =
+                input.readMessage(com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_);
+              oneExpression_ = subBuilder.buildPartial();
+            }
+            oneExpressionCase_ = 6;
+            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.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.DimensionExpression.class,
-            com.google.analytics.data.v1beta.DimensionExpression.Builder.class);
+            com.google.analytics.data.v1beta.DimensionExpression.class, com.google.analytics.data.v1beta.DimensionExpression.Builder.class);
   }
 
-  public interface CaseExpressionOrBuilder
-      extends
+  public interface CaseExpressionOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionExpression.CaseExpression)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Name of a dimension. The name must refer back to a name in dimensions
      * field of the request.
      * 
* * string dimension_name = 1; - * * @return The dimensionName. */ java.lang.String getDimensionName(); /** - * - * *
      * Name of a dimension. The name must refer back to a name in dimensions
      * field of the request.
      * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - com.google.protobuf.ByteString getDimensionNameBytes(); + com.google.protobuf.ByteString + getDimensionNameBytes(); } /** - * - * *
    * Used to convert a dimension value to a single case.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression.CaseExpression} */ - public static final class CaseExpression extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CaseExpression extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionExpression.CaseExpression) CaseExpressionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CaseExpression.newBuilder() to construct. private CaseExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CaseExpression() { dimensionName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CaseExpression(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CaseExpression( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -259,59 +205,53 @@ private CaseExpression( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dimensionName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dimensionName_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.class, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder.class); + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.class, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder.class); } public static final int DIMENSION_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object dimensionName_; /** - * - * *
      * Name of a dimension. The name must refer back to a name in dimensions
      * field of the request.
      * 
* * string dimension_name = 1; - * * @return The dimensionName. */ @java.lang.Override @@ -320,30 +260,30 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** - * - * *
      * Name of a dimension. The name must refer back to a name in dimensions
      * field of the request.
      * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -352,7 +292,6 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -364,7 +303,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getDimensionNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } @@ -388,15 +328,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.analytics.data.v1beta.DimensionExpression.CaseExpression)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression other = - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) obj; + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression other = (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) obj; - if (!getDimensionName().equals(other.getDimensionName())) return false; + if (!getDimensionName() + .equals(other.getDimensionName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,95 +356,87 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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,49 +446,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Used to convert a dimension value to a single case.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression.CaseExpression} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionExpression.CaseExpression) com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.class, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder.class); + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.class, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder.class); } - // Construct using - // com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder() + // Construct using com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -566,16 +493,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; } @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - getDefaultInstanceForType() { - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance(); + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getDefaultInstanceForType() { + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } @java.lang.Override @@ -589,8 +514,7 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression build @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression buildPartial() { - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression result = - new com.google.analytics.data.v1beta.DimensionExpression.CaseExpression(this); + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression result = new com.google.analytics.data.v1beta.DimensionExpression.CaseExpression(this); result.dimensionName_ = dimensionName_; onBuilt(); return result; @@ -600,53 +524,46 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) { - return mergeFrom( - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) other); + return mergeFrom((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression other) { - if (other - == com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression other) { + if (other == com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance()) return this; if (!other.getDimensionName().isEmpty()) { dimensionName_ = other.dimensionName_; onChanged(); @@ -670,9 +587,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -684,21 +599,19 @@ public Builder mergeFrom( private java.lang.Object dimensionName_ = ""; /** - * - * *
        * Name of a dimension. The name must refer back to a name in dimensions
        * field of the request.
        * 
* * string dimension_name = 1; - * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -707,22 +620,21 @@ public java.lang.String getDimensionName() { } } /** - * - * *
        * Name of a dimension. The name must refer back to a name in dimensions
        * field of the request.
        * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -730,69 +642,61 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { } } /** - * - * *
        * Name of a dimension. The name must refer back to a name in dimensions
        * field of the request.
        * 
* * string dimension_name = 1; - * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName(java.lang.String value) { + public Builder setDimensionName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dimensionName_ = value; onChanged(); return this; } /** - * - * *
        * Name of a dimension. The name must refer back to a name in dimensions
        * field of the request.
        * 
* * string dimension_name = 1; - * * @return This builder for chaining. */ public Builder clearDimensionName() { - + dimensionName_ = getDefaultInstance().getDimensionName(); onChanged(); return this; } /** - * - * *
        * Name of a dimension. The name must refer back to a name in dimensions
        * field of the request.
        * 
* * string dimension_name = 1; - * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { + public Builder setDimensionNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dimensionName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -805,32 +709,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionExpression.CaseExpression) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionExpression.CaseExpression) - private static final com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - DEFAULT_INSTANCE; - + private static final com.google.analytics.data.v1beta.DimensionExpression.CaseExpression DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionExpression.CaseExpression(); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - getDefaultInstance() { + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CaseExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CaseExpression(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CaseExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CaseExpression(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,75 +744,62 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - getDefaultInstanceForType() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ConcatenateExpressionOrBuilder - extends + public interface ConcatenateExpressionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; - * * @return A list containing the dimensionNames. */ - java.util.List getDimensionNamesList(); + java.util.List + getDimensionNamesList(); /** - * - * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; - * * @return The count of dimensionNames. */ int getDimensionNamesCount(); /** - * - * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; - * * @param index The index of the element to return. * @return The dimensionNames at the given index. */ java.lang.String getDimensionNames(int index); /** - * - * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; - * * @param index The index of the value to return. * @return The bytes of the dimensionNames at the given index. */ - com.google.protobuf.ByteString getDimensionNamesBytes(int index); + com.google.protobuf.ByteString + getDimensionNamesBytes(int index); /** - * - * *
      * The delimiter placed between dimension names.
      * Delimiters are often single characters such as "|" or "," but can be
@@ -921,13 +810,10 @@ public interface ConcatenateExpressionOrBuilder
      * 
* * string delimiter = 2; - * * @return The delimiter. */ java.lang.String getDelimiter(); /** - * - * *
      * The delimiter placed between dimension names.
      * Delimiters are often single characters such as "|" or "," but can be
@@ -938,30 +824,27 @@ public interface ConcatenateExpressionOrBuilder
      * 
* * string delimiter = 2; - * * @return The bytes for delimiter. */ - com.google.protobuf.ByteString getDelimiterBytes(); + com.google.protobuf.ByteString + getDelimiterBytes(); } /** - * - * *
    * Used to combine dimension values to a single dimension.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression} */ - public static final class ConcatenateExpression extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ConcatenateExpression extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) ConcatenateExpressionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConcatenateExpression.newBuilder() to construct. private ConcatenateExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConcatenateExpression() { dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; delimiter_ = ""; @@ -969,15 +852,16 @@ private ConcatenateExpression() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConcatenateExpression(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConcatenateExpression( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -997,36 +881,35 @@ private ConcatenateExpression( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensionNames_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dimensionNames_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - delimiter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + delimiter_ = 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)) { dimensionNames_ = dimensionNames_.getUnmodifiableView(); @@ -1035,65 +918,53 @@ private ConcatenateExpression( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.class, - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder - .class); + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.class, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder.class); } public static final int DIMENSION_NAMES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList dimensionNames_; /** - * - * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; - * * @return A list containing the dimensionNames. */ - public com.google.protobuf.ProtocolStringList getDimensionNamesList() { + public com.google.protobuf.ProtocolStringList + getDimensionNamesList() { return dimensionNames_; } /** - * - * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; - * * @return The count of dimensionNames. */ public int getDimensionNamesCount() { return dimensionNames_.size(); } /** - * - * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; - * * @param index The index of the element to return. * @return The dimensionNames at the given index. */ @@ -1101,27 +972,23 @@ public java.lang.String getDimensionNames(int index) { return dimensionNames_.get(index); } /** - * - * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; - * * @param index The index of the value to return. * @return The bytes of the dimensionNames at the given index. */ - public com.google.protobuf.ByteString getDimensionNamesBytes(int index) { + public com.google.protobuf.ByteString + getDimensionNamesBytes(int index) { return dimensionNames_.getByteString(index); } public static final int DELIMITER_FIELD_NUMBER = 2; private volatile java.lang.Object delimiter_; /** - * - * *
      * The delimiter placed between dimension names.
      * Delimiters are often single characters such as "|" or "," but can be
@@ -1132,7 +999,6 @@ public com.google.protobuf.ByteString getDimensionNamesBytes(int index) {
      * 
* * string delimiter = 2; - * * @return The delimiter. */ @java.lang.Override @@ -1141,15 +1007,14 @@ public java.lang.String getDelimiter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; } } /** - * - * *
      * The delimiter placed between dimension names.
      * Delimiters are often single characters such as "|" or "," but can be
@@ -1160,15 +1025,16 @@ public java.lang.String getDelimiter() {
      * 
* * string delimiter = 2; - * * @return The bytes for delimiter. */ @java.lang.Override - public com.google.protobuf.ByteString getDelimiterBytes() { + public com.google.protobuf.ByteString + getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1177,7 +1043,6 @@ public com.google.protobuf.ByteString getDelimiterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1189,7 +1054,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensionNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionNames_.getRaw(i)); } @@ -1224,17 +1090,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.analytics.data.v1beta.DimensionExpression.ConcatenateExpression)) { + if (!(obj instanceof com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression other = - (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) obj; + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression other = (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) obj; - if (!getDimensionNamesList().equals(other.getDimensionNamesList())) return false; - if (!getDelimiter().equals(other.getDelimiter())) return false; + if (!getDimensionNamesList() + .equals(other.getDimensionNamesList())) return false; + if (!getDelimiter() + .equals(other.getDelimiter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1257,101 +1123,88 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - 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.analytics.data.v1beta.DimensionExpression.ConcatenateExpression 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.analytics.data.v1beta.DimensionExpression.ConcatenateExpression prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1361,50 +1214,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Used to combine dimension values to a single dimension.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.class, - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder - .class); + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.class, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder.class); } - // Construct using - // com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.newBuilder() + // Construct using com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1416,22 +1263,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; } @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - getDefaultInstanceForType() { - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getDefaultInstanceForType() { + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); } @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression build() { - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression result = - buildPartial(); + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1439,10 +1283,8 @@ public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressio } @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - buildPartial() { - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression result = - new com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression(this); + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression buildPartial() { + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression result = new com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { dimensionNames_ = dimensionNames_.getUnmodifiableView(); @@ -1458,54 +1300,46 @@ public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressio public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) { - return mergeFrom( - (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) other); + if (other instanceof com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) { + return mergeFrom((com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression other) { - if (other - == com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression other) { + if (other == com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance()) return this; if (!other.dimensionNames_.isEmpty()) { if (dimensionNames_.isEmpty()) { dimensionNames_ = other.dimensionNames_; @@ -1535,14 +1369,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parsedMessage = - null; + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1551,58 +1382,47 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList dimensionNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDimensionNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dimensionNames_ = new com.google.protobuf.LazyStringArrayList(dimensionNames_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; - * * @return A list containing the dimensionNames. */ - public com.google.protobuf.ProtocolStringList getDimensionNamesList() { + public com.google.protobuf.ProtocolStringList + getDimensionNamesList() { return dimensionNames_.getUnmodifiableView(); } /** - * - * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; - * * @return The count of dimensionNames. */ public int getDimensionNamesCount() { return dimensionNames_.size(); } /** - * - * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; - * * @param index The index of the element to return. * @return The dimensionNames at the given index. */ @@ -1610,95 +1430,85 @@ public java.lang.String getDimensionNames(int index) { return dimensionNames_.get(index); } /** - * - * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; - * * @param index The index of the value to return. * @return The bytes of the dimensionNames at the given index. */ - public com.google.protobuf.ByteString getDimensionNamesBytes(int index) { + public com.google.protobuf.ByteString + getDimensionNamesBytes(int index) { return dimensionNames_.getByteString(index); } /** - * - * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; - * * @param index The index to set the value at. * @param value The dimensionNames to set. * @return This builder for chaining. */ - public Builder setDimensionNames(int index, java.lang.String value) { + public Builder setDimensionNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDimensionNamesIsMutable(); + throw new NullPointerException(); + } + ensureDimensionNamesIsMutable(); dimensionNames_.set(index, value); onChanged(); return this; } /** - * - * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; - * * @param value The dimensionNames to add. * @return This builder for chaining. */ - public Builder addDimensionNames(java.lang.String value) { + public Builder addDimensionNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDimensionNamesIsMutable(); + throw new NullPointerException(); + } + ensureDimensionNamesIsMutable(); dimensionNames_.add(value); onChanged(); return this; } /** - * - * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; - * * @param values The dimensionNames to add. * @return This builder for chaining. */ - public Builder addAllDimensionNames(java.lang.Iterable values) { + public Builder addAllDimensionNames( + java.lang.Iterable values) { ensureDimensionNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dimensionNames_); onChanged(); return this; } /** - * - * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; - * * @return This builder for chaining. */ public Builder clearDimensionNames() { @@ -1708,23 +1518,21 @@ public Builder clearDimensionNames() { return this; } /** - * - * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; - * * @param value The bytes of the dimensionNames to add. * @return This builder for chaining. */ - public Builder addDimensionNamesBytes(com.google.protobuf.ByteString value) { + public Builder addDimensionNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDimensionNamesIsMutable(); dimensionNames_.add(value); onChanged(); @@ -1733,8 +1541,6 @@ public Builder addDimensionNamesBytes(com.google.protobuf.ByteString value) { private java.lang.Object delimiter_ = ""; /** - * - * *
        * The delimiter placed between dimension names.
        * Delimiters are often single characters such as "|" or "," but can be
@@ -1745,13 +1551,13 @@ public Builder addDimensionNamesBytes(com.google.protobuf.ByteString value) {
        * 
* * string delimiter = 2; - * * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; @@ -1760,8 +1566,6 @@ public java.lang.String getDelimiter() { } } /** - * - * *
        * The delimiter placed between dimension names.
        * Delimiters are often single characters such as "|" or "," but can be
@@ -1772,14 +1576,15 @@ public java.lang.String getDelimiter() {
        * 
* * string delimiter = 2; - * * @return The bytes for delimiter. */ - public com.google.protobuf.ByteString getDelimiterBytes() { + public com.google.protobuf.ByteString + getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1787,8 +1592,6 @@ public com.google.protobuf.ByteString getDelimiterBytes() { } } /** - * - * *
        * The delimiter placed between dimension names.
        * Delimiters are often single characters such as "|" or "," but can be
@@ -1799,22 +1602,20 @@ public com.google.protobuf.ByteString getDelimiterBytes() {
        * 
* * string delimiter = 2; - * * @param value The delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiter(java.lang.String value) { + public Builder setDelimiter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + delimiter_ = value; onChanged(); return this; } /** - * - * *
        * The delimiter placed between dimension names.
        * Delimiters are often single characters such as "|" or "," but can be
@@ -1825,18 +1626,15 @@ public Builder setDelimiter(java.lang.String value) {
        * 
* * string delimiter = 2; - * * @return This builder for chaining. */ public Builder clearDelimiter() { - + delimiter_ = getDefaultInstance().getDelimiter(); onChanged(); return this; } /** - * - * *
        * The delimiter placed between dimension names.
        * Delimiters are often single characters such as "|" or "," but can be
@@ -1847,21 +1645,20 @@ public Builder clearDelimiter() {
        * 
* * string delimiter = 2; - * * @param value The bytes for delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { + public Builder setDelimiterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + delimiter_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1874,33 +1671,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - private static final com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - DEFAULT_INSTANCE; - + private static final com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression(); + DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression(); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - getDefaultInstance() { + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConcatenateExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConcatenateExpression(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConcatenateExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConcatenateExpression(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1912,25 +1706,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - getDefaultInstanceForType() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int oneExpressionCase_ = 0; private java.lang.Object oneExpression_; - public enum OneExpressionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LOWER_CASE(4), UPPER_CASE(5), CONCATENATE(6), ONEEXPRESSION_NOT_SET(0); private final int value; - private OneExpressionCase(int value) { this.value = value; } @@ -1946,38 +1737,31 @@ public static OneExpressionCase valueOf(int value) { public static OneExpressionCase forNumber(int value) { switch (value) { - case 4: - return LOWER_CASE; - case 5: - return UPPER_CASE; - case 6: - return CONCATENATE; - case 0: - return ONEEXPRESSION_NOT_SET; - default: - return null; + case 4: return LOWER_CASE; + case 5: return UPPER_CASE; + case 6: return CONCATENATE; + case 0: return ONEEXPRESSION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneExpressionCase getOneExpressionCase() { - return OneExpressionCase.forNumber(oneExpressionCase_); + public OneExpressionCase + getOneExpressionCase() { + return OneExpressionCase.forNumber( + oneExpressionCase_); } public static final int LOWER_CASE_FIELD_NUMBER = 4; /** - * - * *
    * Used to convert a dimension value to lower case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; - * * @return Whether the lowerCase field is set. */ @java.lang.Override @@ -1985,26 +1769,21 @@ public boolean hasLowerCase() { return oneExpressionCase_ == 4; } /** - * - * *
    * Used to convert a dimension value to lower case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; - * * @return The lowerCase. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getLowerCase() { if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } /** - * - * *
    * Used to convert a dimension value to lower case.
    * 
@@ -2012,24 +1791,20 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getLo * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder - getLowerCaseOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder() { if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } public static final int UPPER_CASE_FIELD_NUMBER = 5; /** - * - * *
    * Used to convert a dimension value to upper case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; - * * @return Whether the upperCase field is set. */ @java.lang.Override @@ -2037,26 +1812,21 @@ public boolean hasUpperCase() { return oneExpressionCase_ == 5; } /** - * - * *
    * Used to convert a dimension value to upper case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; - * * @return The upperCase. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getUpperCase() { if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } /** - * - * *
    * Used to convert a dimension value to upper case.
    * 
@@ -2064,26 +1834,21 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getUp * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder - getUpperCaseOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder() { if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } public static final int CONCATENATE_FIELD_NUMBER = 6; /** - * - * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; * @return Whether the concatenate field is set. */ @java.lang.Override @@ -2091,52 +1856,38 @@ public boolean hasConcatenate() { return oneExpressionCase_ == 6; } /** - * - * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; * @return The concatenate. */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - getConcatenate() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getConcatenate() { if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); } /** - * - * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder - getConcatenateOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder getConcatenateOrBuilder() { if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2148,20 +1899,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 (oneExpressionCase_ == 4) { - output.writeMessage( - 4, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); + output.writeMessage(4, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); } if (oneExpressionCase_ == 5) { - output.writeMessage( - 5, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); + output.writeMessage(5, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); } if (oneExpressionCase_ == 6) { - output.writeMessage( - 6, - (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - oneExpression_); + output.writeMessage(6, (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_); } unknownFields.writeTo(output); } @@ -2173,23 +1920,16 @@ public int getSerializedSize() { size = 0; if (oneExpressionCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); } if (oneExpressionCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); } if (oneExpressionCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, - (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - oneExpression_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2199,24 +1939,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.analytics.data.v1beta.DimensionExpression)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionExpression other = - (com.google.analytics.data.v1beta.DimensionExpression) obj; + com.google.analytics.data.v1beta.DimensionExpression other = (com.google.analytics.data.v1beta.DimensionExpression) obj; if (!getOneExpressionCase().equals(other.getOneExpressionCase())) return false; switch (oneExpressionCase_) { case 4: - if (!getLowerCase().equals(other.getLowerCase())) return false; + if (!getLowerCase() + .equals(other.getLowerCase())) return false; break; case 5: - if (!getUpperCase().equals(other.getUpperCase())) return false; + if (!getUpperCase() + .equals(other.getUpperCase())) return false; break; case 6: - if (!getConcatenate().equals(other.getConcatenate())) return false; + if (!getConcatenate() + .equals(other.getConcatenate())) return false; break; case 0: default: @@ -2254,103 +1996,96 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionExpression parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionExpression parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionExpression parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionExpression parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Used to express a dimension which is the result of a formula of multiple
    * dimensions. Example usages:
@@ -2360,23 +2095,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionExpression)
       com.google.analytics.data.v1beta.DimensionExpressionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.DimensionExpression.class,
-              com.google.analytics.data.v1beta.DimensionExpression.Builder.class);
+              com.google.analytics.data.v1beta.DimensionExpression.class, com.google.analytics.data.v1beta.DimensionExpression.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.DimensionExpression.newBuilder()
@@ -2384,15 +2117,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();
@@ -2402,9 +2136,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
     }
 
     @java.lang.Override
@@ -2423,8 +2157,7 @@ public com.google.analytics.data.v1beta.DimensionExpression build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.DimensionExpression buildPartial() {
-      com.google.analytics.data.v1beta.DimensionExpression result =
-          new com.google.analytics.data.v1beta.DimensionExpression(this);
+      com.google.analytics.data.v1beta.DimensionExpression result = new com.google.analytics.data.v1beta.DimensionExpression(this);
       if (oneExpressionCase_ == 4) {
         if (lowerCaseBuilder_ == null) {
           result.oneExpression_ = oneExpression_;
@@ -2455,39 +2188,38 @@ public com.google.analytics.data.v1beta.DimensionExpression buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.DimensionExpression) {
-        return mergeFrom((com.google.analytics.data.v1beta.DimensionExpression) other);
+        return mergeFrom((com.google.analytics.data.v1beta.DimensionExpression)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2495,28 +2227,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionExpression other) {
-      if (other == com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance()) return this;
       switch (other.getOneExpressionCase()) {
-        case LOWER_CASE:
-          {
-            mergeLowerCase(other.getLowerCase());
-            break;
-          }
-        case UPPER_CASE:
-          {
-            mergeUpperCase(other.getUpperCase());
-            break;
-          }
-        case CONCATENATE:
-          {
-            mergeConcatenate(other.getConcatenate());
-            break;
-          }
-        case ONEEXPRESSION_NOT_SET:
-          {
-            break;
-          }
+        case LOWER_CASE: {
+          mergeLowerCase(other.getLowerCase());
+          break;
+        }
+        case UPPER_CASE: {
+          mergeUpperCase(other.getUpperCase());
+          break;
+        }
+        case CONCATENATE: {
+          mergeConcatenate(other.getConcatenate());
+          break;
+        }
+        case ONEEXPRESSION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2537,8 +2264,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.analytics.data.v1beta.DimensionExpression) e.getUnfinishedMessage();
+        parsedMessage = (com.google.analytics.data.v1beta.DimensionExpression) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2547,12 +2273,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int oneExpressionCase_ = 0;
     private java.lang.Object oneExpression_;
-
-    public OneExpressionCase getOneExpressionCase() {
-      return OneExpressionCase.forNumber(oneExpressionCase_);
+    public OneExpressionCase
+        getOneExpressionCase() {
+      return OneExpressionCase.forNumber(
+          oneExpressionCase_);
     }
 
     public Builder clearOneExpression() {
@@ -2562,20 +2288,15 @@ public Builder clearOneExpression() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionExpression.CaseExpression,
-            com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder,
-            com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder>
-        lowerCaseBuilder_;
+        com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> lowerCaseBuilder_;
     /**
-     *
-     *
      * 
      * Used to convert a dimension value to lower case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; - * * @return Whether the lowerCase field is set. */ @java.lang.Override @@ -2583,44 +2304,35 @@ public boolean hasLowerCase() { return oneExpressionCase_ == 4; } /** - * - * *
      * Used to convert a dimension value to lower case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; - * * @return The lowerCase. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getLowerCase() { if (lowerCaseBuilder_ == null) { if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) - oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } else { if (oneExpressionCase_ == 4) { return lowerCaseBuilder_.getMessage(); } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } } /** - * - * *
      * Used to convert a dimension value to lower case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ - public Builder setLowerCase( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { + public Builder setLowerCase(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { if (lowerCaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2634,8 +2346,6 @@ public Builder setLowerCase( return this; } /** - * - * *
      * Used to convert a dimension value to lower case.
      * 
@@ -2643,8 +2353,7 @@ public Builder setLowerCase( * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ public Builder setLowerCase( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder - builderForValue) { + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder builderForValue) { if (lowerCaseBuilder_ == null) { oneExpression_ = builderForValue.build(); onChanged(); @@ -2655,27 +2364,18 @@ public Builder setLowerCase( return this; } /** - * - * *
      * Used to convert a dimension value to lower case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ - public Builder mergeLowerCase( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { + public Builder mergeLowerCase(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { if (lowerCaseBuilder_ == null) { - if (oneExpressionCase_ == 4 - && oneExpression_ - != com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance()) { - oneExpression_ = - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder( - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) - oneExpression_) - .mergeFrom(value) - .buildPartial(); + if (oneExpressionCase_ == 4 && + oneExpression_ != com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance()) { + oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_) + .mergeFrom(value).buildPartial(); } else { oneExpression_ = value; } @@ -2690,8 +2390,6 @@ public Builder mergeLowerCase( return this; } /** - * - * *
      * Used to convert a dimension value to lower case.
      * 
@@ -2715,21 +2413,16 @@ public Builder clearLowerCase() { return this; } /** - * - * *
      * Used to convert a dimension value to lower case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder - getLowerCaseBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder getLowerCaseBuilder() { return getLowerCaseFieldBuilder().getBuilder(); } /** - * - * *
      * Used to convert a dimension value to lower case.
      * 
@@ -2737,22 +2430,17 @@ public Builder clearLowerCase() { * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder - getLowerCaseOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder() { if ((oneExpressionCase_ == 4) && (lowerCaseBuilder_ != null)) { return lowerCaseBuilder_.getMessageOrBuilder(); } else { if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) - oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } } /** - * - * *
      * Used to convert a dimension value to lower case.
      * 
@@ -2760,47 +2448,32 @@ public Builder clearLowerCase() { * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> getLowerCaseFieldBuilder() { if (lowerCaseBuilder_ == null) { if (!(oneExpressionCase_ == 4)) { - oneExpression_ = - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance(); + oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } - lowerCaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder>( - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) - oneExpression_, + lowerCaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder>( + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_, getParentForChildren(), isClean()); oneExpression_ = null; } oneExpressionCase_ = 4; - onChanged(); - ; + onChanged();; return lowerCaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> - upperCaseBuilder_; + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> upperCaseBuilder_; /** - * - * *
      * Used to convert a dimension value to upper case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; - * * @return Whether the upperCase field is set. */ @java.lang.Override @@ -2808,44 +2481,35 @@ public boolean hasUpperCase() { return oneExpressionCase_ == 5; } /** - * - * *
      * Used to convert a dimension value to upper case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; - * * @return The upperCase. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getUpperCase() { if (upperCaseBuilder_ == null) { if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) - oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } else { if (oneExpressionCase_ == 5) { return upperCaseBuilder_.getMessage(); } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } } /** - * - * *
      * Used to convert a dimension value to upper case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ - public Builder setUpperCase( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { + public Builder setUpperCase(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { if (upperCaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2859,8 +2523,6 @@ public Builder setUpperCase( return this; } /** - * - * *
      * Used to convert a dimension value to upper case.
      * 
@@ -2868,8 +2530,7 @@ public Builder setUpperCase( * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ public Builder setUpperCase( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder - builderForValue) { + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder builderForValue) { if (upperCaseBuilder_ == null) { oneExpression_ = builderForValue.build(); onChanged(); @@ -2880,27 +2541,18 @@ public Builder setUpperCase( return this; } /** - * - * *
      * Used to convert a dimension value to upper case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ - public Builder mergeUpperCase( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { + public Builder mergeUpperCase(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { if (upperCaseBuilder_ == null) { - if (oneExpressionCase_ == 5 - && oneExpression_ - != com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance()) { - oneExpression_ = - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder( - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) - oneExpression_) - .mergeFrom(value) - .buildPartial(); + if (oneExpressionCase_ == 5 && + oneExpression_ != com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance()) { + oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_) + .mergeFrom(value).buildPartial(); } else { oneExpression_ = value; } @@ -2915,8 +2567,6 @@ public Builder mergeUpperCase( return this; } /** - * - * *
      * Used to convert a dimension value to upper case.
      * 
@@ -2940,21 +2590,16 @@ public Builder clearUpperCase() { return this; } /** - * - * *
      * Used to convert a dimension value to upper case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder - getUpperCaseBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder getUpperCaseBuilder() { return getUpperCaseFieldBuilder().getBuilder(); } /** - * - * *
      * Used to convert a dimension value to upper case.
      * 
@@ -2962,22 +2607,17 @@ public Builder clearUpperCase() { * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder - getUpperCaseOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder() { if ((oneExpressionCase_ == 5) && (upperCaseBuilder_ != null)) { return upperCaseBuilder_.getMessageOrBuilder(); } else { if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) - oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } } /** - * - * *
      * Used to convert a dimension value to upper case.
      * 
@@ -2985,50 +2625,33 @@ public Builder clearUpperCase() { * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> getUpperCaseFieldBuilder() { if (upperCaseBuilder_ == null) { if (!(oneExpressionCase_ == 5)) { - oneExpression_ = - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression - .getDefaultInstance(); + oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } - upperCaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder>( - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) - oneExpression_, + upperCaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder>( + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_, getParentForChildren(), isClean()); oneExpression_ = null; } oneExpressionCase_ = 5; - onChanged(); - ; + onChanged();; return upperCaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder> - concatenateBuilder_; + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder> concatenateBuilder_; /** - * - * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; * @return Whether the concatenate field is set. */ @java.lang.Override @@ -3036,51 +2659,37 @@ public boolean hasConcatenate() { return oneExpressionCase_ == 6; } /** - * - * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; * @return The concatenate. */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - getConcatenate() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getConcatenate() { if (concatenateBuilder_ == null) { if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); } else { if (oneExpressionCase_ == 6) { return concatenateBuilder_.getMessage(); } - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); } } /** - * - * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; */ - public Builder setConcatenate( - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression value) { + public Builder setConcatenate(com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression value) { if (concatenateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3094,20 +2703,15 @@ public Builder setConcatenate( return this; } /** - * - * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; */ public Builder setConcatenate( - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder - builderForValue) { + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder builderForValue) { if (concatenateBuilder_ == null) { oneExpression_ = builderForValue.build(); onChanged(); @@ -3118,30 +2722,19 @@ public Builder setConcatenate( return this; } /** - * - * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; */ - public Builder mergeConcatenate( - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression value) { + public Builder mergeConcatenate(com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression value) { if (concatenateBuilder_ == null) { - if (oneExpressionCase_ == 6 - && oneExpression_ - != com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - .getDefaultInstance()) { - oneExpression_ = - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.newBuilder( - (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - oneExpression_) - .mergeFrom(value) - .buildPartial(); + if (oneExpressionCase_ == 6 && + oneExpression_ != com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance()) { + oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.newBuilder((com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_) + .mergeFrom(value).buildPartial(); } else { oneExpression_ = value; } @@ -3156,16 +2749,12 @@ public Builder mergeConcatenate( return this; } /** - * - * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; */ public Builder clearConcatenate() { if (concatenateBuilder_ == null) { @@ -3184,90 +2773,64 @@ public Builder clearConcatenate() { return this; } /** - * - * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; */ - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder - getConcatenateBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder getConcatenateBuilder() { return getConcatenateFieldBuilder().getBuilder(); } /** - * - * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder - getConcatenateOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder getConcatenateOrBuilder() { if ((oneExpressionCase_ == 6) && (concatenateBuilder_ != null)) { return concatenateBuilder_.getMessageOrBuilder(); } else { if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); } } /** - * - * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder> + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder> getConcatenateFieldBuilder() { if (concatenateBuilder_ == null) { if (!(oneExpressionCase_ == 6)) { - oneExpression_ = - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); + oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); } - concatenateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, - com.google.analytics.data.v1beta.DimensionExpression - .ConcatenateExpressionOrBuilder>( - (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - oneExpression_, + concatenateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder>( + (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_, getParentForChildren(), isClean()); oneExpression_ = null; } oneExpressionCase_ = 6; - onChanged(); - ; + onChanged();; return concatenateBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3277,12 +2840,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionExpression) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionExpression) private static final com.google.analytics.data.v1beta.DimensionExpression DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionExpression(); } @@ -3291,16 +2854,16 @@ public static com.google.analytics.data.v1beta.DimensionExpression getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionExpression(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionExpression(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3315,4 +2878,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DimensionExpression getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java similarity index 73% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java index 2f811745..e887ce5a 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java @@ -1,142 +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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DimensionExpressionOrBuilder - extends +public interface DimensionExpressionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionExpression) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Used to convert a dimension value to lower case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; - * * @return Whether the lowerCase field is set. */ boolean hasLowerCase(); /** - * - * *
    * Used to convert a dimension value to lower case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; - * * @return The lowerCase. */ com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getLowerCase(); /** - * - * *
    * Used to convert a dimension value to lower case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ - com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder - getLowerCaseOrBuilder(); + com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder(); /** - * - * *
    * Used to convert a dimension value to upper case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; - * * @return Whether the upperCase field is set. */ boolean hasUpperCase(); /** - * - * *
    * Used to convert a dimension value to upper case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; - * * @return The upperCase. */ com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getUpperCase(); /** - * - * *
    * Used to convert a dimension value to upper case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ - com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder - getUpperCaseOrBuilder(); + com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder(); /** - * - * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; * @return Whether the concatenate field is set. */ boolean hasConcatenate(); /** - * - * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; * @return The concatenate. */ com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getConcatenate(); /** - * - * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; - * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; */ - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder - getConcatenateOrBuilder(); + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder getConcatenateOrBuilder(); - public com.google.analytics.data.v1beta.DimensionExpression.OneExpressionCase - getOneExpressionCase(); + public com.google.analytics.data.v1beta.DimensionExpression.OneExpressionCase getOneExpressionCase(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java similarity index 68% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java index 7742a397..cfa5a8c3 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Describes a dimension column in the report. Dimensions requested in a report
  * produce column entries within rows and DimensionHeaders. However, dimensions
@@ -30,31 +13,31 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.DimensionHeader}
  */
-public final class DimensionHeader extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DimensionHeader extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionHeader)
     DimensionHeaderOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DimensionHeader.newBuilder() to construct.
   private DimensionHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DimensionHeader() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DimensionHeader();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DimensionHeader(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,58 +56,52 @@ private DimensionHeader(
           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.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.DimensionHeader.class,
-            com.google.analytics.data.v1beta.DimensionHeader.Builder.class);
+            com.google.analytics.data.v1beta.DimensionHeader.class, com.google.analytics.data.v1beta.DimensionHeader.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The dimension's name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -133,29 +110,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The dimension's 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 { @@ -164,7 +141,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,7 +152,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -200,15 +177,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.analytics.data.v1beta.DimensionHeader)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionHeader other = - (com.google.analytics.data.v1beta.DimensionHeader) obj; + com.google.analytics.data.v1beta.DimensionHeader other = (com.google.analytics.data.v1beta.DimensionHeader) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,104 +204,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionHeader parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionHeader parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionHeader parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 dimension column in the report. Dimensions requested in a report
    * produce column entries within rows and DimensionHeaders. However, dimensions
@@ -334,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.DimensionHeader}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionHeader)
       com.google.analytics.data.v1beta.DimensionHeaderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.DimensionHeader.class,
-              com.google.analytics.data.v1beta.DimensionHeader.Builder.class);
+              com.google.analytics.data.v1beta.DimensionHeader.class, com.google.analytics.data.v1beta.DimensionHeader.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.DimensionHeader.newBuilder()
@@ -358,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();
@@ -376,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
     }
 
     @java.lang.Override
@@ -397,8 +366,7 @@ public com.google.analytics.data.v1beta.DimensionHeader build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.DimensionHeader buildPartial() {
-      com.google.analytics.data.v1beta.DimensionHeader result =
-          new com.google.analytics.data.v1beta.DimensionHeader(this);
+      com.google.analytics.data.v1beta.DimensionHeader result = new com.google.analytics.data.v1beta.DimensionHeader(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -408,39 +376,38 @@ public com.google.analytics.data.v1beta.DimensionHeader buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.DimensionHeader) {
-        return mergeFrom((com.google.analytics.data.v1beta.DimensionHeader) other);
+        return mergeFrom((com.google.analytics.data.v1beta.DimensionHeader)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -448,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionHeader other) {
-      if (other == com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -485,20 +451,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The dimension's 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; @@ -507,21 +471,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The dimension's 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 { @@ -529,68 +492,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The dimension's 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; } /** - * - * *
      * The dimension's name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The dimension's 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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,12 +556,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionHeader) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionHeader) private static final com.google.analytics.data.v1beta.DimensionHeader DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionHeader(); } @@ -614,16 +570,16 @@ public static com.google.analytics.data.v1beta.DimensionHeader getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionHeader(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionHeader parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionHeader(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,4 +594,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DimensionHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java new file mode 100644 index 00000000..f967ca8a --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public interface DimensionHeaderOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionHeader) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The dimension's name.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The dimension's name.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java similarity index 68% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java index 197014d0..bf021d32 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java @@ -1,60 +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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Explains a dimension.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionMetadata} */ -public final class DimensionMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DimensionMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionMetadata) DimensionMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DimensionMetadata.newBuilder() to construct. private DimensionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DimensionMetadata() { apiName_ = ""; uiName_ = ""; description_ = ""; deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + category_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DimensionMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DimensionMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,55 +58,58 @@ private DimensionMetadata( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - apiName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + apiName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - uiName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + uiName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - deprecatedApiNames_.add(s); - break; - } - case 40: - { - customDefinition_ = input.readBool(); - break; + description_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + deprecatedApiNames_.add(s); + break; + } + case 40: { + + customDefinition_ = input.readBool(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + category_ = 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)) { deprecatedApiNames_ = deprecatedApiNames_.getUnmodifiableView(); @@ -131,34 +118,28 @@ private DimensionMetadata( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionMetadata.class, - com.google.analytics.data.v1beta.DimensionMetadata.Builder.class); + com.google.analytics.data.v1beta.DimensionMetadata.class, com.google.analytics.data.v1beta.DimensionMetadata.Builder.class); } public static final int API_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object apiName_; /** - * - * *
    * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
    * example, `eventName`.
    * 
* * string api_name = 1; - * * @return The apiName. */ @java.lang.Override @@ -167,30 +148,30 @@ public java.lang.String getApiName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiName_ = s; return s; } } /** - * - * *
    * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
    * example, `eventName`.
    * 
* * string api_name = 1; - * * @return The bytes for apiName. */ @java.lang.Override - public com.google.protobuf.ByteString getApiNameBytes() { + public com.google.protobuf.ByteString + getApiNameBytes() { java.lang.Object ref = apiName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiName_ = b; return b; } else { @@ -201,15 +182,12 @@ public com.google.protobuf.ByteString getApiNameBytes() { public static final int UI_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object uiName_; /** - * - * *
    * This dimension's name within the Google Analytics user interface. For
    * example, `Event name`.
    * 
* * string ui_name = 2; - * * @return The uiName. */ @java.lang.Override @@ -218,30 +196,30 @@ public java.lang.String getUiName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uiName_ = s; return s; } } /** - * - * *
    * This dimension's name within the Google Analytics user interface. For
    * example, `Event name`.
    * 
* * string ui_name = 2; - * * @return The bytes for uiName. */ @java.lang.Override - public com.google.protobuf.ByteString getUiNameBytes() { + public com.google.protobuf.ByteString + getUiNameBytes() { java.lang.Object ref = uiName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uiName_ = b; return b; } else { @@ -252,14 +230,11 @@ public com.google.protobuf.ByteString getUiNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Description of how this dimension is used and calculated.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -268,29 +243,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Description of how this dimension is used and calculated.
    * 
* * 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 { @@ -301,8 +276,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int DEPRECATED_API_NAMES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList deprecatedApiNames_; /** - * - * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -311,15 +284,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * repeated string deprecated_api_names = 4; - * * @return A list containing the deprecatedApiNames. */ - public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { + public com.google.protobuf.ProtocolStringList + getDeprecatedApiNamesList() { return deprecatedApiNames_; } /** - * - * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -328,15 +299,12 @@ public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() {
    * 
* * repeated string deprecated_api_names = 4; - * * @return The count of deprecatedApiNames. */ public int getDeprecatedApiNamesCount() { return deprecatedApiNames_.size(); } /** - * - * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -345,7 +313,6 @@ public int getDeprecatedApiNamesCount() {
    * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ @@ -353,8 +320,6 @@ public java.lang.String getDeprecatedApiNames(int index) { return deprecatedApiNames_.get(index); } /** - * - * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -363,25 +328,22 @@ public java.lang.String getDeprecatedApiNames(int index) {
    * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { + public com.google.protobuf.ByteString + getDeprecatedApiNamesBytes(int index) { return deprecatedApiNames_.getByteString(index); } public static final int CUSTOM_DEFINITION_FIELD_NUMBER = 5; private boolean customDefinition_; /** - * - * *
    * True if the dimension is a custom dimension for this property.
    * 
* * bool custom_definition = 5; - * * @return The customDefinition. */ @java.lang.Override @@ -389,8 +351,55 @@ public boolean getCustomDefinition() { return customDefinition_; } - private byte memoizedIsInitialized = -1; + public static final int CATEGORY_FIELD_NUMBER = 7; + private volatile java.lang.Object category_; + /** + *
+   * The display name of the category that this dimension belongs to. Similar
+   * dimensions and metrics are categorized together.
+   * 
+ * + * string category = 7; + * @return The category. + */ + @java.lang.Override + public java.lang.String getCategory() { + java.lang.Object ref = category_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + category_ = s; + return s; + } + } + /** + *
+   * The display name of the category that this dimension belongs to. Similar
+   * dimensions and metrics are categorized together.
+   * 
+ * + * string category = 7; + * @return The bytes for category. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCategoryBytes() { + java.lang.Object ref = category_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + category_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -402,7 +411,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getApiNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apiName_); } @@ -418,6 +428,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (customDefinition_ != false) { output.writeBool(5, customDefinition_); } + if (!getCategoryBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, category_); + } unknownFields.writeTo(output); } @@ -445,7 +458,11 @@ public int getSerializedSize() { size += 1 * getDeprecatedApiNamesList().size(); } if (customDefinition_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, customDefinition_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, customDefinition_); + } + if (!getCategoryBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, category_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -455,19 +472,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.analytics.data.v1beta.DimensionMetadata)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionMetadata other = - (com.google.analytics.data.v1beta.DimensionMetadata) obj; - - if (!getApiName().equals(other.getApiName())) return false; - if (!getUiName().equals(other.getUiName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getDeprecatedApiNamesList().equals(other.getDeprecatedApiNamesList())) return false; - if (getCustomDefinition() != other.getCustomDefinition()) return false; + com.google.analytics.data.v1beta.DimensionMetadata other = (com.google.analytics.data.v1beta.DimensionMetadata) obj; + + if (!getApiName() + .equals(other.getApiName())) return false; + if (!getUiName() + .equals(other.getUiName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getDeprecatedApiNamesList() + .equals(other.getDeprecatedApiNamesList())) return false; + if (getCustomDefinition() + != other.getCustomDefinition()) return false; + if (!getCategory() + .equals(other.getCategory())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -490,133 +513,127 @@ public int hashCode() { hash = (53 * hash) + getDeprecatedApiNamesList().hashCode(); } hash = (37 * hash) + CUSTOM_DEFINITION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustomDefinition()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCustomDefinition()); + hash = (37 * hash) + CATEGORY_FIELD_NUMBER; + hash = (53 * hash) + getCategory().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Explains a dimension.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionMetadata) com.google.analytics.data.v1beta.DimensionMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionMetadata.class, - com.google.analytics.data.v1beta.DimensionMetadata.Builder.class); + com.google.analytics.data.v1beta.DimensionMetadata.class, com.google.analytics.data.v1beta.DimensionMetadata.Builder.class); } // Construct using com.google.analytics.data.v1beta.DimensionMetadata.newBuilder() @@ -624,15 +641,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(); @@ -646,13 +664,15 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000001); customDefinition_ = false; + category_ = ""; + return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; } @java.lang.Override @@ -671,8 +691,7 @@ public com.google.analytics.data.v1beta.DimensionMetadata build() { @java.lang.Override public com.google.analytics.data.v1beta.DimensionMetadata buildPartial() { - com.google.analytics.data.v1beta.DimensionMetadata result = - new com.google.analytics.data.v1beta.DimensionMetadata(this); + com.google.analytics.data.v1beta.DimensionMetadata result = new com.google.analytics.data.v1beta.DimensionMetadata(this); int from_bitField0_ = bitField0_; result.apiName_ = apiName_; result.uiName_ = uiName_; @@ -683,6 +702,7 @@ public com.google.analytics.data.v1beta.DimensionMetadata buildPartial() { } result.deprecatedApiNames_ = deprecatedApiNames_; result.customDefinition_ = customDefinition_; + result.category_ = category_; onBuilt(); return result; } @@ -691,39 +711,38 @@ public com.google.analytics.data.v1beta.DimensionMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.DimensionMetadata) { - return mergeFrom((com.google.analytics.data.v1beta.DimensionMetadata) other); + return mergeFrom((com.google.analytics.data.v1beta.DimensionMetadata)other); } else { super.mergeFrom(other); return this; @@ -731,8 +750,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionMetadata other) { - if (other == com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()) return this; if (!other.getApiName().isEmpty()) { apiName_ = other.apiName_; onChanged(); @@ -758,6 +776,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionMetadata othe if (other.getCustomDefinition() != false) { setCustomDefinition(other.getCustomDefinition()); } + if (!other.getCategory().isEmpty()) { + category_ = other.category_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -777,8 +799,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.DimensionMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.DimensionMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -787,26 +808,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object apiName_ = ""; /** - * - * *
      * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
      * example, `eventName`.
      * 
* * string api_name = 1; - * * @return The apiName. */ public java.lang.String getApiName() { java.lang.Object ref = apiName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiName_ = s; return s; @@ -815,22 +833,21 @@ public java.lang.String getApiName() { } } /** - * - * *
      * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
      * example, `eventName`.
      * 
* * string api_name = 1; - * * @return The bytes for apiName. */ - public com.google.protobuf.ByteString getApiNameBytes() { + public com.google.protobuf.ByteString + getApiNameBytes() { java.lang.Object ref = apiName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiName_ = b; return b; } else { @@ -838,64 +855,57 @@ public com.google.protobuf.ByteString getApiNameBytes() { } } /** - * - * *
      * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
      * example, `eventName`.
      * 
* * string api_name = 1; - * * @param value The apiName to set. * @return This builder for chaining. */ - public Builder setApiName(java.lang.String value) { + public Builder setApiName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiName_ = value; onChanged(); return this; } /** - * - * *
      * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
      * example, `eventName`.
      * 
* * string api_name = 1; - * * @return This builder for chaining. */ public Builder clearApiName() { - + apiName_ = getDefaultInstance().getApiName(); onChanged(); return this; } /** - * - * *
      * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
      * example, `eventName`.
      * 
* * string api_name = 1; - * * @param value The bytes for apiName to set. * @return This builder for chaining. */ - public Builder setApiNameBytes(com.google.protobuf.ByteString value) { + public Builder setApiNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiName_ = value; onChanged(); return this; @@ -903,21 +913,19 @@ public Builder setApiNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uiName_ = ""; /** - * - * *
      * This dimension's name within the Google Analytics user interface. For
      * example, `Event name`.
      * 
* * string ui_name = 2; - * * @return The uiName. */ public java.lang.String getUiName() { java.lang.Object ref = uiName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uiName_ = s; return s; @@ -926,22 +934,21 @@ public java.lang.String getUiName() { } } /** - * - * *
      * This dimension's name within the Google Analytics user interface. For
      * example, `Event name`.
      * 
* * string ui_name = 2; - * * @return The bytes for uiName. */ - public com.google.protobuf.ByteString getUiNameBytes() { + public com.google.protobuf.ByteString + getUiNameBytes() { java.lang.Object ref = uiName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uiName_ = b; return b; } else { @@ -949,64 +956,57 @@ public com.google.protobuf.ByteString getUiNameBytes() { } } /** - * - * *
      * This dimension's name within the Google Analytics user interface. For
      * example, `Event name`.
      * 
* * string ui_name = 2; - * * @param value The uiName to set. * @return This builder for chaining. */ - public Builder setUiName(java.lang.String value) { + public Builder setUiName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uiName_ = value; onChanged(); return this; } /** - * - * *
      * This dimension's name within the Google Analytics user interface. For
      * example, `Event name`.
      * 
* * string ui_name = 2; - * * @return This builder for chaining. */ public Builder clearUiName() { - + uiName_ = getDefaultInstance().getUiName(); onChanged(); return this; } /** - * - * *
      * This dimension's name within the Google Analytics user interface. For
      * example, `Event name`.
      * 
* * string ui_name = 2; - * * @param value The bytes for uiName to set. * @return This builder for chaining. */ - public Builder setUiNameBytes(com.google.protobuf.ByteString value) { + public Builder setUiNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uiName_ = value; onChanged(); return this; @@ -1014,20 +1014,18 @@ public Builder setUiNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Description of how this dimension is used and calculated.
      * 
* * 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; @@ -1036,21 +1034,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of how this dimension is used and calculated.
      * 
* * 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 { @@ -1058,78 +1055,67 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of how this dimension is used and calculated.
      * 
* * 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; } /** - * - * *
      * Description of how this dimension is used and calculated.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Description of how this dimension is used and calculated.
      * 
* * 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 com.google.protobuf.LazyStringList deprecatedApiNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDeprecatedApiNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(deprecatedApiNames_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1138,15 +1124,13 @@ private void ensureDeprecatedApiNamesIsMutable() {
      * 
* * repeated string deprecated_api_names = 4; - * * @return A list containing the deprecatedApiNames. */ - public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { + public com.google.protobuf.ProtocolStringList + getDeprecatedApiNamesList() { return deprecatedApiNames_.getUnmodifiableView(); } /** - * - * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1155,15 +1139,12 @@ public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() {
      * 
* * repeated string deprecated_api_names = 4; - * * @return The count of deprecatedApiNames. */ public int getDeprecatedApiNamesCount() { return deprecatedApiNames_.size(); } /** - * - * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1172,7 +1153,6 @@ public int getDeprecatedApiNamesCount() {
      * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ @@ -1180,8 +1160,6 @@ public java.lang.String getDeprecatedApiNames(int index) { return deprecatedApiNames_.get(index); } /** - * - * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1190,16 +1168,14 @@ public java.lang.String getDeprecatedApiNames(int index) {
      * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { + public com.google.protobuf.ByteString + getDeprecatedApiNamesBytes(int index) { return deprecatedApiNames_.getByteString(index); } /** - * - * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1208,23 +1184,21 @@ public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) {
      * 
* * repeated string deprecated_api_names = 4; - * * @param index The index to set the value at. * @param value The deprecatedApiNames to set. * @return This builder for chaining. */ - public Builder setDeprecatedApiNames(int index, java.lang.String value) { + public Builder setDeprecatedApiNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); + throw new NullPointerException(); + } + ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1233,22 +1207,20 @@ public Builder setDeprecatedApiNames(int index, java.lang.String value) {
      * 
* * repeated string deprecated_api_names = 4; - * * @param value The deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addDeprecatedApiNames(java.lang.String value) { + public Builder addDeprecatedApiNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); + throw new NullPointerException(); + } + ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.add(value); onChanged(); return this; } /** - * - * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1257,19 +1229,18 @@ public Builder addDeprecatedApiNames(java.lang.String value) {
      * 
* * repeated string deprecated_api_names = 4; - * * @param values The deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addAllDeprecatedApiNames(java.lang.Iterable values) { + public Builder addAllDeprecatedApiNames( + java.lang.Iterable values) { ensureDeprecatedApiNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deprecatedApiNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, deprecatedApiNames_); onChanged(); return this; } /** - * - * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1278,7 +1249,6 @@ public Builder addAllDeprecatedApiNames(java.lang.Iterable val
      * 
* * repeated string deprecated_api_names = 4; - * * @return This builder for chaining. */ public Builder clearDeprecatedApiNames() { @@ -1288,8 +1258,6 @@ public Builder clearDeprecatedApiNames() { return this; } /** - * - * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1298,31 +1266,28 @@ public Builder clearDeprecatedApiNames() {
      * 
* * repeated string deprecated_api_names = 4; - * * @param value The bytes of the deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value) { + public Builder addDeprecatedApiNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.add(value); onChanged(); return this; } - private boolean customDefinition_; + private boolean customDefinition_ ; /** - * - * *
      * True if the dimension is a custom dimension for this property.
      * 
* * bool custom_definition = 5; - * * @return The customDefinition. */ @java.lang.Override @@ -1330,43 +1295,138 @@ public boolean getCustomDefinition() { return customDefinition_; } /** - * - * *
      * True if the dimension is a custom dimension for this property.
      * 
* * bool custom_definition = 5; - * * @param value The customDefinition to set. * @return This builder for chaining. */ public Builder setCustomDefinition(boolean value) { - + customDefinition_ = value; onChanged(); return this; } /** - * - * *
      * True if the dimension is a custom dimension for this property.
      * 
* * bool custom_definition = 5; - * * @return This builder for chaining. */ public Builder clearCustomDefinition() { - + customDefinition_ = false; onChanged(); return this; } + private java.lang.Object category_ = ""; + /** + *
+     * The display name of the category that this dimension belongs to. Similar
+     * dimensions and metrics are categorized together.
+     * 
+ * + * string category = 7; + * @return The category. + */ + public java.lang.String getCategory() { + java.lang.Object ref = category_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + category_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The display name of the category that this dimension belongs to. Similar
+     * dimensions and metrics are categorized together.
+     * 
+ * + * string category = 7; + * @return The bytes for category. + */ + public com.google.protobuf.ByteString + getCategoryBytes() { + java.lang.Object ref = category_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + category_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The display name of the category that this dimension belongs to. Similar
+     * dimensions and metrics are categorized together.
+     * 
+ * + * string category = 7; + * @param value The category to set. + * @return This builder for chaining. + */ + public Builder setCategory( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + category_ = value; + onChanged(); + return this; + } + /** + *
+     * The display name of the category that this dimension belongs to. Similar
+     * dimensions and metrics are categorized together.
+     * 
+ * + * string category = 7; + * @return This builder for chaining. + */ + public Builder clearCategory() { + + category_ = getDefaultInstance().getCategory(); + onChanged(); + return this; + } + /** + *
+     * The display name of the category that this dimension belongs to. Similar
+     * dimensions and metrics are categorized together.
+     * 
+ * + * string category = 7; + * @param value The bytes for category to set. + * @return This builder for chaining. + */ + public Builder setCategoryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + category_ = 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); } @@ -1376,12 +1436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionMetadata) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionMetadata) private static final com.google.analytics.data.v1beta.DimensionMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionMetadata(); } @@ -1390,16 +1450,16 @@ public static com.google.analytics.data.v1beta.DimensionMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1414,4 +1474,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DimensionMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java similarity index 77% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java index a3aaba90..6650907f 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java @@ -1,110 +1,77 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DimensionMetadataOrBuilder - extends +public interface DimensionMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
    * example, `eventName`.
    * 
* * string api_name = 1; - * * @return The apiName. */ java.lang.String getApiName(); /** - * - * *
    * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
    * example, `eventName`.
    * 
* * string api_name = 1; - * * @return The bytes for apiName. */ - com.google.protobuf.ByteString getApiNameBytes(); + com.google.protobuf.ByteString + getApiNameBytes(); /** - * - * *
    * This dimension's name within the Google Analytics user interface. For
    * example, `Event name`.
    * 
* * string ui_name = 2; - * * @return The uiName. */ java.lang.String getUiName(); /** - * - * *
    * This dimension's name within the Google Analytics user interface. For
    * example, `Event name`.
    * 
* * string ui_name = 2; - * * @return The bytes for uiName. */ - com.google.protobuf.ByteString getUiNameBytes(); + com.google.protobuf.ByteString + getUiNameBytes(); /** - * - * *
    * Description of how this dimension is used and calculated.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of how this dimension is used and calculated.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -113,13 +80,11 @@ public interface DimensionMetadataOrBuilder
    * 
* * repeated string deprecated_api_names = 4; - * * @return A list containing the deprecatedApiNames. */ - java.util.List getDeprecatedApiNamesList(); + java.util.List + getDeprecatedApiNamesList(); /** - * - * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -128,13 +93,10 @@ public interface DimensionMetadataOrBuilder
    * 
* * repeated string deprecated_api_names = 4; - * * @return The count of deprecatedApiNames. */ int getDeprecatedApiNamesCount(); /** - * - * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -143,14 +105,11 @@ public interface DimensionMetadataOrBuilder
    * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ java.lang.String getDeprecatedApiNames(int index); /** - * - * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -159,22 +118,41 @@ public interface DimensionMetadataOrBuilder
    * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index); + com.google.protobuf.ByteString + getDeprecatedApiNamesBytes(int index); /** - * - * *
    * True if the dimension is a custom dimension for this property.
    * 
* * bool custom_definition = 5; - * * @return The customDefinition. */ boolean getCustomDefinition(); + + /** + *
+   * The display name of the category that this dimension belongs to. Similar
+   * dimensions and metrics are categorized together.
+   * 
+ * + * string category = 7; + * @return The category. + */ + java.lang.String getCategory(); + /** + *
+   * The display name of the category that this dimension belongs to. Similar
+   * dimensions and metrics are categorized together.
+   * 
+ * + * string category = 7; + * @return The bytes for category. + */ + com.google.protobuf.ByteString + getCategoryBytes(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java similarity index 79% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java index 26ab4db3..416f38de 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DimensionOrBuilder - extends +public interface DimensionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Dimension) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the dimension. See the [API
    * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -40,13 +22,10 @@ public interface DimensionOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the dimension. See the [API
    * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -61,40 +40,32 @@ public interface DimensionOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; - * * @return Whether the dimensionExpression field is set. */ boolean hasDimensionExpression(); /** - * - * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; - * * @return The dimensionExpression. */ com.google.analytics.data.v1beta.DimensionExpression getDimensionExpression(); /** - * - * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java
similarity index 69%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java
index 524b4c88..30c1b026 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
- *
- *
  * 
  * The value of a dimension.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionValue} */ -public final class DimensionValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DimensionValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionValue) DimensionValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DimensionValue.newBuilder() to construct. private DimensionValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DimensionValue() {} + private DimensionValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DimensionValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DimensionValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,58 +52,52 @@ private DimensionValue( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - oneValueCase_ = 1; - oneValue_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + oneValueCase_ = 1; + oneValue_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionValue.class, - com.google.analytics.data.v1beta.DimensionValue.Builder.class); + com.google.analytics.data.v1beta.DimensionValue.class, com.google.analytics.data.v1beta.DimensionValue.Builder.class); } private int oneValueCase_ = 0; private java.lang.Object oneValue_; - public enum OneValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE(1), ONEVALUE_NOT_SET(0); private final int value; - private OneValueCase(int value) { this.value = value; } @@ -135,48 +113,40 @@ public static OneValueCase valueOf(int value) { public static OneValueCase forNumber(int value) { switch (value) { - case 1: - return VALUE; - case 0: - return ONEVALUE_NOT_SET; - default: - return null; + case 1: return VALUE; + case 0: return ONEVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); + public OneValueCase + getOneValueCase() { + return OneValueCase.forNumber( + oneValueCase_); } public static final int VALUE_FIELD_NUMBER = 1; /** - * - * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; - * * @return Whether the value field is set. */ public boolean hasValue() { return oneValueCase_ == 1; } /** - * - * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; - * * @return The value. */ public java.lang.String getValue() { @@ -187,7 +157,8 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (oneValueCase_ == 1) { oneValue_ = s; @@ -196,24 +167,23 @@ public java.lang.String getValue() { } } /** - * - * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = ""; if (oneValueCase_ == 1) { ref = oneValue_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (oneValueCase_ == 1) { oneValue_ = b; } @@ -224,7 +194,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (oneValueCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oneValue_); } @@ -260,18 +230,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.analytics.data.v1beta.DimensionValue)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionValue other = - (com.google.analytics.data.v1beta.DimensionValue) obj; + com.google.analytics.data.v1beta.DimensionValue other = (com.google.analytics.data.v1beta.DimensionValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 1: - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; break; case 0: default: @@ -300,127 +270,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.DimensionValue parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.DimensionValue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionValue 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.analytics.data.v1beta.DimensionValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.DimensionValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.DimensionValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 value of a dimension.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionValue) com.google.analytics.data.v1beta.DimensionValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionValue.class, - com.google.analytics.data.v1beta.DimensionValue.Builder.class); + com.google.analytics.data.v1beta.DimensionValue.class, com.google.analytics.data.v1beta.DimensionValue.Builder.class); } // Construct using com.google.analytics.data.v1beta.DimensionValue.newBuilder() @@ -428,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; } @java.lang.Override @@ -467,8 +429,7 @@ public com.google.analytics.data.v1beta.DimensionValue build() { @java.lang.Override public com.google.analytics.data.v1beta.DimensionValue buildPartial() { - com.google.analytics.data.v1beta.DimensionValue result = - new com.google.analytics.data.v1beta.DimensionValue(this); + com.google.analytics.data.v1beta.DimensionValue result = new com.google.analytics.data.v1beta.DimensionValue(this); if (oneValueCase_ == 1) { result.oneValue_ = oneValue_; } @@ -481,39 +442,38 @@ public com.google.analytics.data.v1beta.DimensionValue buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.DimensionValue) { - return mergeFrom((com.google.analytics.data.v1beta.DimensionValue) other); + return mergeFrom((com.google.analytics.data.v1beta.DimensionValue)other); } else { super.mergeFrom(other); return this; @@ -521,20 +481,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionValue other) { - if (other == com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()) return this; switch (other.getOneValueCase()) { - case VALUE: - { - oneValueCase_ = 1; - oneValue_ = other.oneValue_; - onChanged(); - break; - } - case ONEVALUE_NOT_SET: - { - break; - } + case VALUE: { + oneValueCase_ = 1; + oneValue_ = other.oneValue_; + onChanged(); + break; + } + case ONEVALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -564,12 +521,12 @@ public Builder mergeFrom( } return this; } - private int oneValueCase_ = 0; private java.lang.Object oneValue_; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); + public OneValueCase + getOneValueCase() { + return OneValueCase.forNumber( + oneValueCase_); } public Builder clearOneValue() { @@ -579,15 +536,13 @@ public Builder clearOneValue() { return this; } + /** - * - * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; - * * @return Whether the value field is set. */ @java.lang.Override @@ -595,14 +550,11 @@ public boolean hasValue() { return oneValueCase_ == 1; } /** - * - * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; - * * @return The value. */ @java.lang.Override @@ -612,7 +564,8 @@ public java.lang.String getValue() { ref = oneValue_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (oneValueCase_ == 1) { oneValue_ = s; @@ -623,25 +576,24 @@ public java.lang.String getValue() { } } /** - * - * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = ""; if (oneValueCase_ == 1) { ref = oneValue_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (oneValueCase_ == 1) { oneValue_ = b; } @@ -651,35 +603,30 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - oneValueCase_ = 1; + throw new NullPointerException(); + } + oneValueCase_ = 1; oneValue_ = value; onChanged(); return this; } /** - * - * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -691,30 +638,28 @@ public Builder clearValue() { return this; } /** - * - * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); oneValueCase_ = 1; oneValue_ = 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); } @@ -724,12 +669,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionValue) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionValue) private static final com.google.analytics.data.v1beta.DimensionValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionValue(); } @@ -738,16 +683,16 @@ public static com.google.analytics.data.v1beta.DimensionValue getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -762,4 +707,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DimensionValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java similarity index 55% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java index b2edeaa4..3449192b 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java @@ -1,64 +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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DimensionValueOrBuilder - extends +public interface DimensionValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); public com.google.analytics.data.v1beta.DimensionValue.OneValueCase getOneValueCase(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.java similarity index 73% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.java index 41a6c038..453d518b 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * An expression to filter dimension or metric values.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter} */ -public final class Filter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Filter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Filter) FilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Filter() { fieldName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Filter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Filter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,212 +53,169 @@ private Filter( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - fieldName_ = s; - break; + fieldName_ = s; + break; + } + case 26: { + com.google.analytics.data.v1beta.Filter.StringFilter.Builder subBuilder = null; + if (oneFilterCase_ == 3) { + subBuilder = ((com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_).toBuilder(); } - case 26: - { - com.google.analytics.data.v1beta.Filter.StringFilter.Builder subBuilder = null; - if (oneFilterCase_ == 3) { - subBuilder = - ((com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_).toBuilder(); - } - oneFilter_ = - input.readMessage( - com.google.analytics.data.v1beta.Filter.StringFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); - } - oneFilterCase_ = 3; - break; + oneFilter_ = + input.readMessage(com.google.analytics.data.v1beta.Filter.StringFilter.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); } - case 34: - { - com.google.analytics.data.v1beta.Filter.InListFilter.Builder subBuilder = null; - if (oneFilterCase_ == 4) { - subBuilder = - ((com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_).toBuilder(); - } - oneFilter_ = - input.readMessage( - com.google.analytics.data.v1beta.Filter.InListFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); - } - oneFilterCase_ = 4; - break; + oneFilterCase_ = 3; + break; + } + case 34: { + com.google.analytics.data.v1beta.Filter.InListFilter.Builder subBuilder = null; + if (oneFilterCase_ == 4) { + subBuilder = ((com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_).toBuilder(); } - case 42: - { - com.google.analytics.data.v1beta.Filter.NumericFilter.Builder subBuilder = null; - if (oneFilterCase_ == 5) { - subBuilder = - ((com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_) - .toBuilder(); - } - oneFilter_ = - input.readMessage( - com.google.analytics.data.v1beta.Filter.NumericFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); - } - oneFilterCase_ = 5; - break; + oneFilter_ = + input.readMessage(com.google.analytics.data.v1beta.Filter.InListFilter.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); } - case 50: - { - com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder subBuilder = null; - if (oneFilterCase_ == 6) { - subBuilder = - ((com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_) - .toBuilder(); - } - oneFilter_ = - input.readMessage( - com.google.analytics.data.v1beta.Filter.BetweenFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); - } - oneFilterCase_ = 6; - break; + oneFilterCase_ = 4; + break; + } + case 42: { + com.google.analytics.data.v1beta.Filter.NumericFilter.Builder subBuilder = null; + if (oneFilterCase_ == 5) { + subBuilder = ((com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + oneFilter_ = + input.readMessage(com.google.analytics.data.v1beta.Filter.NumericFilter.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); + } + oneFilterCase_ = 5; + break; + } + case 50: { + com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder subBuilder = null; + if (oneFilterCase_ == 6) { + subBuilder = ((com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_).toBuilder(); + } + oneFilter_ = + input.readMessage(com.google.analytics.data.v1beta.Filter.BetweenFilter.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); } + oneFilterCase_ = 6; + 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.class, - com.google.analytics.data.v1beta.Filter.Builder.class); + com.google.analytics.data.v1beta.Filter.class, com.google.analytics.data.v1beta.Filter.Builder.class); } - public interface StringFilterOrBuilder - extends + public interface StringFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Filter.StringFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The match type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; - * * @return The enum numeric value on the wire for matchType. */ int getMatchTypeValue(); /** - * - * *
      * The match type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; - * * @return The matchType. */ com.google.analytics.data.v1beta.Filter.StringFilter.MatchType getMatchType(); /** - * - * *
      * The string value used for the matching.
      * 
* * string value = 2; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
      * The string value used for the matching.
      * 
* * string value = 2; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; - * * @return The caseSensitive. */ boolean getCaseSensitive(); } /** - * - * *
    * The filter for string
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.StringFilter} */ - public static final class StringFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class StringFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Filter.StringFilter) StringFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringFilter.newBuilder() to construct. private StringFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StringFilter() { matchType_ = 0; value_ = ""; @@ -283,15 +223,16 @@ private StringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StringFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StringFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -310,72 +251,65 @@ private StringFilter( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - matchType_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + matchType_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; - } - case 24: - { - caseSensitive_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + value_ = s; + break; + } + case 24: { + + caseSensitive_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.StringFilter.class, - com.google.analytics.data.v1beta.Filter.StringFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.StringFilter.class, com.google.analytics.data.v1beta.Filter.StringFilter.Builder.class); } /** - * - * *
      * The match type of a string filter
      * 
* * Protobuf enum {@code google.analytics.data.v1beta.Filter.StringFilter.MatchType} */ - public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { + public enum MatchType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified
        * 
@@ -384,8 +318,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ MATCH_TYPE_UNSPECIFIED(0), /** - * - * *
        * Exact match of the string value.
        * 
@@ -394,8 +326,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ EXACT(1), /** - * - * *
        * Begins with the string value.
        * 
@@ -404,8 +334,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ BEGINS_WITH(2), /** - * - * *
        * Ends with the string value.
        * 
@@ -414,8 +342,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ ENDS_WITH(3), /** - * - * *
        * Contains the string value.
        * 
@@ -424,8 +350,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ CONTAINS(4), /** - * - * *
        * Full regular expression match with the string value.
        * 
@@ -434,8 +358,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ FULL_REGEXP(5), /** - * - * *
        * Partial regular expression match with the string value.
        * 
@@ -447,8 +369,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified
        * 
@@ -457,8 +377,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Exact match of the string value.
        * 
@@ -467,8 +385,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXACT_VALUE = 1; /** - * - * *
        * Begins with the string value.
        * 
@@ -477,8 +393,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BEGINS_WITH_VALUE = 2; /** - * - * *
        * Ends with the string value.
        * 
@@ -487,8 +401,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENDS_WITH_VALUE = 3; /** - * - * *
        * Contains the string value.
        * 
@@ -497,8 +409,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTAINS_VALUE = 4; /** - * - * *
        * Full regular expression match with the string value.
        * 
@@ -507,8 +417,6 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_REGEXP_VALUE = 5; /** - * - * *
        * Partial regular expression match with the string value.
        * 
@@ -517,6 +425,7 @@ public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARTIAL_REGEXP_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -541,59 +450,53 @@ public static MatchType valueOf(int value) { */ public static MatchType forNumber(int value) { switch (value) { - case 0: - return MATCH_TYPE_UNSPECIFIED; - case 1: - return EXACT; - case 2: - return BEGINS_WITH; - case 3: - return ENDS_WITH; - case 4: - return CONTAINS; - case 5: - return FULL_REGEXP; - case 6: - return PARTIAL_REGEXP; - default: - return null; + case 0: return MATCH_TYPE_UNSPECIFIED; + case 1: return EXACT; + case 2: return BEGINS_WITH; + case 3: return ENDS_WITH; + case 4: return CONTAINS; + case 5: return FULL_REGEXP; + case 6: return PARTIAL_REGEXP; + 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< + MatchType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MatchType findValueByNumber(int number) { + return MatchType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MatchType findValueByNumber(int number) { - return MatchType.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.analytics.data.v1beta.Filter.StringFilter.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.data.v1beta.Filter.StringFilter.getDescriptor().getEnumTypes().get(0); } private static final MatchType[] VALUES = values(); - public static MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MatchType 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; @@ -613,52 +516,38 @@ private MatchType(int value) { public static final int MATCH_TYPE_FIELD_NUMBER = 1; private int matchType_; /** - * - * *
      * The match type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; - * * @return The enum numeric value on the wire for matchType. */ - @java.lang.Override - public int getMatchTypeValue() { + @java.lang.Override public int getMatchTypeValue() { return matchType_; } /** - * - * *
      * The match type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; - * * @return The matchType. */ - @java.lang.Override - public com.google.analytics.data.v1beta.Filter.StringFilter.MatchType getMatchType() { + @java.lang.Override public com.google.analytics.data.v1beta.Filter.StringFilter.MatchType getMatchType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Filter.StringFilter.MatchType result = - com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.valueOf(matchType_); - return result == null - ? com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.Filter.StringFilter.MatchType result = com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.valueOf(matchType_); + return result == null ? com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** - * - * *
      * The string value used for the matching.
      * 
* * string value = 2; - * * @return The value. */ @java.lang.Override @@ -667,29 +556,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
      * The string value used for the matching.
      * 
* * string value = 2; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object 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); value_ = b; return b; } else { @@ -700,14 +589,11 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int CASE_SENSITIVE_FIELD_NUMBER = 3; private boolean caseSensitive_; /** - * - * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; - * * @return The caseSensitive. */ @java.lang.Override @@ -716,7 +602,6 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,10 +613,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (matchType_ - != com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (matchType_ != com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, matchType_); } if (!getValueBytes().isEmpty()) { @@ -749,16 +633,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (matchType_ - != com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, matchType_); + if (matchType_ != com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, matchType_); } if (!getValueBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, caseSensitive_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, caseSensitive_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -768,17 +652,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.analytics.data.v1beta.Filter.StringFilter)) { return super.equals(obj); } - com.google.analytics.data.v1beta.Filter.StringFilter other = - (com.google.analytics.data.v1beta.Filter.StringFilter) obj; + com.google.analytics.data.v1beta.Filter.StringFilter other = (com.google.analytics.data.v1beta.Filter.StringFilter) obj; if (matchType_ != other.matchType_) return false; - if (!getValue().equals(other.getValue())) return false; - if (getCaseSensitive() != other.getCaseSensitive()) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (getCaseSensitive() + != other.getCaseSensitive()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -795,101 +680,95 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCaseSensitive()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Filter.StringFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Filter.StringFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.Filter.StringFilter prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.Filter.StringFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -899,32 +778,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The filter for string
      * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.StringFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Filter.StringFilter) com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.StringFilter.class, - com.google.analytics.data.v1beta.Filter.StringFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.StringFilter.class, com.google.analytics.data.v1beta.Filter.StringFilter.Builder.class); } // Construct using com.google.analytics.data.v1beta.Filter.StringFilter.newBuilder() @@ -932,15 +806,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(); @@ -954,9 +829,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; } @java.lang.Override @@ -975,8 +850,7 @@ public com.google.analytics.data.v1beta.Filter.StringFilter build() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.StringFilter buildPartial() { - com.google.analytics.data.v1beta.Filter.StringFilter result = - new com.google.analytics.data.v1beta.Filter.StringFilter(this); + com.google.analytics.data.v1beta.Filter.StringFilter result = new com.google.analytics.data.v1beta.Filter.StringFilter(this); result.matchType_ = matchType_; result.value_ = value_; result.caseSensitive_ = caseSensitive_; @@ -988,41 +862,38 @@ public com.google.analytics.data.v1beta.Filter.StringFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Filter.StringFilter) { - return mergeFrom((com.google.analytics.data.v1beta.Filter.StringFilter) other); + return mergeFrom((com.google.analytics.data.v1beta.Filter.StringFilter)other); } else { super.mergeFrom(other); return this; @@ -1030,8 +901,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.Filter.StringFilter other) { - if (other == com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance()) return this; if (other.matchType_ != 0) { setMatchTypeValue(other.getMatchTypeValue()); } @@ -1061,8 +931,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.Filter.StringFilter) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.Filter.StringFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1074,93 +943,73 @@ public Builder mergeFrom( private int matchType_ = 0; /** - * - * *
        * The match type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; - * * @return The enum numeric value on the wire for matchType. */ - @java.lang.Override - public int getMatchTypeValue() { + @java.lang.Override public int getMatchTypeValue() { return matchType_; } /** - * - * *
        * The match type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; - * * @param value The enum numeric value on the wire for matchType to set. * @return This builder for chaining. */ public Builder setMatchTypeValue(int value) { - + matchType_ = value; onChanged(); return this; } /** - * - * *
        * The match type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; - * * @return The matchType. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.StringFilter.MatchType getMatchType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Filter.StringFilter.MatchType result = - com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.valueOf(matchType_); - return result == null - ? com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.Filter.StringFilter.MatchType result = com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.valueOf(matchType_); + return result == null ? com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.UNRECOGNIZED : result; } /** - * - * *
        * The match type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; - * * @param value The matchType to set. * @return This builder for chaining. */ - public Builder setMatchType( - com.google.analytics.data.v1beta.Filter.StringFilter.MatchType value) { + public Builder setMatchType(com.google.analytics.data.v1beta.Filter.StringFilter.MatchType value) { if (value == null) { throw new NullPointerException(); } - + matchType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The match type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; - * * @return This builder for chaining. */ public Builder clearMatchType() { - + matchType_ = 0; onChanged(); return this; @@ -1168,20 +1017,18 @@ public Builder clearMatchType() { private java.lang.Object value_ = ""; /** - * - * *
        * The string value used for the matching.
        * 
* * string value = 2; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object 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(); value_ = s; return s; @@ -1190,21 +1037,20 @@ public java.lang.String getValue() { } } /** - * - * *
        * The string value used for the matching.
        * 
* * string value = 2; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object 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); value_ = b; return b; } else { @@ -1212,76 +1058,66 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
        * The string value used for the matching.
        * 
* * string value = 2; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
        * The string value used for the matching.
        * 
* * string value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
        * The string value used for the matching.
        * 
* * string value = 2; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; } - private boolean caseSensitive_; + private boolean caseSensitive_ ; /** - * - * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 3; - * * @return The caseSensitive. */ @java.lang.Override @@ -1289,41 +1125,34 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** - * - * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 3; - * * @param value The caseSensitive to set. * @return This builder for chaining. */ public Builder setCaseSensitive(boolean value) { - + caseSensitive_ = value; onChanged(); return this; } /** - * - * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 3; - * * @return This builder for chaining. */ public Builder clearCaseSensitive() { - + caseSensitive_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1336,12 +1165,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Filter.StringFilter) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Filter.StringFilter) private static final com.google.analytics.data.v1beta.Filter.StringFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Filter.StringFilter(); } @@ -1350,16 +1179,16 @@ public static com.google.analytics.data.v1beta.Filter.StringFilter getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StringFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StringFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1374,115 +1203,100 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Filter.StringFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface InListFilterOrBuilder - extends + public interface InListFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Filter.InListFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; - * * @return A list containing the values. */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; - * * @return The count of values. */ int getValuesCount(); /** - * - * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; - * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** - * - * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString getValuesBytes(int index); + com.google.protobuf.ByteString + getValuesBytes(int index); /** - * - * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; - * * @return The caseSensitive. */ boolean getCaseSensitive(); } /** - * - * *
    * The result needs to be in a list of string values.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.InListFilter} */ - public static final class InListFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InListFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Filter.InListFilter) InListFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InListFilter.newBuilder() to construct. private InListFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InListFilter() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InListFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InListFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1502,34 +1316,34 @@ private InListFilter( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - values_.add(s); - break; - } - case 16: - { - caseSensitive_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + values_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + values_.add(s); + break; + } + case 16: { + + caseSensitive_ = 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)) { values_ = values_.getUnmodifiableView(); @@ -1538,64 +1352,53 @@ private InListFilter( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.InListFilter.class, - com.google.analytics.data.v1beta.Filter.InListFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.InListFilter.class, com.google.analytics.data.v1beta.Filter.InListFilter.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList values_; /** - * - * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_; } /** - * - * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -1603,33 +1406,28 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } public static final int CASE_SENSITIVE_FIELD_NUMBER = 2; private boolean caseSensitive_; /** - * - * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; - * * @return The caseSensitive. */ @java.lang.Override @@ -1638,7 +1436,6 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1650,7 +1447,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); } @@ -1675,7 +1473,8 @@ public int getSerializedSize() { size += 1 * getValuesList().size(); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, caseSensitive_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, caseSensitive_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1685,16 +1484,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.analytics.data.v1beta.Filter.InListFilter)) { return super.equals(obj); } - com.google.analytics.data.v1beta.Filter.InListFilter other = - (com.google.analytics.data.v1beta.Filter.InListFilter) obj; + com.google.analytics.data.v1beta.Filter.InListFilter other = (com.google.analytics.data.v1beta.Filter.InListFilter) obj; - if (!getValuesList().equals(other.getValuesList())) return false; - if (getCaseSensitive() != other.getCaseSensitive()) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; + if (getCaseSensitive() + != other.getCaseSensitive()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1711,101 +1511,95 @@ public int hashCode() { hash = (53 * hash) + getValuesList().hashCode(); } hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCaseSensitive()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Filter.InListFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Filter.InListFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.Filter.InListFilter prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.Filter.InListFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1815,32 +1609,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The result needs to be in a list of string values.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.InListFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Filter.InListFilter) com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.InListFilter.class, - com.google.analytics.data.v1beta.Filter.InListFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.InListFilter.class, com.google.analytics.data.v1beta.Filter.InListFilter.Builder.class); } // Construct using com.google.analytics.data.v1beta.Filter.InListFilter.newBuilder() @@ -1848,15 +1637,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(); @@ -1868,9 +1658,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; } @java.lang.Override @@ -1889,8 +1679,7 @@ public com.google.analytics.data.v1beta.Filter.InListFilter build() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.InListFilter buildPartial() { - com.google.analytics.data.v1beta.Filter.InListFilter result = - new com.google.analytics.data.v1beta.Filter.InListFilter(this); + com.google.analytics.data.v1beta.Filter.InListFilter result = new com.google.analytics.data.v1beta.Filter.InListFilter(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); @@ -1906,41 +1695,38 @@ public com.google.analytics.data.v1beta.Filter.InListFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Filter.InListFilter) { - return mergeFrom((com.google.analytics.data.v1beta.Filter.InListFilter) other); + return mergeFrom((com.google.analytics.data.v1beta.Filter.InListFilter)other); } else { super.mergeFrom(other); return this; @@ -1948,8 +1734,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.Filter.InListFilter other) { - if (other == com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance()) return this; if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; @@ -1982,8 +1767,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.Filter.InListFilter) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.Filter.InListFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1992,58 +1776,47 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList values_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_.getUnmodifiableView(); } /** - * - * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -2051,95 +1824,85 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } /** - * - * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; - * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues(int index, java.lang.String value) { + public Builder setValues( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** - * - * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; - * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues(java.lang.String value) { + public Builder addValues( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** - * - * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; - * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues(java.lang.Iterable values) { + public Builder addAllValues( + java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); return this; } /** - * - * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; - * * @return This builder for chaining. */ public Builder clearValues() { @@ -2149,39 +1912,34 @@ public Builder clearValues() { return this; } /** - * - * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; - * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes(com.google.protobuf.ByteString value) { + public Builder addValuesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } - private boolean caseSensitive_; + private boolean caseSensitive_ ; /** - * - * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 2; - * * @return The caseSensitive. */ @java.lang.Override @@ -2189,41 +1947,34 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** - * - * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 2; - * * @param value The caseSensitive to set. * @return This builder for chaining. */ public Builder setCaseSensitive(boolean value) { - + caseSensitive_ = value; onChanged(); return this; } /** - * - * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 2; - * * @return This builder for chaining. */ public Builder clearCaseSensitive() { - + caseSensitive_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2236,12 +1987,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Filter.InListFilter) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Filter.InListFilter) private static final com.google.analytics.data.v1beta.Filter.InListFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Filter.InListFilter(); } @@ -2250,16 +2001,16 @@ public static com.google.analytics.data.v1beta.Filter.InListFilter getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InListFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InListFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InListFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InListFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2274,65 +2025,51 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Filter.InListFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NumericFilterOrBuilder - extends + public interface NumericFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Filter.NumericFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The operation type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; - * * @return The enum numeric value on the wire for operation. */ int getOperationValue(); /** - * - * *
      * The operation type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; - * * @return The operation. */ com.google.analytics.data.v1beta.Filter.NumericFilter.Operation getOperation(); /** - * - * *
      * A numeric value or a date value.
      * 
* * .google.analytics.data.v1beta.NumericValue value = 2; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
      * A numeric value or a date value.
      * 
* * .google.analytics.data.v1beta.NumericValue value = 2; - * * @return The value. */ com.google.analytics.data.v1beta.NumericValue getValue(); /** - * - * *
      * A numeric value or a date value.
      * 
@@ -2342,39 +2079,37 @@ public interface NumericFilterOrBuilder com.google.analytics.data.v1beta.NumericValueOrBuilder getValueOrBuilder(); } /** - * - * *
    * Filters for numeric or date values.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.NumericFilter} */ - public static final class NumericFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NumericFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Filter.NumericFilter) NumericFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericFilter.newBuilder() to construct. private NumericFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NumericFilter() { operation_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NumericFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private NumericFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2393,76 +2128,67 @@ private NumericFilter( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - operation_ = rawValue; - break; + operation_ = rawValue; + break; + } + case 18: { + com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); } - case 18: - { - com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = - input.readMessage( - com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); - } - - break; + value_ = input.readMessage(com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.NumericFilter.class, - com.google.analytics.data.v1beta.Filter.NumericFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.NumericFilter.class, com.google.analytics.data.v1beta.Filter.NumericFilter.Builder.class); } /** - * - * *
      * The operation applied to a numeric filter
      * 
* * Protobuf enum {@code google.analytics.data.v1beta.Filter.NumericFilter.Operation} */ - public enum Operation implements com.google.protobuf.ProtocolMessageEnum { + public enum Operation + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified.
        * 
@@ -2471,8 +2197,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ OPERATION_UNSPECIFIED(0), /** - * - * *
        * Equal
        * 
@@ -2481,8 +2205,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ EQUAL(1), /** - * - * *
        * Less than
        * 
@@ -2491,8 +2213,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ LESS_THAN(2), /** - * - * *
        * Less than or equal
        * 
@@ -2501,8 +2221,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ LESS_THAN_OR_EQUAL(3), /** - * - * *
        * Greater than
        * 
@@ -2511,8 +2229,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ GREATER_THAN(4), /** - * - * *
        * Greater than or equal
        * 
@@ -2524,8 +2240,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified.
        * 
@@ -2534,8 +2248,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATION_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Equal
        * 
@@ -2544,8 +2256,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EQUAL_VALUE = 1; /** - * - * *
        * Less than
        * 
@@ -2554,8 +2264,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LESS_THAN_VALUE = 2; /** - * - * *
        * Less than or equal
        * 
@@ -2564,8 +2272,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LESS_THAN_OR_EQUAL_VALUE = 3; /** - * - * *
        * Greater than
        * 
@@ -2574,8 +2280,6 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GREATER_THAN_VALUE = 4; /** - * - * *
        * Greater than or equal
        * 
@@ -2584,6 +2288,7 @@ public enum Operation implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GREATER_THAN_OR_EQUAL_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2608,57 +2313,52 @@ public static Operation valueOf(int value) { */ public static Operation forNumber(int value) { switch (value) { - case 0: - return OPERATION_UNSPECIFIED; - case 1: - return EQUAL; - case 2: - return LESS_THAN; - case 3: - return LESS_THAN_OR_EQUAL; - case 4: - return GREATER_THAN; - case 5: - return GREATER_THAN_OR_EQUAL; - default: - return null; + case 0: return OPERATION_UNSPECIFIED; + case 1: return EQUAL; + case 2: return LESS_THAN; + case 3: return LESS_THAN_OR_EQUAL; + case 4: return GREATER_THAN; + case 5: return GREATER_THAN_OR_EQUAL; + 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< + Operation> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operation findValueByNumber(int number) { + return Operation.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operation findValueByNumber(int number) { - return Operation.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.analytics.data.v1beta.Filter.NumericFilter.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.analytics.data.v1beta.Filter.NumericFilter.getDescriptor().getEnumTypes().get(0); } private static final Operation[] VALUES = values(); - public static Operation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operation 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; @@ -2678,52 +2378,38 @@ private Operation(int value) { public static final int OPERATION_FIELD_NUMBER = 1; private int operation_; /** - * - * *
      * The operation type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; - * * @return The enum numeric value on the wire for operation. */ - @java.lang.Override - public int getOperationValue() { + @java.lang.Override public int getOperationValue() { return operation_; } /** - * - * *
      * The operation type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; - * * @return The operation. */ - @java.lang.Override - public com.google.analytics.data.v1beta.Filter.NumericFilter.Operation getOperation() { + @java.lang.Override public com.google.analytics.data.v1beta.Filter.NumericFilter.Operation getOperation() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Filter.NumericFilter.Operation result = - com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.valueOf(operation_); - return result == null - ? com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.Filter.NumericFilter.Operation result = com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.valueOf(operation_); + return result == null ? com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.analytics.data.v1beta.NumericValue value_; /** - * - * *
      * A numeric value or a date value.
      * 
* * .google.analytics.data.v1beta.NumericValue value = 2; - * * @return Whether the value field is set. */ @java.lang.Override @@ -2731,25 +2417,18 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
      * A numeric value or a date value.
      * 
* * .google.analytics.data.v1beta.NumericValue value = 2; - * * @return The value. */ @java.lang.Override public com.google.analytics.data.v1beta.NumericValue getValue() { - return value_ == null - ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() - : value_; + return value_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : value_; } /** - * - * *
      * A numeric value or a date value.
      * 
@@ -2762,7 +2441,6 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getValueOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2774,10 +2452,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (operation_ - != com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.OPERATION_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (operation_ != com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { output.writeEnum(1, operation_); } if (value_ != null) { @@ -2792,13 +2469,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (operation_ - != com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.OPERATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, operation_); + if (operation_ != com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, operation_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2808,18 +2485,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.analytics.data.v1beta.Filter.NumericFilter)) { return super.equals(obj); } - com.google.analytics.data.v1beta.Filter.NumericFilter other = - (com.google.analytics.data.v1beta.Filter.NumericFilter) obj; + com.google.analytics.data.v1beta.Filter.NumericFilter other = (com.google.analytics.data.v1beta.Filter.NumericFilter) obj; if (operation_ != other.operation_) 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; @@ -2844,94 +2521,87 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.Filter.NumericFilter prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.Filter.NumericFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2941,32 +2611,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Filters for numeric or date values.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.NumericFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Filter.NumericFilter) com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.NumericFilter.class, - com.google.analytics.data.v1beta.Filter.NumericFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.NumericFilter.class, com.google.analytics.data.v1beta.Filter.NumericFilter.Builder.class); } // Construct using com.google.analytics.data.v1beta.Filter.NumericFilter.newBuilder() @@ -2974,15 +2639,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(); @@ -2998,9 +2664,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; } @java.lang.Override @@ -3019,8 +2685,7 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter build() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.NumericFilter buildPartial() { - com.google.analytics.data.v1beta.Filter.NumericFilter result = - new com.google.analytics.data.v1beta.Filter.NumericFilter(this); + com.google.analytics.data.v1beta.Filter.NumericFilter result = new com.google.analytics.data.v1beta.Filter.NumericFilter(this); result.operation_ = operation_; if (valueBuilder_ == null) { result.value_ = value_; @@ -3035,41 +2700,38 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Filter.NumericFilter) { - return mergeFrom((com.google.analytics.data.v1beta.Filter.NumericFilter) other); + return mergeFrom((com.google.analytics.data.v1beta.Filter.NumericFilter)other); } else { super.mergeFrom(other); return this; @@ -3077,8 +2739,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.Filter.NumericFilter other) { - if (other == com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance()) return this; if (other.operation_ != 0) { setOperationValue(other.getOperationValue()); } @@ -3104,8 +2765,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.Filter.NumericFilter) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.Filter.NumericFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3117,93 +2777,73 @@ public Builder mergeFrom( private int operation_ = 0; /** - * - * *
        * The operation type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; - * * @return The enum numeric value on the wire for operation. */ - @java.lang.Override - public int getOperationValue() { + @java.lang.Override public int getOperationValue() { return operation_; } /** - * - * *
        * The operation type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; - * * @param value The enum numeric value on the wire for operation to set. * @return This builder for chaining. */ public Builder setOperationValue(int value) { - + operation_ = value; onChanged(); return this; } /** - * - * *
        * The operation type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; - * * @return The operation. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.NumericFilter.Operation getOperation() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Filter.NumericFilter.Operation result = - com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.valueOf(operation_); - return result == null - ? com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.Filter.NumericFilter.Operation result = com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.valueOf(operation_); + return result == null ? com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.UNRECOGNIZED : result; } /** - * - * *
        * The operation type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; - * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation( - com.google.analytics.data.v1beta.Filter.NumericFilter.Operation value) { + public Builder setOperation(com.google.analytics.data.v1beta.Filter.NumericFilter.Operation value) { if (value == null) { throw new NullPointerException(); } - + operation_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The operation type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; - * * @return This builder for chaining. */ public Builder clearOperation() { - + operation_ = 0; onChanged(); return this; @@ -3211,47 +2851,34 @@ public Builder clearOperation() { private com.google.analytics.data.v1beta.NumericValue value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, - com.google.analytics.data.v1beta.NumericValue.Builder, - com.google.analytics.data.v1beta.NumericValueOrBuilder> - valueBuilder_; + com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> valueBuilder_; /** - * - * *
        * A numeric value or a date value.
        * 
* * .google.analytics.data.v1beta.NumericValue value = 2; - * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** - * - * *
        * A numeric value or a date value.
        * 
* * .google.analytics.data.v1beta.NumericValue value = 2; - * * @return The value. */ public com.google.analytics.data.v1beta.NumericValue getValue() { if (valueBuilder_ == null) { - return value_ == null - ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() - : value_; + return value_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** - * - * *
        * A numeric value or a date value.
        * 
@@ -3272,8 +2899,6 @@ public Builder setValue(com.google.analytics.data.v1beta.NumericValue value) { return this; } /** - * - * *
        * A numeric value or a date value.
        * 
@@ -3292,8 +2917,6 @@ public Builder setValue( return this; } /** - * - * *
        * A numeric value or a date value.
        * 
@@ -3304,9 +2927,7 @@ public Builder mergeValue(com.google.analytics.data.v1beta.NumericValue value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.analytics.data.v1beta.NumericValue.newBuilder(value_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.NumericValue.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -3318,8 +2939,6 @@ public Builder mergeValue(com.google.analytics.data.v1beta.NumericValue value) { return this; } /** - * - * *
        * A numeric value or a date value.
        * 
@@ -3338,8 +2957,6 @@ public Builder clearValue() { return this; } /** - * - * *
        * A numeric value or a date value.
        * 
@@ -3347,13 +2964,11 @@ public Builder clearValue() { * .google.analytics.data.v1beta.NumericValue value = 2; */ public com.google.analytics.data.v1beta.NumericValue.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** - * - * *
        * A numeric value or a date value.
        * 
@@ -3364,14 +2979,11 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getValueOrBuilder( if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null - ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() - : value_; + return value_ == null ? + com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : value_; } } /** - * - * *
        * A numeric value or a date value.
        * 
@@ -3379,22 +2991,18 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getValueOrBuilder( * .google.analytics.data.v1beta.NumericValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, - com.google.analytics.data.v1beta.NumericValue.Builder, - com.google.analytics.data.v1beta.NumericValueOrBuilder> + com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, - com.google.analytics.data.v1beta.NumericValue.Builder, - com.google.analytics.data.v1beta.NumericValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3407,12 +3015,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Filter.NumericFilter) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Filter.NumericFilter) private static final com.google.analytics.data.v1beta.Filter.NumericFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Filter.NumericFilter(); } @@ -3421,16 +3029,16 @@ public static com.google.analytics.data.v1beta.Filter.NumericFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NumericFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NumericFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NumericFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3445,40 +3053,32 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Filter.NumericFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface BetweenFilterOrBuilder - extends + public interface BetweenFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Filter.BetweenFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Begins with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; - * * @return Whether the fromValue field is set. */ boolean hasFromValue(); /** - * - * *
      * Begins with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; - * * @return The fromValue. */ com.google.analytics.data.v1beta.NumericValue getFromValue(); /** - * - * *
      * Begins with this number.
      * 
@@ -3488,32 +3088,24 @@ public interface BetweenFilterOrBuilder com.google.analytics.data.v1beta.NumericValueOrBuilder getFromValueOrBuilder(); /** - * - * *
      * Ends with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; - * * @return Whether the toValue field is set. */ boolean hasToValue(); /** - * - * *
      * Ends with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; - * * @return The toValue. */ com.google.analytics.data.v1beta.NumericValue getToValue(); /** - * - * *
      * Ends with this number.
      * 
@@ -3523,37 +3115,36 @@ public interface BetweenFilterOrBuilder com.google.analytics.data.v1beta.NumericValueOrBuilder getToValueOrBuilder(); } /** - * - * *
    * To express that the result needs to be between two numbers (inclusive).
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.BetweenFilter} */ - public static final class BetweenFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BetweenFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Filter.BetweenFilter) BetweenFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BetweenFilter.newBuilder() to construct. private BetweenFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BetweenFilter() {} + private BetweenFilter() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BetweenFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BetweenFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3572,83 +3163,72 @@ private BetweenFilter( case 0: done = true; break; - case 10: - { - com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; - if (fromValue_ != null) { - subBuilder = fromValue_.toBuilder(); - } - fromValue_ = - input.readMessage( - com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fromValue_); - fromValue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; + if (fromValue_ != null) { + subBuilder = fromValue_.toBuilder(); } - case 18: - { - com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; - if (toValue_ != null) { - subBuilder = toValue_.toBuilder(); - } - toValue_ = - input.readMessage( - com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(toValue_); - toValue_ = subBuilder.buildPartial(); - } - - break; + fromValue_ = input.readMessage(com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fromValue_); + fromValue_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; + if (toValue_ != null) { + subBuilder = toValue_.toBuilder(); + } + toValue_ = input.readMessage(com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(toValue_); + toValue_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.BetweenFilter.class, - com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.BetweenFilter.class, com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder.class); } public static final int FROM_VALUE_FIELD_NUMBER = 1; private com.google.analytics.data.v1beta.NumericValue fromValue_; /** - * - * *
      * Begins with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; - * * @return Whether the fromValue field is set. */ @java.lang.Override @@ -3656,25 +3236,18 @@ public boolean hasFromValue() { return fromValue_ != null; } /** - * - * *
      * Begins with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; - * * @return The fromValue. */ @java.lang.Override public com.google.analytics.data.v1beta.NumericValue getFromValue() { - return fromValue_ == null - ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() - : fromValue_; + return fromValue_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : fromValue_; } /** - * - * *
      * Begins with this number.
      * 
@@ -3689,14 +3262,11 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getFromValueOrBuil public static final int TO_VALUE_FIELD_NUMBER = 2; private com.google.analytics.data.v1beta.NumericValue toValue_; /** - * - * *
      * Ends with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; - * * @return Whether the toValue field is set. */ @java.lang.Override @@ -3704,25 +3274,18 @@ public boolean hasToValue() { return toValue_ != null; } /** - * - * *
      * Ends with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; - * * @return The toValue. */ @java.lang.Override public com.google.analytics.data.v1beta.NumericValue getToValue() { - return toValue_ == null - ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() - : toValue_; + return toValue_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : toValue_; } /** - * - * *
      * Ends with this number.
      * 
@@ -3735,7 +3298,6 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getToValueOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3747,7 +3309,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (fromValue_ != null) { output.writeMessage(1, getFromValue()); } @@ -3764,10 +3327,12 @@ public int getSerializedSize() { size = 0; if (fromValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFromValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getFromValue()); } if (toValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getToValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getToValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3777,21 +3342,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.analytics.data.v1beta.Filter.BetweenFilter)) { return super.equals(obj); } - com.google.analytics.data.v1beta.Filter.BetweenFilter other = - (com.google.analytics.data.v1beta.Filter.BetweenFilter) obj; + com.google.analytics.data.v1beta.Filter.BetweenFilter other = (com.google.analytics.data.v1beta.Filter.BetweenFilter) obj; if (hasFromValue() != other.hasFromValue()) return false; if (hasFromValue()) { - if (!getFromValue().equals(other.getFromValue())) return false; + if (!getFromValue() + .equals(other.getFromValue())) return false; } if (hasToValue() != other.hasToValue()) return false; if (hasToValue()) { - if (!getToValue().equals(other.getToValue())) return false; + if (!getToValue() + .equals(other.getToValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3818,94 +3384,87 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.Filter.BetweenFilter prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.Filter.BetweenFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3915,32 +3474,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * To express that the result needs to be between two numbers (inclusive).
      * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.BetweenFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Filter.BetweenFilter) com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.BetweenFilter.class, - com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.BetweenFilter.class, com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder.class); } // Construct using com.google.analytics.data.v1beta.Filter.BetweenFilter.newBuilder() @@ -3948,15 +3502,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(); @@ -3976,9 +3531,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; } @java.lang.Override @@ -3997,8 +3552,7 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter build() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.BetweenFilter buildPartial() { - com.google.analytics.data.v1beta.Filter.BetweenFilter result = - new com.google.analytics.data.v1beta.Filter.BetweenFilter(this); + com.google.analytics.data.v1beta.Filter.BetweenFilter result = new com.google.analytics.data.v1beta.Filter.BetweenFilter(this); if (fromValueBuilder_ == null) { result.fromValue_ = fromValue_; } else { @@ -4017,41 +3571,38 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Filter.BetweenFilter) { - return mergeFrom((com.google.analytics.data.v1beta.Filter.BetweenFilter) other); + return mergeFrom((com.google.analytics.data.v1beta.Filter.BetweenFilter)other); } else { super.mergeFrom(other); return this; @@ -4059,8 +3610,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.Filter.BetweenFilter other) { - if (other == com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance()) return this; if (other.hasFromValue()) { mergeFromValue(other.getFromValue()); } @@ -4086,8 +3636,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.Filter.BetweenFilter) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.Filter.BetweenFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4099,47 +3648,34 @@ public Builder mergeFrom( private com.google.analytics.data.v1beta.NumericValue fromValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, - com.google.analytics.data.v1beta.NumericValue.Builder, - com.google.analytics.data.v1beta.NumericValueOrBuilder> - fromValueBuilder_; + com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> fromValueBuilder_; /** - * - * *
        * Begins with this number.
        * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; - * * @return Whether the fromValue field is set. */ public boolean hasFromValue() { return fromValueBuilder_ != null || fromValue_ != null; } /** - * - * *
        * Begins with this number.
        * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; - * * @return The fromValue. */ public com.google.analytics.data.v1beta.NumericValue getFromValue() { if (fromValueBuilder_ == null) { - return fromValue_ == null - ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() - : fromValue_; + return fromValue_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : fromValue_; } else { return fromValueBuilder_.getMessage(); } } /** - * - * *
        * Begins with this number.
        * 
@@ -4160,8 +3696,6 @@ public Builder setFromValue(com.google.analytics.data.v1beta.NumericValue value) return this; } /** - * - * *
        * Begins with this number.
        * 
@@ -4180,8 +3714,6 @@ public Builder setFromValue( return this; } /** - * - * *
        * Begins with this number.
        * 
@@ -4192,9 +3724,7 @@ public Builder mergeFromValue(com.google.analytics.data.v1beta.NumericValue valu if (fromValueBuilder_ == null) { if (fromValue_ != null) { fromValue_ = - com.google.analytics.data.v1beta.NumericValue.newBuilder(fromValue_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.NumericValue.newBuilder(fromValue_).mergeFrom(value).buildPartial(); } else { fromValue_ = value; } @@ -4206,8 +3736,6 @@ public Builder mergeFromValue(com.google.analytics.data.v1beta.NumericValue valu return this; } /** - * - * *
        * Begins with this number.
        * 
@@ -4226,8 +3754,6 @@ public Builder clearFromValue() { return this; } /** - * - * *
        * Begins with this number.
        * 
@@ -4235,13 +3761,11 @@ public Builder clearFromValue() { * .google.analytics.data.v1beta.NumericValue from_value = 1; */ public com.google.analytics.data.v1beta.NumericValue.Builder getFromValueBuilder() { - + onChanged(); return getFromValueFieldBuilder().getBuilder(); } /** - * - * *
        * Begins with this number.
        * 
@@ -4252,14 +3776,11 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getFromValueOrBuil if (fromValueBuilder_ != null) { return fromValueBuilder_.getMessageOrBuilder(); } else { - return fromValue_ == null - ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() - : fromValue_; + return fromValue_ == null ? + com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : fromValue_; } } /** - * - * *
        * Begins with this number.
        * 
@@ -4267,17 +3788,14 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getFromValueOrBuil * .google.analytics.data.v1beta.NumericValue from_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, - com.google.analytics.data.v1beta.NumericValue.Builder, - com.google.analytics.data.v1beta.NumericValueOrBuilder> + com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> getFromValueFieldBuilder() { if (fromValueBuilder_ == null) { - fromValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, - com.google.analytics.data.v1beta.NumericValue.Builder, - com.google.analytics.data.v1beta.NumericValueOrBuilder>( - getFromValue(), getParentForChildren(), isClean()); + fromValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder>( + getFromValue(), + getParentForChildren(), + isClean()); fromValue_ = null; } return fromValueBuilder_; @@ -4285,47 +3803,34 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getFromValueOrBuil private com.google.analytics.data.v1beta.NumericValue toValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, - com.google.analytics.data.v1beta.NumericValue.Builder, - com.google.analytics.data.v1beta.NumericValueOrBuilder> - toValueBuilder_; + com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> toValueBuilder_; /** - * - * *
        * Ends with this number.
        * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; - * * @return Whether the toValue field is set. */ public boolean hasToValue() { return toValueBuilder_ != null || toValue_ != null; } /** - * - * *
        * Ends with this number.
        * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; - * * @return The toValue. */ public com.google.analytics.data.v1beta.NumericValue getToValue() { if (toValueBuilder_ == null) { - return toValue_ == null - ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() - : toValue_; + return toValue_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : toValue_; } else { return toValueBuilder_.getMessage(); } } /** - * - * *
        * Ends with this number.
        * 
@@ -4346,8 +3851,6 @@ public Builder setToValue(com.google.analytics.data.v1beta.NumericValue value) { return this; } /** - * - * *
        * Ends with this number.
        * 
@@ -4366,8 +3869,6 @@ public Builder setToValue( return this; } /** - * - * *
        * Ends with this number.
        * 
@@ -4378,9 +3879,7 @@ public Builder mergeToValue(com.google.analytics.data.v1beta.NumericValue value) if (toValueBuilder_ == null) { if (toValue_ != null) { toValue_ = - com.google.analytics.data.v1beta.NumericValue.newBuilder(toValue_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.NumericValue.newBuilder(toValue_).mergeFrom(value).buildPartial(); } else { toValue_ = value; } @@ -4392,8 +3891,6 @@ public Builder mergeToValue(com.google.analytics.data.v1beta.NumericValue value) return this; } /** - * - * *
        * Ends with this number.
        * 
@@ -4412,8 +3909,6 @@ public Builder clearToValue() { return this; } /** - * - * *
        * Ends with this number.
        * 
@@ -4421,13 +3916,11 @@ public Builder clearToValue() { * .google.analytics.data.v1beta.NumericValue to_value = 2; */ public com.google.analytics.data.v1beta.NumericValue.Builder getToValueBuilder() { - + onChanged(); return getToValueFieldBuilder().getBuilder(); } /** - * - * *
        * Ends with this number.
        * 
@@ -4438,14 +3931,11 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getToValueOrBuilde if (toValueBuilder_ != null) { return toValueBuilder_.getMessageOrBuilder(); } else { - return toValue_ == null - ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() - : toValue_; + return toValue_ == null ? + com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : toValue_; } } /** - * - * *
        * Ends with this number.
        * 
@@ -4453,22 +3943,18 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getToValueOrBuilde * .google.analytics.data.v1beta.NumericValue to_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, - com.google.analytics.data.v1beta.NumericValue.Builder, - com.google.analytics.data.v1beta.NumericValueOrBuilder> + com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> getToValueFieldBuilder() { if (toValueBuilder_ == null) { - toValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, - com.google.analytics.data.v1beta.NumericValue.Builder, - com.google.analytics.data.v1beta.NumericValueOrBuilder>( - getToValue(), getParentForChildren(), isClean()); + toValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder>( + getToValue(), + getParentForChildren(), + isClean()); toValue_ = null; } return toValueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4481,12 +3967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Filter.BetweenFilter) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Filter.BetweenFilter) private static final com.google.analytics.data.v1beta.Filter.BetweenFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Filter.BetweenFilter(); } @@ -4495,16 +3981,16 @@ public static com.google.analytics.data.v1beta.Filter.BetweenFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BetweenFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BetweenFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BetweenFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BetweenFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4519,14 +4005,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Filter.BetweenFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; - public enum OneFilterCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_FILTER(3), IN_LIST_FILTER(4), @@ -4534,7 +4019,6 @@ public enum OneFilterCase BETWEEN_FILTER(6), ONEFILTER_NOT_SET(0); private final int value; - private OneFilterCase(int value) { this.value = value; } @@ -4550,42 +4034,34 @@ public static OneFilterCase valueOf(int value) { public static OneFilterCase forNumber(int value) { switch (value) { - case 3: - return STRING_FILTER; - case 4: - return IN_LIST_FILTER; - case 5: - return NUMERIC_FILTER; - case 6: - return BETWEEN_FILTER; - case 0: - return ONEFILTER_NOT_SET; - default: - return null; + case 3: return STRING_FILTER; + case 4: return IN_LIST_FILTER; + case 5: return NUMERIC_FILTER; + case 6: return BETWEEN_FILTER; + case 0: return ONEFILTER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneFilterCase getOneFilterCase() { - return OneFilterCase.forNumber(oneFilterCase_); + public OneFilterCase + getOneFilterCase() { + return OneFilterCase.forNumber( + oneFilterCase_); } public static final int FIELD_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object fieldName_; /** - * - * *
    * The dimension name or metric name. Must be a name defined in dimensions
    * or metrics.
    * 
* * string field_name = 1; - * * @return The fieldName. */ @java.lang.Override @@ -4594,30 +4070,30 @@ public java.lang.String getFieldName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; } } /** - * - * *
    * The dimension name or metric name. Must be a name defined in dimensions
    * or metrics.
    * 
* * string field_name = 1; - * * @return The bytes for fieldName. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldNameBytes() { + public com.google.protobuf.ByteString + getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldName_ = b; return b; } else { @@ -4627,14 +4103,11 @@ public com.google.protobuf.ByteString getFieldNameBytes() { public static final int STRING_FILTER_FIELD_NUMBER = 3; /** - * - * *
    * Strings related filter.
    * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; - * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -4642,26 +4115,21 @@ public boolean hasStringFilter() { return oneFilterCase_ == 3; } /** - * - * *
    * Strings related filter.
    * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; - * * @return The stringFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.StringFilter getStringFilter() { if (oneFilterCase_ == 3) { - return (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance(); } /** - * - * *
    * Strings related filter.
    * 
@@ -4671,21 +4139,18 @@ public com.google.analytics.data.v1beta.Filter.StringFilter getStringFilter() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder getStringFilterOrBuilder() { if (oneFilterCase_ == 3) { - return (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance(); } public static final int IN_LIST_FILTER_FIELD_NUMBER = 4; /** - * - * *
    * A filter for in list values.
    * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; - * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -4693,26 +4158,21 @@ public boolean hasInListFilter() { return oneFilterCase_ == 4; } /** - * - * *
    * A filter for in list values.
    * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; - * * @return The inListFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.InListFilter getInListFilter() { if (oneFilterCase_ == 4) { - return (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance(); } /** - * - * *
    * A filter for in list values.
    * 
@@ -4722,21 +4182,18 @@ public com.google.analytics.data.v1beta.Filter.InListFilter getInListFilter() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder getInListFilterOrBuilder() { if (oneFilterCase_ == 4) { - return (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance(); } public static final int NUMERIC_FILTER_FIELD_NUMBER = 5; /** - * - * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; - * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -4744,26 +4201,21 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 5; } /** - * - * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; - * * @return The numericFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.NumericFilter getNumericFilter() { if (oneFilterCase_ == 5) { - return (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance(); } /** - * - * *
    * A filter for numeric or date values.
    * 
@@ -4771,24 +4223,20 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter getNumericFilter() * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder - getNumericFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder getNumericFilterOrBuilder() { if (oneFilterCase_ == 5) { - return (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance(); } public static final int BETWEEN_FILTER_FIELD_NUMBER = 6; /** - * - * *
    * A filter for two values.
    * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; - * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -4796,26 +4244,21 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 6; } /** - * - * *
    * A filter for two values.
    * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; - * * @return The betweenFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.BetweenFilter getBetweenFilter() { if (oneFilterCase_ == 6) { - return (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance(); } /** - * - * *
    * A filter for two values.
    * 
@@ -4823,16 +4266,14 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter getBetweenFilter() * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder - getBetweenFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder getBetweenFilterOrBuilder() { if (oneFilterCase_ == 6) { - return (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4844,7 +4285,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getFieldNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_); } @@ -4873,24 +4315,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_); } if (oneFilterCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_); } if (oneFilterCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_); } if (oneFilterCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_); } if (oneFilterCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4900,27 +4338,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.analytics.data.v1beta.Filter)) { return super.equals(obj); } com.google.analytics.data.v1beta.Filter other = (com.google.analytics.data.v1beta.Filter) obj; - if (!getFieldName().equals(other.getFieldName())) return false; + if (!getFieldName() + .equals(other.getFieldName())) return false; if (!getOneFilterCase().equals(other.getOneFilterCase())) return false; switch (oneFilterCase_) { case 3: - if (!getStringFilter().equals(other.getStringFilter())) return false; + if (!getStringFilter() + .equals(other.getStringFilter())) return false; break; case 4: - if (!getInListFilter().equals(other.getInListFilter())) return false; + if (!getInListFilter() + .equals(other.getInListFilter())) return false; break; case 5: - if (!getNumericFilter().equals(other.getNumericFilter())) return false; + if (!getNumericFilter() + .equals(other.getNumericFilter())) return false; break; case 6: - if (!getBetweenFilter().equals(other.getBetweenFilter())) return false; + if (!getBetweenFilter() + .equals(other.getBetweenFilter())) return false; break; case 0: default: @@ -4963,127 +4406,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.Filter parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.Filter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Filter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter 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.analytics.data.v1beta.Filter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Filter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Filter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Filter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.Filter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 expression to filter dimension or metric values.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Filter) com.google.analytics.data.v1beta.FilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.class, - com.google.analytics.data.v1beta.Filter.Builder.class); + com.google.analytics.data.v1beta.Filter.class, com.google.analytics.data.v1beta.Filter.Builder.class); } // Construct using com.google.analytics.data.v1beta.Filter.newBuilder() @@ -5091,15 +4525,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(); @@ -5111,9 +4546,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Filter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_descriptor; } @java.lang.Override @@ -5132,8 +4567,7 @@ public com.google.analytics.data.v1beta.Filter build() { @java.lang.Override public com.google.analytics.data.v1beta.Filter buildPartial() { - com.google.analytics.data.v1beta.Filter result = - new com.google.analytics.data.v1beta.Filter(this); + com.google.analytics.data.v1beta.Filter result = new com.google.analytics.data.v1beta.Filter(this); result.fieldName_ = fieldName_; if (oneFilterCase_ == 3) { if (stringFilterBuilder_ == null) { @@ -5172,39 +4606,38 @@ public com.google.analytics.data.v1beta.Filter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Filter) { - return mergeFrom((com.google.analytics.data.v1beta.Filter) other); + return mergeFrom((com.google.analytics.data.v1beta.Filter)other); } else { super.mergeFrom(other); return this; @@ -5218,30 +4651,25 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Filter other) { onChanged(); } switch (other.getOneFilterCase()) { - case STRING_FILTER: - { - mergeStringFilter(other.getStringFilter()); - break; - } - case IN_LIST_FILTER: - { - mergeInListFilter(other.getInListFilter()); - break; - } - case NUMERIC_FILTER: - { - mergeNumericFilter(other.getNumericFilter()); - break; - } - case BETWEEN_FILTER: - { - mergeBetweenFilter(other.getBetweenFilter()); - break; - } - case ONEFILTER_NOT_SET: - { - break; - } + case STRING_FILTER: { + mergeStringFilter(other.getStringFilter()); + break; + } + case IN_LIST_FILTER: { + mergeInListFilter(other.getInListFilter()); + break; + } + case NUMERIC_FILTER: { + mergeNumericFilter(other.getNumericFilter()); + break; + } + case BETWEEN_FILTER: { + mergeBetweenFilter(other.getBetweenFilter()); + break; + } + case ONEFILTER_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -5271,12 +4699,12 @@ public Builder mergeFrom( } return this; } - private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; - - public OneFilterCase getOneFilterCase() { - return OneFilterCase.forNumber(oneFilterCase_); + public OneFilterCase + getOneFilterCase() { + return OneFilterCase.forNumber( + oneFilterCase_); } public Builder clearOneFilter() { @@ -5286,23 +4714,22 @@ public Builder clearOneFilter() { return this; } + private java.lang.Object fieldName_ = ""; /** - * - * *
      * The dimension name or metric name. Must be a name defined in dimensions
      * or metrics.
      * 
* * string field_name = 1; - * * @return The fieldName. */ public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; @@ -5311,22 +4738,21 @@ public java.lang.String getFieldName() { } } /** - * - * *
      * The dimension name or metric name. Must be a name defined in dimensions
      * or metrics.
      * 
* * string field_name = 1; - * * @return The bytes for fieldName. */ - public com.google.protobuf.ByteString getFieldNameBytes() { + public com.google.protobuf.ByteString + getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldName_ = b; return b; } else { @@ -5334,83 +4760,70 @@ public com.google.protobuf.ByteString getFieldNameBytes() { } } /** - * - * *
      * The dimension name or metric name. Must be a name defined in dimensions
      * or metrics.
      * 
* * string field_name = 1; - * * @param value The fieldName to set. * @return This builder for chaining. */ - public Builder setFieldName(java.lang.String value) { + public Builder setFieldName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fieldName_ = value; onChanged(); return this; } /** - * - * *
      * The dimension name or metric name. Must be a name defined in dimensions
      * or metrics.
      * 
* * string field_name = 1; - * * @return This builder for chaining. */ public Builder clearFieldName() { - + fieldName_ = getDefaultInstance().getFieldName(); onChanged(); return this; } /** - * - * *
      * The dimension name or metric name. Must be a name defined in dimensions
      * or metrics.
      * 
* * string field_name = 1; - * * @param value The bytes for fieldName to set. * @return This builder for chaining. */ - public Builder setFieldNameBytes(com.google.protobuf.ByteString value) { + public Builder setFieldNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fieldName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.StringFilter, - com.google.analytics.data.v1beta.Filter.StringFilter.Builder, - com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder> - stringFilterBuilder_; + com.google.analytics.data.v1beta.Filter.StringFilter, com.google.analytics.data.v1beta.Filter.StringFilter.Builder, com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder> stringFilterBuilder_; /** - * - * *
      * Strings related filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; - * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -5418,14 +4831,11 @@ public boolean hasStringFilter() { return oneFilterCase_ == 3; } /** - * - * *
      * Strings related filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; - * * @return The stringFilter. */ @java.lang.Override @@ -5443,8 +4853,6 @@ public com.google.analytics.data.v1beta.Filter.StringFilter getStringFilter() { } } /** - * - * *
      * Strings related filter.
      * 
@@ -5465,8 +4873,6 @@ public Builder setStringFilter(com.google.analytics.data.v1beta.Filter.StringFil return this; } /** - * - * *
      * Strings related filter.
      * 
@@ -5485,8 +4891,6 @@ public Builder setStringFilter( return this; } /** - * - * *
      * Strings related filter.
      * 
@@ -5495,14 +4899,10 @@ public Builder setStringFilter( */ public Builder mergeStringFilter(com.google.analytics.data.v1beta.Filter.StringFilter value) { if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 3 - && oneFilter_ - != com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.data.v1beta.Filter.StringFilter.newBuilder( - (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 3 && + oneFilter_ != com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.data.v1beta.Filter.StringFilter.newBuilder((com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -5517,8 +4917,6 @@ public Builder mergeStringFilter(com.google.analytics.data.v1beta.Filter.StringF return this; } /** - * - * *
      * Strings related filter.
      * 
@@ -5542,8 +4940,6 @@ public Builder clearStringFilter() { return this; } /** - * - * *
      * Strings related filter.
      * 
@@ -5554,8 +4950,6 @@ public com.google.analytics.data.v1beta.Filter.StringFilter.Builder getStringFil return getStringFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Strings related filter.
      * 
@@ -5563,8 +4957,7 @@ public com.google.analytics.data.v1beta.Filter.StringFilter.Builder getStringFil * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder - getStringFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder getStringFilterOrBuilder() { if ((oneFilterCase_ == 3) && (stringFilterBuilder_ != null)) { return stringFilterBuilder_.getMessageOrBuilder(); } else { @@ -5575,8 +4968,6 @@ public com.google.analytics.data.v1beta.Filter.StringFilter.Builder getStringFil } } /** - * - * *
      * Strings related filter.
      * 
@@ -5584,44 +4975,32 @@ public com.google.analytics.data.v1beta.Filter.StringFilter.Builder getStringFil * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.StringFilter, - com.google.analytics.data.v1beta.Filter.StringFilter.Builder, - com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder> + com.google.analytics.data.v1beta.Filter.StringFilter, com.google.analytics.data.v1beta.Filter.StringFilter.Builder, com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder> getStringFilterFieldBuilder() { if (stringFilterBuilder_ == null) { if (!(oneFilterCase_ == 3)) { oneFilter_ = com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance(); } - stringFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.StringFilter, - com.google.analytics.data.v1beta.Filter.StringFilter.Builder, - com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder>( + stringFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.Filter.StringFilter, com.google.analytics.data.v1beta.Filter.StringFilter.Builder, com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder>( (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; } oneFilterCase_ = 3; - onChanged(); - ; + onChanged();; return stringFilterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.InListFilter, - com.google.analytics.data.v1beta.Filter.InListFilter.Builder, - com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder> - inListFilterBuilder_; + com.google.analytics.data.v1beta.Filter.InListFilter, com.google.analytics.data.v1beta.Filter.InListFilter.Builder, com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder> inListFilterBuilder_; /** - * - * *
      * A filter for in list values.
      * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; - * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -5629,14 +5008,11 @@ public boolean hasInListFilter() { return oneFilterCase_ == 4; } /** - * - * *
      * A filter for in list values.
      * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; - * * @return The inListFilter. */ @java.lang.Override @@ -5654,8 +5030,6 @@ public com.google.analytics.data.v1beta.Filter.InListFilter getInListFilter() { } } /** - * - * *
      * A filter for in list values.
      * 
@@ -5676,8 +5050,6 @@ public Builder setInListFilter(com.google.analytics.data.v1beta.Filter.InListFil return this; } /** - * - * *
      * A filter for in list values.
      * 
@@ -5696,8 +5068,6 @@ public Builder setInListFilter( return this; } /** - * - * *
      * A filter for in list values.
      * 
@@ -5706,14 +5076,10 @@ public Builder setInListFilter( */ public Builder mergeInListFilter(com.google.analytics.data.v1beta.Filter.InListFilter value) { if (inListFilterBuilder_ == null) { - if (oneFilterCase_ == 4 - && oneFilter_ - != com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.data.v1beta.Filter.InListFilter.newBuilder( - (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 4 && + oneFilter_ != com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.data.v1beta.Filter.InListFilter.newBuilder((com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -5728,8 +5094,6 @@ public Builder mergeInListFilter(com.google.analytics.data.v1beta.Filter.InListF return this; } /** - * - * *
      * A filter for in list values.
      * 
@@ -5753,8 +5117,6 @@ public Builder clearInListFilter() { return this; } /** - * - * *
      * A filter for in list values.
      * 
@@ -5765,8 +5127,6 @@ public com.google.analytics.data.v1beta.Filter.InListFilter.Builder getInListFil return getInListFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter for in list values.
      * 
@@ -5774,8 +5134,7 @@ public com.google.analytics.data.v1beta.Filter.InListFilter.Builder getInListFil * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder - getInListFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder getInListFilterOrBuilder() { if ((oneFilterCase_ == 4) && (inListFilterBuilder_ != null)) { return inListFilterBuilder_.getMessageOrBuilder(); } else { @@ -5786,8 +5145,6 @@ public com.google.analytics.data.v1beta.Filter.InListFilter.Builder getInListFil } } /** - * - * *
      * A filter for in list values.
      * 
@@ -5795,44 +5152,32 @@ public com.google.analytics.data.v1beta.Filter.InListFilter.Builder getInListFil * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.InListFilter, - com.google.analytics.data.v1beta.Filter.InListFilter.Builder, - com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder> + com.google.analytics.data.v1beta.Filter.InListFilter, com.google.analytics.data.v1beta.Filter.InListFilter.Builder, com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder> getInListFilterFieldBuilder() { if (inListFilterBuilder_ == null) { if (!(oneFilterCase_ == 4)) { oneFilter_ = com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance(); } - inListFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.InListFilter, - com.google.analytics.data.v1beta.Filter.InListFilter.Builder, - com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder>( + inListFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.Filter.InListFilter, com.google.analytics.data.v1beta.Filter.InListFilter.Builder, com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder>( (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; } oneFilterCase_ = 4; - onChanged(); - ; + onChanged();; return inListFilterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.NumericFilter, - com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, - com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder> - numericFilterBuilder_; + com.google.analytics.data.v1beta.Filter.NumericFilter, com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder> numericFilterBuilder_; /** - * - * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; - * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -5840,14 +5185,11 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 5; } /** - * - * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; - * * @return The numericFilter. */ @java.lang.Override @@ -5865,8 +5207,6 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter getNumericFilter() } } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -5887,8 +5227,6 @@ public Builder setNumericFilter(com.google.analytics.data.v1beta.Filter.NumericF return this; } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -5907,8 +5245,6 @@ public Builder setNumericFilter( return this; } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -5917,14 +5253,10 @@ public Builder setNumericFilter( */ public Builder mergeNumericFilter(com.google.analytics.data.v1beta.Filter.NumericFilter value) { if (numericFilterBuilder_ == null) { - if (oneFilterCase_ == 5 - && oneFilter_ - != com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.data.v1beta.Filter.NumericFilter.newBuilder( - (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 5 && + oneFilter_ != com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.data.v1beta.Filter.NumericFilter.newBuilder((com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -5939,8 +5271,6 @@ public Builder mergeNumericFilter(com.google.analytics.data.v1beta.Filter.Numeri return this; } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -5964,8 +5294,6 @@ public Builder clearNumericFilter() { return this; } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -5976,8 +5304,6 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter.Builder getNumericF return getNumericFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -5985,8 +5311,7 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter.Builder getNumericF * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder - getNumericFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder getNumericFilterOrBuilder() { if ((oneFilterCase_ == 5) && (numericFilterBuilder_ != null)) { return numericFilterBuilder_.getMessageOrBuilder(); } else { @@ -5997,8 +5322,6 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter.Builder getNumericF } } /** - * - * *
      * A filter for numeric or date values.
      * 
@@ -6006,44 +5329,32 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter.Builder getNumericF * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.NumericFilter, - com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, - com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder> + com.google.analytics.data.v1beta.Filter.NumericFilter, com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder> getNumericFilterFieldBuilder() { if (numericFilterBuilder_ == null) { if (!(oneFilterCase_ == 5)) { oneFilter_ = com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance(); } - numericFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.NumericFilter, - com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, - com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder>( + numericFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.Filter.NumericFilter, com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder>( (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; } oneFilterCase_ = 5; - onChanged(); - ; + onChanged();; return numericFilterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.BetweenFilter, - com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, - com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder> - betweenFilterBuilder_; + com.google.analytics.data.v1beta.Filter.BetweenFilter, com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder> betweenFilterBuilder_; /** - * - * *
      * A filter for two values.
      * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; - * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -6051,14 +5362,11 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 6; } /** - * - * *
      * A filter for two values.
      * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; - * * @return The betweenFilter. */ @java.lang.Override @@ -6076,8 +5384,6 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter getBetweenFilter() } } /** - * - * *
      * A filter for two values.
      * 
@@ -6098,8 +5404,6 @@ public Builder setBetweenFilter(com.google.analytics.data.v1beta.Filter.BetweenF return this; } /** - * - * *
      * A filter for two values.
      * 
@@ -6118,8 +5422,6 @@ public Builder setBetweenFilter( return this; } /** - * - * *
      * A filter for two values.
      * 
@@ -6128,14 +5430,10 @@ public Builder setBetweenFilter( */ public Builder mergeBetweenFilter(com.google.analytics.data.v1beta.Filter.BetweenFilter value) { if (betweenFilterBuilder_ == null) { - if (oneFilterCase_ == 6 - && oneFilter_ - != com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.data.v1beta.Filter.BetweenFilter.newBuilder( - (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); + if (oneFilterCase_ == 6 && + oneFilter_ != com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance()) { + oneFilter_ = com.google.analytics.data.v1beta.Filter.BetweenFilter.newBuilder((com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_) + .mergeFrom(value).buildPartial(); } else { oneFilter_ = value; } @@ -6150,8 +5448,6 @@ public Builder mergeBetweenFilter(com.google.analytics.data.v1beta.Filter.Betwee return this; } /** - * - * *
      * A filter for two values.
      * 
@@ -6175,8 +5471,6 @@ public Builder clearBetweenFilter() { return this; } /** - * - * *
      * A filter for two values.
      * 
@@ -6187,8 +5481,6 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder getBetweenF return getBetweenFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter for two values.
      * 
@@ -6196,8 +5488,7 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder getBetweenF * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder - getBetweenFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder getBetweenFilterOrBuilder() { if ((oneFilterCase_ == 6) && (betweenFilterBuilder_ != null)) { return betweenFilterBuilder_.getMessageOrBuilder(); } else { @@ -6208,8 +5499,6 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder getBetweenF } } /** - * - * *
      * A filter for two values.
      * 
@@ -6217,32 +5506,26 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder getBetweenF * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.BetweenFilter, - com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, - com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder> + com.google.analytics.data.v1beta.Filter.BetweenFilter, com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder> getBetweenFilterFieldBuilder() { if (betweenFilterBuilder_ == null) { if (!(oneFilterCase_ == 6)) { oneFilter_ = com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance(); } - betweenFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.BetweenFilter, - com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, - com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder>( + betweenFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.Filter.BetweenFilter, com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder>( (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; } oneFilterCase_ = 6; - onChanged(); - ; + onChanged();; return betweenFilterBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6252,12 +5535,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Filter) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Filter) private static final com.google.analytics.data.v1beta.Filter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Filter(); } @@ -6266,16 +5549,16 @@ public static com.google.analytics.data.v1beta.Filter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Filter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Filter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Filter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6290,4 +5573,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java similarity index 71% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java index 2f6047b4..6d68bf39 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * To express dimension or metric filters.
  * The fields in the same FilterExpression need to be either all dimensions or
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.FilterExpression}
  */
-public final class FilterExpression extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FilterExpression extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.FilterExpression)
     FilterExpressionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FilterExpression.newBuilder() to construct.
   private FilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private FilterExpression() {}
+  private FilterExpression() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FilterExpression();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private FilterExpression(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,116 +54,98 @@ private FilterExpression(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.analytics.data.v1beta.FilterExpressionList.Builder subBuilder = null;
-              if (exprCase_ == 1) {
-                subBuilder =
-                    ((com.google.analytics.data.v1beta.FilterExpressionList) expr_).toBuilder();
-              }
-              expr_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.FilterExpressionList.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList) expr_);
-                expr_ = subBuilder.buildPartial();
-              }
-              exprCase_ = 1;
-              break;
+          case 10: {
+            com.google.analytics.data.v1beta.FilterExpressionList.Builder subBuilder = null;
+            if (exprCase_ == 1) {
+              subBuilder = ((com.google.analytics.data.v1beta.FilterExpressionList) expr_).toBuilder();
             }
-          case 18:
-            {
-              com.google.analytics.data.v1beta.FilterExpressionList.Builder subBuilder = null;
-              if (exprCase_ == 2) {
-                subBuilder =
-                    ((com.google.analytics.data.v1beta.FilterExpressionList) expr_).toBuilder();
-              }
-              expr_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.FilterExpressionList.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList) expr_);
-                expr_ = subBuilder.buildPartial();
-              }
-              exprCase_ = 2;
-              break;
+            expr_ =
+                input.readMessage(com.google.analytics.data.v1beta.FilterExpressionList.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList) expr_);
+              expr_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null;
-              if (exprCase_ == 3) {
-                subBuilder =
-                    ((com.google.analytics.data.v1beta.FilterExpression) expr_).toBuilder();
-              }
-              expr_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.FilterExpression.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpression) expr_);
-                expr_ = subBuilder.buildPartial();
-              }
-              exprCase_ = 3;
-              break;
+            exprCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.analytics.data.v1beta.FilterExpressionList.Builder subBuilder = null;
+            if (exprCase_ == 2) {
+              subBuilder = ((com.google.analytics.data.v1beta.FilterExpressionList) expr_).toBuilder();
             }
-          case 34:
-            {
-              com.google.analytics.data.v1beta.Filter.Builder subBuilder = null;
-              if (exprCase_ == 4) {
-                subBuilder = ((com.google.analytics.data.v1beta.Filter) expr_).toBuilder();
-              }
-              expr_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.Filter.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter) expr_);
-                expr_ = subBuilder.buildPartial();
-              }
-              exprCase_ = 4;
-              break;
+            expr_ =
+                input.readMessage(com.google.analytics.data.v1beta.FilterExpressionList.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList) expr_);
+              expr_ = subBuilder.buildPartial();
+            }
+            exprCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null;
+            if (exprCase_ == 3) {
+              subBuilder = ((com.google.analytics.data.v1beta.FilterExpression) expr_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            expr_ =
+                input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpression) expr_);
+              expr_ = subBuilder.buildPartial();
             }
+            exprCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.analytics.data.v1beta.Filter.Builder subBuilder = null;
+            if (exprCase_ == 4) {
+              subBuilder = ((com.google.analytics.data.v1beta.Filter) expr_).toBuilder();
+            }
+            expr_ =
+                input.readMessage(com.google.analytics.data.v1beta.Filter.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter) expr_);
+              expr_ = subBuilder.buildPartial();
+            }
+            exprCase_ = 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.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.FilterExpression.class,
-            com.google.analytics.data.v1beta.FilterExpression.Builder.class);
+            com.google.analytics.data.v1beta.FilterExpression.class, com.google.analytics.data.v1beta.FilterExpression.Builder.class);
   }
 
   private int exprCase_ = 0;
   private java.lang.Object expr_;
-
   public enum ExprCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AND_GROUP(1),
     OR_GROUP(2),
@@ -187,7 +153,6 @@ public enum ExprCase
     FILTER(4),
     EXPR_NOT_SET(0);
     private final int value;
-
     private ExprCase(int value) {
       this.value = value;
     }
@@ -203,40 +168,32 @@ public static ExprCase valueOf(int value) {
 
     public static ExprCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return AND_GROUP;
-        case 2:
-          return OR_GROUP;
-        case 3:
-          return NOT_EXPRESSION;
-        case 4:
-          return FILTER;
-        case 0:
-          return EXPR_NOT_SET;
-        default:
-          return null;
+        case 1: return AND_GROUP;
+        case 2: return OR_GROUP;
+        case 3: return NOT_EXPRESSION;
+        case 4: return FILTER;
+        case 0: return EXPR_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ExprCase getExprCase() {
-    return ExprCase.forNumber(exprCase_);
+  public ExprCase
+  getExprCase() {
+    return ExprCase.forNumber(
+        exprCase_);
   }
 
   public static final int AND_GROUP_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * The FilterExpressions in and_group have an AND relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; - * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -244,26 +201,21 @@ public boolean hasAndGroup() { return exprCase_ == 1; } /** - * - * *
    * The FilterExpressions in and_group have an AND relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; - * * @return The andGroup. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionList getAndGroup() { if (exprCase_ == 1) { - return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; + return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; } return com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } /** - * - * *
    * The FilterExpressions in and_group have an AND relationship.
    * 
@@ -273,21 +225,18 @@ public com.google.analytics.data.v1beta.FilterExpressionList getAndGroup() { @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getAndGroupOrBuilder() { if (exprCase_ == 1) { - return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; + return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; } return com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } public static final int OR_GROUP_FIELD_NUMBER = 2; /** - * - * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; - * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -295,26 +244,21 @@ public boolean hasOrGroup() { return exprCase_ == 2; } /** - * - * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; - * * @return The orGroup. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionList getOrGroup() { if (exprCase_ == 2) { - return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; + return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; } return com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } /** - * - * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
@@ -324,21 +268,18 @@ public com.google.analytics.data.v1beta.FilterExpressionList getOrGroup() { @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getOrGroupOrBuilder() { if (exprCase_ == 2) { - return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; + return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; } return com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } public static final int NOT_EXPRESSION_FIELD_NUMBER = 3; /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; - * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -346,26 +287,21 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; - * * @return The notExpression. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getNotExpression() { if (exprCase_ == 3) { - return (com.google.analytics.data.v1beta.FilterExpression) expr_; + return (com.google.analytics.data.v1beta.FilterExpression) expr_; } return com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance(); } /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
@@ -375,15 +311,13 @@ public com.google.analytics.data.v1beta.FilterExpression getNotExpression() { @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressionOrBuilder() { if (exprCase_ == 3) { - return (com.google.analytics.data.v1beta.FilterExpression) expr_; + return (com.google.analytics.data.v1beta.FilterExpression) expr_; } return com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance(); } public static final int FILTER_FIELD_NUMBER = 4; /** - * - * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
@@ -391,7 +325,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressi
    * 
* * .google.analytics.data.v1beta.Filter filter = 4; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -399,8 +332,6 @@ public boolean hasFilter() { return exprCase_ == 4; } /** - * - * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
@@ -408,19 +339,16 @@ public boolean hasFilter() {
    * 
* * .google.analytics.data.v1beta.Filter filter = 4; - * * @return The filter. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter getFilter() { if (exprCase_ == 4) { - return (com.google.analytics.data.v1beta.Filter) expr_; + return (com.google.analytics.data.v1beta.Filter) expr_; } return com.google.analytics.data.v1beta.Filter.getDefaultInstance(); } /** - * - * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
@@ -432,13 +360,12 @@ public com.google.analytics.data.v1beta.Filter getFilter() {
   @java.lang.Override
   public com.google.analytics.data.v1beta.FilterOrBuilder getFilterOrBuilder() {
     if (exprCase_ == 4) {
-      return (com.google.analytics.data.v1beta.Filter) expr_;
+       return (com.google.analytics.data.v1beta.Filter) expr_;
     }
     return com.google.analytics.data.v1beta.Filter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -450,7 +377,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (exprCase_ == 1) {
       output.writeMessage(1, (com.google.analytics.data.v1beta.FilterExpressionList) expr_);
     }
@@ -473,24 +401,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (exprCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.analytics.data.v1beta.FilterExpressionList) expr_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.analytics.data.v1beta.FilterExpressionList) expr_);
     }
     if (exprCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.analytics.data.v1beta.FilterExpressionList) expr_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.analytics.data.v1beta.FilterExpressionList) expr_);
     }
     if (exprCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.analytics.data.v1beta.FilterExpression) expr_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.analytics.data.v1beta.FilterExpression) expr_);
     }
     if (exprCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.analytics.data.v1beta.Filter) expr_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.analytics.data.v1beta.Filter) expr_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -500,27 +424,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.analytics.data.v1beta.FilterExpression)) {
       return super.equals(obj);
     }
-    com.google.analytics.data.v1beta.FilterExpression other =
-        (com.google.analytics.data.v1beta.FilterExpression) obj;
+    com.google.analytics.data.v1beta.FilterExpression other = (com.google.analytics.data.v1beta.FilterExpression) obj;
 
     if (!getExprCase().equals(other.getExprCase())) return false;
     switch (exprCase_) {
       case 1:
-        if (!getAndGroup().equals(other.getAndGroup())) return false;
+        if (!getAndGroup()
+            .equals(other.getAndGroup())) return false;
         break;
       case 2:
-        if (!getOrGroup().equals(other.getOrGroup())) return false;
+        if (!getOrGroup()
+            .equals(other.getOrGroup())) return false;
         break;
       case 3:
-        if (!getNotExpression().equals(other.getNotExpression())) return false;
+        if (!getNotExpression()
+            .equals(other.getNotExpression())) return false;
         break;
       case 4:
-        if (!getFilter().equals(other.getFilter())) return false;
+        if (!getFilter()
+            .equals(other.getFilter())) return false;
         break;
       case 0:
       default:
@@ -562,103 +489,96 @@ public int hashCode() {
   }
 
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.analytics.data.v1beta.FilterExpression parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.data.v1beta.FilterExpression parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.data.v1beta.FilterExpression parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.FilterExpression parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.analytics.data.v1beta.FilterExpression prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * To express dimension or metric filters.
    * The fields in the same FilterExpression need to be either all dimensions or
@@ -667,23 +587,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.FilterExpression}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.FilterExpression)
       com.google.analytics.data.v1beta.FilterExpressionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.FilterExpression.class,
-              com.google.analytics.data.v1beta.FilterExpression.Builder.class);
+              com.google.analytics.data.v1beta.FilterExpression.class, com.google.analytics.data.v1beta.FilterExpression.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.FilterExpression.newBuilder()
@@ -691,15 +609,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();
@@ -709,9 +628,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
     }
 
     @java.lang.Override
@@ -730,8 +649,7 @@ public com.google.analytics.data.v1beta.FilterExpression build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.FilterExpression buildPartial() {
-      com.google.analytics.data.v1beta.FilterExpression result =
-          new com.google.analytics.data.v1beta.FilterExpression(this);
+      com.google.analytics.data.v1beta.FilterExpression result = new com.google.analytics.data.v1beta.FilterExpression(this);
       if (exprCase_ == 1) {
         if (andGroupBuilder_ == null) {
           result.expr_ = expr_;
@@ -769,39 +687,38 @@ public com.google.analytics.data.v1beta.FilterExpression buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.FilterExpression) {
-        return mergeFrom((com.google.analytics.data.v1beta.FilterExpression) other);
+        return mergeFrom((com.google.analytics.data.v1beta.FilterExpression)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -809,33 +726,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.data.v1beta.FilterExpression other) {
-      if (other == com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance())
-        return this;
+      if (other == com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()) return this;
       switch (other.getExprCase()) {
-        case AND_GROUP:
-          {
-            mergeAndGroup(other.getAndGroup());
-            break;
-          }
-        case OR_GROUP:
-          {
-            mergeOrGroup(other.getOrGroup());
-            break;
-          }
-        case NOT_EXPRESSION:
-          {
-            mergeNotExpression(other.getNotExpression());
-            break;
-          }
-        case FILTER:
-          {
-            mergeFilter(other.getFilter());
-            break;
-          }
-        case EXPR_NOT_SET:
-          {
-            break;
-          }
+        case AND_GROUP: {
+          mergeAndGroup(other.getAndGroup());
+          break;
+        }
+        case OR_GROUP: {
+          mergeOrGroup(other.getOrGroup());
+          break;
+        }
+        case NOT_EXPRESSION: {
+          mergeNotExpression(other.getNotExpression());
+          break;
+        }
+        case FILTER: {
+          mergeFilter(other.getFilter());
+          break;
+        }
+        case EXPR_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -856,8 +767,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.analytics.data.v1beta.FilterExpression) e.getUnfinishedMessage();
+        parsedMessage = (com.google.analytics.data.v1beta.FilterExpression) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -866,12 +776,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int exprCase_ = 0;
     private java.lang.Object expr_;
-
-    public ExprCase getExprCase() {
-      return ExprCase.forNumber(exprCase_);
+    public ExprCase
+        getExprCase() {
+      return ExprCase.forNumber(
+          exprCase_);
     }
 
     public Builder clearExpr() {
@@ -881,20 +791,15 @@ public Builder clearExpr() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpressionList,
-            com.google.analytics.data.v1beta.FilterExpressionList.Builder,
-            com.google.analytics.data.v1beta.FilterExpressionListOrBuilder>
-        andGroupBuilder_;
+        com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> andGroupBuilder_;
     /**
-     *
-     *
      * 
      * The FilterExpressions in and_group have an AND relationship.
      * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; - * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -902,14 +807,11 @@ public boolean hasAndGroup() { return exprCase_ == 1; } /** - * - * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; - * * @return The andGroup. */ @java.lang.Override @@ -927,8 +829,6 @@ public com.google.analytics.data.v1beta.FilterExpressionList getAndGroup() { } } /** - * - * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -949,8 +849,6 @@ public Builder setAndGroup(com.google.analytics.data.v1beta.FilterExpressionList return this; } /** - * - * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -969,8 +867,6 @@ public Builder setAndGroup( return this; } /** - * - * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -979,14 +875,10 @@ public Builder setAndGroup( */ public Builder mergeAndGroup(com.google.analytics.data.v1beta.FilterExpressionList value) { if (andGroupBuilder_ == null) { - if (exprCase_ == 1 - && expr_ - != com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) { - expr_ = - com.google.analytics.data.v1beta.FilterExpressionList.newBuilder( - (com.google.analytics.data.v1beta.FilterExpressionList) expr_) - .mergeFrom(value) - .buildPartial(); + if (exprCase_ == 1 && + expr_ != com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) { + expr_ = com.google.analytics.data.v1beta.FilterExpressionList.newBuilder((com.google.analytics.data.v1beta.FilterExpressionList) expr_) + .mergeFrom(value).buildPartial(); } else { expr_ = value; } @@ -1001,8 +893,6 @@ public Builder mergeAndGroup(com.google.analytics.data.v1beta.FilterExpressionLi return this; } /** - * - * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -1026,8 +916,6 @@ public Builder clearAndGroup() { return this; } /** - * - * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -1038,8 +926,6 @@ public com.google.analytics.data.v1beta.FilterExpressionList.Builder getAndGroup return getAndGroupFieldBuilder().getBuilder(); } /** - * - * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -1058,8 +944,6 @@ public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getAndGrou } } /** - * - * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -1067,44 +951,32 @@ public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getAndGrou * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpressionList, - com.google.analytics.data.v1beta.FilterExpressionList.Builder, - com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> + com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> getAndGroupFieldBuilder() { if (andGroupBuilder_ == null) { if (!(exprCase_ == 1)) { expr_ = com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } - andGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpressionList, - com.google.analytics.data.v1beta.FilterExpressionList.Builder, - com.google.analytics.data.v1beta.FilterExpressionListOrBuilder>( + andGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder>( (com.google.analytics.data.v1beta.FilterExpressionList) expr_, getParentForChildren(), isClean()); expr_ = null; } exprCase_ = 1; - onChanged(); - ; + onChanged();; return andGroupBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpressionList, - com.google.analytics.data.v1beta.FilterExpressionList.Builder, - com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> - orGroupBuilder_; + com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> orGroupBuilder_; /** - * - * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; - * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -1112,14 +984,11 @@ public boolean hasOrGroup() { return exprCase_ == 2; } /** - * - * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; - * * @return The orGroup. */ @java.lang.Override @@ -1137,8 +1006,6 @@ public com.google.analytics.data.v1beta.FilterExpressionList getOrGroup() { } } /** - * - * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1159,8 +1026,6 @@ public Builder setOrGroup(com.google.analytics.data.v1beta.FilterExpressionList return this; } /** - * - * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1179,8 +1044,6 @@ public Builder setOrGroup( return this; } /** - * - * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1189,14 +1052,10 @@ public Builder setOrGroup( */ public Builder mergeOrGroup(com.google.analytics.data.v1beta.FilterExpressionList value) { if (orGroupBuilder_ == null) { - if (exprCase_ == 2 - && expr_ - != com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) { - expr_ = - com.google.analytics.data.v1beta.FilterExpressionList.newBuilder( - (com.google.analytics.data.v1beta.FilterExpressionList) expr_) - .mergeFrom(value) - .buildPartial(); + if (exprCase_ == 2 && + expr_ != com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) { + expr_ = com.google.analytics.data.v1beta.FilterExpressionList.newBuilder((com.google.analytics.data.v1beta.FilterExpressionList) expr_) + .mergeFrom(value).buildPartial(); } else { expr_ = value; } @@ -1211,8 +1070,6 @@ public Builder mergeOrGroup(com.google.analytics.data.v1beta.FilterExpressionLis return this; } /** - * - * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1236,8 +1093,6 @@ public Builder clearOrGroup() { return this; } /** - * - * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1248,8 +1103,6 @@ public com.google.analytics.data.v1beta.FilterExpressionList.Builder getOrGroupB return getOrGroupFieldBuilder().getBuilder(); } /** - * - * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1268,8 +1121,6 @@ public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getOrGroup } } /** - * - * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1277,44 +1128,32 @@ public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getOrGroup * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpressionList, - com.google.analytics.data.v1beta.FilterExpressionList.Builder, - com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> + com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> getOrGroupFieldBuilder() { if (orGroupBuilder_ == null) { if (!(exprCase_ == 2)) { expr_ = com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } - orGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpressionList, - com.google.analytics.data.v1beta.FilterExpressionList.Builder, - com.google.analytics.data.v1beta.FilterExpressionListOrBuilder>( + orGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder>( (com.google.analytics.data.v1beta.FilterExpressionList) expr_, getParentForChildren(), isClean()); expr_ = null; } exprCase_ = 2; - onChanged(); - ; + onChanged();; return orGroupBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder> - notExpressionBuilder_; + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> notExpressionBuilder_; /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; - * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -1322,14 +1161,11 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; - * * @return The notExpression. */ @java.lang.Override @@ -1347,8 +1183,6 @@ public com.google.analytics.data.v1beta.FilterExpression getNotExpression() { } } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1369,8 +1203,6 @@ public Builder setNotExpression(com.google.analytics.data.v1beta.FilterExpressio return this; } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1389,8 +1221,6 @@ public Builder setNotExpression( return this; } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1399,13 +1229,10 @@ public Builder setNotExpression( */ public Builder mergeNotExpression(com.google.analytics.data.v1beta.FilterExpression value) { if (notExpressionBuilder_ == null) { - if (exprCase_ == 3 - && expr_ != com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()) { - expr_ = - com.google.analytics.data.v1beta.FilterExpression.newBuilder( - (com.google.analytics.data.v1beta.FilterExpression) expr_) - .mergeFrom(value) - .buildPartial(); + if (exprCase_ == 3 && + expr_ != com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()) { + expr_ = com.google.analytics.data.v1beta.FilterExpression.newBuilder((com.google.analytics.data.v1beta.FilterExpression) expr_) + .mergeFrom(value).buildPartial(); } else { expr_ = value; } @@ -1420,8 +1247,6 @@ public Builder mergeNotExpression(com.google.analytics.data.v1beta.FilterExpress return this; } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1445,8 +1270,6 @@ public Builder clearNotExpression() { return this; } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1457,8 +1280,6 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getNotExpressio return getNotExpressionFieldBuilder().getBuilder(); } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1477,8 +1298,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressi } } /** - * - * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1486,38 +1305,27 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressi * .google.analytics.data.v1beta.FilterExpression not_expression = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> getNotExpressionFieldBuilder() { if (notExpressionBuilder_ == null) { if (!(exprCase_ == 3)) { expr_ = com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance(); } - notExpressionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( + notExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( (com.google.analytics.data.v1beta.FilterExpression) expr_, getParentForChildren(), isClean()); expr_ = null; } exprCase_ = 3; - onChanged(); - ; + onChanged();; return notExpressionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter, - com.google.analytics.data.v1beta.Filter.Builder, - com.google.analytics.data.v1beta.FilterOrBuilder> - filterBuilder_; + com.google.analytics.data.v1beta.Filter, com.google.analytics.data.v1beta.Filter.Builder, com.google.analytics.data.v1beta.FilterOrBuilder> filterBuilder_; /** - * - * *
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1525,7 +1333,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressi
      * 
* * .google.analytics.data.v1beta.Filter filter = 4; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -1533,8 +1340,6 @@ public boolean hasFilter() { return exprCase_ == 4; } /** - * - * *
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1542,7 +1347,6 @@ public boolean hasFilter() {
      * 
* * .google.analytics.data.v1beta.Filter filter = 4; - * * @return The filter. */ @java.lang.Override @@ -1560,8 +1364,6 @@ public com.google.analytics.data.v1beta.Filter getFilter() { } } /** - * - * *
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1584,8 +1386,6 @@ public Builder setFilter(com.google.analytics.data.v1beta.Filter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1594,7 +1394,8 @@ public Builder setFilter(com.google.analytics.data.v1beta.Filter value) {
      *
      * .google.analytics.data.v1beta.Filter filter = 4;
      */
-    public Builder setFilter(com.google.analytics.data.v1beta.Filter.Builder builderForValue) {
+    public Builder setFilter(
+        com.google.analytics.data.v1beta.Filter.Builder builderForValue) {
       if (filterBuilder_ == null) {
         expr_ = builderForValue.build();
         onChanged();
@@ -1605,8 +1406,6 @@ public Builder setFilter(com.google.analytics.data.v1beta.Filter.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1617,13 +1416,10 @@ public Builder setFilter(com.google.analytics.data.v1beta.Filter.Builder builder
      */
     public Builder mergeFilter(com.google.analytics.data.v1beta.Filter value) {
       if (filterBuilder_ == null) {
-        if (exprCase_ == 4
-            && expr_ != com.google.analytics.data.v1beta.Filter.getDefaultInstance()) {
-          expr_ =
-              com.google.analytics.data.v1beta.Filter.newBuilder(
-                      (com.google.analytics.data.v1beta.Filter) expr_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (exprCase_ == 4 &&
+            expr_ != com.google.analytics.data.v1beta.Filter.getDefaultInstance()) {
+          expr_ = com.google.analytics.data.v1beta.Filter.newBuilder((com.google.analytics.data.v1beta.Filter) expr_)
+              .mergeFrom(value).buildPartial();
         } else {
           expr_ = value;
         }
@@ -1638,8 +1434,6 @@ public Builder mergeFilter(com.google.analytics.data.v1beta.Filter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1665,8 +1459,6 @@ public Builder clearFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1679,8 +1471,6 @@ public com.google.analytics.data.v1beta.Filter.Builder getFilterBuilder() {
       return getFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1701,8 +1491,6 @@ public com.google.analytics.data.v1beta.FilterOrBuilder getFilterOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1712,30 +1500,26 @@ public com.google.analytics.data.v1beta.FilterOrBuilder getFilterOrBuilder() {
      * .google.analytics.data.v1beta.Filter filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.Filter,
-            com.google.analytics.data.v1beta.Filter.Builder,
-            com.google.analytics.data.v1beta.FilterOrBuilder>
+        com.google.analytics.data.v1beta.Filter, com.google.analytics.data.v1beta.Filter.Builder, com.google.analytics.data.v1beta.FilterOrBuilder> 
         getFilterFieldBuilder() {
       if (filterBuilder_ == null) {
         if (!(exprCase_ == 4)) {
           expr_ = com.google.analytics.data.v1beta.Filter.getDefaultInstance();
         }
-        filterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.Filter,
-                com.google.analytics.data.v1beta.Filter.Builder,
-                com.google.analytics.data.v1beta.FilterOrBuilder>(
-                (com.google.analytics.data.v1beta.Filter) expr_, getParentForChildren(), isClean());
+        filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.Filter, com.google.analytics.data.v1beta.Filter.Builder, com.google.analytics.data.v1beta.FilterOrBuilder>(
+                (com.google.analytics.data.v1beta.Filter) expr_,
+                getParentForChildren(),
+                isClean());
         expr_ = null;
       }
       exprCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return filterBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1745,12 +1529,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.FilterExpression)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.FilterExpression)
   private static final com.google.analytics.data.v1beta.FilterExpression DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.FilterExpression();
   }
@@ -1759,16 +1543,16 @@ public static com.google.analytics.data.v1beta.FilterExpression getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FilterExpression parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new FilterExpression(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FilterExpression parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new FilterExpression(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1783,4 +1567,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.data.v1beta.FilterExpression getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java
similarity index 73%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java
index b98c33ca..040ab6a7 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
- *
- *
  * 
  * A list of filter expressions.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.FilterExpressionList} */ -public final class FilterExpressionList extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FilterExpressionList extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.FilterExpressionList) FilterExpressionListOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FilterExpressionList.newBuilder() to construct. private FilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FilterExpressionList() { expressions_ = 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 FilterExpressionList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FilterExpressionList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,29 @@ private FilterExpressionList( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - expressions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - expressions_.add( - input.readMessage( - com.google.analytics.data.v1beta.FilterExpression.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + expressions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + expressions_.add( + input.readMessage(com.google.analytics.data.v1beta.FilterExpression.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)) { expressions_ = java.util.Collections.unmodifiableList(expressions_); @@ -105,27 +85,22 @@ private FilterExpressionList( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.FilterExpressionList.class, - com.google.analytics.data.v1beta.FilterExpressionList.Builder.class); + com.google.analytics.data.v1beta.FilterExpressionList.class, com.google.analytics.data.v1beta.FilterExpressionList.Builder.class); } public static final int EXPRESSIONS_FIELD_NUMBER = 1; private java.util.List expressions_; /** - * - * *
    * A list of filter expressions.
    * 
@@ -137,8 +112,6 @@ public java.util.List getExpr return expressions_; } /** - * - * *
    * A list of filter expressions.
    * 
@@ -146,13 +119,11 @@ public java.util.List getExpr * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getExpressionsOrBuilderList() { return expressions_; } /** - * - * *
    * A list of filter expressions.
    * 
@@ -164,8 +135,6 @@ public int getExpressionsCount() { return expressions_.size(); } /** - * - * *
    * A list of filter expressions.
    * 
@@ -177,8 +146,6 @@ public com.google.analytics.data.v1beta.FilterExpression getExpressions(int inde return expressions_.get(index); } /** - * - * *
    * A list of filter expressions.
    * 
@@ -192,7 +159,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressions } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,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 { for (int i = 0; i < expressions_.size(); i++) { output.writeMessage(1, expressions_.get(i)); } @@ -218,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < expressions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, expressions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, expressions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -228,15 +196,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.analytics.data.v1beta.FilterExpressionList)) { return super.equals(obj); } - com.google.analytics.data.v1beta.FilterExpressionList other = - (com.google.analytics.data.v1beta.FilterExpressionList) obj; + com.google.analytics.data.v1beta.FilterExpressionList other = (com.google.analytics.data.v1beta.FilterExpressionList) obj; - if (!getExpressionsList().equals(other.getExpressionsList())) return false; + if (!getExpressionsList() + .equals(other.getExpressionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,127 +226,117 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.FilterExpressionList parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.FilterExpressionList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.FilterExpressionList prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.FilterExpressionList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 list of filter expressions.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.FilterExpressionList} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.FilterExpressionList) com.google.analytics.data.v1beta.FilterExpressionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.FilterExpressionList.class, - com.google.analytics.data.v1beta.FilterExpressionList.Builder.class); + com.google.analytics.data.v1beta.FilterExpressionList.class, com.google.analytics.data.v1beta.FilterExpressionList.Builder.class); } // Construct using com.google.analytics.data.v1beta.FilterExpressionList.newBuilder() @@ -386,17 +344,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) { getExpressionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; } @java.lang.Override @@ -431,8 +389,7 @@ public com.google.analytics.data.v1beta.FilterExpressionList build() { @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionList buildPartial() { - com.google.analytics.data.v1beta.FilterExpressionList result = - new com.google.analytics.data.v1beta.FilterExpressionList(this); + com.google.analytics.data.v1beta.FilterExpressionList result = new com.google.analytics.data.v1beta.FilterExpressionList(this); int from_bitField0_ = bitField0_; if (expressionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +408,38 @@ public com.google.analytics.data.v1beta.FilterExpressionList buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.FilterExpressionList) { - return mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList) other); + return mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList)other); } else { super.mergeFrom(other); return this; @@ -491,8 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.FilterExpressionList other) { - if (other == com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) return this; if (expressionsBuilder_ == null) { if (!other.expressions_.isEmpty()) { if (expressions_.isEmpty()) { @@ -511,10 +466,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.FilterExpressionList o expressionsBuilder_ = null; expressions_ = other.expressions_; bitField0_ = (bitField0_ & ~0x00000001); - expressionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExpressionsFieldBuilder() - : null; + expressionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getExpressionsFieldBuilder() : null; } else { expressionsBuilder_.addAllMessages(other.expressions_); } @@ -539,8 +493,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.FilterExpressionList) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.FilterExpressionList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -549,30 +502,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List expressions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureExpressionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - expressions_ = - new java.util.ArrayList( - expressions_); + expressions_ = new java.util.ArrayList(expressions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder> - expressionsBuilder_; + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> expressionsBuilder_; /** - * - * *
      * A list of filter expressions.
      * 
@@ -587,8 +531,6 @@ public java.util.List getExpr } } /** - * - * *
      * A list of filter expressions.
      * 
@@ -603,8 +545,6 @@ public int getExpressionsCount() { } } /** - * - * *
      * A list of filter expressions.
      * 
@@ -619,8 +559,6 @@ public com.google.analytics.data.v1beta.FilterExpression getExpressions(int inde } } /** - * - * *
      * A list of filter expressions.
      * 
@@ -642,8 +580,6 @@ public Builder setExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -662,8 +598,6 @@ public Builder setExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -684,8 +618,6 @@ public Builder addExpressions(com.google.analytics.data.v1beta.FilterExpression return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -707,8 +639,6 @@ public Builder addExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -727,8 +657,6 @@ public Builder addExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -747,8 +675,6 @@ public Builder addExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -759,7 +685,8 @@ public Builder addAllExpressions( java.lang.Iterable values) { if (expressionsBuilder_ == null) { ensureExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, expressions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, expressions_); onChanged(); } else { expressionsBuilder_.addAllMessages(values); @@ -767,8 +694,6 @@ public Builder addAllExpressions( return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -786,8 +711,6 @@ public Builder clearExpressions() { return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -805,8 +728,6 @@ public Builder removeExpressions(int index) { return this; } /** - * - * *
      * A list of filter expressions.
      * 
@@ -818,8 +739,6 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getExpressionsB return getExpressionsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of filter expressions.
      * 
@@ -829,22 +748,19 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getExpressionsB public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressionsOrBuilder( int index) { if (expressionsBuilder_ == null) { - return expressions_.get(index); - } else { + return expressions_.get(index); } else { return expressionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ - public java.util.List - getExpressionsOrBuilderList() { + public java.util.List + getExpressionsOrBuilderList() { if (expressionsBuilder_ != null) { return expressionsBuilder_.getMessageOrBuilderList(); } else { @@ -852,8 +768,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressions } } /** - * - * *
      * A list of filter expressions.
      * 
@@ -861,12 +775,10 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressions * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ public com.google.analytics.data.v1beta.FilterExpression.Builder addExpressionsBuilder() { - return getExpressionsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()); + return getExpressionsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()); } /** - * - * *
      * A list of filter expressions.
      * 
@@ -875,43 +787,37 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder addExpressionsB */ public com.google.analytics.data.v1beta.FilterExpression.Builder addExpressionsBuilder( int index) { - return getExpressionsFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()); + return getExpressionsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()); } /** - * - * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ - public java.util.List - getExpressionsBuilderList() { + public java.util.List + getExpressionsBuilderList() { return getExpressionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> getExpressionsFieldBuilder() { if (expressionsBuilder_ == null) { - expressionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( - expressions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + expressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( + expressions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); expressions_ = null; } return expressionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -921,12 +827,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.FilterExpressionList) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.FilterExpressionList) private static final com.google.analytics.data.v1beta.FilterExpressionList DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.FilterExpressionList(); } @@ -935,16 +841,16 @@ public static com.google.analytics.data.v1beta.FilterExpressionList getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FilterExpressionList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FilterExpressionList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FilterExpressionList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FilterExpressionList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -959,4 +865,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.FilterExpressionList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java similarity index 65% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java index 6a5721b6..340497f1 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface FilterExpressionListOrBuilder - extends +public interface FilterExpressionListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.FilterExpressionList) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ - java.util.List getExpressionsList(); + java.util.List + getExpressionsList(); /** - * - * *
    * A list of filter expressions.
    * 
@@ -44,8 +25,6 @@ public interface FilterExpressionListOrBuilder */ com.google.analytics.data.v1beta.FilterExpression getExpressions(int index); /** - * - * *
    * A list of filter expressions.
    * 
@@ -54,24 +33,21 @@ public interface FilterExpressionListOrBuilder */ int getExpressionsCount(); /** - * - * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ - java.util.List + java.util.List getExpressionsOrBuilderList(); /** - * - * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ - com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressionsOrBuilder(int index); + com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressionsOrBuilder( + int index); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java similarity index 82% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java index 336de25a..2559c324 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface FilterExpressionOrBuilder - extends +public interface FilterExpressionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.FilterExpression) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The FilterExpressions in and_group have an AND relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; - * * @return Whether the andGroup field is set. */ boolean hasAndGroup(); /** - * - * *
    * The FilterExpressions in and_group have an AND relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; - * * @return The andGroup. */ com.google.analytics.data.v1beta.FilterExpressionList getAndGroup(); /** - * - * *
    * The FilterExpressions in and_group have an AND relationship.
    * 
@@ -59,32 +35,24 @@ public interface FilterExpressionOrBuilder com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getAndGroupOrBuilder(); /** - * - * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; - * * @return Whether the orGroup field is set. */ boolean hasOrGroup(); /** - * - * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; - * * @return The orGroup. */ com.google.analytics.data.v1beta.FilterExpressionList getOrGroup(); /** - * - * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
@@ -94,32 +62,24 @@ public interface FilterExpressionOrBuilder com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getOrGroupOrBuilder(); /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; - * * @return Whether the notExpression field is set. */ boolean hasNotExpression(); /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; - * * @return The notExpression. */ com.google.analytics.data.v1beta.FilterExpression getNotExpression(); /** - * - * *
    * The FilterExpression is NOT of not_expression.
    * 
@@ -129,8 +89,6 @@ public interface FilterExpressionOrBuilder com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressionOrBuilder(); /** - * - * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
@@ -138,13 +96,10 @@ public interface FilterExpressionOrBuilder
    * 
* * .google.analytics.data.v1beta.Filter filter = 4; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
@@ -152,13 +107,10 @@ public interface FilterExpressionOrBuilder
    * 
* * .google.analytics.data.v1beta.Filter filter = 4; - * * @return The filter. */ com.google.analytics.data.v1beta.Filter getFilter(); /** - * - * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java
similarity index 81%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java
index 0062312f..749a03ad 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java
@@ -1,82 +1,53 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
-public interface FilterOrBuilder
-    extends
+public interface FilterOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Filter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The dimension name or metric name. Must be a name defined in dimensions
    * or metrics.
    * 
* * string field_name = 1; - * * @return The fieldName. */ java.lang.String getFieldName(); /** - * - * *
    * The dimension name or metric name. Must be a name defined in dimensions
    * or metrics.
    * 
* * string field_name = 1; - * * @return The bytes for fieldName. */ - com.google.protobuf.ByteString getFieldNameBytes(); + com.google.protobuf.ByteString + getFieldNameBytes(); /** - * - * *
    * Strings related filter.
    * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; - * * @return Whether the stringFilter field is set. */ boolean hasStringFilter(); /** - * - * *
    * Strings related filter.
    * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; - * * @return The stringFilter. */ com.google.analytics.data.v1beta.Filter.StringFilter getStringFilter(); /** - * - * *
    * Strings related filter.
    * 
@@ -86,32 +57,24 @@ public interface FilterOrBuilder com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder getStringFilterOrBuilder(); /** - * - * *
    * A filter for in list values.
    * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; - * * @return Whether the inListFilter field is set. */ boolean hasInListFilter(); /** - * - * *
    * A filter for in list values.
    * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; - * * @return The inListFilter. */ com.google.analytics.data.v1beta.Filter.InListFilter getInListFilter(); /** - * - * *
    * A filter for in list values.
    * 
@@ -121,32 +84,24 @@ public interface FilterOrBuilder com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder getInListFilterOrBuilder(); /** - * - * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; - * * @return Whether the numericFilter field is set. */ boolean hasNumericFilter(); /** - * - * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; - * * @return The numericFilter. */ com.google.analytics.data.v1beta.Filter.NumericFilter getNumericFilter(); /** - * - * *
    * A filter for numeric or date values.
    * 
@@ -156,32 +111,24 @@ public interface FilterOrBuilder com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder getNumericFilterOrBuilder(); /** - * - * *
    * A filter for two values.
    * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; - * * @return Whether the betweenFilter field is set. */ boolean hasBetweenFilter(); /** - * - * *
    * A filter for two values.
    * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; - * * @return The betweenFilter. */ com.google.analytics.data.v1beta.Filter.BetweenFilter getBetweenFilter(); /** - * - * *
    * A filter for two values.
    * 
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java similarity index 70% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java index 38fd6f02..14d594f4 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Request for a property's dimension and metric metadata.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.GetMetadataRequest} */ -public final class GetMetadataRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMetadataRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.GetMetadataRequest) GetMetadataRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMetadataRequest.newBuilder() to construct. private GetMetadataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMetadataRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMetadataRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetMetadataRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,52 +53,47 @@ private GetMetadataRequest( 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.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.GetMetadataRequest.class, - com.google.analytics.data.v1beta.GetMetadataRequest.Builder.class); + com.google.analytics.data.v1beta.GetMetadataRequest.class, com.google.analytics.data.v1beta.GetMetadataRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the metadata to retrieve. This name field is
    * specified in the URL path and not URL parameters. Property is a numeric
@@ -128,10 +106,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * dimensions and metrics.
    * 
* - * - * string name = 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 @@ -140,15 +115,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the metadata to retrieve. This name field is
    * specified in the URL path and not URL parameters. Property is a numeric
@@ -161,18 +135,17 @@ public java.lang.String getName() {
    * dimensions and metrics.
    * 
* - * - * string name = 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 { @@ -181,7 +154,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,7 +165,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -217,15 +190,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.analytics.data.v1beta.GetMetadataRequest)) { return super.equals(obj); } - com.google.analytics.data.v1beta.GetMetadataRequest other = - (com.google.analytics.data.v1beta.GetMetadataRequest) obj; + com.google.analytics.data.v1beta.GetMetadataRequest other = (com.google.analytics.data.v1beta.GetMetadataRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -245,126 +218,117 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.GetMetadataRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.GetMetadataRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.GetMetadataRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for a property's dimension and metric metadata.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.GetMetadataRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.GetMetadataRequest) com.google.analytics.data.v1beta.GetMetadataRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.GetMetadataRequest.class, - com.google.analytics.data.v1beta.GetMetadataRequest.Builder.class); + com.google.analytics.data.v1beta.GetMetadataRequest.class, com.google.analytics.data.v1beta.GetMetadataRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.GetMetadataRequest.newBuilder() @@ -372,15 +336,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -390,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; } @java.lang.Override @@ -411,8 +376,7 @@ public com.google.analytics.data.v1beta.GetMetadataRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.GetMetadataRequest buildPartial() { - com.google.analytics.data.v1beta.GetMetadataRequest result = - new com.google.analytics.data.v1beta.GetMetadataRequest(this); + com.google.analytics.data.v1beta.GetMetadataRequest result = new com.google.analytics.data.v1beta.GetMetadataRequest(this); result.name_ = name_; onBuilt(); return result; @@ -422,39 +386,38 @@ public com.google.analytics.data.v1beta.GetMetadataRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.GetMetadataRequest) { - return mergeFrom((com.google.analytics.data.v1beta.GetMetadataRequest) other); + return mergeFrom((com.google.analytics.data.v1beta.GetMetadataRequest)other); } else { super.mergeFrom(other); return this; @@ -462,8 +425,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.GetMetadataRequest other) { - if (other == com.google.analytics.data.v1beta.GetMetadataRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.GetMetadataRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,8 +449,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.GetMetadataRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.GetMetadataRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -500,8 +461,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the metadata to retrieve. This name field is
      * specified in the URL path and not URL parameters. Property is a numeric
@@ -514,16 +473,14 @@ public Builder mergeFrom(
      * dimensions and metrics.
      * 
* - * - * string name = 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; @@ -532,8 +489,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the metadata to retrieve. This name field is
      * specified in the URL path and not URL parameters. Property is a numeric
@@ -546,17 +501,16 @@ public java.lang.String getName() {
      * dimensions and metrics.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -564,8 +518,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the metadata to retrieve. This name field is
      * specified in the URL path and not URL parameters. Property is a numeric
@@ -578,25 +530,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * dimensions and metrics.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the metadata to retrieve. This name field is
      * specified in the URL path and not URL parameters. Property is a numeric
@@ -609,21 +557,16 @@ public Builder setName(java.lang.String value) {
      * dimensions and metrics.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the metadata to retrieve. This name field is
      * specified in the URL path and not URL parameters. Property is a numeric
@@ -636,26 +579,24 @@ public Builder clearName() {
      * dimensions and metrics.
      * 
* - * - * 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); } @@ -665,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.GetMetadataRequest) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.GetMetadataRequest) private static final com.google.analytics.data.v1beta.GetMetadataRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.GetMetadataRequest(); } @@ -679,16 +620,16 @@ public static com.google.analytics.data.v1beta.GetMetadataRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMetadataRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMetadataRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMetadataRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMetadataRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -703,4 +644,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.GetMetadataRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java similarity index 61% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java index 38f0c4f1..8ad9712d 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface GetMetadataRequestOrBuilder - extends +public interface GetMetadataRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.GetMetadataRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the metadata to retrieve. This name field is
    * specified in the URL path and not URL parameters. Property is a numeric
@@ -38,16 +20,11 @@ public interface GetMetadataRequestOrBuilder
    * dimensions and metrics.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the metadata to retrieve. This name field is
    * specified in the URL path and not URL parameters. Property is a numeric
@@ -60,11 +37,9 @@ public interface GetMetadataRequestOrBuilder
    * dimensions and metrics.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.java similarity index 75% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.java index 985c611c..6226f70e 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The dimensions and metrics currently accepted in reporting methods.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.Metadata} */ -public final class Metadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Metadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Metadata) MetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Metadata.newBuilder() to construct. private Metadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Metadata() { name_ = ""; dimensions_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private Metadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Metadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Metadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,51 +56,44 @@ private Metadata( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensions_.add( - input.readMessage( - com.google.analytics.data.v1beta.DimensionMetadata.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metrics_.add( - input.readMessage( - com.google.analytics.data.v1beta.MetricMetadata.parser(), extensionRegistry)); - break; + dimensions_.add( + input.readMessage(com.google.analytics.data.v1beta.DimensionMetadata.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metrics_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + metrics_.add( + input.readMessage(com.google.analytics.data.v1beta.MetricMetadata.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)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -129,33 +105,27 @@ private Metadata( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_Metadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Metadata.class, - com.google.analytics.data.v1beta.Metadata.Builder.class); + com.google.analytics.data.v1beta.Metadata.class, com.google.analytics.data.v1beta.Metadata.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Resource name of this metadata.
    * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -164,29 +134,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; } } /** - * - * *
    * Resource name of this metadata.
    * 
* * string name = 3; - * * @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 { @@ -197,8 +167,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DIMENSIONS_FIELD_NUMBER = 1; private java.util.List dimensions_; /** - * - * *
    * The dimension descriptions.
    * 
@@ -210,8 +178,6 @@ public java.util.List getDim return dimensions_; } /** - * - * *
    * The dimension descriptions.
    * 
@@ -219,13 +185,11 @@ public java.util.List getDim * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDimensionsOrBuilderList() { return dimensions_; } /** - * - * *
    * The dimension descriptions.
    * 
@@ -237,8 +201,6 @@ public int getDimensionsCount() { return dimensions_.size(); } /** - * - * *
    * The dimension descriptions.
    * 
@@ -250,8 +212,6 @@ public com.google.analytics.data.v1beta.DimensionMetadata getDimensions(int inde return dimensions_.get(index); } /** - * - * *
    * The dimension descriptions.
    * 
@@ -267,8 +227,6 @@ public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensions public static final int METRICS_FIELD_NUMBER = 2; private java.util.List metrics_; /** - * - * *
    * The metric descriptions.
    * 
@@ -280,8 +238,6 @@ public java.util.List getMetric return metrics_; } /** - * - * *
    * The metric descriptions.
    * 
@@ -289,13 +245,11 @@ public java.util.List getMetric * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ @java.lang.Override - public java.util.List + public java.util.List getMetricsOrBuilderList() { return metrics_; } /** - * - * *
    * The metric descriptions.
    * 
@@ -307,8 +261,6 @@ public int getMetricsCount() { return metrics_.size(); } /** - * - * *
    * The metric descriptions.
    * 
@@ -320,8 +272,6 @@ public com.google.analytics.data.v1beta.MetricMetadata getMetrics(int index) { return metrics_.get(index); } /** - * - * *
    * The metric descriptions.
    * 
@@ -329,12 +279,12 @@ public com.google.analytics.data.v1beta.MetricMetadata getMetrics(int index) { * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder(int index) { + public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder( + int index) { return metrics_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,7 +296,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensions_.size(); i++) { output.writeMessage(1, dimensions_.get(i)); } @@ -366,10 +317,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dimensions_.get(i)); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, metrics_.get(i)); } if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -382,17 +335,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.analytics.data.v1beta.Metadata)) { return super.equals(obj); } - com.google.analytics.data.v1beta.Metadata other = - (com.google.analytics.data.v1beta.Metadata) obj; + com.google.analytics.data.v1beta.Metadata other = (com.google.analytics.data.v1beta.Metadata) obj; - if (!getName().equals(other.getName())) return false; - if (!getDimensionsList().equals(other.getDimensionsList())) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDimensionsList() + .equals(other.getDimensionsList())) return false; + if (!getMetricsList() + .equals(other.getMetricsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -419,127 +374,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.Metadata parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.Metadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Metadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Metadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Metadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Metadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Metadata 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.analytics.data.v1beta.Metadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Metadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Metadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Metadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Metadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Metadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.Metadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 dimensions and metrics currently accepted in reporting methods.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Metadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Metadata) com.google.analytics.data.v1beta.MetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_Metadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Metadata.class, - com.google.analytics.data.v1beta.Metadata.Builder.class); + com.google.analytics.data.v1beta.Metadata.class, com.google.analytics.data.v1beta.Metadata.Builder.class); } // Construct using com.google.analytics.data.v1beta.Metadata.newBuilder() @@ -547,18 +493,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) { getDimensionsFieldBuilder(); getMetricsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -580,9 +526,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_Metadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_Metadata_descriptor; } @java.lang.Override @@ -601,8 +547,7 @@ public com.google.analytics.data.v1beta.Metadata build() { @java.lang.Override public com.google.analytics.data.v1beta.Metadata buildPartial() { - com.google.analytics.data.v1beta.Metadata result = - new com.google.analytics.data.v1beta.Metadata(this); + com.google.analytics.data.v1beta.Metadata result = new com.google.analytics.data.v1beta.Metadata(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (dimensionsBuilder_ == null) { @@ -631,39 +576,38 @@ public com.google.analytics.data.v1beta.Metadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Metadata) { - return mergeFrom((com.google.analytics.data.v1beta.Metadata) other); + return mergeFrom((com.google.analytics.data.v1beta.Metadata)other); } else { super.mergeFrom(other); return this; @@ -694,10 +638,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Metadata other) { dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionsFieldBuilder() - : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionsFieldBuilder() : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -721,10 +664,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Metadata other) { metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricsFieldBuilder() : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -758,25 +700,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Resource name of this metadata.
      * 
* * string name = 3; - * * @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; @@ -785,21 +724,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name of this metadata.
      * 
* * string name = 3; - * * @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 { @@ -807,87 +745,72 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name of this metadata.
      * 
* * string name = 3; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of this metadata.
      * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name of this metadata.
      * 
* * string name = 3; - * * @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 dimensions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList( - dimensions_); + dimensions_ = new java.util.ArrayList(dimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionMetadata, - com.google.analytics.data.v1beta.DimensionMetadata.Builder, - com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> - dimensionsBuilder_; + com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> dimensionsBuilder_; /** - * - * *
      * The dimension descriptions.
      * 
@@ -902,8 +825,6 @@ public java.util.List getDim } } /** - * - * *
      * The dimension descriptions.
      * 
@@ -918,8 +839,6 @@ public int getDimensionsCount() { } } /** - * - * *
      * The dimension descriptions.
      * 
@@ -934,8 +853,6 @@ public com.google.analytics.data.v1beta.DimensionMetadata getDimensions(int inde } } /** - * - * *
      * The dimension descriptions.
      * 
@@ -957,8 +874,6 @@ public Builder setDimensions( return this; } /** - * - * *
      * The dimension descriptions.
      * 
@@ -977,8 +892,6 @@ public Builder setDimensions( return this; } /** - * - * *
      * The dimension descriptions.
      * 
@@ -999,8 +912,6 @@ public Builder addDimensions(com.google.analytics.data.v1beta.DimensionMetadata return this; } /** - * - * *
      * The dimension descriptions.
      * 
@@ -1022,8 +933,6 @@ public Builder addDimensions( return this; } /** - * - * *
      * The dimension descriptions.
      * 
@@ -1042,8 +951,6 @@ public Builder addDimensions( return this; } /** - * - * *
      * The dimension descriptions.
      * 
@@ -1062,8 +969,6 @@ public Builder addDimensions( return this; } /** - * - * *
      * The dimension descriptions.
      * 
@@ -1074,7 +979,8 @@ public Builder addAllDimensions( java.lang.Iterable values) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dimensions_); onChanged(); } else { dimensionsBuilder_.addAllMessages(values); @@ -1082,8 +988,6 @@ public Builder addAllDimensions( return this; } /** - * - * *
      * The dimension descriptions.
      * 
@@ -1101,8 +1005,6 @@ public Builder clearDimensions() { return this; } /** - * - * *
      * The dimension descriptions.
      * 
@@ -1120,8 +1022,6 @@ public Builder removeDimensions(int index) { return this; } /** - * - * *
      * The dimension descriptions.
      * 
@@ -1133,8 +1033,6 @@ public com.google.analytics.data.v1beta.DimensionMetadata.Builder getDimensionsB return getDimensionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The dimension descriptions.
      * 
@@ -1144,22 +1042,19 @@ public com.google.analytics.data.v1beta.DimensionMetadata.Builder getDimensionsB public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionsOrBuilder( int index) { if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { + return dimensions_.get(index); } else { return dimensionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The dimension descriptions.
      * 
* * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ - public java.util.List - getDimensionsOrBuilderList() { + public java.util.List + getDimensionsOrBuilderList() { if (dimensionsBuilder_ != null) { return dimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -1167,8 +1062,6 @@ public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensions } } /** - * - * *
      * The dimension descriptions.
      * 
@@ -1176,12 +1069,10 @@ public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensions * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ public com.google.analytics.data.v1beta.DimensionMetadata.Builder addDimensionsBuilder() { - return getDimensionsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()); + return getDimensionsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()); } /** - * - * *
      * The dimension descriptions.
      * 
@@ -1190,61 +1081,48 @@ public com.google.analytics.data.v1beta.DimensionMetadata.Builder addDimensionsB */ public com.google.analytics.data.v1beta.DimensionMetadata.Builder addDimensionsBuilder( int index) { - return getDimensionsFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()); + return getDimensionsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()); } /** - * - * *
      * The dimension descriptions.
      * 
* * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ - public java.util.List - getDimensionsBuilderList() { + public java.util.List + getDimensionsBuilderList() { return getDimensionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionMetadata, - com.google.analytics.data.v1beta.DimensionMetadata.Builder, - com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> + com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> getDimensionsFieldBuilder() { if (dimensionsBuilder_ == null) { - dimensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionMetadata, - com.google.analytics.data.v1beta.DimensionMetadata.Builder, - com.google.analytics.data.v1beta.DimensionMetadataOrBuilder>( - dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder>( + dimensions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dimensions_ = null; } return dimensionsBuilder_; } private java.util.List metrics_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metrics_ = - new java.util.ArrayList(metrics_); + metrics_ = new java.util.ArrayList(metrics_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricMetadata, - com.google.analytics.data.v1beta.MetricMetadata.Builder, - com.google.analytics.data.v1beta.MetricMetadataOrBuilder> - metricsBuilder_; + com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder> metricsBuilder_; /** - * - * *
      * The metric descriptions.
      * 
@@ -1259,8 +1137,6 @@ public java.util.List getMetric } } /** - * - * *
      * The metric descriptions.
      * 
@@ -1275,8 +1151,6 @@ public int getMetricsCount() { } } /** - * - * *
      * The metric descriptions.
      * 
@@ -1291,15 +1165,14 @@ public com.google.analytics.data.v1beta.MetricMetadata getMetrics(int index) { } } /** - * - * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public Builder setMetrics(int index, com.google.analytics.data.v1beta.MetricMetadata value) { + public Builder setMetrics( + int index, com.google.analytics.data.v1beta.MetricMetadata value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1313,8 +1186,6 @@ public Builder setMetrics(int index, com.google.analytics.data.v1beta.MetricMeta return this; } /** - * - * *
      * The metric descriptions.
      * 
@@ -1333,8 +1204,6 @@ public Builder setMetrics( return this; } /** - * - * *
      * The metric descriptions.
      * 
@@ -1355,15 +1224,14 @@ public Builder addMetrics(com.google.analytics.data.v1beta.MetricMetadata value) return this; } /** - * - * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public Builder addMetrics(int index, com.google.analytics.data.v1beta.MetricMetadata value) { + public Builder addMetrics( + int index, com.google.analytics.data.v1beta.MetricMetadata value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1377,8 +1245,6 @@ public Builder addMetrics(int index, com.google.analytics.data.v1beta.MetricMeta return this; } /** - * - * *
      * The metric descriptions.
      * 
@@ -1397,8 +1263,6 @@ public Builder addMetrics( return this; } /** - * - * *
      * The metric descriptions.
      * 
@@ -1417,8 +1281,6 @@ public Builder addMetrics( return this; } /** - * - * *
      * The metric descriptions.
      * 
@@ -1429,7 +1291,8 @@ public Builder addAllMetrics( java.lang.Iterable values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -1437,8 +1300,6 @@ public Builder addAllMetrics( return this; } /** - * - * *
      * The metric descriptions.
      * 
@@ -1456,8 +1317,6 @@ public Builder clearMetrics() { return this; } /** - * - * *
      * The metric descriptions.
      * 
@@ -1475,44 +1334,39 @@ public Builder removeMetrics(int index) { return this; } /** - * - * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public com.google.analytics.data.v1beta.MetricMetadata.Builder getMetricsBuilder(int index) { + public com.google.analytics.data.v1beta.MetricMetadata.Builder getMetricsBuilder( + int index) { return getMetricsFieldBuilder().getBuilder(index); } /** - * - * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder(int index) { + public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder( + int index) { if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { + return metrics_.get(index); } else { return metricsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public java.util.List - getMetricsOrBuilderList() { + public java.util.List + getMetricsOrBuilderList() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilderList(); } else { @@ -1520,8 +1374,6 @@ public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuil } } /** - * - * *
      * The metric descriptions.
      * 
@@ -1529,55 +1381,49 @@ public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuil * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ public com.google.analytics.data.v1beta.MetricMetadata.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()); + return getMetricsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()); } /** - * - * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public com.google.analytics.data.v1beta.MetricMetadata.Builder addMetricsBuilder(int index) { - return getMetricsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()); + public com.google.analytics.data.v1beta.MetricMetadata.Builder addMetricsBuilder( + int index) { + return getMetricsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()); } /** - * - * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public java.util.List - getMetricsBuilderList() { + public java.util.List + getMetricsBuilderList() { return getMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricMetadata, - com.google.analytics.data.v1beta.MetricMetadata.Builder, - com.google.analytics.data.v1beta.MetricMetadataOrBuilder> + com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricMetadata, - com.google.analytics.data.v1beta.MetricMetadata.Builder, - com.google.analytics.data.v1beta.MetricMetadataOrBuilder>( - metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder>( + metrics_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); metrics_ = null; } return metricsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1587,12 +1433,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Metadata) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Metadata) private static final com.google.analytics.data.v1beta.Metadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Metadata(); } @@ -1601,16 +1447,16 @@ public static com.google.analytics.data.v1beta.Metadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Metadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Metadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1625,4 +1471,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Metadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataName.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataName.java similarity index 100% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataName.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataName.java diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java similarity index 74% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java index ed46aad8..de2f6d87 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java @@ -1,66 +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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface MetadataOrBuilder - extends +public interface MetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Metadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of this metadata.
    * 
* * string name = 3; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name of this metadata.
    * 
* * string name = 3; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The dimension descriptions.
    * 
* * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ - java.util.List getDimensionsList(); + java.util.List + getDimensionsList(); /** - * - * *
    * The dimension descriptions.
    * 
@@ -69,8 +45,6 @@ public interface MetadataOrBuilder */ com.google.analytics.data.v1beta.DimensionMetadata getDimensions(int index); /** - * - * *
    * The dimension descriptions.
    * 
@@ -79,40 +53,34 @@ public interface MetadataOrBuilder */ int getDimensionsCount(); /** - * - * *
    * The dimension descriptions.
    * 
* * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ - java.util.List + java.util.List getDimensionsOrBuilderList(); /** - * - * *
    * The dimension descriptions.
    * 
* * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ - com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionsOrBuilder(int index); + com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionsOrBuilder( + int index); /** - * - * *
    * The metric descriptions.
    * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - java.util.List getMetricsList(); + java.util.List + getMetricsList(); /** - * - * *
    * The metric descriptions.
    * 
@@ -121,8 +89,6 @@ public interface MetadataOrBuilder */ com.google.analytics.data.v1beta.MetricMetadata getMetrics(int index); /** - * - * *
    * The metric descriptions.
    * 
@@ -131,24 +97,21 @@ public interface MetadataOrBuilder */ int getMetricsCount(); /** - * - * *
    * The metric descriptions.
    * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - java.util.List + java.util.List getMetricsOrBuilderList(); /** - * - * *
    * The metric descriptions.
    * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder(int index); + com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder( + int index); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.java similarity index 75% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.java index 0c381ce2..5515731c 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The quantitative measurements of a report. For example, the metric
  * `eventCount` is the total number of events. Requests are allowed up to 10
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.Metric}
  */
-public final class Metric extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Metric extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Metric)
     MetricOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Metric.newBuilder() to construct.
   private Metric(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Metric() {
     name_ = "";
     expression_ = "";
@@ -46,15 +28,16 @@ private Metric() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Metric();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Metric(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,64 +56,58 @@ private Metric(
           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();
 
-              expression_ = s;
-              break;
-            }
-          case 24:
-            {
-              invisible_ = input.readBool();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            expression_ = s;
+            break;
+          }
+          case 24: {
+
+            invisible_ = 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.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_Metric_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Metric_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.Metric.class,
-            com.google.analytics.data.v1beta.Metric.Builder.class);
+            com.google.analytics.data.v1beta.Metric.class, com.google.analytics.data.v1beta.Metric.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the metric. See the [API
    * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -145,7 +122,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -154,15 +130,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 name of the metric. See the [API
    * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -177,15 +152,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 { @@ -196,15 +172,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EXPRESSION_FIELD_NUMBER = 2; private volatile java.lang.Object expression_; /** - * - * *
    * A mathematical expression for derived metrics. For example, the metric
    * Event count per user is `eventCount/totalUsers`.
    * 
* * string expression = 2; - * * @return The expression. */ @java.lang.Override @@ -213,30 +186,30 @@ public java.lang.String getExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expression_ = s; return s; } } /** - * - * *
    * A mathematical expression for derived metrics. For example, the metric
    * Event count per user is `eventCount/totalUsers`.
    * 
* * string expression = 2; - * * @return The bytes for expression. */ @java.lang.Override - public com.google.protobuf.ByteString getExpressionBytes() { + public com.google.protobuf.ByteString + getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); expression_ = b; return b; } else { @@ -247,8 +220,6 @@ public com.google.protobuf.ByteString getExpressionBytes() { public static final int INVISIBLE_FIELD_NUMBER = 3; private boolean invisible_; /** - * - * *
    * Indicates if a metric is invisible in the report response. If a metric is
    * invisible, the metric will not produce a column in the response, but can be
@@ -256,7 +227,6 @@ public com.google.protobuf.ByteString getExpressionBytes() {
    * 
* * bool invisible = 3; - * * @return The invisible. */ @java.lang.Override @@ -265,7 +235,6 @@ public boolean getInvisible() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -303,7 +273,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, expression_); } if (invisible_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, invisible_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, invisible_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -313,16 +284,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.analytics.data.v1beta.Metric)) { return super.equals(obj); } com.google.analytics.data.v1beta.Metric other = (com.google.analytics.data.v1beta.Metric) obj; - if (!getName().equals(other.getName())) return false; - if (!getExpression().equals(other.getExpression())) return false; - if (getInvisible() != other.getInvisible()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getExpression() + .equals(other.getExpression())) return false; + if (getInvisible() + != other.getInvisible()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -339,110 +313,104 @@ public int hashCode() { hash = (37 * hash) + EXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getExpression().hashCode(); hash = (37 * hash) + INVISIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInvisible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getInvisible()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.data.v1beta.Metric parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.Metric parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Metric parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Metric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Metric parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Metric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Metric parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Metric 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.analytics.data.v1beta.Metric parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Metric parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.Metric parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Metric parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Metric parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Metric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.Metric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 quantitative measurements of a report. For example, the metric
    * `eventCount` is the total number of events. Requests are allowed up to 10
@@ -451,23 +419,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.Metric}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Metric)
       com.google.analytics.data.v1beta.MetricOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Metric_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Metric_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.Metric.class,
-              com.google.analytics.data.v1beta.Metric.Builder.class);
+              com.google.analytics.data.v1beta.Metric.class, com.google.analytics.data.v1beta.Metric.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.Metric.newBuilder()
@@ -475,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();
@@ -497,9 +464,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Metric_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Metric_descriptor;
     }
 
     @java.lang.Override
@@ -518,8 +485,7 @@ public com.google.analytics.data.v1beta.Metric build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.Metric buildPartial() {
-      com.google.analytics.data.v1beta.Metric result =
-          new com.google.analytics.data.v1beta.Metric(this);
+      com.google.analytics.data.v1beta.Metric result = new com.google.analytics.data.v1beta.Metric(this);
       result.name_ = name_;
       result.expression_ = expression_;
       result.invisible_ = invisible_;
@@ -531,39 +497,38 @@ public com.google.analytics.data.v1beta.Metric buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.Metric) {
-        return mergeFrom((com.google.analytics.data.v1beta.Metric) other);
+        return mergeFrom((com.google.analytics.data.v1beta.Metric)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -614,8 +579,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the metric. See the [API
      * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -630,13 +593,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; @@ -645,8 +608,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the metric. See the [API
      * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -661,14 +622,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 { @@ -676,8 +638,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the metric. See the [API
      * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -692,22 +652,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the metric. See the [API
      * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -722,18 +680,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the metric. See the [API
      * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -748,16 +703,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; @@ -765,21 +720,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object expression_ = ""; /** - * - * *
      * A mathematical expression for derived metrics. For example, the metric
      * Event count per user is `eventCount/totalUsers`.
      * 
* * string expression = 2; - * * @return The expression. */ public java.lang.String getExpression() { java.lang.Object ref = expression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expression_ = s; return s; @@ -788,22 +741,21 @@ public java.lang.String getExpression() { } } /** - * - * *
      * A mathematical expression for derived metrics. For example, the metric
      * Event count per user is `eventCount/totalUsers`.
      * 
* * string expression = 2; - * * @return The bytes for expression. */ - public com.google.protobuf.ByteString getExpressionBytes() { + public com.google.protobuf.ByteString + getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); expression_ = b; return b; } else { @@ -811,73 +763,64 @@ public com.google.protobuf.ByteString getExpressionBytes() { } } /** - * - * *
      * A mathematical expression for derived metrics. For example, the metric
      * Event count per user is `eventCount/totalUsers`.
      * 
* * string expression = 2; - * * @param value The expression to set. * @return This builder for chaining. */ - public Builder setExpression(java.lang.String value) { + public Builder setExpression( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + expression_ = value; onChanged(); return this; } /** - * - * *
      * A mathematical expression for derived metrics. For example, the metric
      * Event count per user is `eventCount/totalUsers`.
      * 
* * string expression = 2; - * * @return This builder for chaining. */ public Builder clearExpression() { - + expression_ = getDefaultInstance().getExpression(); onChanged(); return this; } /** - * - * *
      * A mathematical expression for derived metrics. For example, the metric
      * Event count per user is `eventCount/totalUsers`.
      * 
* * string expression = 2; - * * @param value The bytes for expression to set. * @return This builder for chaining. */ - public Builder setExpressionBytes(com.google.protobuf.ByteString value) { + public Builder setExpressionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + expression_ = value; onChanged(); return this; } - private boolean invisible_; + private boolean invisible_ ; /** - * - * *
      * Indicates if a metric is invisible in the report response. If a metric is
      * invisible, the metric will not produce a column in the response, but can be
@@ -885,7 +828,6 @@ public Builder setExpressionBytes(com.google.protobuf.ByteString value) {
      * 
* * bool invisible = 3; - * * @return The invisible. */ @java.lang.Override @@ -893,8 +835,6 @@ public boolean getInvisible() { return invisible_; } /** - * - * *
      * Indicates if a metric is invisible in the report response. If a metric is
      * invisible, the metric will not produce a column in the response, but can be
@@ -902,19 +842,16 @@ public boolean getInvisible() {
      * 
* * bool invisible = 3; - * * @param value The invisible to set. * @return This builder for chaining. */ public Builder setInvisible(boolean value) { - + invisible_ = value; onChanged(); return this; } /** - * - * *
      * Indicates if a metric is invisible in the report response. If a metric is
      * invisible, the metric will not produce a column in the response, but can be
@@ -922,18 +859,17 @@ public Builder setInvisible(boolean value) {
      * 
* * bool invisible = 3; - * * @return This builder for chaining. */ public Builder clearInvisible() { - + invisible_ = 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); } @@ -943,12 +879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Metric) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Metric) private static final com.google.analytics.data.v1beta.Metric DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Metric(); } @@ -957,16 +893,16 @@ public static com.google.analytics.data.v1beta.Metric getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metric parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Metric(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metric parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Metric(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -981,4 +917,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Metric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java similarity index 69% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java index 2900a72c..3a9fbd1a 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Represents aggregation of metrics.
  * 
* * Protobuf enum {@code google.analytics.data.v1beta.MetricAggregation} */ -public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum { +public enum MetricAggregation + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified operator.
    * 
@@ -39,8 +21,6 @@ public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum */ METRIC_AGGREGATION_UNSPECIFIED(0), /** - * - * *
    * SUM operator.
    * 
@@ -49,8 +29,6 @@ public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum */ TOTAL(1), /** - * - * *
    * Minimum operator.
    * 
@@ -59,8 +37,6 @@ public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum */ MINIMUM(5), /** - * - * *
    * Maximum operator.
    * 
@@ -69,8 +45,6 @@ public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum */ MAXIMUM(6), /** - * - * *
    * Count operator.
    * 
@@ -82,8 +56,6 @@ public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Unspecified operator.
    * 
@@ -92,8 +64,6 @@ public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum */ public static final int METRIC_AGGREGATION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * SUM operator.
    * 
@@ -102,8 +72,6 @@ public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum */ public static final int TOTAL_VALUE = 1; /** - * - * *
    * Minimum operator.
    * 
@@ -112,8 +80,6 @@ public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum */ public static final int MINIMUM_VALUE = 5; /** - * - * *
    * Maximum operator.
    * 
@@ -122,8 +88,6 @@ public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum */ public static final int MAXIMUM_VALUE = 6; /** - * - * *
    * Count operator.
    * 
@@ -132,6 +96,7 @@ public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum */ public static final int COUNT_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -156,46 +121,41 @@ public static MetricAggregation valueOf(int value) { */ public static MetricAggregation forNumber(int value) { switch (value) { - case 0: - return METRIC_AGGREGATION_UNSPECIFIED; - case 1: - return TOTAL; - case 5: - return MINIMUM; - case 6: - return MAXIMUM; - case 4: - return COUNT; - default: - return null; + case 0: return METRIC_AGGREGATION_UNSPECIFIED; + case 1: return TOTAL; + case 5: return MINIMUM; + case 6: return MAXIMUM; + case 4: return COUNT; + 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 MetricAggregation findValueByNumber(int number) { - return MetricAggregation.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + MetricAggregation> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MetricAggregation findValueByNumber(int number) { + return MetricAggregation.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.analytics.data.v1beta.ReportingApiProto.getDescriptor().getEnumTypes().get(0); } @@ -204,7 +164,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static MetricAggregation 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; @@ -220,3 +181,4 @@ private MetricAggregation(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.data.v1beta.MetricAggregation) } + diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.java new file mode 100644 index 00000000..628ba11a --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.java @@ -0,0 +1,861 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +/** + *
+ * The compatibility for a single metric.
+ * 
+ * + * Protobuf type {@code google.analytics.data.v1beta.MetricCompatibility} + */ +public final class MetricCompatibility extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.MetricCompatibility) + MetricCompatibilityOrBuilder { +private static final long serialVersionUID = 0L; + // Use MetricCompatibility.newBuilder() to construct. + private MetricCompatibility(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MetricCompatibility() { + compatibility_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MetricCompatibility(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MetricCompatibility( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.analytics.data.v1beta.MetricMetadata.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = metricMetadata_.toBuilder(); + } + metricMetadata_ = input.readMessage(com.google.analytics.data.v1beta.MetricMetadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricMetadata_); + metricMetadata_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 16: { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000002; + compatibility_ = 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); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricCompatibility_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.data.v1beta.MetricCompatibility.class, com.google.analytics.data.v1beta.MetricCompatibility.Builder.class); + } + + private int bitField0_; + public static final int METRIC_METADATA_FIELD_NUMBER = 1; + private com.google.analytics.data.v1beta.MetricMetadata metricMetadata_; + /** + *
+   * The metric metadata contains the API name for this compatibility
+   * information. The metric metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * @return Whether the metricMetadata field is set. + */ + @java.lang.Override + public boolean hasMetricMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+   * The metric metadata contains the API name for this compatibility
+   * information. The metric metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * @return The metricMetadata. + */ + @java.lang.Override + public com.google.analytics.data.v1beta.MetricMetadata getMetricMetadata() { + return metricMetadata_ == null ? com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance() : metricMetadata_; + } + /** + *
+   * The metric metadata contains the API name for this compatibility
+   * information. The metric metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + */ + @java.lang.Override + public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricMetadataOrBuilder() { + return metricMetadata_ == null ? com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance() : metricMetadata_; + } + + public static final int COMPATIBILITY_FIELD_NUMBER = 2; + private int compatibility_; + /** + *
+   * The compatibility of this metric. If the compatibility is COMPATIBLE,
+   * this metric can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return Whether the compatibility field is set. + */ + @java.lang.Override public boolean hasCompatibility() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+   * The compatibility of this metric. If the compatibility is COMPATIBLE,
+   * this metric can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The enum numeric value on the wire for compatibility. + */ + @java.lang.Override public int getCompatibilityValue() { + return compatibility_; + } + /** + *
+   * The compatibility of this metric. If the compatibility is COMPATIBLE,
+   * this metric can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The compatibility. + */ + @java.lang.Override public com.google.analytics.data.v1beta.Compatibility getCompatibility() { + @SuppressWarnings("deprecation") + com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); + return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getMetricMetadata()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, compatibility_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMetricMetadata()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, compatibility_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.analytics.data.v1beta.MetricCompatibility)) { + return super.equals(obj); + } + com.google.analytics.data.v1beta.MetricCompatibility other = (com.google.analytics.data.v1beta.MetricCompatibility) obj; + + if (hasMetricMetadata() != other.hasMetricMetadata()) return false; + if (hasMetricMetadata()) { + if (!getMetricMetadata() + .equals(other.getMetricMetadata())) return false; + } + if (hasCompatibility() != other.hasCompatibility()) return false; + if (hasCompatibility()) { + if (compatibility_ != other.compatibility_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMetricMetadata()) { + hash = (37 * hash) + METRIC_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getMetricMetadata().hashCode(); + } + if (hasCompatibility()) { + hash = (37 * hash) + COMPATIBILITY_FIELD_NUMBER; + hash = (53 * hash) + compatibility_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.analytics.data.v1beta.MetricCompatibility prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * The compatibility for a single metric.
+   * 
+ * + * Protobuf type {@code google.analytics.data.v1beta.MetricCompatibility} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.MetricCompatibility) + com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricCompatibility_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.data.v1beta.MetricCompatibility.class, com.google.analytics.data.v1beta.MetricCompatibility.Builder.class); + } + + // Construct using com.google.analytics.data.v1beta.MetricCompatibility.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getMetricMetadataFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (metricMetadataBuilder_ == null) { + metricMetadata_ = null; + } else { + metricMetadataBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + compatibility_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.MetricCompatibility getDefaultInstanceForType() { + return com.google.analytics.data.v1beta.MetricCompatibility.getDefaultInstance(); + } + + @java.lang.Override + public com.google.analytics.data.v1beta.MetricCompatibility build() { + com.google.analytics.data.v1beta.MetricCompatibility result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.MetricCompatibility buildPartial() { + com.google.analytics.data.v1beta.MetricCompatibility result = new com.google.analytics.data.v1beta.MetricCompatibility(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (metricMetadataBuilder_ == null) { + result.metricMetadata_ = metricMetadata_; + } else { + result.metricMetadata_ = metricMetadataBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.compatibility_ = compatibility_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.analytics.data.v1beta.MetricCompatibility) { + return mergeFrom((com.google.analytics.data.v1beta.MetricCompatibility)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.analytics.data.v1beta.MetricCompatibility other) { + if (other == com.google.analytics.data.v1beta.MetricCompatibility.getDefaultInstance()) return this; + if (other.hasMetricMetadata()) { + mergeMetricMetadata(other.getMetricMetadata()); + } + if (other.hasCompatibility()) { + setCompatibility(other.getCompatibility()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.analytics.data.v1beta.MetricCompatibility parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.analytics.data.v1beta.MetricCompatibility) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.analytics.data.v1beta.MetricMetadata metricMetadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder> metricMetadataBuilder_; + /** + *
+     * The metric metadata contains the API name for this compatibility
+     * information. The metric metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * @return Whether the metricMetadata field is set. + */ + public boolean hasMetricMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * The metric metadata contains the API name for this compatibility
+     * information. The metric metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * @return The metricMetadata. + */ + public com.google.analytics.data.v1beta.MetricMetadata getMetricMetadata() { + if (metricMetadataBuilder_ == null) { + return metricMetadata_ == null ? com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance() : metricMetadata_; + } else { + return metricMetadataBuilder_.getMessage(); + } + } + /** + *
+     * The metric metadata contains the API name for this compatibility
+     * information. The metric metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + */ + public Builder setMetricMetadata(com.google.analytics.data.v1beta.MetricMetadata value) { + if (metricMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metricMetadata_ = value; + onChanged(); + } else { + metricMetadataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * The metric metadata contains the API name for this compatibility
+     * information. The metric metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + */ + public Builder setMetricMetadata( + com.google.analytics.data.v1beta.MetricMetadata.Builder builderForValue) { + if (metricMetadataBuilder_ == null) { + metricMetadata_ = builderForValue.build(); + onChanged(); + } else { + metricMetadataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * The metric metadata contains the API name for this compatibility
+     * information. The metric metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + */ + public Builder mergeMetricMetadata(com.google.analytics.data.v1beta.MetricMetadata value) { + if (metricMetadataBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + metricMetadata_ != null && + metricMetadata_ != com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()) { + metricMetadata_ = + com.google.analytics.data.v1beta.MetricMetadata.newBuilder(metricMetadata_).mergeFrom(value).buildPartial(); + } else { + metricMetadata_ = value; + } + onChanged(); + } else { + metricMetadataBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
+     * The metric metadata contains the API name for this compatibility
+     * information. The metric metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + */ + public Builder clearMetricMetadata() { + if (metricMetadataBuilder_ == null) { + metricMetadata_ = null; + onChanged(); + } else { + metricMetadataBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + *
+     * The metric metadata contains the API name for this compatibility
+     * information. The metric metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + */ + public com.google.analytics.data.v1beta.MetricMetadata.Builder getMetricMetadataBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getMetricMetadataFieldBuilder().getBuilder(); + } + /** + *
+     * The metric metadata contains the API name for this compatibility
+     * information. The metric metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + */ + public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricMetadataOrBuilder() { + if (metricMetadataBuilder_ != null) { + return metricMetadataBuilder_.getMessageOrBuilder(); + } else { + return metricMetadata_ == null ? + com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance() : metricMetadata_; + } + } + /** + *
+     * The metric metadata contains the API name for this compatibility
+     * information. The metric metadata also contains other helpful information
+     * like the UI name and description.
+     * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder> + getMetricMetadataFieldBuilder() { + if (metricMetadataBuilder_ == null) { + metricMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder>( + getMetricMetadata(), + getParentForChildren(), + isClean()); + metricMetadata_ = null; + } + return metricMetadataBuilder_; + } + + private int compatibility_ = 0; + /** + *
+     * The compatibility of this metric. If the compatibility is COMPATIBLE,
+     * this metric can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return Whether the compatibility field is set. + */ + @java.lang.Override public boolean hasCompatibility() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * The compatibility of this metric. If the compatibility is COMPATIBLE,
+     * this metric can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The enum numeric value on the wire for compatibility. + */ + @java.lang.Override public int getCompatibilityValue() { + return compatibility_; + } + /** + *
+     * The compatibility of this metric. If the compatibility is COMPATIBLE,
+     * this metric can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @param value The enum numeric value on the wire for compatibility to set. + * @return This builder for chaining. + */ + public Builder setCompatibilityValue(int value) { + bitField0_ |= 0x00000002; + compatibility_ = value; + onChanged(); + return this; + } + /** + *
+     * The compatibility of this metric. If the compatibility is COMPATIBLE,
+     * this metric can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The compatibility. + */ + @java.lang.Override + public com.google.analytics.data.v1beta.Compatibility getCompatibility() { + @SuppressWarnings("deprecation") + com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); + return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; + } + /** + *
+     * The compatibility of this metric. If the compatibility is COMPATIBLE,
+     * this metric can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @param value The compatibility to set. + * @return This builder for chaining. + */ + public Builder setCompatibility(com.google.analytics.data.v1beta.Compatibility value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + compatibility_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * The compatibility of this metric. If the compatibility is COMPATIBLE,
+     * this metric can be successfully added to the report.
+     * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return This builder for chaining. + */ + public Builder clearCompatibility() { + bitField0_ = (bitField0_ & ~0x00000002); + compatibility_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.MetricCompatibility) + } + + // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.MetricCompatibility) + private static final com.google.analytics.data.v1beta.MetricCompatibility DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.MetricCompatibility(); + } + + public static com.google.analytics.data.v1beta.MetricCompatibility getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricCompatibility parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetricCompatibility(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.analytics.data.v1beta.MetricCompatibility getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.java new file mode 100644 index 00000000..e270d794 --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.java @@ -0,0 +1,73 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public interface MetricCompatibilityOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.MetricCompatibility) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The metric metadata contains the API name for this compatibility
+   * information. The metric metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * @return Whether the metricMetadata field is set. + */ + boolean hasMetricMetadata(); + /** + *
+   * The metric metadata contains the API name for this compatibility
+   * information. The metric metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * @return The metricMetadata. + */ + com.google.analytics.data.v1beta.MetricMetadata getMetricMetadata(); + /** + *
+   * The metric metadata contains the API name for this compatibility
+   * information. The metric metadata also contains other helpful information
+   * like the UI name and description.
+   * 
+ * + * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + */ + com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricMetadataOrBuilder(); + + /** + *
+   * The compatibility of this metric. If the compatibility is COMPATIBLE,
+   * this metric can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return Whether the compatibility field is set. + */ + boolean hasCompatibility(); + /** + *
+   * The compatibility of this metric. If the compatibility is COMPATIBLE,
+   * this metric can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The enum numeric value on the wire for compatibility. + */ + int getCompatibilityValue(); + /** + *
+   * The compatibility of this metric. If the compatibility is COMPATIBLE,
+   * this metric can be successfully added to the report.
+   * 
+ * + * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * @return The compatibility. + */ + com.google.analytics.data.v1beta.Compatibility getCompatibility(); +} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java similarity index 70% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java index a8feaad4..ac342021 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Describes a metric column in the report. Visible metrics requested in a
  * report produce column entries within rows and MetricHeaders. However,
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.MetricHeader}
  */
-public final class MetricHeader extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MetricHeader extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.MetricHeader)
     MetricHeaderOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MetricHeader.newBuilder() to construct.
   private MetricHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MetricHeader() {
     name_ = "";
     type_ = 0;
@@ -47,15 +29,16 @@ private MetricHeader() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MetricHeader();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MetricHeader(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,65 +57,58 @@ private MetricHeader(
           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();
 
-              type_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            type_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       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.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.MetricHeader.class,
-            com.google.analytics.data.v1beta.MetricHeader.Builder.class);
+            com.google.analytics.data.v1beta.MetricHeader.class, com.google.analytics.data.v1beta.MetricHeader.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The metric's name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -141,29 +117,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The metric's 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 { @@ -174,41 +150,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * The metric's data type.
    * 
* * .google.analytics.data.v1beta.MetricType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The metric's data type.
    * 
* * .google.analytics.data.v1beta.MetricType type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.analytics.data.v1beta.MetricType getType() { + @java.lang.Override public com.google.analytics.data.v1beta.MetricType getType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricType result = - com.google.analytics.data.v1beta.MetricType.valueOf(type_); + com.google.analytics.data.v1beta.MetricType result = com.google.analytics.data.v1beta.MetricType.valueOf(type_); return result == null ? com.google.analytics.data.v1beta.MetricType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,7 +186,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -240,7 +207,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (type_ != com.google.analytics.data.v1beta.MetricType.METRIC_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -250,15 +218,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.analytics.data.v1beta.MetricHeader)) { return super.equals(obj); } - com.google.analytics.data.v1beta.MetricHeader other = - (com.google.analytics.data.v1beta.MetricHeader) obj; + com.google.analytics.data.v1beta.MetricHeader other = (com.google.analytics.data.v1beta.MetricHeader) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (type_ != other.type_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -280,104 +248,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.MetricHeader parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.MetricHeader parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MetricHeader parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MetricHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MetricHeader parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricHeader 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.analytics.data.v1beta.MetricHeader parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.MetricHeader parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.MetricHeader parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.MetricHeader parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricHeader parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.MetricHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.MetricHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 metric column in the report. Visible metrics requested in a
    * report produce column entries within rows and MetricHeaders. However,
@@ -387,23 +348,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.MetricHeader}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.MetricHeader)
       com.google.analytics.data.v1beta.MetricHeaderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.MetricHeader.class,
-              com.google.analytics.data.v1beta.MetricHeader.Builder.class);
+              com.google.analytics.data.v1beta.MetricHeader.class, com.google.analytics.data.v1beta.MetricHeader.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.MetricHeader.newBuilder()
@@ -411,15 +370,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();
@@ -431,9 +391,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
     }
 
     @java.lang.Override
@@ -452,8 +412,7 @@ public com.google.analytics.data.v1beta.MetricHeader build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.MetricHeader buildPartial() {
-      com.google.analytics.data.v1beta.MetricHeader result =
-          new com.google.analytics.data.v1beta.MetricHeader(this);
+      com.google.analytics.data.v1beta.MetricHeader result = new com.google.analytics.data.v1beta.MetricHeader(this);
       result.name_ = name_;
       result.type_ = type_;
       onBuilt();
@@ -464,39 +423,38 @@ public com.google.analytics.data.v1beta.MetricHeader buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.MetricHeader) {
-        return mergeFrom((com.google.analytics.data.v1beta.MetricHeader) other);
+        return mergeFrom((com.google.analytics.data.v1beta.MetricHeader)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -543,20 +501,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The metric's 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; @@ -565,21 +521,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The metric's 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 { @@ -587,61 +542,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The metric's 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; } /** - * - * *
      * The metric's name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The metric's 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; @@ -649,65 +597,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The metric's data type.
      * 
* * .google.analytics.data.v1beta.MetricType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The metric's data type.
      * 
* * .google.analytics.data.v1beta.MetricType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The metric's data type.
      * 
* * .google.analytics.data.v1beta.MetricType type = 2; - * * @return The type. */ @java.lang.Override public com.google.analytics.data.v1beta.MetricType getType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricType result = - com.google.analytics.data.v1beta.MetricType.valueOf(type_); + com.google.analytics.data.v1beta.MetricType result = com.google.analytics.data.v1beta.MetricType.valueOf(type_); return result == null ? com.google.analytics.data.v1beta.MetricType.UNRECOGNIZED : result; } /** - * - * *
      * The metric's data type.
      * 
* * .google.analytics.data.v1beta.MetricType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -715,31 +649,28 @@ public Builder setType(com.google.analytics.data.v1beta.MetricType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The metric's data type.
      * 
* * .google.analytics.data.v1beta.MetricType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -749,12 +680,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.MetricHeader) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.MetricHeader) private static final com.google.analytics.data.v1beta.MetricHeader DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.MetricHeader(); } @@ -763,16 +694,16 @@ public static com.google.analytics.data.v1beta.MetricHeader getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricHeader(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricHeader parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetricHeader(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -787,4 +718,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.MetricHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java similarity index 57% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java index 4c4e6ad3..d7e98401 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java @@ -1,74 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MetricHeaderOrBuilder - extends +public interface MetricHeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.MetricHeader) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The metric's name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The metric's name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The metric's data type.
    * 
* * .google.analytics.data.v1beta.MetricType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The metric's data type.
    * 
* * .google.analytics.data.v1beta.MetricType type = 2; - * * @return The type. */ com.google.analytics.data.v1beta.MetricType getType(); diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java similarity index 70% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java index 34cf0483..edda6077 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Explains a metric.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.MetricMetadata} */ -public final class MetricMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MetricMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.MetricMetadata) MetricMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MetricMetadata.newBuilder() to construct. private MetricMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MetricMetadata() { apiName_ = ""; uiName_ = ""; @@ -44,19 +26,21 @@ private MetricMetadata() { deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; type_ = 0; expression_ = ""; + category_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MetricMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MetricMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,69 +60,70 @@ private MetricMetadata( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - apiName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + apiName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - uiName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + uiName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - deprecatedApiNames_.add(s); - break; + description_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 40: - { - int rawValue = input.readEnum(); + deprecatedApiNames_.add(s); + break; + } + case 40: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + type_ = rawValue; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - expression_ = s; - break; - } - case 56: - { - customDefinition_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + expression_ = s; + break; + } + case 56: { + + customDefinition_ = input.readBool(); + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + category_ = 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)) { deprecatedApiNames_ = deprecatedApiNames_.getUnmodifiableView(); @@ -147,34 +132,28 @@ private MetricMetadata( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.MetricMetadata.class, - com.google.analytics.data.v1beta.MetricMetadata.Builder.class); + com.google.analytics.data.v1beta.MetricMetadata.class, com.google.analytics.data.v1beta.MetricMetadata.Builder.class); } public static final int API_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object apiName_; /** - * - * *
    * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
    * `eventCount`.
    * 
* * string api_name = 1; - * * @return The apiName. */ @java.lang.Override @@ -183,30 +162,30 @@ public java.lang.String getApiName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiName_ = s; return s; } } /** - * - * *
    * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
    * `eventCount`.
    * 
* * string api_name = 1; - * * @return The bytes for apiName. */ @java.lang.Override - public com.google.protobuf.ByteString getApiNameBytes() { + public com.google.protobuf.ByteString + getApiNameBytes() { java.lang.Object ref = apiName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiName_ = b; return b; } else { @@ -217,15 +196,12 @@ public com.google.protobuf.ByteString getApiNameBytes() { public static final int UI_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object uiName_; /** - * - * *
    * This metric's name within the Google Analytics user interface. For example,
    * `Event count`.
    * 
* * string ui_name = 2; - * * @return The uiName. */ @java.lang.Override @@ -234,30 +210,30 @@ public java.lang.String getUiName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uiName_ = s; return s; } } /** - * - * *
    * This metric's name within the Google Analytics user interface. For example,
    * `Event count`.
    * 
* * string ui_name = 2; - * * @return The bytes for uiName. */ @java.lang.Override - public com.google.protobuf.ByteString getUiNameBytes() { + public com.google.protobuf.ByteString + getUiNameBytes() { java.lang.Object ref = uiName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uiName_ = b; return b; } else { @@ -268,14 +244,11 @@ public com.google.protobuf.ByteString getUiNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Description of how this metric is used and calculated.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -284,29 +257,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Description of how this metric is used and calculated.
    * 
* * 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 { @@ -317,8 +290,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int DEPRECATED_API_NAMES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList deprecatedApiNames_; /** - * - * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -327,15 +298,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * repeated string deprecated_api_names = 4; - * * @return A list containing the deprecatedApiNames. */ - public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { + public com.google.protobuf.ProtocolStringList + getDeprecatedApiNamesList() { return deprecatedApiNames_; } /** - * - * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -344,15 +313,12 @@ public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() {
    * 
* * repeated string deprecated_api_names = 4; - * * @return The count of deprecatedApiNames. */ public int getDeprecatedApiNamesCount() { return deprecatedApiNames_.size(); } /** - * - * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -361,7 +327,6 @@ public int getDeprecatedApiNamesCount() {
    * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ @@ -369,8 +334,6 @@ public java.lang.String getDeprecatedApiNames(int index) { return deprecatedApiNames_.get(index); } /** - * - * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -379,55 +342,44 @@ public java.lang.String getDeprecatedApiNames(int index) {
    * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { + public com.google.protobuf.ByteString + getDeprecatedApiNamesBytes(int index) { return deprecatedApiNames_.getByteString(index); } public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** - * - * *
    * The type of this metric.
    * 
* * .google.analytics.data.v1beta.MetricType type = 5; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of this metric.
    * 
* * .google.analytics.data.v1beta.MetricType type = 5; - * * @return The type. */ - @java.lang.Override - public com.google.analytics.data.v1beta.MetricType getType() { + @java.lang.Override public com.google.analytics.data.v1beta.MetricType getType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricType result = - com.google.analytics.data.v1beta.MetricType.valueOf(type_); + com.google.analytics.data.v1beta.MetricType result = com.google.analytics.data.v1beta.MetricType.valueOf(type_); return result == null ? com.google.analytics.data.v1beta.MetricType.UNRECOGNIZED : result; } public static final int EXPRESSION_FIELD_NUMBER = 6; private volatile java.lang.Object expression_; /** - * - * *
    * The mathematical expression for this derived metric. Can be used in
    * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -435,7 +387,6 @@ public com.google.analytics.data.v1beta.MetricType getType() {
    * 
* * string expression = 6; - * * @return The expression. */ @java.lang.Override @@ -444,15 +395,14 @@ public java.lang.String getExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expression_ = s; return s; } } /** - * - * *
    * The mathematical expression for this derived metric. Can be used in
    * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -460,15 +410,16 @@ public java.lang.String getExpression() {
    * 
* * string expression = 6; - * * @return The bytes for expression. */ @java.lang.Override - public com.google.protobuf.ByteString getExpressionBytes() { + public com.google.protobuf.ByteString + getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); expression_ = b; return b; } else { @@ -479,14 +430,11 @@ public com.google.protobuf.ByteString getExpressionBytes() { public static final int CUSTOM_DEFINITION_FIELD_NUMBER = 7; private boolean customDefinition_; /** - * - * *
    * True if the metric is a custom metric for this property.
    * 
* * bool custom_definition = 7; - * * @return The customDefinition. */ @java.lang.Override @@ -494,8 +442,55 @@ public boolean getCustomDefinition() { return customDefinition_; } - private byte memoizedIsInitialized = -1; + public static final int CATEGORY_FIELD_NUMBER = 10; + private volatile java.lang.Object category_; + /** + *
+   * The display name of the category that this metrics belongs to. Similar
+   * dimensions and metrics are categorized together.
+   * 
+ * + * string category = 10; + * @return The category. + */ + @java.lang.Override + public java.lang.String getCategory() { + java.lang.Object ref = category_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + category_ = s; + return s; + } + } + /** + *
+   * The display name of the category that this metrics belongs to. Similar
+   * dimensions and metrics are categorized together.
+   * 
+ * + * string category = 10; + * @return The bytes for category. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCategoryBytes() { + java.lang.Object ref = category_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + category_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,7 +502,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getApiNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apiName_); } @@ -529,6 +525,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (customDefinition_ != false) { output.writeBool(7, customDefinition_); } + if (!getCategoryBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, category_); + } unknownFields.writeTo(output); } @@ -556,13 +555,18 @@ public int getSerializedSize() { size += 1 * getDeprecatedApiNamesList().size(); } if (type_ != com.google.analytics.data.v1beta.MetricType.METRIC_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, type_); } if (!getExpressionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, expression_); } if (customDefinition_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, customDefinition_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, customDefinition_); + } + if (!getCategoryBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, category_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -572,21 +576,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.analytics.data.v1beta.MetricMetadata)) { return super.equals(obj); } - com.google.analytics.data.v1beta.MetricMetadata other = - (com.google.analytics.data.v1beta.MetricMetadata) obj; + com.google.analytics.data.v1beta.MetricMetadata other = (com.google.analytics.data.v1beta.MetricMetadata) obj; - if (!getApiName().equals(other.getApiName())) return false; - if (!getUiName().equals(other.getUiName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getDeprecatedApiNamesList().equals(other.getDeprecatedApiNamesList())) return false; + if (!getApiName() + .equals(other.getApiName())) return false; + if (!getUiName() + .equals(other.getUiName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getDeprecatedApiNamesList() + .equals(other.getDeprecatedApiNamesList())) return false; if (type_ != other.type_) return false; - if (!getExpression().equals(other.getExpression())) return false; - if (getCustomDefinition() != other.getCustomDefinition()) return false; + if (!getExpression() + .equals(other.getExpression())) return false; + if (getCustomDefinition() + != other.getCustomDefinition()) return false; + if (!getCategory() + .equals(other.getCategory())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -613,133 +624,127 @@ public int hashCode() { hash = (37 * hash) + EXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getExpression().hashCode(); hash = (37 * hash) + CUSTOM_DEFINITION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustomDefinition()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCustomDefinition()); + hash = (37 * hash) + CATEGORY_FIELD_NUMBER; + hash = (53 * hash) + getCategory().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.data.v1beta.MetricMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricMetadata 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.analytics.data.v1beta.MetricMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.MetricMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.MetricMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.MetricMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.MetricMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Explains a metric.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.MetricMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.MetricMetadata) com.google.analytics.data.v1beta.MetricMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.MetricMetadata.class, - com.google.analytics.data.v1beta.MetricMetadata.Builder.class); + com.google.analytics.data.v1beta.MetricMetadata.class, com.google.analytics.data.v1beta.MetricMetadata.Builder.class); } // Construct using com.google.analytics.data.v1beta.MetricMetadata.newBuilder() @@ -747,15 +752,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(); @@ -773,13 +779,15 @@ public Builder clear() { customDefinition_ = false; + category_ = ""; + return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; } @java.lang.Override @@ -798,8 +806,7 @@ public com.google.analytics.data.v1beta.MetricMetadata build() { @java.lang.Override public com.google.analytics.data.v1beta.MetricMetadata buildPartial() { - com.google.analytics.data.v1beta.MetricMetadata result = - new com.google.analytics.data.v1beta.MetricMetadata(this); + com.google.analytics.data.v1beta.MetricMetadata result = new com.google.analytics.data.v1beta.MetricMetadata(this); int from_bitField0_ = bitField0_; result.apiName_ = apiName_; result.uiName_ = uiName_; @@ -812,6 +819,7 @@ public com.google.analytics.data.v1beta.MetricMetadata buildPartial() { result.type_ = type_; result.expression_ = expression_; result.customDefinition_ = customDefinition_; + result.category_ = category_; onBuilt(); return result; } @@ -820,39 +828,38 @@ public com.google.analytics.data.v1beta.MetricMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.MetricMetadata) { - return mergeFrom((com.google.analytics.data.v1beta.MetricMetadata) other); + return mergeFrom((com.google.analytics.data.v1beta.MetricMetadata)other); } else { super.mergeFrom(other); return this; @@ -860,8 +867,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.MetricMetadata other) { - if (other == com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()) return this; if (!other.getApiName().isEmpty()) { apiName_ = other.apiName_; onChanged(); @@ -894,6 +900,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.MetricMetadata other) if (other.getCustomDefinition() != false) { setCustomDefinition(other.getCustomDefinition()); } + if (!other.getCategory().isEmpty()) { + category_ = other.category_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -922,26 +932,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object apiName_ = ""; /** - * - * *
      * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
      * `eventCount`.
      * 
* * string api_name = 1; - * * @return The apiName. */ public java.lang.String getApiName() { java.lang.Object ref = apiName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiName_ = s; return s; @@ -950,22 +957,21 @@ public java.lang.String getApiName() { } } /** - * - * *
      * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
      * `eventCount`.
      * 
* * string api_name = 1; - * * @return The bytes for apiName. */ - public com.google.protobuf.ByteString getApiNameBytes() { + public com.google.protobuf.ByteString + getApiNameBytes() { java.lang.Object ref = apiName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiName_ = b; return b; } else { @@ -973,64 +979,57 @@ public com.google.protobuf.ByteString getApiNameBytes() { } } /** - * - * *
      * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
      * `eventCount`.
      * 
* * string api_name = 1; - * * @param value The apiName to set. * @return This builder for chaining. */ - public Builder setApiName(java.lang.String value) { + public Builder setApiName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiName_ = value; onChanged(); return this; } /** - * - * *
      * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
      * `eventCount`.
      * 
* * string api_name = 1; - * * @return This builder for chaining. */ public Builder clearApiName() { - + apiName_ = getDefaultInstance().getApiName(); onChanged(); return this; } /** - * - * *
      * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
      * `eventCount`.
      * 
* * string api_name = 1; - * * @param value The bytes for apiName to set. * @return This builder for chaining. */ - public Builder setApiNameBytes(com.google.protobuf.ByteString value) { + public Builder setApiNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiName_ = value; onChanged(); return this; @@ -1038,21 +1037,19 @@ public Builder setApiNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uiName_ = ""; /** - * - * *
      * This metric's name within the Google Analytics user interface. For example,
      * `Event count`.
      * 
* * string ui_name = 2; - * * @return The uiName. */ public java.lang.String getUiName() { java.lang.Object ref = uiName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uiName_ = s; return s; @@ -1061,22 +1058,21 @@ public java.lang.String getUiName() { } } /** - * - * *
      * This metric's name within the Google Analytics user interface. For example,
      * `Event count`.
      * 
* * string ui_name = 2; - * * @return The bytes for uiName. */ - public com.google.protobuf.ByteString getUiNameBytes() { + public com.google.protobuf.ByteString + getUiNameBytes() { java.lang.Object ref = uiName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uiName_ = b; return b; } else { @@ -1084,64 +1080,57 @@ public com.google.protobuf.ByteString getUiNameBytes() { } } /** - * - * *
      * This metric's name within the Google Analytics user interface. For example,
      * `Event count`.
      * 
* * string ui_name = 2; - * * @param value The uiName to set. * @return This builder for chaining. */ - public Builder setUiName(java.lang.String value) { + public Builder setUiName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uiName_ = value; onChanged(); return this; } /** - * - * *
      * This metric's name within the Google Analytics user interface. For example,
      * `Event count`.
      * 
* * string ui_name = 2; - * * @return This builder for chaining. */ public Builder clearUiName() { - + uiName_ = getDefaultInstance().getUiName(); onChanged(); return this; } /** - * - * *
      * This metric's name within the Google Analytics user interface. For example,
      * `Event count`.
      * 
* * string ui_name = 2; - * * @param value The bytes for uiName to set. * @return This builder for chaining. */ - public Builder setUiNameBytes(com.google.protobuf.ByteString value) { + public Builder setUiNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uiName_ = value; onChanged(); return this; @@ -1149,20 +1138,18 @@ public Builder setUiNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Description of how this metric is used and calculated.
      * 
* * 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; @@ -1171,21 +1158,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of how this metric is used and calculated.
      * 
* * 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 { @@ -1193,78 +1179,67 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of how this metric is used and calculated.
      * 
* * 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; } /** - * - * *
      * Description of how this metric is used and calculated.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Description of how this metric is used and calculated.
      * 
* * 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 com.google.protobuf.LazyStringList deprecatedApiNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDeprecatedApiNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(deprecatedApiNames_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1273,15 +1248,13 @@ private void ensureDeprecatedApiNamesIsMutable() {
      * 
* * repeated string deprecated_api_names = 4; - * * @return A list containing the deprecatedApiNames. */ - public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { + public com.google.protobuf.ProtocolStringList + getDeprecatedApiNamesList() { return deprecatedApiNames_.getUnmodifiableView(); } /** - * - * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1290,15 +1263,12 @@ public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() {
      * 
* * repeated string deprecated_api_names = 4; - * * @return The count of deprecatedApiNames. */ public int getDeprecatedApiNamesCount() { return deprecatedApiNames_.size(); } /** - * - * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1307,7 +1277,6 @@ public int getDeprecatedApiNamesCount() {
      * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ @@ -1315,8 +1284,6 @@ public java.lang.String getDeprecatedApiNames(int index) { return deprecatedApiNames_.get(index); } /** - * - * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1325,16 +1292,14 @@ public java.lang.String getDeprecatedApiNames(int index) {
      * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { + public com.google.protobuf.ByteString + getDeprecatedApiNamesBytes(int index) { return deprecatedApiNames_.getByteString(index); } /** - * - * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1343,23 +1308,21 @@ public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) {
      * 
* * repeated string deprecated_api_names = 4; - * * @param index The index to set the value at. * @param value The deprecatedApiNames to set. * @return This builder for chaining. */ - public Builder setDeprecatedApiNames(int index, java.lang.String value) { + public Builder setDeprecatedApiNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); + throw new NullPointerException(); + } + ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1368,22 +1331,20 @@ public Builder setDeprecatedApiNames(int index, java.lang.String value) {
      * 
* * repeated string deprecated_api_names = 4; - * * @param value The deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addDeprecatedApiNames(java.lang.String value) { + public Builder addDeprecatedApiNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); + throw new NullPointerException(); + } + ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.add(value); onChanged(); return this; } /** - * - * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1392,19 +1353,18 @@ public Builder addDeprecatedApiNames(java.lang.String value) {
      * 
* * repeated string deprecated_api_names = 4; - * * @param values The deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addAllDeprecatedApiNames(java.lang.Iterable values) { + public Builder addAllDeprecatedApiNames( + java.lang.Iterable values) { ensureDeprecatedApiNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deprecatedApiNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, deprecatedApiNames_); onChanged(); return this; } /** - * - * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1413,7 +1373,6 @@ public Builder addAllDeprecatedApiNames(java.lang.Iterable val
      * 
* * repeated string deprecated_api_names = 4; - * * @return This builder for chaining. */ public Builder clearDeprecatedApiNames() { @@ -1423,8 +1382,6 @@ public Builder clearDeprecatedApiNames() { return this; } /** - * - * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1433,15 +1390,15 @@ public Builder clearDeprecatedApiNames() {
      * 
* * repeated string deprecated_api_names = 4; - * * @param value The bytes of the deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value) { + public Builder addDeprecatedApiNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.add(value); onChanged(); @@ -1450,65 +1407,51 @@ public Builder addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value) private int type_ = 0; /** - * - * *
      * The type of this metric.
      * 
* * .google.analytics.data.v1beta.MetricType type = 5; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of this metric.
      * 
* * .google.analytics.data.v1beta.MetricType type = 5; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of this metric.
      * 
* * .google.analytics.data.v1beta.MetricType type = 5; - * * @return The type. */ @java.lang.Override public com.google.analytics.data.v1beta.MetricType getType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricType result = - com.google.analytics.data.v1beta.MetricType.valueOf(type_); + com.google.analytics.data.v1beta.MetricType result = com.google.analytics.data.v1beta.MetricType.valueOf(type_); return result == null ? com.google.analytics.data.v1beta.MetricType.UNRECOGNIZED : result; } /** - * - * *
      * The type of this metric.
      * 
* * .google.analytics.data.v1beta.MetricType type = 5; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1516,24 +1459,21 @@ public Builder setType(com.google.analytics.data.v1beta.MetricType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of this metric.
      * 
* * .google.analytics.data.v1beta.MetricType type = 5; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1541,8 +1481,6 @@ public Builder clearType() { private java.lang.Object expression_ = ""; /** - * - * *
      * The mathematical expression for this derived metric. Can be used in
      * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -1550,13 +1488,13 @@ public Builder clearType() {
      * 
* * string expression = 6; - * * @return The expression. */ public java.lang.String getExpression() { java.lang.Object ref = expression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expression_ = s; return s; @@ -1565,8 +1503,6 @@ public java.lang.String getExpression() { } } /** - * - * *
      * The mathematical expression for this derived metric. Can be used in
      * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -1574,14 +1510,15 @@ public java.lang.String getExpression() {
      * 
* * string expression = 6; - * * @return The bytes for expression. */ - public com.google.protobuf.ByteString getExpressionBytes() { + public com.google.protobuf.ByteString + getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); expression_ = b; return b; } else { @@ -1589,8 +1526,6 @@ public com.google.protobuf.ByteString getExpressionBytes() { } } /** - * - * *
      * The mathematical expression for this derived metric. Can be used in
      * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -1598,22 +1533,20 @@ public com.google.protobuf.ByteString getExpressionBytes() {
      * 
* * string expression = 6; - * * @param value The expression to set. * @return This builder for chaining. */ - public Builder setExpression(java.lang.String value) { + public Builder setExpression( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + expression_ = value; onChanged(); return this; } /** - * - * *
      * The mathematical expression for this derived metric. Can be used in
      * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -1621,18 +1554,15 @@ public Builder setExpression(java.lang.String value) {
      * 
* * string expression = 6; - * * @return This builder for chaining. */ public Builder clearExpression() { - + expression_ = getDefaultInstance().getExpression(); onChanged(); return this; } /** - * - * *
      * The mathematical expression for this derived metric. Can be used in
      * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -1640,31 +1570,28 @@ public Builder clearExpression() {
      * 
* * string expression = 6; - * * @param value The bytes for expression to set. * @return This builder for chaining. */ - public Builder setExpressionBytes(com.google.protobuf.ByteString value) { + public Builder setExpressionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + expression_ = value; onChanged(); return this; } - private boolean customDefinition_; + private boolean customDefinition_ ; /** - * - * *
      * True if the metric is a custom metric for this property.
      * 
* * bool custom_definition = 7; - * * @return The customDefinition. */ @java.lang.Override @@ -1672,43 +1599,138 @@ public boolean getCustomDefinition() { return customDefinition_; } /** - * - * *
      * True if the metric is a custom metric for this property.
      * 
* * bool custom_definition = 7; - * * @param value The customDefinition to set. * @return This builder for chaining. */ public Builder setCustomDefinition(boolean value) { - + customDefinition_ = value; onChanged(); return this; } /** - * - * *
      * True if the metric is a custom metric for this property.
      * 
* * bool custom_definition = 7; - * * @return This builder for chaining. */ public Builder clearCustomDefinition() { - + customDefinition_ = false; onChanged(); return this; } + private java.lang.Object category_ = ""; + /** + *
+     * The display name of the category that this metrics belongs to. Similar
+     * dimensions and metrics are categorized together.
+     * 
+ * + * string category = 10; + * @return The category. + */ + public java.lang.String getCategory() { + java.lang.Object ref = category_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + category_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The display name of the category that this metrics belongs to. Similar
+     * dimensions and metrics are categorized together.
+     * 
+ * + * string category = 10; + * @return The bytes for category. + */ + public com.google.protobuf.ByteString + getCategoryBytes() { + java.lang.Object ref = category_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + category_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The display name of the category that this metrics belongs to. Similar
+     * dimensions and metrics are categorized together.
+     * 
+ * + * string category = 10; + * @param value The category to set. + * @return This builder for chaining. + */ + public Builder setCategory( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + category_ = value; + onChanged(); + return this; + } + /** + *
+     * The display name of the category that this metrics belongs to. Similar
+     * dimensions and metrics are categorized together.
+     * 
+ * + * string category = 10; + * @return This builder for chaining. + */ + public Builder clearCategory() { + + category_ = getDefaultInstance().getCategory(); + onChanged(); + return this; + } + /** + *
+     * The display name of the category that this metrics belongs to. Similar
+     * dimensions and metrics are categorized together.
+     * 
+ * + * string category = 10; + * @param value The bytes for category to set. + * @return This builder for chaining. + */ + public Builder setCategoryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + category_ = 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); } @@ -1718,12 +1740,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.MetricMetadata) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.MetricMetadata) private static final com.google.analytics.data.v1beta.MetricMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.MetricMetadata(); } @@ -1732,16 +1754,16 @@ public static com.google.analytics.data.v1beta.MetricMetadata getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetricMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1756,4 +1778,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.MetricMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java similarity index 79% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java index 83bc4604..e563bef4 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java @@ -1,110 +1,77 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MetricMetadataOrBuilder - extends +public interface MetricMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.MetricMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
    * `eventCount`.
    * 
* * string api_name = 1; - * * @return The apiName. */ java.lang.String getApiName(); /** - * - * *
    * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
    * `eventCount`.
    * 
* * string api_name = 1; - * * @return The bytes for apiName. */ - com.google.protobuf.ByteString getApiNameBytes(); + com.google.protobuf.ByteString + getApiNameBytes(); /** - * - * *
    * This metric's name within the Google Analytics user interface. For example,
    * `Event count`.
    * 
* * string ui_name = 2; - * * @return The uiName. */ java.lang.String getUiName(); /** - * - * *
    * This metric's name within the Google Analytics user interface. For example,
    * `Event count`.
    * 
* * string ui_name = 2; - * * @return The bytes for uiName. */ - com.google.protobuf.ByteString getUiNameBytes(); + com.google.protobuf.ByteString + getUiNameBytes(); /** - * - * *
    * Description of how this metric is used and calculated.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of how this metric is used and calculated.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -113,13 +80,11 @@ public interface MetricMetadataOrBuilder
    * 
* * repeated string deprecated_api_names = 4; - * * @return A list containing the deprecatedApiNames. */ - java.util.List getDeprecatedApiNamesList(); + java.util.List + getDeprecatedApiNamesList(); /** - * - * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -128,13 +93,10 @@ public interface MetricMetadataOrBuilder
    * 
* * repeated string deprecated_api_names = 4; - * * @return The count of deprecatedApiNames. */ int getDeprecatedApiNamesCount(); /** - * - * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -143,14 +105,11 @@ public interface MetricMetadataOrBuilder
    * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ java.lang.String getDeprecatedApiNames(int index); /** - * - * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -159,40 +118,32 @@ public interface MetricMetadataOrBuilder
    * 
* * repeated string deprecated_api_names = 4; - * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index); + com.google.protobuf.ByteString + getDeprecatedApiNamesBytes(int index); /** - * - * *
    * The type of this metric.
    * 
* * .google.analytics.data.v1beta.MetricType type = 5; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of this metric.
    * 
* * .google.analytics.data.v1beta.MetricType type = 5; - * * @return The type. */ com.google.analytics.data.v1beta.MetricType getType(); /** - * - * *
    * The mathematical expression for this derived metric. Can be used in
    * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -200,13 +151,10 @@ public interface MetricMetadataOrBuilder
    * 
* * string expression = 6; - * * @return The expression. */ java.lang.String getExpression(); /** - * - * *
    * The mathematical expression for this derived metric. Can be used in
    * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -214,21 +162,40 @@ public interface MetricMetadataOrBuilder
    * 
* * string expression = 6; - * * @return The bytes for expression. */ - com.google.protobuf.ByteString getExpressionBytes(); + com.google.protobuf.ByteString + getExpressionBytes(); /** - * - * *
    * True if the metric is a custom metric for this property.
    * 
* * bool custom_definition = 7; - * * @return The customDefinition. */ boolean getCustomDefinition(); + + /** + *
+   * The display name of the category that this metrics belongs to. Similar
+   * dimensions and metrics are categorized together.
+   * 
+ * + * string category = 10; + * @return The category. + */ + java.lang.String getCategory(); + /** + *
+   * The display name of the category that this metrics belongs to. Similar
+   * dimensions and metrics are categorized together.
+   * 
+ * + * string category = 10; + * @return The bytes for category. + */ + com.google.protobuf.ByteString + getCategoryBytes(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java similarity index 76% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java index e8e2749a..2432c07f 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MetricOrBuilder - extends +public interface MetricOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Metric) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the metric. See the [API
    * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -40,13 +22,10 @@ public interface MetricOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the metric. See the [API
    * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -61,41 +40,34 @@ public interface MetricOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A mathematical expression for derived metrics. For example, the metric
    * Event count per user is `eventCount/totalUsers`.
    * 
* * string expression = 2; - * * @return The expression. */ java.lang.String getExpression(); /** - * - * *
    * A mathematical expression for derived metrics. For example, the metric
    * Event count per user is `eventCount/totalUsers`.
    * 
* * string expression = 2; - * * @return The bytes for expression. */ - com.google.protobuf.ByteString getExpressionBytes(); + com.google.protobuf.ByteString + getExpressionBytes(); /** - * - * *
    * Indicates if a metric is invisible in the report response. If a metric is
    * invisible, the metric will not produce a column in the response, but can be
@@ -103,7 +75,6 @@ public interface MetricOrBuilder
    * 
* * bool invisible = 3; - * * @return The invisible. */ boolean getInvisible(); diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.java similarity index 74% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.java index 2d73d42b..5b11ca7b 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * A metric's value type.
  * 
* * Protobuf enum {@code google.analytics.data.v1beta.MetricType} */ -public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { +public enum MetricType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified type.
    * 
@@ -39,8 +21,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ METRIC_TYPE_UNSPECIFIED(0), /** - * - * *
    * Integer type.
    * 
@@ -49,8 +29,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_INTEGER(1), /** - * - * *
    * Floating point type.
    * 
@@ -59,8 +37,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_FLOAT(2), /** - * - * *
    * A duration of seconds; a special floating point type.
    * 
@@ -69,8 +45,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_SECONDS(4), /** - * - * *
    * A duration in milliseconds; a special floating point type.
    * 
@@ -79,8 +53,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_MILLISECONDS(5), /** - * - * *
    * A duration in minutes; a special floating point type.
    * 
@@ -89,8 +61,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_MINUTES(6), /** - * - * *
    * A duration in hours; a special floating point type.
    * 
@@ -99,8 +69,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_HOURS(7), /** - * - * *
    * A custom metric of standard type; a special floating point type.
    * 
@@ -109,8 +77,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_STANDARD(8), /** - * - * *
    * An amount of money; a special floating point type.
    * 
@@ -119,8 +85,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_CURRENCY(9), /** - * - * *
    * A length in feet; a special floating point type.
    * 
@@ -129,8 +93,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_FEET(10), /** - * - * *
    * A length in miles; a special floating point type.
    * 
@@ -139,8 +101,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_MILES(11), /** - * - * *
    * A length in meters; a special floating point type.
    * 
@@ -149,8 +109,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_METERS(12), /** - * - * *
    * A length in kilometers; a special floating point type.
    * 
@@ -162,8 +120,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified type.
    * 
@@ -172,8 +128,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METRIC_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Integer type.
    * 
@@ -182,8 +136,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_INTEGER_VALUE = 1; /** - * - * *
    * Floating point type.
    * 
@@ -192,8 +144,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_FLOAT_VALUE = 2; /** - * - * *
    * A duration of seconds; a special floating point type.
    * 
@@ -202,8 +152,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_SECONDS_VALUE = 4; /** - * - * *
    * A duration in milliseconds; a special floating point type.
    * 
@@ -212,8 +160,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_MILLISECONDS_VALUE = 5; /** - * - * *
    * A duration in minutes; a special floating point type.
    * 
@@ -222,8 +168,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_MINUTES_VALUE = 6; /** - * - * *
    * A duration in hours; a special floating point type.
    * 
@@ -232,8 +176,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_HOURS_VALUE = 7; /** - * - * *
    * A custom metric of standard type; a special floating point type.
    * 
@@ -242,8 +184,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_STANDARD_VALUE = 8; /** - * - * *
    * An amount of money; a special floating point type.
    * 
@@ -252,8 +192,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_CURRENCY_VALUE = 9; /** - * - * *
    * A length in feet; a special floating point type.
    * 
@@ -262,8 +200,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_FEET_VALUE = 10; /** - * - * *
    * A length in miles; a special floating point type.
    * 
@@ -272,8 +208,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_MILES_VALUE = 11; /** - * - * *
    * A length in meters; a special floating point type.
    * 
@@ -282,8 +216,6 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_METERS_VALUE = 12; /** - * - * *
    * A length in kilometers; a special floating point type.
    * 
@@ -292,6 +224,7 @@ public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_KILOMETERS_VALUE = 13; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -316,69 +249,59 @@ public static MetricType valueOf(int value) { */ public static MetricType forNumber(int value) { switch (value) { - case 0: - return METRIC_TYPE_UNSPECIFIED; - case 1: - return TYPE_INTEGER; - case 2: - return TYPE_FLOAT; - case 4: - return TYPE_SECONDS; - case 5: - return TYPE_MILLISECONDS; - case 6: - return TYPE_MINUTES; - case 7: - return TYPE_HOURS; - case 8: - return TYPE_STANDARD; - case 9: - return TYPE_CURRENCY; - case 10: - return TYPE_FEET; - case 11: - return TYPE_MILES; - case 12: - return TYPE_METERS; - case 13: - return TYPE_KILOMETERS; - default: - return null; + case 0: return METRIC_TYPE_UNSPECIFIED; + case 1: return TYPE_INTEGER; + case 2: return TYPE_FLOAT; + case 4: return TYPE_SECONDS; + case 5: return TYPE_MILLISECONDS; + case 6: return TYPE_MINUTES; + case 7: return TYPE_HOURS; + case 8: return TYPE_STANDARD; + case 9: return TYPE_CURRENCY; + case 10: return TYPE_FEET; + case 11: return TYPE_MILES; + case 12: return TYPE_METERS; + case 13: return TYPE_KILOMETERS; + 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< + MetricType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MetricType findValueByNumber(int number) { + return MetricType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetricType findValueByNumber(int number) { - return MetricType.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.analytics.data.v1beta.ReportingApiProto.getDescriptor().getEnumTypes().get(1); } private static final MetricType[] VALUES = values(); - public static MetricType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MetricType 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; @@ -394,3 +317,4 @@ private MetricType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.data.v1beta.MetricType) } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.java similarity index 69% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.java index af070afd..adf2a741 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The value of a metric.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.MetricValue} */ -public final class MetricValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MetricValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.MetricValue) MetricValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MetricValue.newBuilder() to construct. private MetricValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MetricValue() {} + private MetricValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MetricValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MetricValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,58 +52,52 @@ private MetricValue( case 0: done = true; break; - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - oneValueCase_ = 4; - oneValue_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + oneValueCase_ = 4; + oneValue_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_MetricValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.MetricValue.class, - com.google.analytics.data.v1beta.MetricValue.Builder.class); + com.google.analytics.data.v1beta.MetricValue.class, com.google.analytics.data.v1beta.MetricValue.Builder.class); } private int oneValueCase_ = 0; private java.lang.Object oneValue_; - public enum OneValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE(4), ONEVALUE_NOT_SET(0); private final int value; - private OneValueCase(int value) { this.value = value; } @@ -135,48 +113,40 @@ public static OneValueCase valueOf(int value) { public static OneValueCase forNumber(int value) { switch (value) { - case 4: - return VALUE; - case 0: - return ONEVALUE_NOT_SET; - default: - return null; + case 4: return VALUE; + case 0: return ONEVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); + public OneValueCase + getOneValueCase() { + return OneValueCase.forNumber( + oneValueCase_); } public static final int VALUE_FIELD_NUMBER = 4; /** - * - * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; - * * @return Whether the value field is set. */ public boolean hasValue() { return oneValueCase_ == 4; } /** - * - * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; - * * @return The value. */ public java.lang.String getValue() { @@ -187,7 +157,8 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (oneValueCase_ == 4) { oneValue_ = s; @@ -196,24 +167,23 @@ public java.lang.String getValue() { } } /** - * - * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = ""; if (oneValueCase_ == 4) { ref = oneValue_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (oneValueCase_ == 4) { oneValue_ = b; } @@ -224,7 +194,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (oneValueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, oneValue_); } @@ -260,18 +230,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.analytics.data.v1beta.MetricValue)) { return super.equals(obj); } - com.google.analytics.data.v1beta.MetricValue other = - (com.google.analytics.data.v1beta.MetricValue) obj; + com.google.analytics.data.v1beta.MetricValue other = (com.google.analytics.data.v1beta.MetricValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 4: - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; break; case 0: default: @@ -300,127 +270,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.MetricValue parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.MetricValue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MetricValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MetricValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MetricValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricValue 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.analytics.data.v1beta.MetricValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.MetricValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.MetricValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.MetricValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.MetricValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.MetricValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 value of a metric.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.MetricValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.MetricValue) com.google.analytics.data.v1beta.MetricValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_MetricValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.MetricValue.class, - com.google.analytics.data.v1beta.MetricValue.Builder.class); + com.google.analytics.data.v1beta.MetricValue.class, com.google.analytics.data.v1beta.MetricValue.Builder.class); } // Construct using com.google.analytics.data.v1beta.MetricValue.newBuilder() @@ -428,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_MetricValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricValue_descriptor; } @java.lang.Override @@ -467,8 +429,7 @@ public com.google.analytics.data.v1beta.MetricValue build() { @java.lang.Override public com.google.analytics.data.v1beta.MetricValue buildPartial() { - com.google.analytics.data.v1beta.MetricValue result = - new com.google.analytics.data.v1beta.MetricValue(this); + com.google.analytics.data.v1beta.MetricValue result = new com.google.analytics.data.v1beta.MetricValue(this); if (oneValueCase_ == 4) { result.oneValue_ = oneValue_; } @@ -481,39 +442,38 @@ public com.google.analytics.data.v1beta.MetricValue buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.MetricValue) { - return mergeFrom((com.google.analytics.data.v1beta.MetricValue) other); + return mergeFrom((com.google.analytics.data.v1beta.MetricValue)other); } else { super.mergeFrom(other); return this; @@ -523,17 +483,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.analytics.data.v1beta.MetricValue other) { if (other == com.google.analytics.data.v1beta.MetricValue.getDefaultInstance()) return this; switch (other.getOneValueCase()) { - case VALUE: - { - oneValueCase_ = 4; - oneValue_ = other.oneValue_; - onChanged(); - break; - } - case ONEVALUE_NOT_SET: - { - break; - } + case VALUE: { + oneValueCase_ = 4; + oneValue_ = other.oneValue_; + onChanged(); + break; + } + case ONEVALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -563,12 +521,12 @@ public Builder mergeFrom( } return this; } - private int oneValueCase_ = 0; private java.lang.Object oneValue_; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); + public OneValueCase + getOneValueCase() { + return OneValueCase.forNumber( + oneValueCase_); } public Builder clearOneValue() { @@ -578,15 +536,13 @@ public Builder clearOneValue() { return this; } + /** - * - * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; - * * @return Whether the value field is set. */ @java.lang.Override @@ -594,14 +550,11 @@ public boolean hasValue() { return oneValueCase_ == 4; } /** - * - * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; - * * @return The value. */ @java.lang.Override @@ -611,7 +564,8 @@ public java.lang.String getValue() { ref = oneValue_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (oneValueCase_ == 4) { oneValue_ = s; @@ -622,25 +576,24 @@ public java.lang.String getValue() { } } /** - * - * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = ""; if (oneValueCase_ == 4) { ref = oneValue_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (oneValueCase_ == 4) { oneValue_ = b; } @@ -650,35 +603,30 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - oneValueCase_ = 4; + throw new NullPointerException(); + } + oneValueCase_ = 4; oneValue_ = value; onChanged(); return this; } /** - * - * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -690,30 +638,28 @@ public Builder clearValue() { return this; } /** - * - * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); oneValueCase_ = 4; oneValue_ = 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); } @@ -723,12 +669,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.MetricValue) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.MetricValue) private static final com.google.analytics.data.v1beta.MetricValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.MetricValue(); } @@ -737,16 +683,16 @@ public static com.google.analytics.data.v1beta.MetricValue getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetricValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -761,4 +707,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.MetricValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java similarity index 55% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java index a5578fdd..d8d03ef0 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java @@ -1,64 +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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MetricValueOrBuilder - extends +public interface MetricValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.MetricValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); public com.google.analytics.data.v1beta.MetricValue.OneValueCase getOneValueCase(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java similarity index 78% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java index 7c1be90d..7523235c 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ...,
  * endMinutesAgo. Requests are allowed up to 2 minute ranges.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.MinuteRange}
  */
-public final class MinuteRange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MinuteRange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.MinuteRange)
     MinuteRangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MinuteRange.newBuilder() to construct.
   private MinuteRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MinuteRange() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MinuteRange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MinuteRange(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,65 +55,58 @@ private MinuteRange(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              bitField0_ |= 0x00000001;
-              startMinutesAgo_ = input.readInt32();
-              break;
-            }
-          case 16:
-            {
-              bitField0_ |= 0x00000002;
-              endMinutesAgo_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 8: {
+            bitField0_ |= 0x00000001;
+            startMinutesAgo_ = input.readInt32();
+            break;
+          }
+          case 16: {
+            bitField0_ |= 0x00000002;
+            endMinutesAgo_ = input.readInt32();
+            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 {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.MinuteRange.class,
-            com.google.analytics.data.v1beta.MinuteRange.Builder.class);
+            com.google.analytics.data.v1beta.MinuteRange.class, com.google.analytics.data.v1beta.MinuteRange.Builder.class);
   }
 
   private int bitField0_;
   public static final int START_MINUTES_AGO_FIELD_NUMBER = 1;
   private int startMinutesAgo_;
   /**
-   *
-   *
    * 
    * The inclusive start minute for the query as a number of minutes before now.
    * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -142,7 +118,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 start_minutes_ago = 1; - * * @return Whether the startMinutesAgo field is set. */ @java.lang.Override @@ -150,8 +125,6 @@ public boolean hasStartMinutesAgo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The inclusive start minute for the query as a number of minutes before now.
    * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -163,7 +136,6 @@ public boolean hasStartMinutesAgo() {
    * 
* * int32 start_minutes_ago = 1; - * * @return The startMinutesAgo. */ @java.lang.Override @@ -174,8 +146,6 @@ public int getStartMinutesAgo() { public static final int END_MINUTES_AGO_FIELD_NUMBER = 2; private int endMinutesAgo_; /** - * - * *
    * The inclusive end minute for the query as a number of minutes before now.
    * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -188,7 +158,6 @@ public int getStartMinutesAgo() {
    * 
* * int32 end_minutes_ago = 2; - * * @return Whether the endMinutesAgo field is set. */ @java.lang.Override @@ -196,8 +165,6 @@ public boolean hasEndMinutesAgo() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The inclusive end minute for the query as a number of minutes before now.
    * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -210,7 +177,6 @@ public boolean hasEndMinutesAgo() {
    * 
* * int32 end_minutes_ago = 2; - * * @return The endMinutesAgo. */ @java.lang.Override @@ -221,8 +187,6 @@ public int getEndMinutesAgo() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Assigns a name to this minute range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -231,7 +195,6 @@ public int getEndMinutesAgo() {
    * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -240,15 +203,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; } } /** - * - * *
    * Assigns a name to this minute range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -257,15 +219,16 @@ public java.lang.String getName() {
    * 
* * string name = 3; - * * @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 { @@ -274,7 +237,6 @@ public com.google.protobuf.ByteString getNameBytes() { } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, startMinutesAgo_); } @@ -306,10 +269,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, startMinutesAgo_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, startMinutesAgo_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, endMinutesAgo_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, endMinutesAgo_); } if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -322,23 +287,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.analytics.data.v1beta.MinuteRange)) { return super.equals(obj); } - com.google.analytics.data.v1beta.MinuteRange other = - (com.google.analytics.data.v1beta.MinuteRange) obj; + com.google.analytics.data.v1beta.MinuteRange other = (com.google.analytics.data.v1beta.MinuteRange) obj; if (hasStartMinutesAgo() != other.hasStartMinutesAgo()) return false; if (hasStartMinutesAgo()) { - if (getStartMinutesAgo() != other.getStartMinutesAgo()) return false; + if (getStartMinutesAgo() + != other.getStartMinutesAgo()) return false; } if (hasEndMinutesAgo() != other.hasEndMinutesAgo()) return false; if (hasEndMinutesAgo()) { - if (getEndMinutesAgo() != other.getEndMinutesAgo()) return false; + if (getEndMinutesAgo() + != other.getEndMinutesAgo()) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -365,104 +332,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.MinuteRange parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.MinuteRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MinuteRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MinuteRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MinuteRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MinuteRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.MinuteRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MinuteRange 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.analytics.data.v1beta.MinuteRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.MinuteRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.MinuteRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.MinuteRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.MinuteRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.MinuteRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.MinuteRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ...,
    * endMinutesAgo. Requests are allowed up to 2 minute ranges.
@@ -470,23 +430,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.MinuteRange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.MinuteRange)
       com.google.analytics.data.v1beta.MinuteRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.MinuteRange.class,
-              com.google.analytics.data.v1beta.MinuteRange.Builder.class);
+              com.google.analytics.data.v1beta.MinuteRange.class, com.google.analytics.data.v1beta.MinuteRange.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.MinuteRange.newBuilder()
@@ -494,15 +452,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();
@@ -516,9 +475,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
     }
 
     @java.lang.Override
@@ -537,8 +496,7 @@ public com.google.analytics.data.v1beta.MinuteRange build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.MinuteRange buildPartial() {
-      com.google.analytics.data.v1beta.MinuteRange result =
-          new com.google.analytics.data.v1beta.MinuteRange(this);
+      com.google.analytics.data.v1beta.MinuteRange result = new com.google.analytics.data.v1beta.MinuteRange(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -559,39 +517,38 @@ public com.google.analytics.data.v1beta.MinuteRange buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.MinuteRange) {
-        return mergeFrom((com.google.analytics.data.v1beta.MinuteRange) other);
+        return mergeFrom((com.google.analytics.data.v1beta.MinuteRange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -638,13 +595,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private int startMinutesAgo_;
+    private int startMinutesAgo_ ;
     /**
-     *
-     *
      * 
      * The inclusive start minute for the query as a number of minutes before now.
      * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -656,7 +610,6 @@ public Builder mergeFrom(
      * 
* * int32 start_minutes_ago = 1; - * * @return Whether the startMinutesAgo field is set. */ @java.lang.Override @@ -664,8 +617,6 @@ public boolean hasStartMinutesAgo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The inclusive start minute for the query as a number of minutes before now.
      * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -677,7 +628,6 @@ public boolean hasStartMinutesAgo() {
      * 
* * int32 start_minutes_ago = 1; - * * @return The startMinutesAgo. */ @java.lang.Override @@ -685,8 +635,6 @@ public int getStartMinutesAgo() { return startMinutesAgo_; } /** - * - * *
      * The inclusive start minute for the query as a number of minutes before now.
      * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -698,7 +646,6 @@ public int getStartMinutesAgo() {
      * 
* * int32 start_minutes_ago = 1; - * * @param value The startMinutesAgo to set. * @return This builder for chaining. */ @@ -709,8 +656,6 @@ public Builder setStartMinutesAgo(int value) { return this; } /** - * - * *
      * The inclusive start minute for the query as a number of minutes before now.
      * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -722,7 +667,6 @@ public Builder setStartMinutesAgo(int value) {
      * 
* * int32 start_minutes_ago = 1; - * * @return This builder for chaining. */ public Builder clearStartMinutesAgo() { @@ -732,10 +676,8 @@ public Builder clearStartMinutesAgo() { return this; } - private int endMinutesAgo_; + private int endMinutesAgo_ ; /** - * - * *
      * The inclusive end minute for the query as a number of minutes before now.
      * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -748,7 +690,6 @@ public Builder clearStartMinutesAgo() {
      * 
* * int32 end_minutes_ago = 2; - * * @return Whether the endMinutesAgo field is set. */ @java.lang.Override @@ -756,8 +697,6 @@ public boolean hasEndMinutesAgo() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The inclusive end minute for the query as a number of minutes before now.
      * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -770,7 +709,6 @@ public boolean hasEndMinutesAgo() {
      * 
* * int32 end_minutes_ago = 2; - * * @return The endMinutesAgo. */ @java.lang.Override @@ -778,8 +716,6 @@ public int getEndMinutesAgo() { return endMinutesAgo_; } /** - * - * *
      * The inclusive end minute for the query as a number of minutes before now.
      * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -792,7 +728,6 @@ public int getEndMinutesAgo() {
      * 
* * int32 end_minutes_ago = 2; - * * @param value The endMinutesAgo to set. * @return This builder for chaining. */ @@ -803,8 +738,6 @@ public Builder setEndMinutesAgo(int value) { return this; } /** - * - * *
      * The inclusive end minute for the query as a number of minutes before now.
      * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -817,7 +750,6 @@ public Builder setEndMinutesAgo(int value) {
      * 
* * int32 end_minutes_ago = 2; - * * @return This builder for chaining. */ public Builder clearEndMinutesAgo() { @@ -829,8 +761,6 @@ public Builder clearEndMinutesAgo() { private java.lang.Object name_ = ""; /** - * - * *
      * Assigns a name to this minute range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -839,13 +769,13 @@ public Builder clearEndMinutesAgo() {
      * 
* * string name = 3; - * * @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; @@ -854,8 +784,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Assigns a name to this minute range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -864,14 +792,15 @@ public java.lang.String getName() {
      * 
* * string name = 3; - * * @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 { @@ -879,8 +808,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Assigns a name to this minute range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -889,22 +816,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 3; - * * @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; } /** - * - * *
      * Assigns a name to this minute range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -913,18 +838,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Assigns a name to this minute range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -933,23 +855,23 @@ public Builder clearName() {
      * 
* * string name = 3; - * * @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); } @@ -959,12 +881,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.MinuteRange) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.MinuteRange) private static final com.google.analytics.data.v1beta.MinuteRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.MinuteRange(); } @@ -973,16 +895,16 @@ public static com.google.analytics.data.v1beta.MinuteRange getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MinuteRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MinuteRange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MinuteRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MinuteRange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -997,4 +919,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.MinuteRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java similarity index 83% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java index 436079c2..0f5f6f96 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MinuteRangeOrBuilder - extends +public interface MinuteRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.MinuteRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The inclusive start minute for the query as a number of minutes before now.
    * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -37,13 +19,10 @@ public interface MinuteRangeOrBuilder
    * 
* * int32 start_minutes_ago = 1; - * * @return Whether the startMinutesAgo field is set. */ boolean hasStartMinutesAgo(); /** - * - * *
    * The inclusive start minute for the query as a number of minutes before now.
    * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -55,14 +34,11 @@ public interface MinuteRangeOrBuilder
    * 
* * int32 start_minutes_ago = 1; - * * @return The startMinutesAgo. */ int getStartMinutesAgo(); /** - * - * *
    * The inclusive end minute for the query as a number of minutes before now.
    * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -75,13 +51,10 @@ public interface MinuteRangeOrBuilder
    * 
* * int32 end_minutes_ago = 2; - * * @return Whether the endMinutesAgo field is set. */ boolean hasEndMinutesAgo(); /** - * - * *
    * The inclusive end minute for the query as a number of minutes before now.
    * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -94,14 +67,11 @@ public interface MinuteRangeOrBuilder
    * 
* * int32 end_minutes_ago = 2; - * * @return The endMinutesAgo. */ int getEndMinutesAgo(); /** - * - * *
    * Assigns a name to this minute range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -110,13 +80,10 @@ public interface MinuteRangeOrBuilder
    * 
* * string name = 3; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Assigns a name to this minute range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -125,8 +92,8 @@ public interface MinuteRangeOrBuilder
    * 
* * string name = 3; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.java similarity index 69% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.java index 027ae1aa..6cf47eae 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * To represent a number.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.NumericValue} */ -public final class NumericValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NumericValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.NumericValue) NumericValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NumericValue.newBuilder() to construct. private NumericValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NumericValue() {} + private NumericValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NumericValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private NumericValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,64 +52,57 @@ private NumericValue( case 0: done = true; break; - case 8: - { - oneValueCase_ = 1; - oneValue_ = input.readInt64(); - break; - } - case 17: - { - oneValueCase_ = 2; - oneValue_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + oneValueCase_ = 1; + oneValue_ = input.readInt64(); + break; + } + case 17: { + oneValueCase_ = 2; + oneValue_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.NumericValue.class, - com.google.analytics.data.v1beta.NumericValue.Builder.class); + com.google.analytics.data.v1beta.NumericValue.class, com.google.analytics.data.v1beta.NumericValue.Builder.class); } private int oneValueCase_ = 0; private java.lang.Object oneValue_; - public enum OneValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT64_VALUE(1), DOUBLE_VALUE(2), ONEVALUE_NOT_SET(0); private final int value; - private OneValueCase(int value) { this.value = value; } @@ -141,36 +118,30 @@ public static OneValueCase valueOf(int value) { public static OneValueCase forNumber(int value) { switch (value) { - case 1: - return INT64_VALUE; - case 2: - return DOUBLE_VALUE; - case 0: - return ONEVALUE_NOT_SET; - default: - return null; + case 1: return INT64_VALUE; + case 2: return DOUBLE_VALUE; + case 0: return ONEVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); + public OneValueCase + getOneValueCase() { + return OneValueCase.forNumber( + oneValueCase_); } public static final int INT64_VALUE_FIELD_NUMBER = 1; /** - * - * *
    * Integer value
    * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -178,14 +149,11 @@ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** - * - * *
    * Integer value
    * 
* * int64 int64_value = 1; - * * @return The int64Value. */ @java.lang.Override @@ -198,14 +166,11 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * Double value
    * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -213,14 +178,11 @@ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** - * - * *
    * Double value
    * 
* * double double_value = 2; - * * @return The doubleValue. */ @java.lang.Override @@ -232,7 +194,6 @@ public double getDoubleValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,12 +205,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 (oneValueCase_ == 1) { - output.writeInt64(1, (long) ((java.lang.Long) oneValue_)); + output.writeInt64( + 1, (long)((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - output.writeDouble(2, (double) ((java.lang.Double) oneValue_)); + output.writeDouble( + 2, (double)((java.lang.Double) oneValue_)); } unknownFields.writeTo(output); } @@ -261,14 +225,14 @@ public int getSerializedSize() { size = 0; if (oneValueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 1, (long) ((java.lang.Long) oneValue_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 1, (long)((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 2, (double) ((java.lang.Double) oneValue_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 2, (double)((java.lang.Double) oneValue_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,22 +242,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.analytics.data.v1beta.NumericValue)) { return super.equals(obj); } - com.google.analytics.data.v1beta.NumericValue other = - (com.google.analytics.data.v1beta.NumericValue) obj; + com.google.analytics.data.v1beta.NumericValue other = (com.google.analytics.data.v1beta.NumericValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 1: - if (getInt64Value() != other.getInt64Value()) return false; + if (getInt64Value() + != other.getInt64Value()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 0: default: @@ -312,14 +277,13 @@ public int hashCode() { switch (oneValueCase_) { case 1: 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 2: 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 0: default: @@ -329,127 +293,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.NumericValue parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.NumericValue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.NumericValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.NumericValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.NumericValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.NumericValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.NumericValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.NumericValue 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.analytics.data.v1beta.NumericValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.NumericValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.NumericValue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.NumericValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.NumericValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.NumericValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.NumericValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * To represent a number.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.NumericValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.NumericValue) com.google.analytics.data.v1beta.NumericValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.NumericValue.class, - com.google.analytics.data.v1beta.NumericValue.Builder.class); + com.google.analytics.data.v1beta.NumericValue.class, com.google.analytics.data.v1beta.NumericValue.Builder.class); } // Construct using com.google.analytics.data.v1beta.NumericValue.newBuilder() @@ -457,15 +412,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(); @@ -475,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_NumericValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_NumericValue_descriptor; } @java.lang.Override @@ -496,8 +452,7 @@ public com.google.analytics.data.v1beta.NumericValue build() { @java.lang.Override public com.google.analytics.data.v1beta.NumericValue buildPartial() { - com.google.analytics.data.v1beta.NumericValue result = - new com.google.analytics.data.v1beta.NumericValue(this); + com.google.analytics.data.v1beta.NumericValue result = new com.google.analytics.data.v1beta.NumericValue(this); if (oneValueCase_ == 1) { result.oneValue_ = oneValue_; } @@ -513,39 +468,38 @@ public com.google.analytics.data.v1beta.NumericValue buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.NumericValue) { - return mergeFrom((com.google.analytics.data.v1beta.NumericValue) other); + return mergeFrom((com.google.analytics.data.v1beta.NumericValue)other); } else { super.mergeFrom(other); return this; @@ -555,20 +509,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.analytics.data.v1beta.NumericValue other) { if (other == com.google.analytics.data.v1beta.NumericValue.getDefaultInstance()) return this; switch (other.getOneValueCase()) { - case INT64_VALUE: - { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case ONEVALUE_NOT_SET: - { - break; - } + case INT64_VALUE: { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: { + setDoubleValue(other.getDoubleValue()); + break; + } + case ONEVALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -598,12 +549,12 @@ public Builder mergeFrom( } return this; } - private int oneValueCase_ = 0; private java.lang.Object oneValue_; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); + public OneValueCase + getOneValueCase() { + return OneValueCase.forNumber( + oneValueCase_); } public Builder clearOneValue() { @@ -613,29 +564,24 @@ public Builder clearOneValue() { return this; } + /** - * - * *
      * Integer value
      * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** - * - * *
      * Integer value
      * 
* * int64 int64_value = 1; - * * @return The int64Value. */ public long getInt64Value() { @@ -645,14 +591,11 @@ public long getInt64Value() { return 0L; } /** - * - * *
      * Integer value
      * 
* * int64 int64_value = 1; - * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -663,14 +606,11 @@ public Builder setInt64Value(long value) { return this; } /** - * - * *
      * Integer value
      * 
* * int64 int64_value = 1; - * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -683,28 +623,22 @@ public Builder clearInt64Value() { } /** - * - * *
      * Double value
      * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** - * - * *
      * Double value
      * 
* * double double_value = 2; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -714,14 +648,11 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * Double value
      * 
* * double double_value = 2; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -732,14 +663,11 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
      * Double value
      * 
* * double double_value = 2; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -750,9 +678,9 @@ public Builder clearDoubleValue() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,12 +690,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.NumericValue) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.NumericValue) private static final com.google.analytics.data.v1beta.NumericValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.NumericValue(); } @@ -776,16 +704,16 @@ public static com.google.analytics.data.v1beta.NumericValue getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NumericValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NumericValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NumericValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -800,4 +728,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.NumericValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java similarity index 59% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java index 2fc074c4..7616e921 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java @@ -1,74 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface NumericValueOrBuilder - extends +public interface NumericValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.NumericValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Integer value
    * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** - * - * *
    * Integer value
    * 
* * int64 int64_value = 1; - * * @return The int64Value. */ long getInt64Value(); /** - * - * *
    * Double value
    * 
* * double double_value = 2; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * Double value
    * 
* * double double_value = 2; - * * @return The doubleValue. */ double getDoubleValue(); diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.java similarity index 71% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.java index 4a0c1f5a..574a2f0a 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The sort options.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy} */ -public final class OrderBy extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OrderBy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.OrderBy) OrderByOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OrderBy.newBuilder() to construct. private OrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OrderBy() {} + private OrderBy() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OrderBy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,169 +52,141 @@ private OrderBy( case 0: done = true; break; - case 10: - { - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder subBuilder = null; - if (oneOrderByCase_ == 1) { - subBuilder = - ((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_) - .toBuilder(); - } - oneOrderBy_ = - input.readMessage( - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_); - oneOrderBy_ = subBuilder.buildPartial(); - } - oneOrderByCase_ = 1; - break; + case 10: { + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder subBuilder = null; + if (oneOrderByCase_ == 1) { + subBuilder = ((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_).toBuilder(); } - case 18: - { - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder subBuilder = null; - if (oneOrderByCase_ == 2) { - subBuilder = - ((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_) - .toBuilder(); - } - oneOrderBy_ = - input.readMessage( - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); - oneOrderBy_ = subBuilder.buildPartial(); - } - oneOrderByCase_ = 2; - break; + oneOrderBy_ = + input.readMessage(com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_); + oneOrderBy_ = subBuilder.buildPartial(); } - case 26: - { - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder subBuilder = null; - if (oneOrderByCase_ == 3) { - subBuilder = - ((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_) - .toBuilder(); - } - oneOrderBy_ = - input.readMessage( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_); - oneOrderBy_ = subBuilder.buildPartial(); - } - oneOrderByCase_ = 3; - break; + oneOrderByCase_ = 1; + break; + } + case 18: { + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder subBuilder = null; + if (oneOrderByCase_ == 2) { + subBuilder = ((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_).toBuilder(); } - case 32: - { - desc_ = input.readBool(); - break; + oneOrderBy_ = + input.readMessage(com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); + oneOrderBy_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + oneOrderByCase_ = 2; + break; + } + case 26: { + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder subBuilder = null; + if (oneOrderByCase_ == 3) { + subBuilder = ((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_).toBuilder(); + } + oneOrderBy_ = + input.readMessage(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_); + oneOrderBy_ = subBuilder.buildPartial(); + } + oneOrderByCase_ = 3; + break; + } + case 32: { + + desc_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.class, - com.google.analytics.data.v1beta.OrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.class, com.google.analytics.data.v1beta.OrderBy.Builder.class); } - public interface MetricOrderByOrBuilder - extends + public interface MetricOrderByOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.OrderBy.MetricOrderBy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; - * * @return The metricName. */ java.lang.String getMetricName(); /** - * - * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ - com.google.protobuf.ByteString getMetricNameBytes(); + com.google.protobuf.ByteString + getMetricNameBytes(); } /** - * - * *
    * Sorts by metric values.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.MetricOrderBy} */ - public static final class MetricOrderBy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MetricOrderBy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.OrderBy.MetricOrderBy) MetricOrderByOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetricOrderBy.newBuilder() to construct. private MetricOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MetricOrderBy() { metricName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MetricOrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MetricOrderBy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -249,58 +205,52 @@ private MetricOrderBy( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - metricName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + metricName_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.class, - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.class, com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder.class); } public static final int METRIC_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object metricName_; /** - * - * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; - * * @return The metricName. */ @java.lang.Override @@ -309,29 +259,29 @@ public java.lang.String getMetricName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; } } /** - * - * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ @java.lang.Override - public com.google.protobuf.ByteString getMetricNameBytes() { + public com.google.protobuf.ByteString + getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricName_ = b; return b; } else { @@ -340,7 +290,6 @@ public com.google.protobuf.ByteString getMetricNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -352,7 +301,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getMetricNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -376,15 +326,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.analytics.data.v1beta.OrderBy.MetricOrderBy)) { return super.equals(obj); } - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy other = - (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) obj; + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy other = (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) obj; - if (!getMetricName().equals(other.getMetricName())) return false; + if (!getMetricName() + .equals(other.getMetricName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -404,94 +354,87 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.OrderBy.MetricOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -501,32 +444,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Sorts by metric values.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.MetricOrderBy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.OrderBy.MetricOrderBy) com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.class, - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.class, com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder.class); } // Construct using com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.newBuilder() @@ -534,15 +472,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -552,9 +491,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; } @java.lang.Override @@ -573,8 +512,7 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy build() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy buildPartial() { - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy result = - new com.google.analytics.data.v1beta.OrderBy.MetricOrderBy(this); + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy result = new com.google.analytics.data.v1beta.OrderBy.MetricOrderBy(this); result.metricName_ = metricName_; onBuilt(); return result; @@ -584,41 +522,38 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) { - return mergeFrom((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) other); + return mergeFrom((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy)other); } else { super.mergeFrom(other); return this; @@ -626,8 +561,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy.MetricOrderBy other) { - if (other == com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance()) return this; if (!other.getMetricName().isEmpty()) { metricName_ = other.metricName_; onChanged(); @@ -651,8 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -664,20 +597,18 @@ public Builder mergeFrom( private java.lang.Object metricName_ = ""; /** - * - * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; - * * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; @@ -686,21 +617,20 @@ public java.lang.String getMetricName() { } } /** - * - * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ - public com.google.protobuf.ByteString getMetricNameBytes() { + public com.google.protobuf.ByteString + getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricName_ = b; return b; } else { @@ -708,66 +638,58 @@ public com.google.protobuf.ByteString getMetricNameBytes() { } } /** - * - * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; - * * @param value The metricName to set. * @return This builder for chaining. */ - public Builder setMetricName(java.lang.String value) { + public Builder setMetricName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + metricName_ = value; onChanged(); return this; } /** - * - * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; - * * @return This builder for chaining. */ public Builder clearMetricName() { - + metricName_ = getDefaultInstance().getMetricName(); onChanged(); return this; } /** - * - * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; - * * @param value The bytes for metricName to set. * @return This builder for chaining. */ - public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { + public Builder setMetricNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + metricName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -780,12 +702,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.OrderBy.MetricOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.OrderBy.MetricOrderBy) private static final com.google.analytics.data.v1beta.OrderBy.MetricOrderBy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.OrderBy.MetricOrderBy(); } @@ -794,16 +716,16 @@ public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricOrderBy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricOrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetricOrderBy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -818,82 +740,68 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DimensionOrderByOrBuilder - extends + public interface DimensionOrderByOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.OrderBy.DimensionOrderBy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; - * * @return The dimensionName. */ java.lang.String getDimensionName(); /** - * - * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - com.google.protobuf.ByteString getDimensionNameBytes(); + com.google.protobuf.ByteString + getDimensionNameBytes(); /** - * - * *
      * Controls the rule for dimension value ordering.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * * @return The enum numeric value on the wire for orderType. */ int getOrderTypeValue(); /** - * - * *
      * Controls the rule for dimension value ordering.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * * @return The orderType. */ com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType getOrderType(); } /** - * - * *
    * Sorts by dimension values.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.DimensionOrderBy} */ - public static final class DimensionOrderBy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DimensionOrderBy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.OrderBy.DimensionOrderBy) DimensionOrderByOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DimensionOrderBy.newBuilder() to construct. private DimensionOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DimensionOrderBy() { dimensionName_ = ""; orderType_ = 0; @@ -901,15 +809,16 @@ private DimensionOrderBy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DimensionOrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DimensionOrderBy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -928,67 +837,60 @@ private DimensionOrderBy( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dimensionName_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + dimensionName_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - orderType_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + orderType_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.class, - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.class, com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder.class); } /** - * - * *
      * Rule to order the string dimension values by.
      * 
* * Protobuf enum {@code google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType} */ - public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { + public enum OrderType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified.
        * 
@@ -997,8 +899,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { */ ORDER_TYPE_UNSPECIFIED(0), /** - * - * *
        * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
        * "b" < "z".
@@ -1008,8 +908,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
        */
       ALPHANUMERIC(1),
       /**
-       *
-       *
        * 
        * Case insensitive alphanumeric sort by lower case Unicode code point.
        * For example, "2" < "A" < "b" < "X" < "z".
@@ -1019,8 +917,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
        */
       CASE_INSENSITIVE_ALPHANUMERIC(2),
       /**
-       *
-       *
        * 
        * Dimension values are converted to numbers before sorting. For example
        * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
@@ -1035,8 +931,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified.
        * 
@@ -1045,8 +939,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORDER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
        * "b" < "z".
@@ -1056,8 +948,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int ALPHANUMERIC_VALUE = 1;
       /**
-       *
-       *
        * 
        * Case insensitive alphanumeric sort by lower case Unicode code point.
        * For example, "2" < "A" < "b" < "X" < "z".
@@ -1067,8 +957,6 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CASE_INSENSITIVE_ALPHANUMERIC_VALUE = 2;
       /**
-       *
-       *
        * 
        * Dimension values are converted to numbers before sorting. For example
        * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
@@ -1080,6 +968,7 @@ public enum OrderType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NUMERIC_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1104,53 +993,50 @@ public static OrderType valueOf(int value) {
        */
       public static OrderType forNumber(int value) {
         switch (value) {
-          case 0:
-            return ORDER_TYPE_UNSPECIFIED;
-          case 1:
-            return ALPHANUMERIC;
-          case 2:
-            return CASE_INSENSITIVE_ALPHANUMERIC;
-          case 3:
-            return NUMERIC;
-          default:
-            return null;
+          case 0: return ORDER_TYPE_UNSPECIFIED;
+          case 1: return ALPHANUMERIC;
+          case 2: return CASE_INSENSITIVE_ALPHANUMERIC;
+          case 3: return NUMERIC;
+          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<
+          OrderType> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public OrderType findValueByNumber(int number) {
+                return OrderType.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public OrderType findValueByNumber(int number) {
-              return OrderType.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.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final OrderType[] VALUES = values();
 
-      public static OrderType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static OrderType 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;
@@ -1170,14 +1056,11 @@ private OrderType(int value) {
     public static final int DIMENSION_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object dimensionName_;
     /**
-     *
-     *
      * 
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; - * * @return The dimensionName. */ @java.lang.Override @@ -1186,29 +1069,29 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** - * - * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -1219,43 +1102,31 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { public static final int ORDER_TYPE_FIELD_NUMBER = 2; private int orderType_; /** - * - * *
      * Controls the rule for dimension value ordering.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * * @return The enum numeric value on the wire for orderType. */ - @java.lang.Override - public int getOrderTypeValue() { + @java.lang.Override public int getOrderTypeValue() { return orderType_; } /** - * - * *
      * Controls the rule for dimension value ordering.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * * @return The orderType. */ - @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType getOrderType() { + @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType getOrderType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType result = - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.valueOf(orderType_); - return result == null - ? com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType result = com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.valueOf(orderType_); + return result == null ? com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1267,14 +1138,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 (!getDimensionNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } - if (orderType_ - != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType - .ORDER_TYPE_UNSPECIFIED - .getNumber()) { + if (orderType_ != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.ORDER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, orderType_); } unknownFields.writeTo(output); @@ -1289,11 +1158,9 @@ public int getSerializedSize() { if (!getDimensionNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dimensionName_); } - if (orderType_ - != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType - .ORDER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, orderType_); + if (orderType_ != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.ORDER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, orderType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1303,15 +1170,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.analytics.data.v1beta.OrderBy.DimensionOrderBy)) { return super.equals(obj); } - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy other = - (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) obj; + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy other = (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) obj; - if (!getDimensionName().equals(other.getDimensionName())) return false; + if (!getDimensionName() + .equals(other.getDimensionName())) return false; if (orderType_ != other.orderType_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1334,94 +1201,87 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1431,32 +1291,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Sorts by dimension values.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.DimensionOrderBy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.OrderBy.DimensionOrderBy) com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.class, - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.class, com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder.class); } // Construct using com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.newBuilder() @@ -1464,15 +1319,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(); @@ -1484,9 +1340,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; } @java.lang.Override @@ -1505,8 +1361,7 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy build() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy buildPartial() { - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy result = - new com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy(this); + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy result = new com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy(this); result.dimensionName_ = dimensionName_; result.orderType_ = orderType_; onBuilt(); @@ -1517,41 +1372,38 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) { - return mergeFrom((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) other); + return mergeFrom((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy)other); } else { super.mergeFrom(other); return this; @@ -1559,8 +1411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy other) { - if (other == com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance()) return this; if (!other.getDimensionName().isEmpty()) { dimensionName_ = other.dimensionName_; onChanged(); @@ -1587,8 +1438,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1600,20 +1450,18 @@ public Builder mergeFrom( private java.lang.Object dimensionName_ = ""; /** - * - * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; - * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -1622,21 +1470,20 @@ public java.lang.String getDimensionName() { } } /** - * - * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -1644,61 +1491,54 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { } } /** - * - * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; - * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName(java.lang.String value) { + public Builder setDimensionName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dimensionName_ = value; onChanged(); return this; } /** - * - * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; - * * @return This builder for chaining. */ public Builder clearDimensionName() { - + dimensionName_ = getDefaultInstance().getDimensionName(); onChanged(); return this; } /** - * - * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; - * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { + public Builder setDimensionNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dimensionName_ = value; onChanged(); return this; @@ -1706,103 +1546,77 @@ public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { private int orderType_ = 0; /** - * - * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; * @return The enum numeric value on the wire for orderType. */ - @java.lang.Override - public int getOrderTypeValue() { + @java.lang.Override public int getOrderTypeValue() { return orderType_; } /** - * - * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; * @param value The enum numeric value on the wire for orderType to set. * @return This builder for chaining. */ public Builder setOrderTypeValue(int value) { - + orderType_ = value; onChanged(); return this; } /** - * - * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; * @return The orderType. */ @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType getOrderType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType result = - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.valueOf(orderType_); - return result == null - ? com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType result = com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.valueOf(orderType_); + return result == null ? com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED : result; } /** - * - * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; * @param value The orderType to set. * @return This builder for chaining. */ - public Builder setOrderType( - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType value) { + public Builder setOrderType(com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType value) { if (value == null) { throw new NullPointerException(); } - + orderType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * + * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; * @return This builder for chaining. */ public Builder clearOrderType() { - + orderType_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1815,12 +1629,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.OrderBy.DimensionOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.OrderBy.DimensionOrderBy) private static final com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy(); } @@ -1829,16 +1643,16 @@ public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionOrderBy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionOrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionOrderBy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1853,43 +1667,36 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PivotOrderByOrBuilder - extends + public interface PivotOrderByOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.OrderBy.PivotOrderBy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * In the response to order by, order rows by this column. Must be a metric
      * name from the request.
      * 
* * string metric_name = 1; - * * @return The metricName. */ java.lang.String getMetricName(); /** - * - * *
      * In the response to order by, order rows by this column. Must be a metric
      * name from the request.
      * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ - com.google.protobuf.ByteString getMetricNameBytes(); + com.google.protobuf.ByteString + getMetricNameBytes(); /** - * - * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -1897,15 +1704,11 @@ public interface PivotOrderByOrBuilder
      * pair.
      * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - java.util.List + java.util.List getPivotSelectionsList(); /** - * - * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -1913,15 +1716,10 @@ public interface PivotOrderByOrBuilder
      * pair.
      * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSelections( - int index); + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSelections(int index); /** - * - * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -1929,14 +1727,10 @@ com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSel
      * pair.
      * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ int getPivotSelectionsCount(); /** - * - * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -1944,16 +1738,11 @@ com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSel
      * pair.
      * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - java.util.List< - ? extends com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> + java.util.List getPivotSelectionsOrBuilderList(); /** - * - * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -1961,32 +1750,27 @@ com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSel
      * pair.
      * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder - getPivotSelectionsOrBuilder(int index); + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder getPivotSelectionsOrBuilder( + int index); } /** - * - * *
    * Sorts by a pivot column group.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.PivotOrderBy} */ - public static final class PivotOrderBy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PivotOrderBy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.OrderBy.PivotOrderBy) PivotOrderByOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PivotOrderBy.newBuilder() to construct. private PivotOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PivotOrderBy() { metricName_ = ""; pivotSelections_ = java.util.Collections.emptyList(); @@ -1994,15 +1778,16 @@ private PivotOrderBy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PivotOrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PivotOrderBy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2022,41 +1807,35 @@ private PivotOrderBy( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - metricName_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotSelections_ = - new java.util.ArrayList< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection>(); - mutable_bitField0_ |= 0x00000001; - } - pivotSelections_.add( - input.readMessage( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection - .parser(), - extensionRegistry)); - break; + metricName_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pivotSelections_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pivotSelections_.add( + input.readMessage(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.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)) { pivotSelections_ = java.util.Collections.unmodifiableList(pivotSelections_); @@ -2065,80 +1844,64 @@ private PivotOrderBy( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.class, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.class, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder.class); } - public interface PivotSelectionOrBuilder - extends + public interface PivotSelectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Must be a dimension name from the request.
        * 
* * string dimension_name = 1; - * * @return The dimensionName. */ java.lang.String getDimensionName(); /** - * - * *
        * Must be a dimension name from the request.
        * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - com.google.protobuf.ByteString getDimensionNameBytes(); + com.google.protobuf.ByteString + getDimensionNameBytes(); /** - * - * *
        * Order by only when the named dimension is this value.
        * 
* * string dimension_value = 2; - * * @return The dimensionValue. */ java.lang.String getDimensionValue(); /** - * - * *
        * Order by only when the named dimension is this value.
        * 
* * string dimension_value = 2; - * * @return The bytes for dimensionValue. */ - com.google.protobuf.ByteString getDimensionValueBytes(); + com.google.protobuf.ByteString + getDimensionValueBytes(); } /** - * - * *
      * A pair of dimension names and values. Rows with this dimension pivot pair
      * are ordered by the metric's value.
@@ -2158,16 +1921,15 @@ public interface PivotSelectionOrBuilder
      *
      * Protobuf type {@code google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection}
      */
-    public static final class PivotSelection extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class PivotSelection extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)
         PivotSelectionOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use PivotSelection.newBuilder() to construct.
       private PivotSelection(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
       private PivotSelection() {
         dimensionName_ = "";
         dimensionValue_ = "";
@@ -2175,15 +1937,16 @@ private PivotSelection() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new PivotSelection();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private PivotSelection(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2202,66 +1965,58 @@ private PivotSelection(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  dimensionName_ = s;
-                  break;
-                }
-              case 18:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                dimensionName_ = s;
+                break;
+              }
+              case 18: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  dimensionValue_ = s;
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                dimensionValue_ = 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.analytics.data.v1beta.ReportingApiProto
-            .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.analytics.data.v1beta.ReportingApiProto
-            .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable
+        return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.class,
-                com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder.class);
+                com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.class, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder.class);
       }
 
       public static final int DIMENSION_NAME_FIELD_NUMBER = 1;
       private volatile java.lang.Object dimensionName_;
       /**
-       *
-       *
        * 
        * Must be a dimension name from the request.
        * 
* * string dimension_name = 1; - * * @return The dimensionName. */ @java.lang.Override @@ -2270,29 +2025,29 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** - * - * *
        * Must be a dimension name from the request.
        * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -2303,14 +2058,11 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { public static final int DIMENSION_VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object dimensionValue_; /** - * - * *
        * Order by only when the named dimension is this value.
        * 
* * string dimension_value = 2; - * * @return The dimensionValue. */ @java.lang.Override @@ -2319,29 +2071,29 @@ public java.lang.String getDimensionValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionValue_ = s; return s; } } /** - * - * *
        * Order by only when the named dimension is this value.
        * 
* * string dimension_value = 2; - * * @return The bytes for dimensionValue. */ @java.lang.Override - public com.google.protobuf.ByteString getDimensionValueBytes() { + public com.google.protobuf.ByteString + getDimensionValueBytes() { java.lang.Object ref = dimensionValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionValue_ = b; return b; } else { @@ -2350,7 +2102,6 @@ public com.google.protobuf.ByteString getDimensionValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2362,7 +2113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getDimensionNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } @@ -2392,17 +2144,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.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)) { + if (!(obj instanceof com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)) { return super.equals(obj); } - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection other = - (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) obj; + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection other = (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) obj; - if (!getDimensionName().equals(other.getDimensionName())) return false; - if (!getDimensionValue().equals(other.getDimensionValue())) return false; + if (!getDimensionName() + .equals(other.getDimensionName())) return false; + if (!getDimensionValue() + .equals(other.getDimensionValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2424,96 +2176,87 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2523,8 +2266,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A pair of dimension names and values. Rows with this dimension pivot pair
        * are ordered by the metric's value.
@@ -2544,42 +2285,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)
           com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.analytics.data.v1beta.ReportingApiProto
-              .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.analytics.data.v1beta.ReportingApiProto
-              .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable
+          return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.class,
-                  com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder
-                      .class);
+                  com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.class, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder.class);
         }
 
-        // Construct using
-        // com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.newBuilder()
+        // Construct using com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2591,22 +2328,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.analytics.data.v1beta.ReportingApiProto
-              .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
         }
 
         @java.lang.Override
-        public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection
-            getDefaultInstanceForType() {
-          return com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection
-              .getDefaultInstance();
+        public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getDefaultInstanceForType() {
+          return com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection build() {
-          com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection result =
-              buildPartial();
+          com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -2615,8 +2349,7 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection buil
 
         @java.lang.Override
         public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection buildPartial() {
-          com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection result =
-              new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection(this);
+          com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection result = new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection(this);
           result.dimensionName_ = dimensionName_;
           result.dimensionValue_ = dimensionValue_;
           onBuilt();
@@ -2627,54 +2360,46 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection buil
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other
-              instanceof com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) {
-            return mergeFrom(
-                (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) other);
+          if (other instanceof com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) {
+            return mergeFrom((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection other) {
-          if (other
-              == com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection other) {
+          if (other == com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.getDefaultInstance()) return this;
           if (!other.getDimensionName().isEmpty()) {
             dimensionName_ = other.dimensionName_;
             onChanged();
@@ -2702,9 +2427,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -2716,20 +2439,18 @@ public Builder mergeFrom(
 
         private java.lang.Object dimensionName_ = "";
         /**
-         *
-         *
          * 
          * Must be a dimension name from the request.
          * 
* * string dimension_name = 1; - * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -2738,21 +2459,20 @@ public java.lang.String getDimensionName() { } } /** - * - * *
          * Must be a dimension name from the request.
          * 
* * string dimension_name = 1; - * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString getDimensionNameBytes() { + public com.google.protobuf.ByteString + getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -2760,61 +2480,54 @@ public com.google.protobuf.ByteString getDimensionNameBytes() { } } /** - * - * *
          * Must be a dimension name from the request.
          * 
* * string dimension_name = 1; - * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName(java.lang.String value) { + public Builder setDimensionName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dimensionName_ = value; onChanged(); return this; } /** - * - * *
          * Must be a dimension name from the request.
          * 
* * string dimension_name = 1; - * * @return This builder for chaining. */ public Builder clearDimensionName() { - + dimensionName_ = getDefaultInstance().getDimensionName(); onChanged(); return this; } /** - * - * *
          * Must be a dimension name from the request.
          * 
* * string dimension_name = 1; - * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { + public Builder setDimensionNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dimensionName_ = value; onChanged(); return this; @@ -2822,20 +2535,18 @@ public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object dimensionValue_ = ""; /** - * - * *
          * Order by only when the named dimension is this value.
          * 
* * string dimension_value = 2; - * * @return The dimensionValue. */ public java.lang.String getDimensionValue() { java.lang.Object ref = dimensionValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionValue_ = s; return s; @@ -2844,21 +2555,20 @@ public java.lang.String getDimensionValue() { } } /** - * - * *
          * Order by only when the named dimension is this value.
          * 
* * string dimension_value = 2; - * * @return The bytes for dimensionValue. */ - public com.google.protobuf.ByteString getDimensionValueBytes() { + public com.google.protobuf.ByteString + getDimensionValueBytes() { java.lang.Object ref = dimensionValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dimensionValue_ = b; return b; } else { @@ -2866,66 +2576,58 @@ public com.google.protobuf.ByteString getDimensionValueBytes() { } } /** - * - * *
          * Order by only when the named dimension is this value.
          * 
* * string dimension_value = 2; - * * @param value The dimensionValue to set. * @return This builder for chaining. */ - public Builder setDimensionValue(java.lang.String value) { + public Builder setDimensionValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dimensionValue_ = value; onChanged(); return this; } /** - * - * *
          * Order by only when the named dimension is this value.
          * 
* * string dimension_value = 2; - * * @return This builder for chaining. */ public Builder clearDimensionValue() { - + dimensionValue_ = getDefaultInstance().getDimensionValue(); onChanged(); return this; } /** - * - * *
          * Order by only when the named dimension is this value.
          * 
* * string dimension_value = 2; - * * @param value The bytes for dimensionValue to set. * @return This builder for chaining. */ - public Builder setDimensionValueBytes(com.google.protobuf.ByteString value) { + public Builder setDimensionValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dimensionValue_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2938,33 +2640,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) - private static final com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection - DEFAULT_INSTANCE; - + private static final com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection(); + DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection(); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection - getDefaultInstance() { + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotSelection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotSelection(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PivotSelection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PivotSelection(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2976,24 +2675,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection - getDefaultInstanceForType() { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int METRIC_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object metricName_; /** - * - * *
      * In the response to order by, order rows by this column. Must be a metric
      * name from the request.
      * 
* * string metric_name = 1; - * * @return The metricName. */ @java.lang.Override @@ -3002,30 +2698,30 @@ public java.lang.String getMetricName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; } } /** - * - * *
      * In the response to order by, order rows by this column. Must be a metric
      * name from the request.
      * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ @java.lang.Override - public com.google.protobuf.ByteString getMetricNameBytes() { + public com.google.protobuf.ByteString + getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricName_ = b; return b; } else { @@ -3034,11 +2730,8 @@ public com.google.protobuf.ByteString getMetricNameBytes() { } public static final int PIVOT_SELECTIONS_FIELD_NUMBER = 2; - private java.util.List - pivotSelections_; + private java.util.List pivotSelections_; /** - * - * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -3046,18 +2739,13 @@ public com.google.protobuf.ByteString getMetricNameBytes() {
      * pair.
      * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ @java.lang.Override - public java.util.List - getPivotSelectionsList() { + public java.util.List getPivotSelectionsList() { return pivotSelections_; } /** - * - * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -3065,19 +2753,14 @@ public com.google.protobuf.ByteString getMetricNameBytes() {
      * pair.
      * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> + public java.util.List getPivotSelectionsOrBuilderList() { return pivotSelections_; } /** - * - * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -3085,17 +2768,13 @@ public com.google.protobuf.ByteString getMetricNameBytes() {
      * pair.
      * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ @java.lang.Override public int getPivotSelectionsCount() { return pivotSelections_.size(); } /** - * - * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -3103,18 +2782,13 @@ public int getPivotSelectionsCount() {
      * pair.
      * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSelections( - int index) { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSelections(int index) { return pivotSelections_.get(index); } /** - * - * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -3122,18 +2796,15 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getP
      * pair.
      * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder - getPivotSelectionsOrBuilder(int index) { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder getPivotSelectionsOrBuilder( + int index) { return pivotSelections_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3145,7 +2816,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getMetricNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -3165,8 +2837,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_); } for (int i = 0; i < pivotSelections_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, pivotSelections_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, pivotSelections_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3176,16 +2848,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.analytics.data.v1beta.OrderBy.PivotOrderBy)) { return super.equals(obj); } - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy other = - (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) obj; + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy other = (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) obj; - if (!getMetricName().equals(other.getMetricName())) return false; - if (!getPivotSelectionsList().equals(other.getPivotSelectionsList())) return false; + if (!getMetricName() + .equals(other.getMetricName())) return false; + if (!getPivotSelectionsList() + .equals(other.getPivotSelectionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3209,94 +2882,87 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3306,32 +2972,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Sorts by a pivot column group.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.PivotOrderBy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.OrderBy.PivotOrderBy) com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.class, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.class, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder.class); } // Construct using com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.newBuilder() @@ -3339,17 +3000,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) { getPivotSelectionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3365,9 +3026,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; } @java.lang.Override @@ -3386,8 +3047,7 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy build() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy buildPartial() { - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy result = - new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy(this); + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy result = new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy(this); int from_bitField0_ = bitField0_; result.metricName_ = metricName_; if (pivotSelectionsBuilder_ == null) { @@ -3407,41 +3067,38 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) { - return mergeFrom((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) other); + return mergeFrom((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy)other); } else { super.mergeFrom(other); return this; @@ -3449,8 +3106,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy other) { - if (other == com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance()) return this; if (!other.getMetricName().isEmpty()) { metricName_ = other.metricName_; onChanged(); @@ -3473,10 +3129,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy o pivotSelectionsBuilder_ = null; pivotSelections_ = other.pivotSelections_; bitField0_ = (bitField0_ & ~0x00000001); - pivotSelectionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPivotSelectionsFieldBuilder() - : null; + pivotSelectionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPivotSelectionsFieldBuilder() : null; } else { pivotSelectionsBuilder_.addAllMessages(other.pivotSelections_); } @@ -3501,8 +3156,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3511,26 +3165,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object metricName_ = ""; /** - * - * *
        * In the response to order by, order rows by this column. Must be a metric
        * name from the request.
        * 
* * string metric_name = 1; - * * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; @@ -3539,22 +3190,21 @@ public java.lang.String getMetricName() { } } /** - * - * *
        * In the response to order by, order rows by this column. Must be a metric
        * name from the request.
        * 
* * string metric_name = 1; - * * @return The bytes for metricName. */ - public com.google.protobuf.ByteString getMetricNameBytes() { + public com.google.protobuf.ByteString + getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); metricName_ = b; return b; } else { @@ -3562,91 +3212,75 @@ public com.google.protobuf.ByteString getMetricNameBytes() { } } /** - * - * *
        * In the response to order by, order rows by this column. Must be a metric
        * name from the request.
        * 
* * string metric_name = 1; - * * @param value The metricName to set. * @return This builder for chaining. */ - public Builder setMetricName(java.lang.String value) { + public Builder setMetricName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + metricName_ = value; onChanged(); return this; } /** - * - * *
        * In the response to order by, order rows by this column. Must be a metric
        * name from the request.
        * 
* * string metric_name = 1; - * * @return This builder for chaining. */ public Builder clearMetricName() { - + metricName_ = getDefaultInstance().getMetricName(); onChanged(); return this; } /** - * - * *
        * In the response to order by, order rows by this column. Must be a metric
        * name from the request.
        * 
* * string metric_name = 1; - * * @param value The bytes for metricName to set. * @return This builder for chaining. */ - public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { + public Builder setMetricNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + metricName_ = value; onChanged(); return this; } - private java.util.List - pivotSelections_ = java.util.Collections.emptyList(); - + private java.util.List pivotSelections_ = + java.util.Collections.emptyList(); private void ensurePivotSelectionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pivotSelections_ = - new java.util.ArrayList< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection>( - pivotSelections_); + pivotSelections_ = new java.util.ArrayList(pivotSelections_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> - pivotSelectionsBuilder_; + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> pivotSelectionsBuilder_; /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3654,12 +3288,9 @@ private void ensurePivotSelectionsIsMutable() {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - public java.util.List - getPivotSelectionsList() { + public java.util.List getPivotSelectionsList() { if (pivotSelectionsBuilder_ == null) { return java.util.Collections.unmodifiableList(pivotSelections_); } else { @@ -3667,8 +3298,6 @@ private void ensurePivotSelectionsIsMutable() { } } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3676,9 +3305,7 @@ private void ensurePivotSelectionsIsMutable() {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ public int getPivotSelectionsCount() { if (pivotSelectionsBuilder_ == null) { @@ -3688,8 +3315,6 @@ public int getPivotSelectionsCount() { } } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3697,12 +3322,9 @@ public int getPivotSelectionsCount() {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection - getPivotSelections(int index) { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSelections(int index) { if (pivotSelectionsBuilder_ == null) { return pivotSelections_.get(index); } else { @@ -3710,8 +3332,6 @@ public int getPivotSelectionsCount() { } } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3719,9 +3339,7 @@ public int getPivotSelectionsCount() {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ public Builder setPivotSelections( int index, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection value) { @@ -3738,8 +3356,6 @@ public Builder setPivotSelections( return this; } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3747,14 +3363,10 @@ public Builder setPivotSelections(
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ public Builder setPivotSelections( - int index, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder - builderForValue) { + int index, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue) { if (pivotSelectionsBuilder_ == null) { ensurePivotSelectionsIsMutable(); pivotSelections_.set(index, builderForValue.build()); @@ -3765,8 +3377,6 @@ public Builder setPivotSelections( return this; } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3774,12 +3384,9 @@ public Builder setPivotSelections(
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - public Builder addPivotSelections( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection value) { + public Builder addPivotSelections(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection value) { if (pivotSelectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3793,8 +3400,6 @@ public Builder addPivotSelections( return this; } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3802,9 +3407,7 @@ public Builder addPivotSelections(
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ public Builder addPivotSelections( int index, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection value) { @@ -3821,8 +3424,6 @@ public Builder addPivotSelections( return this; } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3830,13 +3431,10 @@ public Builder addPivotSelections(
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ public Builder addPivotSelections( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder - builderForValue) { + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue) { if (pivotSelectionsBuilder_ == null) { ensurePivotSelectionsIsMutable(); pivotSelections_.add(builderForValue.build()); @@ -3847,8 +3445,6 @@ public Builder addPivotSelections( return this; } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3856,14 +3452,10 @@ public Builder addPivotSelections(
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ public Builder addPivotSelections( - int index, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder - builderForValue) { + int index, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue) { if (pivotSelectionsBuilder_ == null) { ensurePivotSelectionsIsMutable(); pivotSelections_.add(index, builderForValue.build()); @@ -3874,8 +3466,6 @@ public Builder addPivotSelections( return this; } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3883,17 +3473,14 @@ public Builder addPivotSelections(
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ public Builder addAllPivotSelections( - java.lang.Iterable< - ? extends com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection> - values) { + java.lang.Iterable values) { if (pivotSelectionsBuilder_ == null) { ensurePivotSelectionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotSelections_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pivotSelections_); onChanged(); } else { pivotSelectionsBuilder_.addAllMessages(values); @@ -3901,8 +3488,6 @@ public Builder addAllPivotSelections( return this; } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3910,9 +3495,7 @@ public Builder addAllPivotSelections(
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ public Builder clearPivotSelections() { if (pivotSelectionsBuilder_ == null) { @@ -3925,8 +3508,6 @@ public Builder clearPivotSelections() { return this; } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3934,9 +3515,7 @@ public Builder clearPivotSelections() {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ public Builder removePivotSelections(int index) { if (pivotSelectionsBuilder_ == null) { @@ -3949,8 +3528,6 @@ public Builder removePivotSelections(int index) { return this; } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3958,17 +3535,13 @@ public Builder removePivotSelections(int index) {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder - getPivotSelectionsBuilder(int index) { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder getPivotSelectionsBuilder( + int index) { return getPivotSelectionsFieldBuilder().getBuilder(index); } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3976,21 +3549,16 @@ public Builder removePivotSelections(int index) {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder - getPivotSelectionsOrBuilder(int index) { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder getPivotSelectionsOrBuilder( + int index) { if (pivotSelectionsBuilder_ == null) { - return pivotSelections_.get(index); - } else { + return pivotSelections_.get(index); } else { return pivotSelectionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3998,14 +3566,10 @@ public Builder removePivotSelections(int index) {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - public java.util.List< - ? extends - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> - getPivotSelectionsOrBuilderList() { + public java.util.List + getPivotSelectionsOrBuilderList() { if (pivotSelectionsBuilder_ != null) { return pivotSelectionsBuilder_.getMessageOrBuilderList(); } else { @@ -4013,8 +3577,6 @@ public Builder removePivotSelections(int index) { } } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -4022,20 +3584,13 @@ public Builder removePivotSelections(int index) {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder - addPivotSelectionsBuilder() { - return getPivotSelectionsFieldBuilder() - .addBuilder( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection - .getDefaultInstance()); + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder addPivotSelectionsBuilder() { + return getPivotSelectionsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.getDefaultInstance()); } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -4043,21 +3598,14 @@ public Builder removePivotSelections(int index) {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder - addPivotSelectionsBuilder(int index) { - return getPivotSelectionsFieldBuilder() - .addBuilder( - index, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection - .getDefaultInstance()); + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder addPivotSelectionsBuilder( + int index) { + return getPivotSelectionsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.getDefaultInstance()); } /** - * - * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -4065,27 +3613,18 @@ public Builder removePivotSelections(int index) {
        * pair.
        * 
* - * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; */ - public java.util.List< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder> - getPivotSelectionsBuilderList() { + public java.util.List + getPivotSelectionsBuilderList() { return getPivotSelectionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> getPivotSelectionsFieldBuilder() { if (pivotSelectionsBuilder_ == null) { - pivotSelectionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder>( + pivotSelectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder>( pivotSelections_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4094,7 +3633,6 @@ public Builder removePivotSelections(int index) { } return pivotSelectionsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4107,12 +3645,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.OrderBy.PivotOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.OrderBy.PivotOrderBy) private static final com.google.analytics.data.v1beta.OrderBy.PivotOrderBy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy(); } @@ -4121,16 +3659,16 @@ public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotOrderBy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PivotOrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PivotOrderBy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4145,21 +3683,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int oneOrderByCase_ = 0; private java.lang.Object oneOrderBy_; - public enum OneOrderByCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { METRIC(1), DIMENSION(2), PIVOT(3), ONEORDERBY_NOT_SET(0); private final int value; - private OneOrderByCase(int value) { this.value = value; } @@ -4175,38 +3711,31 @@ public static OneOrderByCase valueOf(int value) { public static OneOrderByCase forNumber(int value) { switch (value) { - case 1: - return METRIC; - case 2: - return DIMENSION; - case 3: - return PIVOT; - case 0: - return ONEORDERBY_NOT_SET; - default: - return null; + case 1: return METRIC; + case 2: return DIMENSION; + case 3: return PIVOT; + case 0: return ONEORDERBY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneOrderByCase getOneOrderByCase() { - return OneOrderByCase.forNumber(oneOrderByCase_); + public OneOrderByCase + getOneOrderByCase() { + return OneOrderByCase.forNumber( + oneOrderByCase_); } public static final int METRIC_FIELD_NUMBER = 1; /** - * - * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; - * * @return Whether the metric field is set. */ @java.lang.Override @@ -4214,26 +3743,21 @@ public boolean hasMetric() { return oneOrderByCase_ == 1; } /** - * - * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; - * * @return The metric. */ @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getMetric() { if (oneOrderByCase_ == 1) { - return (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance(); } /** - * - * *
    * Sorts results by a metric's values.
    * 
@@ -4243,21 +3767,18 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getMetric() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder getMetricOrBuilder() { if (oneOrderByCase_ == 1) { - return (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance(); } public static final int DIMENSION_FIELD_NUMBER = 2; /** - * - * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; - * * @return Whether the dimension field is set. */ @java.lang.Override @@ -4265,26 +3786,21 @@ public boolean hasDimension() { return oneOrderByCase_ == 2; } /** - * - * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; - * * @return The dimension. */ @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDimension() { if (oneOrderByCase_ == 2) { - return (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance(); } /** - * - * *
    * Sorts results by a dimension's values.
    * 
@@ -4292,24 +3808,20 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDimension() * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder - getDimensionOrBuilder() { + public com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder() { if (oneOrderByCase_ == 2) { - return (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance(); } public static final int PIVOT_FIELD_NUMBER = 3; /** - * - * *
    * Sorts results by a metric's values within a pivot column group.
    * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; - * * @return Whether the pivot field is set. */ @java.lang.Override @@ -4317,26 +3829,21 @@ public boolean hasPivot() { return oneOrderByCase_ == 3; } /** - * - * *
    * Sorts results by a metric's values within a pivot column group.
    * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; - * * @return The pivot. */ @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getPivot() { if (oneOrderByCase_ == 3) { - return (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance(); } /** - * - * *
    * Sorts results by a metric's values within a pivot column group.
    * 
@@ -4346,7 +3853,7 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getPivot() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder getPivotOrBuilder() { if (oneOrderByCase_ == 3) { - return (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance(); } @@ -4354,14 +3861,11 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder getPivotOr public static final int DESC_FIELD_NUMBER = 4; private boolean desc_; /** - * - * *
    * If true, sorts by descending order.
    * 
* * bool desc = 4; - * * @return The desc. */ @java.lang.Override @@ -4370,7 +3874,6 @@ public boolean getDesc() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4382,13 +3885,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 (oneOrderByCase_ == 1) { output.writeMessage(1, (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 2) { - output.writeMessage( - 2, (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); + output.writeMessage(2, (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 3) { output.writeMessage(3, (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_); @@ -4406,22 +3909,20 @@ public int getSerializedSize() { size = 0; if (oneOrderByCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_); } if (desc_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, desc_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, desc_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4431,24 +3932,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.analytics.data.v1beta.OrderBy)) { return super.equals(obj); } com.google.analytics.data.v1beta.OrderBy other = (com.google.analytics.data.v1beta.OrderBy) obj; - if (getDesc() != other.getDesc()) return false; + if (getDesc() + != other.getDesc()) return false; if (!getOneOrderByCase().equals(other.getOneOrderByCase())) return false; switch (oneOrderByCase_) { case 1: - if (!getMetric().equals(other.getMetric())) return false; + if (!getMetric() + .equals(other.getMetric())) return false; break; case 2: - if (!getDimension().equals(other.getDimension())) return false; + if (!getDimension() + .equals(other.getDimension())) return false; break; case 3: - if (!getPivot().equals(other.getPivot())) return false; + if (!getPivot() + .equals(other.getPivot())) return false; break; case 0: default: @@ -4465,7 +3970,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DESC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesc()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDesc()); switch (oneOrderByCase_) { case 1: hash = (37 * hash) + METRIC_FIELD_NUMBER; @@ -4487,127 +3993,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.OrderBy parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.OrderBy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.OrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy 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.analytics.data.v1beta.OrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.OrderBy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.OrderBy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.OrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 sort options.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.OrderBy) com.google.analytics.data.v1beta.OrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.class, - com.google.analytics.data.v1beta.OrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.class, com.google.analytics.data.v1beta.OrderBy.Builder.class); } // Construct using com.google.analytics.data.v1beta.OrderBy.newBuilder() @@ -4615,15 +4112,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(); @@ -4635,9 +4133,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_OrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_descriptor; } @java.lang.Override @@ -4656,8 +4154,7 @@ public com.google.analytics.data.v1beta.OrderBy build() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy buildPartial() { - com.google.analytics.data.v1beta.OrderBy result = - new com.google.analytics.data.v1beta.OrderBy(this); + com.google.analytics.data.v1beta.OrderBy result = new com.google.analytics.data.v1beta.OrderBy(this); if (oneOrderByCase_ == 1) { if (metricBuilder_ == null) { result.oneOrderBy_ = oneOrderBy_; @@ -4689,39 +4186,38 @@ public com.google.analytics.data.v1beta.OrderBy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.OrderBy) { - return mergeFrom((com.google.analytics.data.v1beta.OrderBy) other); + return mergeFrom((com.google.analytics.data.v1beta.OrderBy)other); } else { super.mergeFrom(other); return this; @@ -4734,25 +4230,21 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy other) { setDesc(other.getDesc()); } switch (other.getOneOrderByCase()) { - case METRIC: - { - mergeMetric(other.getMetric()); - break; - } - case DIMENSION: - { - mergeDimension(other.getDimension()); - break; - } - case PIVOT: - { - mergePivot(other.getPivot()); - break; - } - case ONEORDERBY_NOT_SET: - { - break; - } + case METRIC: { + mergeMetric(other.getMetric()); + break; + } + case DIMENSION: { + mergeDimension(other.getDimension()); + break; + } + case PIVOT: { + mergePivot(other.getPivot()); + break; + } + case ONEORDERBY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4782,12 +4274,12 @@ public Builder mergeFrom( } return this; } - private int oneOrderByCase_ = 0; private java.lang.Object oneOrderBy_; - - public OneOrderByCase getOneOrderByCase() { - return OneOrderByCase.forNumber(oneOrderByCase_); + public OneOrderByCase + getOneOrderByCase() { + return OneOrderByCase.forNumber( + oneOrderByCase_); } public Builder clearOneOrderBy() { @@ -4797,20 +4289,15 @@ public Builder clearOneOrderBy() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, - com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder> - metricBuilder_; + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder> metricBuilder_; /** - * - * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; - * * @return Whether the metric field is set. */ @java.lang.Override @@ -4818,14 +4305,11 @@ public boolean hasMetric() { return oneOrderByCase_ == 1; } /** - * - * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; - * * @return The metric. */ @java.lang.Override @@ -4843,8 +4327,6 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getMetric() { } } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -4865,8 +4347,6 @@ public Builder setMetric(com.google.analytics.data.v1beta.OrderBy.MetricOrderBy return this; } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -4885,8 +4365,6 @@ public Builder setMetric( return this; } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -4895,14 +4373,10 @@ public Builder setMetric( */ public Builder mergeMetric(com.google.analytics.data.v1beta.OrderBy.MetricOrderBy value) { if (metricBuilder_ == null) { - if (oneOrderByCase_ == 1 - && oneOrderBy_ - != com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance()) { - oneOrderBy_ = - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.newBuilder( - (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_) - .mergeFrom(value) - .buildPartial(); + if (oneOrderByCase_ == 1 && + oneOrderBy_ != com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance()) { + oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.newBuilder((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_) + .mergeFrom(value).buildPartial(); } else { oneOrderBy_ = value; } @@ -4917,8 +4391,6 @@ public Builder mergeMetric(com.google.analytics.data.v1beta.OrderBy.MetricOrderB return this; } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -4942,8 +4414,6 @@ public Builder clearMetric() { return this; } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -4954,8 +4424,6 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder getMetricB return getMetricFieldBuilder().getBuilder(); } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -4974,8 +4442,6 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder getMetric } } /** - * - * *
      * Sorts results by a metric's values.
      * 
@@ -4983,44 +4449,32 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder getMetric * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, - com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder> + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder> getMetricFieldBuilder() { if (metricBuilder_ == null) { if (!(oneOrderByCase_ == 1)) { oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance(); } - metricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, - com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder>( + metricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder>( (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_, getParentForChildren(), isClean()); oneOrderBy_ = null; } oneOrderByCase_ = 1; - onChanged(); - ; + onChanged();; return metricBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, - com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder> - dimensionBuilder_; + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder> dimensionBuilder_; /** - * - * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; - * * @return Whether the dimension field is set. */ @java.lang.Override @@ -5028,14 +4482,11 @@ public boolean hasDimension() { return oneOrderByCase_ == 2; } /** - * - * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; - * * @return The dimension. */ @java.lang.Override @@ -5053,8 +4504,6 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDimension() } } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -5075,8 +4524,6 @@ public Builder setDimension(com.google.analytics.data.v1beta.OrderBy.DimensionOr return this; } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -5095,8 +4542,6 @@ public Builder setDimension( return this; } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -5105,14 +4550,10 @@ public Builder setDimension( */ public Builder mergeDimension(com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy value) { if (dimensionBuilder_ == null) { - if (oneOrderByCase_ == 2 - && oneOrderBy_ - != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance()) { - oneOrderBy_ = - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.newBuilder( - (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_) - .mergeFrom(value) - .buildPartial(); + if (oneOrderByCase_ == 2 && + oneOrderBy_ != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance()) { + oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.newBuilder((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_) + .mergeFrom(value).buildPartial(); } else { oneOrderBy_ = value; } @@ -5127,8 +4568,6 @@ public Builder mergeDimension(com.google.analytics.data.v1beta.OrderBy.Dimension return this; } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -5152,8 +4591,6 @@ public Builder clearDimension() { return this; } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -5164,8 +4601,6 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder getDime return getDimensionFieldBuilder().getBuilder(); } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -5173,8 +4608,7 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder getDime * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder - getDimensionOrBuilder() { + public com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder() { if ((oneOrderByCase_ == 2) && (dimensionBuilder_ != null)) { return dimensionBuilder_.getMessageOrBuilder(); } else { @@ -5185,8 +4619,6 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder getDime } } /** - * - * *
      * Sorts results by a dimension's values.
      * 
@@ -5194,45 +4626,32 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder getDime * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, - com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder> + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder> getDimensionFieldBuilder() { if (dimensionBuilder_ == null) { if (!(oneOrderByCase_ == 2)) { - oneOrderBy_ = - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance(); - } - dimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, - com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder>( + oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance(); + } + dimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder>( (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_, getParentForChildren(), isClean()); oneOrderBy_ = null; } oneOrderByCase_ = 2; - onChanged(); - ; + onChanged();; return dimensionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, - com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder> - pivotBuilder_; + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder> pivotBuilder_; /** - * - * *
      * Sorts results by a metric's values within a pivot column group.
      * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; - * * @return Whether the pivot field is set. */ @java.lang.Override @@ -5240,14 +4659,11 @@ public boolean hasPivot() { return oneOrderByCase_ == 3; } /** - * - * *
      * Sorts results by a metric's values within a pivot column group.
      * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; - * * @return The pivot. */ @java.lang.Override @@ -5265,8 +4681,6 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getPivot() { } } /** - * - * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -5287,8 +4701,6 @@ public Builder setPivot(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy va return this; } /** - * - * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -5307,8 +4719,6 @@ public Builder setPivot( return this; } /** - * - * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -5317,14 +4727,10 @@ public Builder setPivot( */ public Builder mergePivot(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy value) { if (pivotBuilder_ == null) { - if (oneOrderByCase_ == 3 - && oneOrderBy_ - != com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance()) { - oneOrderBy_ = - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.newBuilder( - (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_) - .mergeFrom(value) - .buildPartial(); + if (oneOrderByCase_ == 3 && + oneOrderBy_ != com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance()) { + oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.newBuilder((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_) + .mergeFrom(value).buildPartial(); } else { oneOrderBy_ = value; } @@ -5339,8 +4745,6 @@ public Builder mergePivot(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy return this; } /** - * - * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -5364,8 +4768,6 @@ public Builder clearPivot() { return this; } /** - * - * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -5376,8 +4778,6 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder getPivotBui return getPivotFieldBuilder().getBuilder(); } /** - * - * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -5396,8 +4796,6 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder getPivotOr } } /** - * - * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -5405,40 +4803,31 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder getPivotOr * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, - com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder> + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder> getPivotFieldBuilder() { if (pivotBuilder_ == null) { if (!(oneOrderByCase_ == 3)) { oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance(); } - pivotBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, - com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder>( + pivotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder>( (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_, getParentForChildren(), isClean()); oneOrderBy_ = null; } oneOrderByCase_ = 3; - onChanged(); - ; + onChanged();; return pivotBuilder_; } - private boolean desc_; + private boolean desc_ ; /** - * - * *
      * If true, sorts by descending order.
      * 
* * bool desc = 4; - * * @return The desc. */ @java.lang.Override @@ -5446,43 +4835,37 @@ public boolean getDesc() { return desc_; } /** - * - * *
      * If true, sorts by descending order.
      * 
* * bool desc = 4; - * * @param value The desc to set. * @return This builder for chaining. */ public Builder setDesc(boolean value) { - + desc_ = value; onChanged(); return this; } /** - * - * *
      * If true, sorts by descending order.
      * 
* * bool desc = 4; - * * @return This builder for chaining. */ public Builder clearDesc() { - + desc_ = 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); } @@ -5492,12 +4875,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.OrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.OrderBy) private static final com.google.analytics.data.v1beta.OrderBy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.OrderBy(); } @@ -5506,16 +4889,16 @@ public static com.google.analytics.data.v1beta.OrderBy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OrderBy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OrderBy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5530,4 +4913,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.OrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java similarity index 78% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java index 23050292..0c5b0594 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface OrderByOrBuilder - extends +public interface OrderByOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.OrderBy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; - * * @return Whether the metric field is set. */ boolean hasMetric(); /** - * - * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; - * * @return The metric. */ com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getMetric(); /** - * - * *
    * Sorts results by a metric's values.
    * 
@@ -59,32 +35,24 @@ public interface OrderByOrBuilder com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder getMetricOrBuilder(); /** - * - * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; - * * @return Whether the dimension field is set. */ boolean hasDimension(); /** - * - * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; - * * @return The dimension. */ com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDimension(); /** - * - * *
    * Sorts results by a dimension's values.
    * 
@@ -94,32 +62,24 @@ public interface OrderByOrBuilder com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder(); /** - * - * *
    * Sorts results by a metric's values within a pivot column group.
    * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; - * * @return Whether the pivot field is set. */ boolean hasPivot(); /** - * - * *
    * Sorts results by a metric's values within a pivot column group.
    * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; - * * @return The pivot. */ com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getPivot(); /** - * - * *
    * Sorts results by a metric's values within a pivot column group.
    * 
@@ -129,14 +89,11 @@ public interface OrderByOrBuilder com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder getPivotOrBuilder(); /** - * - * *
    * If true, sorts by descending order.
    * 
* * bool desc = 4; - * * @return The desc. */ boolean getDesc(); diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.java similarity index 79% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.java index d3a2e672..edc03e80 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Describes the visible dimension columns and rows in the report response.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.Pivot} */ -public final class Pivot extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Pivot extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Pivot) PivotOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Pivot.newBuilder() to construct. private Pivot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Pivot() { fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; orderBys_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private Pivot() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Pivot(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Pivot( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,75 +56,71 @@ private Pivot( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fieldNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - fieldNames_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fieldNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - orderBys_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - orderBys_.add( - input.readMessage( - com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); - break; - } - case 24: - { - offset_ = input.readInt64(); - break; + fieldNames_.add(s); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + orderBys_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 32: - { - limit_ = input.readInt64(); - break; + orderBys_.add( + input.readMessage(com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); + break; + } + case 24: { + + offset_ = input.readInt64(); + break; + } + case 32: { + + limit_ = input.readInt64(); + break; + } + case 40: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + metricAggregations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 40: - { + metricAggregations_.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_ & 0x00000004) != 0)) { metricAggregations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } metricAggregations_.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_ & 0x00000004) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - metricAggregations_.add(rawValue); - } - input.popLimit(oldLimit); - break; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(oldLimit); + 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)) { fieldNames_ = fieldNames_.getUnmodifiableView(); @@ -156,27 +135,22 @@ private Pivot( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Pivot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Pivot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Pivot.class, - com.google.analytics.data.v1beta.Pivot.Builder.class); + com.google.analytics.data.v1beta.Pivot.class, com.google.analytics.data.v1beta.Pivot.Builder.class); } public static final int FIELD_NAMES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList fieldNames_; /** - * - * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -185,15 +159,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string field_names = 1; - * * @return A list containing the fieldNames. */ - public com.google.protobuf.ProtocolStringList getFieldNamesList() { + public com.google.protobuf.ProtocolStringList + getFieldNamesList() { return fieldNames_; } /** - * - * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -202,15 +174,12 @@ public com.google.protobuf.ProtocolStringList getFieldNamesList() {
    * 
* * repeated string field_names = 1; - * * @return The count of fieldNames. */ public int getFieldNamesCount() { return fieldNames_.size(); } /** - * - * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -219,7 +188,6 @@ public int getFieldNamesCount() {
    * 
* * repeated string field_names = 1; - * * @param index The index of the element to return. * @return The fieldNames at the given index. */ @@ -227,8 +195,6 @@ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** - * - * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -237,19 +203,17 @@ public java.lang.String getFieldNames(int index) {
    * 
* * repeated string field_names = 1; - * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - public com.google.protobuf.ByteString getFieldNamesBytes(int index) { + public com.google.protobuf.ByteString + getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } public static final int ORDER_BYS_FIELD_NUMBER = 2; private java.util.List orderBys_; /** - * - * *
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -265,8 +229,6 @@ public java.util.List getOrderBysList(
     return orderBys_;
   }
   /**
-   *
-   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -278,13 +240,11 @@ public java.util.List getOrderBysList(
    * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOrderBysOrBuilderList() {
     return orderBys_;
   }
   /**
-   *
-   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -300,8 +260,6 @@ public int getOrderBysCount() {
     return orderBys_.size();
   }
   /**
-   *
-   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -317,8 +275,6 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) {
     return orderBys_.get(index);
   }
   /**
-   *
-   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -330,21 +286,19 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) {
    * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) {
+  public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
+      int index) {
     return orderBys_.get(index);
   }
 
   public static final int OFFSET_FIELD_NUMBER = 3;
   private long offset_;
   /**
-   *
-   *
    * 
    * The row count of the start row. The first row is counted as row 0.
    * 
* * int64 offset = 3; - * * @return The offset. */ @java.lang.Override @@ -355,8 +309,6 @@ public long getOffset() { public static final int LIMIT_FIELD_NUMBER = 4; private long limit_; /** - * - * *
    * The number of unique combinations of dimension values to return in this
    * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for
@@ -367,7 +319,6 @@ public long getOffset() {
    * 
* * int64 limit = 4; - * * @return The limit. */ @java.lang.Override @@ -378,49 +329,36 @@ public long getLimit() { public static final int METRIC_AGGREGATIONS_FIELD_NUMBER = 5; private java.util.List metricAggregations_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> - metricAggregations_converter_ = + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> metricAggregations_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>() { - public com.google.analytics.data.v1beta.MetricAggregation convert( - java.lang.Integer from) { + public com.google.analytics.data.v1beta.MetricAggregation convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricAggregation result = - com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); - return result == null - ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.MetricAggregation result = com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); + return result == null ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED : result; } }; /** - * - * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * * @return A list containing the metricAggregations. */ @java.lang.Override - public java.util.List - getMetricAggregationsList() { + public java.util.List getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); } /** - * - * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * * @return The count of metricAggregations. */ @java.lang.Override @@ -428,15 +366,12 @@ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** - * - * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -445,31 +380,26 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** - * - * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * * @return A list containing the enum numeric values on the wire for metricAggregations. */ @java.lang.Override - public java.util.List getMetricAggregationsValueList() { + public java.util.List + getMetricAggregationsValueList() { return metricAggregations_; } /** - * - * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -477,11 +407,9 @@ public java.util.List getMetricAggregationsValueList() { public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } - private int metricAggregationsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -493,7 +421,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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(); for (int i = 0; i < fieldNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldNames_.getRaw(i)); @@ -532,26 +461,28 @@ public int getSerializedSize() { size += 1 * getFieldNamesList().size(); } for (int i = 0; i < orderBys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, orderBys_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, orderBys_.get(i)); } if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, offset_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, offset_); } if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, limit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, limit_); } { int dataSize = 0; for (int i = 0; i < metricAggregations_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(metricAggregations_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(metricAggregations_.get(i)); } size += dataSize; - if (!getMetricAggregationsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - metricAggregationsMemoizedSerializedSize = dataSize; + if (!getMetricAggregationsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }metricAggregationsMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -561,17 +492,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.analytics.data.v1beta.Pivot)) { return super.equals(obj); } com.google.analytics.data.v1beta.Pivot other = (com.google.analytics.data.v1beta.Pivot) obj; - if (!getFieldNamesList().equals(other.getFieldNamesList())) return false; - if (!getOrderBysList().equals(other.getOrderBysList())) return false; - if (getOffset() != other.getOffset()) return false; - if (getLimit() != other.getLimit()) return false; + if (!getFieldNamesList() + .equals(other.getFieldNamesList())) return false; + if (!getOrderBysList() + .equals(other.getOrderBysList())) return false; + if (getOffset() + != other.getOffset()) return false; + if (getLimit() + != other.getLimit()) return false; if (!metricAggregations_.equals(other.metricAggregations_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -593,9 +528,11 @@ public int hashCode() { hash = (53 * hash) + getOrderBysList().hashCode(); } hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffset()); hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLimit()); if (getMetricAggregationsCount() > 0) { hash = (37 * hash) + METRIC_AGGREGATIONS_FIELD_NUMBER; hash = (53 * hash) + metricAggregations_.hashCode(); @@ -605,127 +542,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.Pivot parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.Pivot parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Pivot parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Pivot parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Pivot parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Pivot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Pivot parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Pivot 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.analytics.data.v1beta.Pivot parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Pivot 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.analytics.data.v1beta.Pivot parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Pivot parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Pivot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.Pivot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 the visible dimension columns and rows in the report response.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Pivot} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Pivot) com.google.analytics.data.v1beta.PivotOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Pivot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Pivot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Pivot.class, - com.google.analytics.data.v1beta.Pivot.Builder.class); + com.google.analytics.data.v1beta.Pivot.class, com.google.analytics.data.v1beta.Pivot.Builder.class); } // Construct using com.google.analytics.data.v1beta.Pivot.newBuilder() @@ -733,17 +661,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) { getOrderBysFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -765,9 +693,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_Pivot_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Pivot_descriptor; } @java.lang.Override @@ -786,8 +714,7 @@ public com.google.analytics.data.v1beta.Pivot build() { @java.lang.Override public com.google.analytics.data.v1beta.Pivot buildPartial() { - com.google.analytics.data.v1beta.Pivot result = - new com.google.analytics.data.v1beta.Pivot(this); + com.google.analytics.data.v1beta.Pivot result = new com.google.analytics.data.v1beta.Pivot(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { fieldNames_ = fieldNames_.getUnmodifiableView(); @@ -818,39 +745,38 @@ public com.google.analytics.data.v1beta.Pivot buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Pivot) { - return mergeFrom((com.google.analytics.data.v1beta.Pivot) other); + return mergeFrom((com.google.analytics.data.v1beta.Pivot)other); } else { super.mergeFrom(other); return this; @@ -887,10 +813,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Pivot other) { orderBysBuilder_ = null; orderBys_ = other.orderBys_; bitField0_ = (bitField0_ & ~0x00000002); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOrderBysFieldBuilder() - : null; + orderBysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOrderBysFieldBuilder() : null; } else { orderBysBuilder_.addAllMessages(other.orderBys_); } @@ -940,21 +865,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList fieldNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFieldNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fieldNames_ = new com.google.protobuf.LazyStringArrayList(fieldNames_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -963,15 +883,13 @@ private void ensureFieldNamesIsMutable() {
      * 
* * repeated string field_names = 1; - * * @return A list containing the fieldNames. */ - public com.google.protobuf.ProtocolStringList getFieldNamesList() { + public com.google.protobuf.ProtocolStringList + getFieldNamesList() { return fieldNames_.getUnmodifiableView(); } /** - * - * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -980,15 +898,12 @@ public com.google.protobuf.ProtocolStringList getFieldNamesList() {
      * 
* * repeated string field_names = 1; - * * @return The count of fieldNames. */ public int getFieldNamesCount() { return fieldNames_.size(); } /** - * - * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -997,7 +912,6 @@ public int getFieldNamesCount() {
      * 
* * repeated string field_names = 1; - * * @param index The index of the element to return. * @return The fieldNames at the given index. */ @@ -1005,8 +919,6 @@ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** - * - * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -1015,16 +927,14 @@ public java.lang.String getFieldNames(int index) {
      * 
* * repeated string field_names = 1; - * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - public com.google.protobuf.ByteString getFieldNamesBytes(int index) { + public com.google.protobuf.ByteString + getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } /** - * - * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -1033,23 +943,21 @@ public com.google.protobuf.ByteString getFieldNamesBytes(int index) {
      * 
* * repeated string field_names = 1; - * * @param index The index to set the value at. * @param value The fieldNames to set. * @return This builder for chaining. */ - public Builder setFieldNames(int index, java.lang.String value) { + public Builder setFieldNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFieldNamesIsMutable(); + throw new NullPointerException(); + } + ensureFieldNamesIsMutable(); fieldNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -1058,22 +966,20 @@ public Builder setFieldNames(int index, java.lang.String value) {
      * 
* * repeated string field_names = 1; - * * @param value The fieldNames to add. * @return This builder for chaining. */ - public Builder addFieldNames(java.lang.String value) { + public Builder addFieldNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFieldNamesIsMutable(); + throw new NullPointerException(); + } + ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); return this; } /** - * - * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -1082,19 +988,18 @@ public Builder addFieldNames(java.lang.String value) {
      * 
* * repeated string field_names = 1; - * * @param values The fieldNames to add. * @return This builder for chaining. */ - public Builder addAllFieldNames(java.lang.Iterable values) { + public Builder addAllFieldNames( + java.lang.Iterable values) { ensureFieldNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fieldNames_); onChanged(); return this; } /** - * - * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -1103,7 +1008,6 @@ public Builder addAllFieldNames(java.lang.Iterable values) {
      * 
* * repeated string field_names = 1; - * * @return This builder for chaining. */ public Builder clearFieldNames() { @@ -1113,8 +1017,6 @@ public Builder clearFieldNames() { return this; } /** - * - * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -1123,15 +1025,15 @@ public Builder clearFieldNames() {
      * 
* * repeated string field_names = 1; - * * @param value The bytes of the fieldNames to add. * @return This builder for chaining. */ - public Builder addFieldNamesBytes(com.google.protobuf.ByteString value) { + public Builder addFieldNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); @@ -1139,24 +1041,18 @@ public Builder addFieldNamesBytes(com.google.protobuf.ByteString value) { } private java.util.List orderBys_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOrderBysIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { orderBys_ = new java.util.ArrayList(orderBys_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, - com.google.analytics.data.v1beta.OrderBy.Builder, - com.google.analytics.data.v1beta.OrderByOrBuilder> - orderBysBuilder_; + com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> orderBysBuilder_; /** - * - * *
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1175,8 +1071,6 @@ public java.util.List getOrderBysList(
       }
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1195,8 +1089,6 @@ public int getOrderBysCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1215,8 +1107,6 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1227,7 +1117,8 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) {
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public Builder setOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) {
+    public Builder setOrderBys(
+        int index, com.google.analytics.data.v1beta.OrderBy value) {
       if (orderBysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1241,8 +1132,6 @@ public Builder setOrderBys(int index, com.google.analytics.data.v1beta.OrderBy v
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1265,8 +1154,6 @@ public Builder setOrderBys(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1291,8 +1178,6 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1303,7 +1188,8 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy value) {
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public Builder addOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) {
+    public Builder addOrderBys(
+        int index, com.google.analytics.data.v1beta.OrderBy value) {
       if (orderBysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1317,8 +1203,6 @@ public Builder addOrderBys(int index, com.google.analytics.data.v1beta.OrderBy v
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1329,7 +1213,8 @@ public Builder addOrderBys(int index, com.google.analytics.data.v1beta.OrderBy v
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) {
+    public Builder addOrderBys(
+        com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) {
       if (orderBysBuilder_ == null) {
         ensureOrderBysIsMutable();
         orderBys_.add(builderForValue.build());
@@ -1340,8 +1225,6 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1364,8 +1247,6 @@ public Builder addOrderBys(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1380,7 +1261,8 @@ public Builder addAllOrderBys(
         java.lang.Iterable values) {
       if (orderBysBuilder_ == null) {
         ensureOrderBysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, orderBys_);
         onChanged();
       } else {
         orderBysBuilder_.addAllMessages(values);
@@ -1388,8 +1270,6 @@ public Builder addAllOrderBys(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1411,8 +1291,6 @@ public Builder clearOrderBys() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1434,8 +1312,6 @@ public Builder removeOrderBys(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1446,12 +1322,11 @@ public Builder removeOrderBys(int index) {
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder(int index) {
+    public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder(
+        int index) {
       return getOrderBysFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1462,16 +1337,14 @@ public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder(int i
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) {
+    public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
+        int index) {
       if (orderBysBuilder_ == null) {
-        return orderBys_.get(index);
-      } else {
+        return orderBys_.get(index);  } else {
         return orderBysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1482,8 +1355,8 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(in
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public java.util.List
-        getOrderBysOrBuilderList() {
+    public java.util.List 
+         getOrderBysOrBuilderList() {
       if (orderBysBuilder_ != null) {
         return orderBysBuilder_.getMessageOrBuilderList();
       } else {
@@ -1491,8 +1364,6 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(in
       }
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1504,12 +1375,10 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(in
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
     public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder() {
-      return getOrderBysFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.OrderBy.getDefaultInstance());
+      return getOrderBysFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.OrderBy.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1520,13 +1389,12 @@ public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder() {
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(int index) {
-      return getOrderBysFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance());
+    public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(
+        int index) {
+      return getOrderBysFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1537,38 +1405,32 @@ public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(int i
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public java.util.List
-        getOrderBysBuilderList() {
+    public java.util.List 
+         getOrderBysBuilderList() {
       return getOrderBysFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.OrderBy,
-            com.google.analytics.data.v1beta.OrderBy.Builder,
-            com.google.analytics.data.v1beta.OrderByOrBuilder>
+        com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> 
         getOrderBysFieldBuilder() {
       if (orderBysBuilder_ == null) {
-        orderBysBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.OrderBy,
-                com.google.analytics.data.v1beta.OrderBy.Builder,
-                com.google.analytics.data.v1beta.OrderByOrBuilder>(
-                orderBys_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        orderBysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder>(
+                orderBys_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         orderBys_ = null;
       }
       return orderBysBuilder_;
     }
 
-    private long offset_;
+    private long offset_ ;
     /**
-     *
-     *
      * 
      * The row count of the start row. The first row is counted as row 0.
      * 
* * int64 offset = 3; - * * @return The offset. */ @java.lang.Override @@ -1576,45 +1438,37 @@ public long getOffset() { return offset_; } /** - * - * *
      * The row count of the start row. The first row is counted as row 0.
      * 
* * int64 offset = 3; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); return this; } /** - * - * *
      * The row count of the start row. The first row is counted as row 0.
      * 
* * int64 offset = 3; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0L; onChanged(); return this; } - private long limit_; + private long limit_ ; /** - * - * *
      * The number of unique combinations of dimension values to return in this
      * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for
@@ -1625,7 +1479,6 @@ public Builder clearOffset() {
      * 
* * int64 limit = 4; - * * @return The limit. */ @java.lang.Override @@ -1633,8 +1486,6 @@ public long getLimit() { return limit_; } /** - * - * *
      * The number of unique combinations of dimension values to return in this
      * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for
@@ -1645,19 +1496,16 @@ public long getLimit() {
      * 
* * int64 limit = 4; - * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; onChanged(); return this; } /** - * - * *
      * The number of unique combinations of dimension values to return in this
      * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for
@@ -1668,19 +1516,17 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 4; - * * @return This builder for chaining. */ public Builder clearLimit() { - + limit_ = 0L; onChanged(); return this; } private java.util.List metricAggregations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricAggregationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { metricAggregations_ = new java.util.ArrayList(metricAggregations_); @@ -1688,51 +1534,37 @@ private void ensureMetricAggregationsIsMutable() { } } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @return A list containing the metricAggregations. */ - public java.util.List - getMetricAggregationsList() { + public java.util.List getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @return The count of metricAggregations. */ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -1740,16 +1572,12 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @param index The index to set the value at. * @param value The metricAggregations to set. * @return This builder for chaining. @@ -1765,16 +1593,12 @@ public Builder setMetricAggregations( return this; } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @param value The metricAggregations to add. * @return This builder for chaining. */ @@ -1788,16 +1612,12 @@ public Builder addMetricAggregations(com.google.analytics.data.v1beta.MetricAggr return this; } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @param values The metricAggregations to add. * @return This builder for chaining. */ @@ -1811,16 +1631,12 @@ public Builder addAllMetricAggregations( return this; } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @return This builder for chaining. */ public Builder clearMetricAggregations() { @@ -1830,32 +1646,25 @@ public Builder clearMetricAggregations() { return this; } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @return A list containing the enum numeric values on the wire for metricAggregations. */ - public java.util.List getMetricAggregationsValueList() { + public java.util.List + getMetricAggregationsValueList() { return java.util.Collections.unmodifiableList(metricAggregations_); } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -1863,37 +1672,30 @@ public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. * @return This builder for chaining. */ - public Builder setMetricAggregationsValue(int index, int value) { + public Builder setMetricAggregationsValue( + int index, int value) { ensureMetricAggregationsIsMutable(); metricAggregations_.set(index, value); onChanged(); return this; } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @param value The enum numeric value on the wire for metricAggregations to add. * @return This builder for chaining. */ @@ -1904,20 +1706,17 @@ public Builder addMetricAggregationsValue(int value) { return this; } /** - * - * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; * @param values The enum numeric values on the wire for metricAggregations to add. * @return This builder for chaining. */ - public Builder addAllMetricAggregationsValue(java.lang.Iterable values) { + public Builder addAllMetricAggregationsValue( + java.lang.Iterable values) { ensureMetricAggregationsIsMutable(); for (int value : values) { metricAggregations_.add(value); @@ -1925,9 +1724,9 @@ public Builder addAllMetricAggregationsValue(java.lang.Iterable PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Pivot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Pivot(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Pivot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Pivot(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1975,4 +1774,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Pivot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java similarity index 74% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java index c6c5b916..6308943e 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Summarizes dimension values from a row for this pivot.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.PivotDimensionHeader} */ -public final class PivotDimensionHeader extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PivotDimensionHeader extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.PivotDimensionHeader) PivotDimensionHeaderOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PivotDimensionHeader.newBuilder() to construct. private PivotDimensionHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PivotDimensionHeader() { dimensionValues_ = 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 PivotDimensionHeader(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PivotDimensionHeader( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,31 +54,29 @@ private PivotDimensionHeader( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensionValues_.add( - input.readMessage( - com.google.analytics.data.v1beta.DimensionValue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionValues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dimensionValues_.add( + input.readMessage(com.google.analytics.data.v1beta.DimensionValue.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)) { dimensionValues_ = java.util.Collections.unmodifiableList(dimensionValues_); @@ -104,27 +85,22 @@ private PivotDimensionHeader( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.PivotDimensionHeader.class, - com.google.analytics.data.v1beta.PivotDimensionHeader.Builder.class); + com.google.analytics.data.v1beta.PivotDimensionHeader.class, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder.class); } public static final int DIMENSION_VALUES_FIELD_NUMBER = 1; private java.util.List dimensionValues_; /** - * - * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -136,8 +112,6 @@ public java.util.List getDimens return dimensionValues_; } /** - * - * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -145,13 +119,11 @@ public java.util.List getDimens * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDimensionValuesOrBuilderList() { return dimensionValues_; } /** - * - * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -163,8 +135,6 @@ public int getDimensionValuesCount() { return dimensionValues_.size(); } /** - * - * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -176,8 +146,6 @@ public com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int in return dimensionValues_.get(index); } /** - * - * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -191,7 +159,6 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,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 { for (int i = 0; i < dimensionValues_.size(); i++) { output.writeMessage(1, dimensionValues_.get(i)); } @@ -217,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dimensionValues_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,15 +196,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.analytics.data.v1beta.PivotDimensionHeader)) { return super.equals(obj); } - com.google.analytics.data.v1beta.PivotDimensionHeader other = - (com.google.analytics.data.v1beta.PivotDimensionHeader) obj; + com.google.analytics.data.v1beta.PivotDimensionHeader other = (com.google.analytics.data.v1beta.PivotDimensionHeader) obj; - if (!getDimensionValuesList().equals(other.getDimensionValuesList())) return false; + if (!getDimensionValuesList() + .equals(other.getDimensionValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,127 +226,117 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.PivotDimensionHeader prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.PivotDimensionHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Summarizes dimension values from a row for this pivot.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.PivotDimensionHeader} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.PivotDimensionHeader) com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.PivotDimensionHeader.class, - com.google.analytics.data.v1beta.PivotDimensionHeader.Builder.class); + com.google.analytics.data.v1beta.PivotDimensionHeader.class, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder.class); } // Construct using com.google.analytics.data.v1beta.PivotDimensionHeader.newBuilder() @@ -385,17 +344,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) { getDimensionValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; } @java.lang.Override @@ -430,8 +389,7 @@ public com.google.analytics.data.v1beta.PivotDimensionHeader build() { @java.lang.Override public com.google.analytics.data.v1beta.PivotDimensionHeader buildPartial() { - com.google.analytics.data.v1beta.PivotDimensionHeader result = - new com.google.analytics.data.v1beta.PivotDimensionHeader(this); + com.google.analytics.data.v1beta.PivotDimensionHeader result = new com.google.analytics.data.v1beta.PivotDimensionHeader(this); int from_bitField0_ = bitField0_; if (dimensionValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -450,39 +408,38 @@ public com.google.analytics.data.v1beta.PivotDimensionHeader buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.PivotDimensionHeader) { - return mergeFrom((com.google.analytics.data.v1beta.PivotDimensionHeader) other); + return mergeFrom((com.google.analytics.data.v1beta.PivotDimensionHeader)other); } else { super.mergeFrom(other); return this; @@ -490,8 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.PivotDimensionHeader other) { - if (other == com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()) return this; if (dimensionValuesBuilder_ == null) { if (!other.dimensionValues_.isEmpty()) { if (dimensionValues_.isEmpty()) { @@ -510,10 +466,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.PivotDimensionHeader o dimensionValuesBuilder_ = null; dimensionValues_ = other.dimensionValues_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionValuesFieldBuilder() - : null; + dimensionValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionValuesFieldBuilder() : null; } else { dimensionValuesBuilder_.addAllMessages(other.dimensionValues_); } @@ -538,8 +493,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.PivotDimensionHeader) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.PivotDimensionHeader) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -548,38 +502,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List dimensionValues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDimensionValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = - new java.util.ArrayList( - dimensionValues_); + dimensionValues_ = new java.util.ArrayList(dimensionValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionValue, - com.google.analytics.data.v1beta.DimensionValue.Builder, - com.google.analytics.data.v1beta.DimensionValueOrBuilder> - dimensionValuesBuilder_; + com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder> dimensionValuesBuilder_; /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - public java.util.List - getDimensionValuesList() { + public java.util.List getDimensionValuesList() { if (dimensionValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensionValues_); } else { @@ -587,8 +531,6 @@ private void ensureDimensionValuesIsMutable() { } } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -603,8 +545,6 @@ public int getDimensionValuesCount() { } } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -619,8 +559,6 @@ public com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int in } } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -642,8 +580,6 @@ public Builder setDimensionValues( return this; } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -662,8 +598,6 @@ public Builder setDimensionValues( return this; } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -684,8 +618,6 @@ public Builder addDimensionValues(com.google.analytics.data.v1beta.DimensionValu return this; } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -707,8 +639,6 @@ public Builder addDimensionValues( return this; } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -727,8 +657,6 @@ public Builder addDimensionValues( return this; } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -747,8 +675,6 @@ public Builder addDimensionValues( return this; } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -759,7 +685,8 @@ public Builder addAllDimensionValues( java.lang.Iterable values) { if (dimensionValuesBuilder_ == null) { ensureDimensionValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dimensionValues_); onChanged(); } else { dimensionValuesBuilder_.addAllMessages(values); @@ -767,8 +694,6 @@ public Builder addAllDimensionValues( return this; } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -786,8 +711,6 @@ public Builder clearDimensionValues() { return this; } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -805,8 +728,6 @@ public Builder removeDimensionValues(int index) { return this; } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -818,8 +739,6 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder getDimensionValue return getDimensionValuesFieldBuilder().getBuilder(index); } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -829,22 +748,19 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder getDimensionValue public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder( int index) { if (dimensionValuesBuilder_ == null) { - return dimensionValues_.get(index); - } else { + return dimensionValues_.get(index); } else { return dimensionValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - public java.util.List - getDimensionValuesOrBuilderList() { + public java.util.List + getDimensionValuesOrBuilderList() { if (dimensionValuesBuilder_ != null) { return dimensionValuesBuilder_.getMessageOrBuilderList(); } else { @@ -852,8 +768,6 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu } } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -861,12 +775,10 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValuesBuilder() { - return getDimensionValuesFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()); + return getDimensionValuesFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()); } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -875,34 +787,26 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValue */ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValuesBuilder( int index) { - return getDimensionValuesFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()); + return getDimensionValuesFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()); } /** - * - * *
      * Values of multiple dimensions in a pivot.
      * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - public java.util.List - getDimensionValuesBuilderList() { + public java.util.List + getDimensionValuesBuilderList() { return getDimensionValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionValue, - com.google.analytics.data.v1beta.DimensionValue.Builder, - com.google.analytics.data.v1beta.DimensionValueOrBuilder> + com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder> getDimensionValuesFieldBuilder() { if (dimensionValuesBuilder_ == null) { - dimensionValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionValue, - com.google.analytics.data.v1beta.DimensionValue.Builder, - com.google.analytics.data.v1beta.DimensionValueOrBuilder>( + dimensionValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder>( dimensionValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -911,9 +815,9 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValue } return dimensionValuesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -923,12 +827,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.PivotDimensionHeader) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.PivotDimensionHeader) private static final com.google.analytics.data.v1beta.PivotDimensionHeader DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.PivotDimensionHeader(); } @@ -937,16 +841,16 @@ public static com.google.analytics.data.v1beta.PivotDimensionHeader getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotDimensionHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotDimensionHeader(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PivotDimensionHeader parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PivotDimensionHeader(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -961,4 +865,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.PivotDimensionHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java similarity index 66% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java index 82e101b6..c400a060 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface PivotDimensionHeaderOrBuilder - extends +public interface PivotDimensionHeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.PivotDimensionHeader) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Values of multiple dimensions in a pivot.
    * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - java.util.List getDimensionValuesList(); + java.util.List + getDimensionValuesList(); /** - * - * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -44,8 +25,6 @@ public interface PivotDimensionHeaderOrBuilder */ com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int index); /** - * - * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -54,24 +33,21 @@ public interface PivotDimensionHeaderOrBuilder */ int getDimensionValuesCount(); /** - * - * *
    * Values of multiple dimensions in a pivot.
    * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - java.util.List + java.util.List getDimensionValuesOrBuilderList(); /** - * - * *
    * Values of multiple dimensions in a pivot.
    * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder(int index); + com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder( + int index); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java similarity index 68% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java index 6391c40b..2b69f8cf 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Dimensions' values in a single pivot.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.PivotHeader} */ -public final class PivotHeader extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PivotHeader extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.PivotHeader) PivotHeaderOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PivotHeader.newBuilder() to construct. private PivotHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PivotHeader() { pivotDimensionHeaders_ = 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 PivotHeader(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PivotHeader( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,38 +54,34 @@ private PivotHeader( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotDimensionHeaders_ = - new java.util.ArrayList< - com.google.analytics.data.v1beta.PivotDimensionHeader>(); - mutable_bitField0_ |= 0x00000001; - } - pivotDimensionHeaders_.add( - input.readMessage( - com.google.analytics.data.v1beta.PivotDimensionHeader.parser(), - extensionRegistry)); - break; - } - case 16: - { - rowCount_ = input.readInt32(); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pivotDimensionHeaders_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pivotDimensionHeaders_.add( + input.readMessage(com.google.analytics.data.v1beta.PivotDimensionHeader.parser(), extensionRegistry)); + break; + } + case 16: { + + rowCount_ = 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)) { pivotDimensionHeaders_ = java.util.Collections.unmodifiableList(pivotDimensionHeaders_); @@ -111,109 +90,87 @@ private PivotHeader( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.PivotHeader.class, - com.google.analytics.data.v1beta.PivotHeader.Builder.class); + com.google.analytics.data.v1beta.PivotHeader.class, com.google.analytics.data.v1beta.PivotHeader.Builder.class); } public static final int PIVOT_DIMENSION_HEADERS_FIELD_NUMBER = 1; - private java.util.List - pivotDimensionHeaders_; + private java.util.List pivotDimensionHeaders_; /** - * - * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ @java.lang.Override - public java.util.List - getPivotDimensionHeadersList() { + public java.util.List getPivotDimensionHeadersList() { return pivotDimensionHeaders_; } /** - * - * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPivotDimensionHeadersOrBuilderList() { return pivotDimensionHeaders_; } /** - * - * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ @java.lang.Override public int getPivotDimensionHeadersCount() { return pivotDimensionHeaders_.size(); } /** - * - * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ @java.lang.Override public com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHeaders(int index) { return pivotDimensionHeaders_.get(index); } /** - * - * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ @java.lang.Override - public com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder - getPivotDimensionHeadersOrBuilder(int index) { + public com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder getPivotDimensionHeadersOrBuilder( + int index) { return pivotDimensionHeaders_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 2; private int rowCount_; /** - * - * *
    * The cardinality of the pivot. The total number of rows for this pivot's
    * fields regardless of how the parameters `offset` and `limit` are specified
@@ -221,7 +178,6 @@ public com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHe
    * 
* * int32 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -230,7 +186,6 @@ public int getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +197,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < pivotDimensionHeaders_.size(); i++) { output.writeMessage(1, pivotDimensionHeaders_.get(i)); } @@ -259,12 +215,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < pivotDimensionHeaders_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, pivotDimensionHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, pivotDimensionHeaders_.get(i)); } if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, rowCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,16 +230,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.analytics.data.v1beta.PivotHeader)) { return super.equals(obj); } - com.google.analytics.data.v1beta.PivotHeader other = - (com.google.analytics.data.v1beta.PivotHeader) obj; + com.google.analytics.data.v1beta.PivotHeader other = (com.google.analytics.data.v1beta.PivotHeader) obj; - if (!getPivotDimensionHeadersList().equals(other.getPivotDimensionHeadersList())) return false; - if (getRowCount() != other.getRowCount()) return false; + if (!getPivotDimensionHeadersList() + .equals(other.getPivotDimensionHeadersList())) return false; + if (getRowCount() + != other.getRowCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,127 +263,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.PivotHeader parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.PivotHeader parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.PivotHeader parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.PivotHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.PivotHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.PivotHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.PivotHeader parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.PivotHeader 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.analytics.data.v1beta.PivotHeader parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.PivotHeader parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.PivotHeader parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.PivotHeader parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.PivotHeader parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.PivotHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.PivotHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Dimensions' values in a single pivot.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.PivotHeader} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.PivotHeader) com.google.analytics.data.v1beta.PivotHeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.PivotHeader.class, - com.google.analytics.data.v1beta.PivotHeader.Builder.class); + com.google.analytics.data.v1beta.PivotHeader.class, com.google.analytics.data.v1beta.PivotHeader.Builder.class); } // Construct using com.google.analytics.data.v1beta.PivotHeader.newBuilder() @@ -434,17 +382,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) { getPivotDimensionHeadersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -460,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; } @java.lang.Override @@ -481,8 +429,7 @@ public com.google.analytics.data.v1beta.PivotHeader build() { @java.lang.Override public com.google.analytics.data.v1beta.PivotHeader buildPartial() { - com.google.analytics.data.v1beta.PivotHeader result = - new com.google.analytics.data.v1beta.PivotHeader(this); + com.google.analytics.data.v1beta.PivotHeader result = new com.google.analytics.data.v1beta.PivotHeader(this); int from_bitField0_ = bitField0_; if (pivotDimensionHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -502,39 +449,38 @@ public com.google.analytics.data.v1beta.PivotHeader buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.PivotHeader) { - return mergeFrom((com.google.analytics.data.v1beta.PivotHeader) other); + return mergeFrom((com.google.analytics.data.v1beta.PivotHeader)other); } else { super.mergeFrom(other); return this; @@ -561,10 +507,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.PivotHeader other) { pivotDimensionHeadersBuilder_ = null; pivotDimensionHeaders_ = other.pivotDimensionHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - pivotDimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPivotDimensionHeadersFieldBuilder() - : null; + pivotDimensionHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPivotDimensionHeadersFieldBuilder() : null; } else { pivotDimensionHeadersBuilder_.addAllMessages(other.pivotDimensionHeaders_); } @@ -601,41 +546,29 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - pivotDimensionHeaders_ = java.util.Collections.emptyList(); - + private java.util.List pivotDimensionHeaders_ = + java.util.Collections.emptyList(); private void ensurePivotDimensionHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pivotDimensionHeaders_ = - new java.util.ArrayList( - pivotDimensionHeaders_); + pivotDimensionHeaders_ = new java.util.ArrayList(pivotDimensionHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.PivotDimensionHeader, - com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, - com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder> - pivotDimensionHeadersBuilder_; + com.google.analytics.data.v1beta.PivotDimensionHeader, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder> pivotDimensionHeadersBuilder_; /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - public java.util.List - getPivotDimensionHeadersList() { + public java.util.List getPivotDimensionHeadersList() { if (pivotDimensionHeadersBuilder_ == null) { return java.util.Collections.unmodifiableList(pivotDimensionHeaders_); } else { @@ -643,16 +576,12 @@ private void ensurePivotDimensionHeadersIsMutable() { } } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ public int getPivotDimensionHeadersCount() { if (pivotDimensionHeadersBuilder_ == null) { @@ -662,19 +591,14 @@ public int getPivotDimensionHeadersCount() { } } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - public com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHeaders( - int index) { + public com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHeaders(int index) { if (pivotDimensionHeadersBuilder_ == null) { return pivotDimensionHeaders_.get(index); } else { @@ -682,16 +606,12 @@ public com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHe } } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ public Builder setPivotDimensionHeaders( int index, com.google.analytics.data.v1beta.PivotDimensionHeader value) { @@ -708,16 +628,12 @@ public Builder setPivotDimensionHeaders( return this; } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ public Builder setPivotDimensionHeaders( int index, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder builderForValue) { @@ -731,19 +647,14 @@ public Builder setPivotDimensionHeaders( return this; } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - public Builder addPivotDimensionHeaders( - com.google.analytics.data.v1beta.PivotDimensionHeader value) { + public Builder addPivotDimensionHeaders(com.google.analytics.data.v1beta.PivotDimensionHeader value) { if (pivotDimensionHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,16 +668,12 @@ public Builder addPivotDimensionHeaders( return this; } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ public Builder addPivotDimensionHeaders( int index, com.google.analytics.data.v1beta.PivotDimensionHeader value) { @@ -783,16 +690,12 @@ public Builder addPivotDimensionHeaders( return this; } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ public Builder addPivotDimensionHeaders( com.google.analytics.data.v1beta.PivotDimensionHeader.Builder builderForValue) { @@ -806,16 +709,12 @@ public Builder addPivotDimensionHeaders( return this; } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ public Builder addPivotDimensionHeaders( int index, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder builderForValue) { @@ -829,23 +728,19 @@ public Builder addPivotDimensionHeaders( return this; } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ public Builder addAllPivotDimensionHeaders( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (pivotDimensionHeadersBuilder_ == null) { ensurePivotDimensionHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotDimensionHeaders_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pivotDimensionHeaders_); onChanged(); } else { pivotDimensionHeadersBuilder_.addAllMessages(values); @@ -853,16 +748,12 @@ public Builder addAllPivotDimensionHeaders( return this; } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ public Builder clearPivotDimensionHeaders() { if (pivotDimensionHeadersBuilder_ == null) { @@ -875,16 +766,12 @@ public Builder clearPivotDimensionHeaders() { return this; } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ public Builder removePivotDimensionHeaders(int index) { if (pivotDimensionHeadersBuilder_ == null) { @@ -897,55 +784,42 @@ public Builder removePivotDimensionHeaders(int index) { return this; } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder - getPivotDimensionHeadersBuilder(int index) { + public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder getPivotDimensionHeadersBuilder( + int index) { return getPivotDimensionHeadersFieldBuilder().getBuilder(index); } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - public com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder - getPivotDimensionHeadersOrBuilder(int index) { + public com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder getPivotDimensionHeadersOrBuilder( + int index) { if (pivotDimensionHeadersBuilder_ == null) { - return pivotDimensionHeaders_.get(index); - } else { + return pivotDimensionHeaders_.get(index); } else { return pivotDimensionHeadersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - public java.util.List - getPivotDimensionHeadersOrBuilderList() { + public java.util.List + getPivotDimensionHeadersOrBuilderList() { if (pivotDimensionHeadersBuilder_ != null) { return pivotDimensionHeadersBuilder_.getMessageOrBuilderList(); } else { @@ -953,68 +827,48 @@ public Builder removePivotDimensionHeaders(int index) { } } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder - addPivotDimensionHeadersBuilder() { - return getPivotDimensionHeadersFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()); + public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder addPivotDimensionHeadersBuilder() { + return getPivotDimensionHeadersFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()); } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder - addPivotDimensionHeadersBuilder(int index) { - return getPivotDimensionHeadersFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()); + public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder addPivotDimensionHeadersBuilder( + int index) { + return getPivotDimensionHeadersFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()); } /** - * - * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - public java.util.List - getPivotDimensionHeadersBuilderList() { + public java.util.List + getPivotDimensionHeadersBuilderList() { return getPivotDimensionHeadersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.PivotDimensionHeader, - com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, - com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder> + com.google.analytics.data.v1beta.PivotDimensionHeader, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder> getPivotDimensionHeadersFieldBuilder() { if (pivotDimensionHeadersBuilder_ == null) { - pivotDimensionHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.PivotDimensionHeader, - com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, - com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder>( + pivotDimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.PivotDimensionHeader, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder>( pivotDimensionHeaders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1024,10 +878,8 @@ public Builder removePivotDimensionHeaders(int index) { return pivotDimensionHeadersBuilder_; } - private int rowCount_; + private int rowCount_ ; /** - * - * *
      * The cardinality of the pivot. The total number of rows for this pivot's
      * fields regardless of how the parameters `offset` and `limit` are specified
@@ -1035,7 +887,6 @@ public Builder removePivotDimensionHeaders(int index) {
      * 
* * int32 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -1043,8 +894,6 @@ public int getRowCount() { return rowCount_; } /** - * - * *
      * The cardinality of the pivot. The total number of rows for this pivot's
      * fields regardless of how the parameters `offset` and `limit` are specified
@@ -1052,19 +901,16 @@ public int getRowCount() {
      * 
* * int32 row_count = 2; - * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(int value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * The cardinality of the pivot. The total number of rows for this pivot's
      * fields regardless of how the parameters `offset` and `limit` are specified
@@ -1072,18 +918,17 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 2; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 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); } @@ -1093,12 +938,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.PivotHeader) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.PivotHeader) private static final com.google.analytics.data.v1beta.PivotHeader DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.PivotHeader(); } @@ -1107,16 +952,16 @@ public static com.google.analytics.data.v1beta.PivotHeader getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotHeader(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PivotHeader parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PivotHeader(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1131,4 +976,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.PivotHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java similarity index 67% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java index add1a37e..2116bef3 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface PivotHeaderOrBuilder - extends +public interface PivotHeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.PivotHeader) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - java.util.List + java.util.List getPivotDimensionHeadersList(); /** - * - * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHeaders(int index); /** - * - * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ int getPivotDimensionHeadersCount(); /** - * - * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ - java.util.List + java.util.List getPivotDimensionHeadersOrBuilderList(); /** - * - * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; - * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; */ com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder getPivotDimensionHeadersOrBuilder( int index); /** - * - * *
    * The cardinality of the pivot. The total number of rows for this pivot's
    * fields regardless of how the parameters `offset` and `limit` are specified
@@ -97,7 +64,6 @@ com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder getPivotDimension
    * 
* * int32 row_count = 2; - * * @return The rowCount. */ int getRowCount(); diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java similarity index 86% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java index 3b8b5514..0c3be721 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface PivotOrBuilder - extends +public interface PivotOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Pivot) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -34,13 +16,11 @@ public interface PivotOrBuilder
    * 
* * repeated string field_names = 1; - * * @return A list containing the fieldNames. */ - java.util.List getFieldNamesList(); + java.util.List + getFieldNamesList(); /** - * - * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -49,13 +29,10 @@ public interface PivotOrBuilder
    * 
* * repeated string field_names = 1; - * * @return The count of fieldNames. */ int getFieldNamesCount(); /** - * - * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -64,14 +41,11 @@ public interface PivotOrBuilder
    * 
* * repeated string field_names = 1; - * * @param index The index of the element to return. * @return The fieldNames at the given index. */ java.lang.String getFieldNames(int index); /** - * - * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -80,15 +54,13 @@ public interface PivotOrBuilder
    * 
* * repeated string field_names = 1; - * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - com.google.protobuf.ByteString getFieldNamesBytes(int index); + com.google.protobuf.ByteString + getFieldNamesBytes(int index); /** - * - * *
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -99,10 +71,9 @@ public interface PivotOrBuilder
    *
    * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
    */
-  java.util.List getOrderBysList();
+  java.util.List 
+      getOrderBysList();
   /**
-   *
-   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -115,8 +86,6 @@ public interface PivotOrBuilder
    */
   com.google.analytics.data.v1beta.OrderBy getOrderBys(int index);
   /**
-   *
-   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -129,8 +98,6 @@ public interface PivotOrBuilder
    */
   int getOrderBysCount();
   /**
-   *
-   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -141,11 +108,9 @@ public interface PivotOrBuilder
    *
    * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
    */
-  java.util.List
+  java.util.List 
       getOrderBysOrBuilderList();
   /**
-   *
-   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -156,24 +121,20 @@ public interface PivotOrBuilder
    *
    * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
    */
-  com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index);
+  com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The row count of the start row. The first row is counted as row 0.
    * 
* * int64 offset = 3; - * * @return The offset. */ long getOffset(); /** - * - * *
    * The number of unique combinations of dimension values to return in this
    * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for
@@ -184,74 +145,59 @@ public interface PivotOrBuilder
    * 
* * int64 limit = 4; - * * @return The limit. */ long getLimit(); /** - * - * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * * @return A list containing the metricAggregations. */ java.util.List getMetricAggregationsList(); /** - * - * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * * @return The count of metricAggregations. */ int getMetricAggregationsCount(); /** - * - * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations(int index); /** - * - * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * * @return A list containing the enum numeric values on the wire for metricAggregations. */ - java.util.List getMetricAggregationsValueList(); + java.util.List + getMetricAggregationsValueList(); /** - * - * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java similarity index 71% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java index 5836d2c1..076b1ca4 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Current state of all quotas for this Analytics Property. If any quota for a
  * property is exhausted, all requests to that property will return Resource
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.PropertyQuota}
  */
-public final class PropertyQuota extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PropertyQuota extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.PropertyQuota)
     PropertyQuotaOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PropertyQuota.newBuilder() to construct.
   private PropertyQuota(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private PropertyQuota() {}
+  private PropertyQuota() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PropertyQuota();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PropertyQuota(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,125 +54,106 @@ private PropertyQuota(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
-              if (tokensPerDay_ != null) {
-                subBuilder = tokensPerDay_.toBuilder();
-              }
-              tokensPerDay_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tokensPerDay_);
-                tokensPerDay_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
+            if (tokensPerDay_ != null) {
+              subBuilder = tokensPerDay_.toBuilder();
+            }
+            tokensPerDay_ = input.readMessage(com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(tokensPerDay_);
+              tokensPerDay_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 18: {
+            com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
+            if (tokensPerHour_ != null) {
+              subBuilder = tokensPerHour_.toBuilder();
+            }
+            tokensPerHour_ = input.readMessage(com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(tokensPerHour_);
+              tokensPerHour_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 26: {
+            com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
+            if (concurrentRequests_ != null) {
+              subBuilder = concurrentRequests_.toBuilder();
             }
-          case 18:
-            {
-              com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
-              if (tokensPerHour_ != null) {
-                subBuilder = tokensPerHour_.toBuilder();
-              }
-              tokensPerHour_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tokensPerHour_);
-                tokensPerHour_ = subBuilder.buildPartial();
-              }
-
-              break;
+            concurrentRequests_ = input.readMessage(com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(concurrentRequests_);
+              concurrentRequests_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
-              if (concurrentRequests_ != null) {
-                subBuilder = concurrentRequests_.toBuilder();
-              }
-              concurrentRequests_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(concurrentRequests_);
-                concurrentRequests_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
+            if (serverErrorsPerProjectPerHour_ != null) {
+              subBuilder = serverErrorsPerProjectPerHour_.toBuilder();
+            }
+            serverErrorsPerProjectPerHour_ = input.readMessage(com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(serverErrorsPerProjectPerHour_);
+              serverErrorsPerProjectPerHour_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
-              if (serverErrorsPerProjectPerHour_ != null) {
-                subBuilder = serverErrorsPerProjectPerHour_.toBuilder();
-              }
-              serverErrorsPerProjectPerHour_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(serverErrorsPerProjectPerHour_);
-                serverErrorsPerProjectPerHour_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 42: {
+            com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
+            if (potentiallyThresholdedRequestsPerHour_ != null) {
+              subBuilder = potentiallyThresholdedRequestsPerHour_.toBuilder();
             }
-          case 42:
-            {
-              com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
-              if (potentiallyThresholdedRequestsPerHour_ != null) {
-                subBuilder = potentiallyThresholdedRequestsPerHour_.toBuilder();
-              }
-              potentiallyThresholdedRequestsPerHour_ =
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(potentiallyThresholdedRequestsPerHour_);
-                potentiallyThresholdedRequestsPerHour_ = subBuilder.buildPartial();
-              }
-
-              break;
+            potentiallyThresholdedRequestsPerHour_ = input.readMessage(com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(potentiallyThresholdedRequestsPerHour_);
+              potentiallyThresholdedRequestsPerHour_ = 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.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.PropertyQuota.class,
-            com.google.analytics.data.v1beta.PropertyQuota.Builder.class);
+            com.google.analytics.data.v1beta.PropertyQuota.class, com.google.analytics.data.v1beta.PropertyQuota.Builder.class);
   }
 
   public static final int TOKENS_PER_DAY_FIELD_NUMBER = 1;
   private com.google.analytics.data.v1beta.QuotaStatus tokensPerDay_;
   /**
-   *
-   *
    * 
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -196,7 +161,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; - * * @return Whether the tokensPerDay field is set. */ @java.lang.Override @@ -204,8 +168,6 @@ public boolean hasTokensPerDay() { return tokensPerDay_ != null; } /** - * - * *
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -213,18 +175,13 @@ public boolean hasTokensPerDay() {
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; - * * @return The tokensPerDay. */ @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus getTokensPerDay() { - return tokensPerDay_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : tokensPerDay_; + return tokensPerDay_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerDay_; } /** - * - * *
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -241,8 +198,6 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
   public static final int TOKENS_PER_HOUR_FIELD_NUMBER = 2;
   private com.google.analytics.data.v1beta.QuotaStatus tokensPerHour_;
   /**
-   *
-   *
    * 
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -251,7 +206,6 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; - * * @return Whether the tokensPerHour field is set. */ @java.lang.Override @@ -259,8 +213,6 @@ public boolean hasTokensPerHour() { return tokensPerHour_ != null; } /** - * - * *
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -269,18 +221,13 @@ public boolean hasTokensPerHour() {
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; - * * @return The tokensPerHour. */ @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus getTokensPerHour() { - return tokensPerHour_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : tokensPerHour_; + return tokensPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerHour_; } /** - * - * *
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -298,15 +245,12 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerHourOrB
   public static final int CONCURRENT_REQUESTS_FIELD_NUMBER = 3;
   private com.google.analytics.data.v1beta.QuotaStatus concurrentRequests_;
   /**
-   *
-   *
    * 
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; - * * @return Whether the concurrentRequests field is set. */ @java.lang.Override @@ -314,26 +258,19 @@ public boolean hasConcurrentRequests() { return concurrentRequests_ != null; } /** - * - * *
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; - * * @return The concurrentRequests. */ @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus getConcurrentRequests() { - return concurrentRequests_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : concurrentRequests_; + return concurrentRequests_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : concurrentRequests_; } /** - * - * *
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -349,8 +286,6 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentReques
   public static final int SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER = 4;
   private com.google.analytics.data.v1beta.QuotaStatus serverErrorsPerProjectPerHour_;
   /**
-   *
-   *
    * 
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -358,7 +293,6 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentReques
    * 
* * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * * @return Whether the serverErrorsPerProjectPerHour field is set. */ @java.lang.Override @@ -366,8 +300,6 @@ public boolean hasServerErrorsPerProjectPerHour() { return serverErrorsPerProjectPerHour_ != null; } /** - * - * *
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -375,18 +307,13 @@ public boolean hasServerErrorsPerProjectPerHour() {
    * 
* * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * * @return The serverErrorsPerProjectPerHour. */ @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus getServerErrorsPerProjectPerHour() { - return serverErrorsPerProjectPerHour_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; } /** - * - * *
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -396,16 +323,13 @@ public com.google.analytics.data.v1beta.QuotaStatus getServerErrorsPerProjectPer
    * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.QuotaStatusOrBuilder
-      getServerErrorsPerProjectPerHourOrBuilder() {
+  public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder() {
     return getServerErrorsPerProjectPerHour();
   }
 
   public static final int POTENTIALLY_THRESHOLDED_REQUESTS_PER_HOUR_FIELD_NUMBER = 5;
   private com.google.analytics.data.v1beta.QuotaStatus potentiallyThresholdedRequestsPerHour_;
   /**
-   *
-   *
    * 
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -413,9 +337,7 @@ public com.google.analytics.data.v1beta.QuotaStatus getServerErrorsPerProjectPer
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; * @return Whether the potentiallyThresholdedRequestsPerHour field is set. */ @java.lang.Override @@ -423,8 +345,6 @@ public boolean hasPotentiallyThresholdedRequestsPerHour() { return potentiallyThresholdedRequestsPerHour_ != null; } /** - * - * *
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -432,20 +352,14 @@ public boolean hasPotentiallyThresholdedRequestsPerHour() {
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; * @return The potentiallyThresholdedRequestsPerHour. */ @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus getPotentiallyThresholdedRequestsPerHour() { - return potentiallyThresholdedRequestsPerHour_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : potentiallyThresholdedRequestsPerHour_; + return potentiallyThresholdedRequestsPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : potentiallyThresholdedRequestsPerHour_; } /** - * - * *
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -453,17 +367,14 @@ public com.google.analytics.data.v1beta.QuotaStatus getPotentiallyThresholdedReq
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.QuotaStatusOrBuilder - getPotentiallyThresholdedRequestsPerHourOrBuilder() { + public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getPotentiallyThresholdedRequestsPerHourOrBuilder() { return getPotentiallyThresholdedRequestsPerHour(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -475,7 +386,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (tokensPerDay_ != null) { output.writeMessage(1, getTokensPerDay()); } @@ -501,23 +413,24 @@ public int getSerializedSize() { size = 0; if (tokensPerDay_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTokensPerDay()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTokensPerDay()); } if (tokensPerHour_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTokensPerHour()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTokensPerHour()); } if (concurrentRequests_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConcurrentRequests()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getConcurrentRequests()); } if (serverErrorsPerProjectPerHour_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getServerErrorsPerProjectPerHour()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getServerErrorsPerProjectPerHour()); } if (potentiallyThresholdedRequestsPerHour_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, getPotentiallyThresholdedRequestsPerHour()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getPotentiallyThresholdedRequestsPerHour()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -527,34 +440,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.analytics.data.v1beta.PropertyQuota)) { return super.equals(obj); } - com.google.analytics.data.v1beta.PropertyQuota other = - (com.google.analytics.data.v1beta.PropertyQuota) obj; + com.google.analytics.data.v1beta.PropertyQuota other = (com.google.analytics.data.v1beta.PropertyQuota) obj; if (hasTokensPerDay() != other.hasTokensPerDay()) return false; if (hasTokensPerDay()) { - if (!getTokensPerDay().equals(other.getTokensPerDay())) return false; + if (!getTokensPerDay() + .equals(other.getTokensPerDay())) return false; } if (hasTokensPerHour() != other.hasTokensPerHour()) return false; if (hasTokensPerHour()) { - if (!getTokensPerHour().equals(other.getTokensPerHour())) return false; + if (!getTokensPerHour() + .equals(other.getTokensPerHour())) return false; } if (hasConcurrentRequests() != other.hasConcurrentRequests()) return false; if (hasConcurrentRequests()) { - if (!getConcurrentRequests().equals(other.getConcurrentRequests())) return false; + if (!getConcurrentRequests() + .equals(other.getConcurrentRequests())) return false; } - if (hasServerErrorsPerProjectPerHour() != other.hasServerErrorsPerProjectPerHour()) - return false; + if (hasServerErrorsPerProjectPerHour() != other.hasServerErrorsPerProjectPerHour()) return false; if (hasServerErrorsPerProjectPerHour()) { - if (!getServerErrorsPerProjectPerHour().equals(other.getServerErrorsPerProjectPerHour())) - return false; + if (!getServerErrorsPerProjectPerHour() + .equals(other.getServerErrorsPerProjectPerHour())) return false; } - if (hasPotentiallyThresholdedRequestsPerHour() - != other.hasPotentiallyThresholdedRequestsPerHour()) return false; + if (hasPotentiallyThresholdedRequestsPerHour() != other.hasPotentiallyThresholdedRequestsPerHour()) return false; if (hasPotentiallyThresholdedRequestsPerHour()) { if (!getPotentiallyThresholdedRequestsPerHour() .equals(other.getPotentiallyThresholdedRequestsPerHour())) return false; @@ -595,104 +508,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.PropertyQuota parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.PropertyQuota parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.PropertyQuota 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.analytics.data.v1beta.PropertyQuota parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.PropertyQuota parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.PropertyQuota parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.PropertyQuota parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.PropertyQuota prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Current state of all quotas for this Analytics Property. If any quota for a
    * property is exhausted, all requests to that property will return Resource
@@ -701,23 +607,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.PropertyQuota}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.PropertyQuota)
       com.google.analytics.data.v1beta.PropertyQuotaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.PropertyQuota.class,
-              com.google.analytics.data.v1beta.PropertyQuota.Builder.class);
+              com.google.analytics.data.v1beta.PropertyQuota.class, com.google.analytics.data.v1beta.PropertyQuota.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.PropertyQuota.newBuilder()
@@ -725,15 +629,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();
@@ -771,9 +676,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
     }
 
     @java.lang.Override
@@ -792,8 +697,7 @@ public com.google.analytics.data.v1beta.PropertyQuota build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.PropertyQuota buildPartial() {
-      com.google.analytics.data.v1beta.PropertyQuota result =
-          new com.google.analytics.data.v1beta.PropertyQuota(this);
+      com.google.analytics.data.v1beta.PropertyQuota result = new com.google.analytics.data.v1beta.PropertyQuota(this);
       if (tokensPerDayBuilder_ == null) {
         result.tokensPerDay_ = tokensPerDay_;
       } else {
@@ -817,8 +721,7 @@ public com.google.analytics.data.v1beta.PropertyQuota buildPartial() {
       if (potentiallyThresholdedRequestsPerHourBuilder_ == null) {
         result.potentiallyThresholdedRequestsPerHour_ = potentiallyThresholdedRequestsPerHour_;
       } else {
-        result.potentiallyThresholdedRequestsPerHour_ =
-            potentiallyThresholdedRequestsPerHourBuilder_.build();
+        result.potentiallyThresholdedRequestsPerHour_ = potentiallyThresholdedRequestsPerHourBuilder_.build();
       }
       onBuilt();
       return result;
@@ -828,39 +731,38 @@ public com.google.analytics.data.v1beta.PropertyQuota buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.PropertyQuota) {
-        return mergeFrom((com.google.analytics.data.v1beta.PropertyQuota) other);
+        return mergeFrom((com.google.analytics.data.v1beta.PropertyQuota)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -882,8 +784,7 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.PropertyQuota other) {
         mergeServerErrorsPerProjectPerHour(other.getServerErrorsPerProjectPerHour());
       }
       if (other.hasPotentiallyThresholdedRequestsPerHour()) {
-        mergePotentiallyThresholdedRequestsPerHour(
-            other.getPotentiallyThresholdedRequestsPerHour());
+        mergePotentiallyThresholdedRequestsPerHour(other.getPotentiallyThresholdedRequestsPerHour());
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -916,13 +817,8 @@ public Builder mergeFrom(
 
     private com.google.analytics.data.v1beta.QuotaStatus tokensPerDay_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.QuotaStatus,
-            com.google.analytics.data.v1beta.QuotaStatus.Builder,
-            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
-        tokensPerDayBuilder_;
+        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> tokensPerDayBuilder_;
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -930,15 +826,12 @@ public Builder mergeFrom(
      * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; - * * @return Whether the tokensPerDay field is set. */ public boolean hasTokensPerDay() { return tokensPerDayBuilder_ != null || tokensPerDay_ != null; } /** - * - * *
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -946,21 +839,16 @@ public boolean hasTokensPerDay() {
      * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; - * * @return The tokensPerDay. */ public com.google.analytics.data.v1beta.QuotaStatus getTokensPerDay() { if (tokensPerDayBuilder_ == null) { - return tokensPerDay_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : tokensPerDay_; + return tokensPerDay_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerDay_; } else { return tokensPerDayBuilder_.getMessage(); } } /** - * - * *
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -983,8 +871,6 @@ public Builder setTokensPerDay(com.google.analytics.data.v1beta.QuotaStatus valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -1005,8 +891,6 @@ public Builder setTokensPerDay(
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -1019,9 +903,7 @@ public Builder mergeTokensPerDay(com.google.analytics.data.v1beta.QuotaStatus va
       if (tokensPerDayBuilder_ == null) {
         if (tokensPerDay_ != null) {
           tokensPerDay_ =
-              com.google.analytics.data.v1beta.QuotaStatus.newBuilder(tokensPerDay_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.QuotaStatus.newBuilder(tokensPerDay_).mergeFrom(value).buildPartial();
         } else {
           tokensPerDay_ = value;
         }
@@ -1033,8 +915,6 @@ public Builder mergeTokensPerDay(com.google.analytics.data.v1beta.QuotaStatus va
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -1055,8 +935,6 @@ public Builder clearTokensPerDay() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -1066,13 +944,11 @@ public Builder clearTokensPerDay() {
      * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1;
      */
     public com.google.analytics.data.v1beta.QuotaStatus.Builder getTokensPerDayBuilder() {
-
+      
       onChanged();
       return getTokensPerDayFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -1085,14 +961,11 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
       if (tokensPerDayBuilder_ != null) {
         return tokensPerDayBuilder_.getMessageOrBuilder();
       } else {
-        return tokensPerDay_ == null
-            ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance()
-            : tokensPerDay_;
+        return tokensPerDay_ == null ?
+            com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerDay_;
       }
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -1102,17 +975,14 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
      * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.QuotaStatus,
-            com.google.analytics.data.v1beta.QuotaStatus.Builder,
-            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
+        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> 
         getTokensPerDayFieldBuilder() {
       if (tokensPerDayBuilder_ == null) {
-        tokensPerDayBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.QuotaStatus,
-                com.google.analytics.data.v1beta.QuotaStatus.Builder,
-                com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
-                getTokensPerDay(), getParentForChildren(), isClean());
+        tokensPerDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
+                getTokensPerDay(),
+                getParentForChildren(),
+                isClean());
         tokensPerDay_ = null;
       }
       return tokensPerDayBuilder_;
@@ -1120,13 +990,8 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
 
     private com.google.analytics.data.v1beta.QuotaStatus tokensPerHour_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.QuotaStatus,
-            com.google.analytics.data.v1beta.QuotaStatus.Builder,
-            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
-        tokensPerHourBuilder_;
+        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> tokensPerHourBuilder_;
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1135,15 +1000,12 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
      * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; - * * @return Whether the tokensPerHour field is set. */ public boolean hasTokensPerHour() { return tokensPerHourBuilder_ != null || tokensPerHour_ != null; } /** - * - * *
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1152,21 +1014,16 @@ public boolean hasTokensPerHour() {
      * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; - * * @return The tokensPerHour. */ public com.google.analytics.data.v1beta.QuotaStatus getTokensPerHour() { if (tokensPerHourBuilder_ == null) { - return tokensPerHour_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : tokensPerHour_; + return tokensPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerHour_; } else { return tokensPerHourBuilder_.getMessage(); } } /** - * - * *
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1190,8 +1047,6 @@ public Builder setTokensPerHour(com.google.analytics.data.v1beta.QuotaStatus val
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1213,8 +1068,6 @@ public Builder setTokensPerHour(
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1228,9 +1081,7 @@ public Builder mergeTokensPerHour(com.google.analytics.data.v1beta.QuotaStatus v
       if (tokensPerHourBuilder_ == null) {
         if (tokensPerHour_ != null) {
           tokensPerHour_ =
-              com.google.analytics.data.v1beta.QuotaStatus.newBuilder(tokensPerHour_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.QuotaStatus.newBuilder(tokensPerHour_).mergeFrom(value).buildPartial();
         } else {
           tokensPerHour_ = value;
         }
@@ -1242,8 +1093,6 @@ public Builder mergeTokensPerHour(com.google.analytics.data.v1beta.QuotaStatus v
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1265,8 +1114,6 @@ public Builder clearTokensPerHour() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1277,13 +1124,11 @@ public Builder clearTokensPerHour() {
      * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2;
      */
     public com.google.analytics.data.v1beta.QuotaStatus.Builder getTokensPerHourBuilder() {
-
+      
       onChanged();
       return getTokensPerHourFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1297,14 +1142,11 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerHourOrB
       if (tokensPerHourBuilder_ != null) {
         return tokensPerHourBuilder_.getMessageOrBuilder();
       } else {
-        return tokensPerHour_ == null
-            ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance()
-            : tokensPerHour_;
+        return tokensPerHour_ == null ?
+            com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerHour_;
       }
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1315,17 +1157,14 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerHourOrB
      * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.QuotaStatus,
-            com.google.analytics.data.v1beta.QuotaStatus.Builder,
-            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
+        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> 
         getTokensPerHourFieldBuilder() {
       if (tokensPerHourBuilder_ == null) {
-        tokensPerHourBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.QuotaStatus,
-                com.google.analytics.data.v1beta.QuotaStatus.Builder,
-                com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
-                getTokensPerHour(), getParentForChildren(), isClean());
+        tokensPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
+                getTokensPerHour(),
+                getParentForChildren(),
+                isClean());
         tokensPerHour_ = null;
       }
       return tokensPerHourBuilder_;
@@ -1333,49 +1172,36 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerHourOrB
 
     private com.google.analytics.data.v1beta.QuotaStatus concurrentRequests_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.QuotaStatus,
-            com.google.analytics.data.v1beta.QuotaStatus.Builder,
-            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
-        concurrentRequestsBuilder_;
+        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> concurrentRequestsBuilder_;
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; - * * @return Whether the concurrentRequests field is set. */ public boolean hasConcurrentRequests() { return concurrentRequestsBuilder_ != null || concurrentRequests_ != null; } /** - * - * *
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; - * * @return The concurrentRequests. */ public com.google.analytics.data.v1beta.QuotaStatus getConcurrentRequests() { if (concurrentRequestsBuilder_ == null) { - return concurrentRequests_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : concurrentRequests_; + return concurrentRequests_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : concurrentRequests_; } else { return concurrentRequestsBuilder_.getMessage(); } } /** - * - * *
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1397,8 +1223,6 @@ public Builder setConcurrentRequests(com.google.analytics.data.v1beta.QuotaStatu
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1418,8 +1242,6 @@ public Builder setConcurrentRequests(
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1431,9 +1253,7 @@ public Builder mergeConcurrentRequests(com.google.analytics.data.v1beta.QuotaSta
       if (concurrentRequestsBuilder_ == null) {
         if (concurrentRequests_ != null) {
           concurrentRequests_ =
-              com.google.analytics.data.v1beta.QuotaStatus.newBuilder(concurrentRequests_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.QuotaStatus.newBuilder(concurrentRequests_).mergeFrom(value).buildPartial();
         } else {
           concurrentRequests_ = value;
         }
@@ -1445,8 +1265,6 @@ public Builder mergeConcurrentRequests(com.google.analytics.data.v1beta.QuotaSta
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1466,8 +1284,6 @@ public Builder clearConcurrentRequests() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1476,13 +1292,11 @@ public Builder clearConcurrentRequests() {
      * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3;
      */
     public com.google.analytics.data.v1beta.QuotaStatus.Builder getConcurrentRequestsBuilder() {
-
+      
       onChanged();
       return getConcurrentRequestsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1494,14 +1308,11 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentReques
       if (concurrentRequestsBuilder_ != null) {
         return concurrentRequestsBuilder_.getMessageOrBuilder();
       } else {
-        return concurrentRequests_ == null
-            ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance()
-            : concurrentRequests_;
+        return concurrentRequests_ == null ?
+            com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : concurrentRequests_;
       }
     }
     /**
-     *
-     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1510,17 +1321,14 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentReques
      * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.QuotaStatus,
-            com.google.analytics.data.v1beta.QuotaStatus.Builder,
-            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
+        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> 
         getConcurrentRequestsFieldBuilder() {
       if (concurrentRequestsBuilder_ == null) {
-        concurrentRequestsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.QuotaStatus,
-                com.google.analytics.data.v1beta.QuotaStatus.Builder,
-                com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
-                getConcurrentRequests(), getParentForChildren(), isClean());
+        concurrentRequestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
+                getConcurrentRequests(),
+                getParentForChildren(),
+                isClean());
         concurrentRequests_ = null;
       }
       return concurrentRequestsBuilder_;
@@ -1528,65 +1336,47 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentReques
 
     private com.google.analytics.data.v1beta.QuotaStatus serverErrorsPerProjectPerHour_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.QuotaStatus,
-            com.google.analytics.data.v1beta.QuotaStatus.Builder,
-            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
-        serverErrorsPerProjectPerHourBuilder_;
+        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> serverErrorsPerProjectPerHourBuilder_;
     /**
-     *
-     *
      * 
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * - * + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; * @return Whether the serverErrorsPerProjectPerHour field is set. */ public boolean hasServerErrorsPerProjectPerHour() { - return serverErrorsPerProjectPerHourBuilder_ != null - || serverErrorsPerProjectPerHour_ != null; + return serverErrorsPerProjectPerHourBuilder_ != null || serverErrorsPerProjectPerHour_ != null; } /** - * - * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * - * + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; * @return The serverErrorsPerProjectPerHour. */ public com.google.analytics.data.v1beta.QuotaStatus getServerErrorsPerProjectPerHour() { if (serverErrorsPerProjectPerHourBuilder_ == null) { - return serverErrorsPerProjectPerHour_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; } else { return serverErrorsPerProjectPerHourBuilder_.getMessage(); } } /** - * - * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; */ - public Builder setServerErrorsPerProjectPerHour( - com.google.analytics.data.v1beta.QuotaStatus value) { + public Builder setServerErrorsPerProjectPerHour(com.google.analytics.data.v1beta.QuotaStatus value) { if (serverErrorsPerProjectPerHourBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1600,16 +1390,13 @@ public Builder setServerErrorsPerProjectPerHour( return this; } /** - * - * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; */ public Builder setServerErrorsPerProjectPerHour( com.google.analytics.data.v1beta.QuotaStatus.Builder builderForValue) { @@ -1623,26 +1410,19 @@ public Builder setServerErrorsPerProjectPerHour( return this; } /** - * - * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; */ - public Builder mergeServerErrorsPerProjectPerHour( - com.google.analytics.data.v1beta.QuotaStatus value) { + public Builder mergeServerErrorsPerProjectPerHour(com.google.analytics.data.v1beta.QuotaStatus value) { if (serverErrorsPerProjectPerHourBuilder_ == null) { if (serverErrorsPerProjectPerHour_ != null) { serverErrorsPerProjectPerHour_ = - com.google.analytics.data.v1beta.QuotaStatus.newBuilder( - serverErrorsPerProjectPerHour_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.QuotaStatus.newBuilder(serverErrorsPerProjectPerHour_).mergeFrom(value).buildPartial(); } else { serverErrorsPerProjectPerHour_ = value; } @@ -1654,16 +1434,13 @@ public Builder mergeServerErrorsPerProjectPerHour( return this; } /** - * - * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; */ public Builder clearServerErrorsPerProjectPerHour() { if (serverErrorsPerProjectPerHourBuilder_ == null) { @@ -1677,69 +1454,54 @@ public Builder clearServerErrorsPerProjectPerHour() { return this; } /** - * - * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; */ - public com.google.analytics.data.v1beta.QuotaStatus.Builder - getServerErrorsPerProjectPerHourBuilder() { - + public com.google.analytics.data.v1beta.QuotaStatus.Builder getServerErrorsPerProjectPerHourBuilder() { + onChanged(); return getServerErrorsPerProjectPerHourFieldBuilder().getBuilder(); } /** - * - * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; */ - public com.google.analytics.data.v1beta.QuotaStatusOrBuilder - getServerErrorsPerProjectPerHourOrBuilder() { + public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder() { if (serverErrorsPerProjectPerHourBuilder_ != null) { return serverErrorsPerProjectPerHourBuilder_.getMessageOrBuilder(); } else { - return serverErrorsPerProjectPerHour_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null ? + com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; } } /** - * - * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.QuotaStatus, - com.google.analytics.data.v1beta.QuotaStatus.Builder, - com.google.analytics.data.v1beta.QuotaStatusOrBuilder> + com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> getServerErrorsPerProjectPerHourFieldBuilder() { if (serverErrorsPerProjectPerHourBuilder_ == null) { - serverErrorsPerProjectPerHourBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.QuotaStatus, - com.google.analytics.data.v1beta.QuotaStatus.Builder, - com.google.analytics.data.v1beta.QuotaStatusOrBuilder>( - getServerErrorsPerProjectPerHour(), getParentForChildren(), isClean()); + serverErrorsPerProjectPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder>( + getServerErrorsPerProjectPerHour(), + getParentForChildren(), + isClean()); serverErrorsPerProjectPerHour_ = null; } return serverErrorsPerProjectPerHourBuilder_; @@ -1747,13 +1509,8 @@ public Builder clearServerErrorsPerProjectPerHour() { private com.google.analytics.data.v1beta.QuotaStatus potentiallyThresholdedRequestsPerHour_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.QuotaStatus, - com.google.analytics.data.v1beta.QuotaStatus.Builder, - com.google.analytics.data.v1beta.QuotaStatusOrBuilder> - potentiallyThresholdedRequestsPerHourBuilder_; + com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> potentiallyThresholdedRequestsPerHourBuilder_; /** - * - * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1761,19 +1518,13 @@ public Builder clearServerErrorsPerProjectPerHour() {
      * thresholded dimensions.
      * 
* - * - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; * @return Whether the potentiallyThresholdedRequestsPerHour field is set. */ public boolean hasPotentiallyThresholdedRequestsPerHour() { - return potentiallyThresholdedRequestsPerHourBuilder_ != null - || potentiallyThresholdedRequestsPerHour_ != null; + return potentiallyThresholdedRequestsPerHourBuilder_ != null || potentiallyThresholdedRequestsPerHour_ != null; } /** - * - * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1781,24 +1532,17 @@ public boolean hasPotentiallyThresholdedRequestsPerHour() {
      * thresholded dimensions.
      * 
* - * - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; * @return The potentiallyThresholdedRequestsPerHour. */ public com.google.analytics.data.v1beta.QuotaStatus getPotentiallyThresholdedRequestsPerHour() { if (potentiallyThresholdedRequestsPerHourBuilder_ == null) { - return potentiallyThresholdedRequestsPerHour_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : potentiallyThresholdedRequestsPerHour_; + return potentiallyThresholdedRequestsPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : potentiallyThresholdedRequestsPerHour_; } else { return potentiallyThresholdedRequestsPerHourBuilder_.getMessage(); } } /** - * - * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1806,12 +1550,9 @@ public com.google.analytics.data.v1beta.QuotaStatus getPotentiallyThresholdedReq
      * thresholded dimensions.
      * 
* - * - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; */ - public Builder setPotentiallyThresholdedRequestsPerHour( - com.google.analytics.data.v1beta.QuotaStatus value) { + public Builder setPotentiallyThresholdedRequestsPerHour(com.google.analytics.data.v1beta.QuotaStatus value) { if (potentiallyThresholdedRequestsPerHourBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1825,8 +1566,6 @@ public Builder setPotentiallyThresholdedRequestsPerHour( return this; } /** - * - * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1834,9 +1573,7 @@ public Builder setPotentiallyThresholdedRequestsPerHour(
      * thresholded dimensions.
      * 
* - * - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; */ public Builder setPotentiallyThresholdedRequestsPerHour( com.google.analytics.data.v1beta.QuotaStatus.Builder builderForValue) { @@ -1850,8 +1587,6 @@ public Builder setPotentiallyThresholdedRequestsPerHour( return this; } /** - * - * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1859,19 +1594,13 @@ public Builder setPotentiallyThresholdedRequestsPerHour(
      * thresholded dimensions.
      * 
* - * - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; */ - public Builder mergePotentiallyThresholdedRequestsPerHour( - com.google.analytics.data.v1beta.QuotaStatus value) { + public Builder mergePotentiallyThresholdedRequestsPerHour(com.google.analytics.data.v1beta.QuotaStatus value) { if (potentiallyThresholdedRequestsPerHourBuilder_ == null) { if (potentiallyThresholdedRequestsPerHour_ != null) { potentiallyThresholdedRequestsPerHour_ = - com.google.analytics.data.v1beta.QuotaStatus.newBuilder( - potentiallyThresholdedRequestsPerHour_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.QuotaStatus.newBuilder(potentiallyThresholdedRequestsPerHour_).mergeFrom(value).buildPartial(); } else { potentiallyThresholdedRequestsPerHour_ = value; } @@ -1883,8 +1612,6 @@ public Builder mergePotentiallyThresholdedRequestsPerHour( return this; } /** - * - * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1892,9 +1619,7 @@ public Builder mergePotentiallyThresholdedRequestsPerHour(
      * thresholded dimensions.
      * 
* - * - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; */ public Builder clearPotentiallyThresholdedRequestsPerHour() { if (potentiallyThresholdedRequestsPerHourBuilder_ == null) { @@ -1908,8 +1633,6 @@ public Builder clearPotentiallyThresholdedRequestsPerHour() { return this; } /** - * - * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1917,19 +1640,14 @@ public Builder clearPotentiallyThresholdedRequestsPerHour() {
      * thresholded dimensions.
      * 
* - * - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; */ - public com.google.analytics.data.v1beta.QuotaStatus.Builder - getPotentiallyThresholdedRequestsPerHourBuilder() { - + public com.google.analytics.data.v1beta.QuotaStatus.Builder getPotentiallyThresholdedRequestsPerHourBuilder() { + onChanged(); return getPotentiallyThresholdedRequestsPerHourFieldBuilder().getBuilder(); } /** - * - * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1937,23 +1655,17 @@ public Builder clearPotentiallyThresholdedRequestsPerHour() {
      * thresholded dimensions.
      * 
* - * - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; */ - public com.google.analytics.data.v1beta.QuotaStatusOrBuilder - getPotentiallyThresholdedRequestsPerHourOrBuilder() { + public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getPotentiallyThresholdedRequestsPerHourOrBuilder() { if (potentiallyThresholdedRequestsPerHourBuilder_ != null) { return potentiallyThresholdedRequestsPerHourBuilder_.getMessageOrBuilder(); } else { - return potentiallyThresholdedRequestsPerHour_ == null - ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() - : potentiallyThresholdedRequestsPerHour_; + return potentiallyThresholdedRequestsPerHour_ == null ? + com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : potentiallyThresholdedRequestsPerHour_; } } /** - * - * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1961,29 +1673,24 @@ public Builder clearPotentiallyThresholdedRequestsPerHour() {
      * thresholded dimensions.
      * 
* - * - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.QuotaStatus, - com.google.analytics.data.v1beta.QuotaStatus.Builder, - com.google.analytics.data.v1beta.QuotaStatusOrBuilder> + com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> getPotentiallyThresholdedRequestsPerHourFieldBuilder() { if (potentiallyThresholdedRequestsPerHourBuilder_ == null) { - potentiallyThresholdedRequestsPerHourBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.QuotaStatus, - com.google.analytics.data.v1beta.QuotaStatus.Builder, - com.google.analytics.data.v1beta.QuotaStatusOrBuilder>( - getPotentiallyThresholdedRequestsPerHour(), getParentForChildren(), isClean()); + potentiallyThresholdedRequestsPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder>( + getPotentiallyThresholdedRequestsPerHour(), + getParentForChildren(), + isClean()); potentiallyThresholdedRequestsPerHour_ = null; } return potentiallyThresholdedRequestsPerHourBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1993,12 +1700,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.PropertyQuota) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.PropertyQuota) private static final com.google.analytics.data.v1beta.PropertyQuota DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.PropertyQuota(); } @@ -2007,16 +1714,16 @@ public static com.google.analytics.data.v1beta.PropertyQuota getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertyQuota parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PropertyQuota(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertyQuota parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PropertyQuota(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2031,4 +1738,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.PropertyQuota getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java similarity index 85% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java index 983f5733..3f024e64 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface PropertyQuotaOrBuilder - extends +public interface PropertyQuotaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.PropertyQuota) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -33,13 +15,10 @@ public interface PropertyQuotaOrBuilder
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; - * * @return Whether the tokensPerDay field is set. */ boolean hasTokensPerDay(); /** - * - * *
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -47,13 +26,10 @@ public interface PropertyQuotaOrBuilder
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; - * * @return The tokensPerDay. */ com.google.analytics.data.v1beta.QuotaStatus getTokensPerDay(); /** - * - * *
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -65,8 +41,6 @@ public interface PropertyQuotaOrBuilder
   com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBuilder();
 
   /**
-   *
-   *
    * 
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -75,13 +49,10 @@ public interface PropertyQuotaOrBuilder
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; - * * @return Whether the tokensPerHour field is set. */ boolean hasTokensPerHour(); /** - * - * *
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -90,13 +61,10 @@ public interface PropertyQuotaOrBuilder
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; - * * @return The tokensPerHour. */ com.google.analytics.data.v1beta.QuotaStatus getTokensPerHour(); /** - * - * *
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -109,34 +77,26 @@ public interface PropertyQuotaOrBuilder
   com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerHourOrBuilder();
 
   /**
-   *
-   *
    * 
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; - * * @return Whether the concurrentRequests field is set. */ boolean hasConcurrentRequests(); /** - * - * *
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; - * * @return The concurrentRequests. */ com.google.analytics.data.v1beta.QuotaStatus getConcurrentRequests(); /** - * - * *
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -147,8 +107,6 @@ public interface PropertyQuotaOrBuilder
   com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentRequestsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -156,13 +114,10 @@ public interface PropertyQuotaOrBuilder
    * 
* * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * * @return Whether the serverErrorsPerProjectPerHour field is set. */ boolean hasServerErrorsPerProjectPerHour(); /** - * - * *
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -170,13 +125,10 @@ public interface PropertyQuotaOrBuilder
    * 
* * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; - * * @return The serverErrorsPerProjectPerHour. */ com.google.analytics.data.v1beta.QuotaStatus getServerErrorsPerProjectPerHour(); /** - * - * *
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -188,8 +140,6 @@ public interface PropertyQuotaOrBuilder
   com.google.analytics.data.v1beta.QuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder();
 
   /**
-   *
-   *
    * 
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -197,15 +147,11 @@ public interface PropertyQuotaOrBuilder
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; * @return Whether the potentiallyThresholdedRequestsPerHour field is set. */ boolean hasPotentiallyThresholdedRequestsPerHour(); /** - * - * *
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -213,15 +159,11 @@ public interface PropertyQuotaOrBuilder
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; * @return The potentiallyThresholdedRequestsPerHour. */ com.google.analytics.data.v1beta.QuotaStatus getPotentiallyThresholdedRequestsPerHour(); /** - * - * *
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -229,9 +171,7 @@ public interface PropertyQuotaOrBuilder
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; - * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; */ - com.google.analytics.data.v1beta.QuotaStatusOrBuilder - getPotentiallyThresholdedRequestsPerHourOrBuilder(); + com.google.analytics.data.v1beta.QuotaStatusOrBuilder getPotentiallyThresholdedRequestsPerHourOrBuilder(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java similarity index 68% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java index 87c4fd23..b03dae94 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Current state for a particular quota group.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.QuotaStatus} */ -public final class QuotaStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QuotaStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.QuotaStatus) QuotaStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QuotaStatus.newBuilder() to construct. private QuotaStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QuotaStatus() {} + private QuotaStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QuotaStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QuotaStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,61 +52,56 @@ private QuotaStatus( case 0: done = true; break; - case 8: - { - consumed_ = input.readInt32(); - break; - } - case 16: - { - remaining_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + consumed_ = input.readInt32(); + break; + } + case 16: { + + remaining_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.QuotaStatus.class, - com.google.analytics.data.v1beta.QuotaStatus.Builder.class); + com.google.analytics.data.v1beta.QuotaStatus.class, com.google.analytics.data.v1beta.QuotaStatus.Builder.class); } public static final int CONSUMED_FIELD_NUMBER = 1; private int consumed_; /** - * - * *
    * Quota consumed by this request.
    * 
* * int32 consumed = 1; - * * @return The consumed. */ @java.lang.Override @@ -133,14 +112,11 @@ public int getConsumed() { public static final int REMAINING_FIELD_NUMBER = 2; private int remaining_; /** - * - * *
    * Quota remaining after this request.
    * 
* * int32 remaining = 2; - * * @return The remaining. */ @java.lang.Override @@ -149,7 +125,6 @@ public int getRemaining() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,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 (consumed_ != 0) { output.writeInt32(1, consumed_); } @@ -178,10 +154,12 @@ public int getSerializedSize() { size = 0; if (consumed_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, consumed_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, consumed_); } if (remaining_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, remaining_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, remaining_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -191,16 +169,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.analytics.data.v1beta.QuotaStatus)) { return super.equals(obj); } - com.google.analytics.data.v1beta.QuotaStatus other = - (com.google.analytics.data.v1beta.QuotaStatus) obj; + com.google.analytics.data.v1beta.QuotaStatus other = (com.google.analytics.data.v1beta.QuotaStatus) obj; - if (getConsumed() != other.getConsumed()) return false; - if (getRemaining() != other.getRemaining()) return false; + if (getConsumed() + != other.getConsumed()) return false; + if (getRemaining() + != other.getRemaining()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -221,127 +200,118 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.QuotaStatus parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.QuotaStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.QuotaStatus 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.analytics.data.v1beta.QuotaStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.QuotaStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.QuotaStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.QuotaStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.QuotaStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Current state for a particular quota group.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.QuotaStatus} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.QuotaStatus) com.google.analytics.data.v1beta.QuotaStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.QuotaStatus.class, - com.google.analytics.data.v1beta.QuotaStatus.Builder.class); + com.google.analytics.data.v1beta.QuotaStatus.class, com.google.analytics.data.v1beta.QuotaStatus.Builder.class); } // Construct using com.google.analytics.data.v1beta.QuotaStatus.newBuilder() @@ -349,15 +319,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(); @@ -369,9 +340,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; } @java.lang.Override @@ -390,8 +361,7 @@ public com.google.analytics.data.v1beta.QuotaStatus build() { @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus buildPartial() { - com.google.analytics.data.v1beta.QuotaStatus result = - new com.google.analytics.data.v1beta.QuotaStatus(this); + com.google.analytics.data.v1beta.QuotaStatus result = new com.google.analytics.data.v1beta.QuotaStatus(this); result.consumed_ = consumed_; result.remaining_ = remaining_; onBuilt(); @@ -402,39 +372,38 @@ public com.google.analytics.data.v1beta.QuotaStatus buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.QuotaStatus) { - return mergeFrom((com.google.analytics.data.v1beta.QuotaStatus) other); + return mergeFrom((com.google.analytics.data.v1beta.QuotaStatus)other); } else { super.mergeFrom(other); return this; @@ -478,16 +447,13 @@ public Builder mergeFrom( return this; } - private int consumed_; + private int consumed_ ; /** - * - * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; - * * @return The consumed. */ @java.lang.Override @@ -495,51 +461,42 @@ public int getConsumed() { return consumed_; } /** - * - * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; - * * @param value The consumed to set. * @return This builder for chaining. */ public Builder setConsumed(int value) { - + consumed_ = value; onChanged(); return this; } /** - * - * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; - * * @return This builder for chaining. */ public Builder clearConsumed() { - + consumed_ = 0; onChanged(); return this; } - private int remaining_; + private int remaining_ ; /** - * - * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; - * * @return The remaining. */ @java.lang.Override @@ -547,43 +504,37 @@ public int getRemaining() { return remaining_; } /** - * - * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; - * * @param value The remaining to set. * @return This builder for chaining. */ public Builder setRemaining(int value) { - + remaining_ = value; onChanged(); return this; } /** - * - * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; - * * @return This builder for chaining. */ public Builder clearRemaining() { - + remaining_ = 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); } @@ -593,12 +544,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.QuotaStatus) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.QuotaStatus) private static final com.google.analytics.data.v1beta.QuotaStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.QuotaStatus(); } @@ -607,16 +558,16 @@ public static com.google.analytics.data.v1beta.QuotaStatus getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuotaStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QuotaStatus(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuotaStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QuotaStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -631,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.QuotaStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java new file mode 100644 index 00000000..9715e2d3 --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public interface QuotaStatusOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.QuotaStatus) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Quota consumed by this request.
+   * 
+ * + * int32 consumed = 1; + * @return The consumed. + */ + int getConsumed(); + + /** + *
+   * Quota remaining after this request.
+   * 
+ * + * int32 remaining = 2; + * @return The remaining. + */ + int getRemaining(); +} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java new file mode 100644 index 00000000..2e58e783 --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java @@ -0,0 +1,625 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public final class ReportingApiProto { + private ReportingApiProto() {} + 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_analytics_data_v1beta_DateRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_MinuteRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Dimension_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Metric_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_FilterExpression_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Filter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_OrderBy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Pivot_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_CohortSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Cohort_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_CohortsRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_MetricHeader_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Row_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_MetricValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_NumericValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_MetricCompatibility_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/analytics/data/v1beta/data.prot" + + "o\022\034google.analytics.data.v1beta\"?\n\tDateR" + + "ange\022\022\n\nstart_date\030\001 \001(\t\022\020\n\010end_date\030\002 \001" + + "(\t\022\014\n\004name\030\003 \001(\t\"\203\001\n\013MinuteRange\022\036\n\021star" + + "t_minutes_ago\030\001 \001(\005H\000\210\001\001\022\034\n\017end_minutes_" + + "ago\030\002 \001(\005H\001\210\001\001\022\014\n\004name\030\003 \001(\tB\024\n\022_start_m" + + "inutes_agoB\022\n\020_end_minutes_ago\"j\n\tDimens" + + "ion\022\014\n\004name\030\001 \001(\t\022O\n\024dimension_expressio" + + "n\030\002 \001(\01321.google.analytics.data.v1beta.D" + + "imensionExpression\"\246\003\n\023DimensionExpressi" + + "on\022V\n\nlower_case\030\004 \001(\0132@.google.analytic" + + "s.data.v1beta.DimensionExpression.CaseEx" + + "pressionH\000\022V\n\nupper_case\030\005 \001(\0132@.google." + + "analytics.data.v1beta.DimensionExpressio" + + "n.CaseExpressionH\000\022^\n\013concatenate\030\006 \001(\0132" + + "G.google.analytics.data.v1beta.Dimension" + + "Expression.ConcatenateExpressionH\000\032(\n\016Ca" + + "seExpression\022\026\n\016dimension_name\030\001 \001(\t\032C\n\025" + + "ConcatenateExpression\022\027\n\017dimension_names" + + "\030\001 \003(\t\022\021\n\tdelimiter\030\002 \001(\tB\020\n\016one_express" + + "ion\"=\n\006Metric\022\014\n\004name\030\001 \001(\t\022\022\n\nexpressio" + + "n\030\002 \001(\t\022\021\n\tinvisible\030\003 \001(\010\"\255\002\n\020FilterExp" + + "ression\022G\n\tand_group\030\001 \001(\01322.google.anal" + + "ytics.data.v1beta.FilterExpressionListH\000" + + "\022F\n\010or_group\030\002 \001(\01322.google.analytics.da" + + "ta.v1beta.FilterExpressionListH\000\022H\n\016not_" + + "expression\030\003 \001(\0132..google.analytics.data" + + ".v1beta.FilterExpressionH\000\0226\n\006filter\030\004 \001" + + "(\0132$.google.analytics.data.v1beta.Filter" + + "H\000B\006\n\004expr\"[\n\024FilterExpressionList\022C\n\013ex" + + "pressions\030\001 \003(\0132..google.analytics.data." + + "v1beta.FilterExpression\"\336\010\n\006Filter\022\022\n\nfi" + + "eld_name\030\001 \001(\t\022J\n\rstring_filter\030\003 \001(\01321." + + "google.analytics.data.v1beta.Filter.Stri" + + "ngFilterH\000\022K\n\016in_list_filter\030\004 \001(\01321.goo" + + "gle.analytics.data.v1beta.Filter.InListF" + + "ilterH\000\022L\n\016numeric_filter\030\005 \001(\01322.google" + + ".analytics.data.v1beta.Filter.NumericFil" + + "terH\000\022L\n\016between_filter\030\006 \001(\01322.google.a" + + "nalytics.data.v1beta.Filter.BetweenFilte" + + "rH\000\032\216\002\n\014StringFilter\022O\n\nmatch_type\030\001 \001(\016" + + "2;.google.analytics.data.v1beta.Filter.S" + + "tringFilter.MatchType\022\r\n\005value\030\002 \001(\t\022\026\n\016" + + "case_sensitive\030\003 \001(\010\"\205\001\n\tMatchType\022\032\n\026MA" + + "TCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013BEG" + + "INS_WITH\020\002\022\r\n\tENDS_WITH\020\003\022\014\n\010CONTAINS\020\004\022" + + "\017\n\013FULL_REGEXP\020\005\022\022\n\016PARTIAL_REGEXP\020\006\0326\n\014" + + "InListFilter\022\016\n\006values\030\001 \003(\t\022\026\n\016case_sen" + + "sitive\030\002 \001(\010\032\243\002\n\rNumericFilter\022O\n\toperat" + + "ion\030\001 \001(\0162<.google.analytics.data.v1beta" + + ".Filter.NumericFilter.Operation\0229\n\005value" + + "\030\002 \001(\0132*.google.analytics.data.v1beta.Nu" + + "mericValue\"\205\001\n\tOperation\022\031\n\025OPERATION_UN" + + "SPECIFIED\020\000\022\t\n\005EQUAL\020\001\022\r\n\tLESS_THAN\020\002\022\026\n" + + "\022LESS_THAN_OR_EQUAL\020\003\022\020\n\014GREATER_THAN\020\004\022" + + "\031\n\025GREATER_THAN_OR_EQUAL\020\005\032\215\001\n\rBetweenFi" + + "lter\022>\n\nfrom_value\030\001 \001(\0132*.google.analyt" + + "ics.data.v1beta.NumericValue\022<\n\010to_value" + + "\030\002 \001(\0132*.google.analytics.data.v1beta.Nu" + + "mericValueB\014\n\none_filter\"\332\005\n\007OrderBy\022E\n\006" + + "metric\030\001 \001(\01323.google.analytics.data.v1b" + + "eta.OrderBy.MetricOrderByH\000\022K\n\tdimension" + + "\030\002 \001(\01326.google.analytics.data.v1beta.Or" + + "derBy.DimensionOrderByH\000\022C\n\005pivot\030\003 \001(\0132" + + "2.google.analytics.data.v1beta.OrderBy.P" + + "ivotOrderByH\000\022\014\n\004desc\030\004 \001(\010\032$\n\rMetricOrd" + + "erBy\022\023\n\013metric_name\030\001 \001(\t\032\353\001\n\020DimensionO" + + "rderBy\022\026\n\016dimension_name\030\001 \001(\t\022T\n\norder_" + + "type\030\002 \001(\0162@.google.analytics.data.v1bet" + + "a.OrderBy.DimensionOrderBy.OrderType\"i\n\t" + + "OrderType\022\032\n\026ORDER_TYPE_UNSPECIFIED\020\000\022\020\n" + + "\014ALPHANUMERIC\020\001\022!\n\035CASE_INSENSITIVE_ALPH" + + "ANUMERIC\020\002\022\013\n\007NUMERIC\020\003\032\303\001\n\014PivotOrderBy" + + "\022\023\n\013metric_name\030\001 \001(\t\022[\n\020pivot_selection" + + "s\030\002 \003(\0132A.google.analytics.data.v1beta.O" + + "rderBy.PivotOrderBy.PivotSelection\032A\n\016Pi" + + "votSelection\022\026\n\016dimension_name\030\001 \001(\t\022\027\n\017" + + "dimension_value\030\002 \001(\tB\016\n\014one_order_by\"\303\001" + + "\n\005Pivot\022\023\n\013field_names\030\001 \003(\t\0228\n\torder_by" + + "s\030\002 \003(\0132%.google.analytics.data.v1beta.O" + + "rderBy\022\016\n\006offset\030\003 \001(\003\022\r\n\005limit\030\004 \001(\003\022L\n" + + "\023metric_aggregations\030\005 \003(\0162/.google.anal" + + "ytics.data.v1beta.MetricAggregation\"\332\001\n\n" + + "CohortSpec\0225\n\007cohorts\030\001 \003(\0132$.google.ana" + + "lytics.data.v1beta.Cohort\022A\n\rcohorts_ran" + + "ge\030\002 \001(\0132*.google.analytics.data.v1beta." + + "CohortsRange\022R\n\026cohort_report_settings\030\003" + + " \001(\01322.google.analytics.data.v1beta.Coho" + + "rtReportSettings\"f\n\006Cohort\022\014\n\004name\030\001 \001(\t" + + "\022\021\n\tdimension\030\002 \001(\t\022;\n\ndate_range\030\003 \001(\0132" + + "\'.google.analytics.data.v1beta.DateRange" + + "\"\325\001\n\014CohortsRange\022K\n\013granularity\030\001 \001(\01626" + + ".google.analytics.data.v1beta.CohortsRan" + + "ge.Granularity\022\024\n\014start_offset\030\002 \001(\005\022\022\n\n" + + "end_offset\030\003 \001(\005\"N\n\013Granularity\022\033\n\027GRANU" + + "LARITY_UNSPECIFIED\020\000\022\t\n\005DAILY\020\001\022\n\n\006WEEKL" + + "Y\020\002\022\013\n\007MONTHLY\020\003\"*\n\024CohortReportSettings" + + "\022\022\n\naccumulate\030\001 \001(\010\"4\n\020ResponseMetaData" + + "\022 \n\030data_loss_from_other_row\030\003 \001(\010\"\037\n\017Di" + + "mensionHeader\022\014\n\004name\030\001 \001(\t\"T\n\014MetricHea" + + "der\022\014\n\004name\030\001 \001(\t\0226\n\004type\030\002 \001(\0162(.google" + + ".analytics.data.v1beta.MetricType\"u\n\013Piv" + + "otHeader\022S\n\027pivot_dimension_headers\030\001 \003(" + + "\01322.google.analytics.data.v1beta.PivotDi" + + "mensionHeader\022\021\n\trow_count\030\002 \001(\005\"^\n\024Pivo" + + "tDimensionHeader\022F\n\020dimension_values\030\001 \003" + + "(\0132,.google.analytics.data.v1beta.Dimens" + + "ionValue\"\217\001\n\003Row\022F\n\020dimension_values\030\001 \003" + + "(\0132,.google.analytics.data.v1beta.Dimens" + + "ionValue\022@\n\rmetric_values\030\002 \003(\0132).google" + + ".analytics.data.v1beta.MetricValue\".\n\016Di" + + "mensionValue\022\017\n\005value\030\001 \001(\tH\000B\013\n\tone_val" + + "ue\"+\n\013MetricValue\022\017\n\005value\030\004 \001(\tH\000B\013\n\ton" + + "e_value\"J\n\014NumericValue\022\025\n\013int64_value\030\001" + + " \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone_va" + + "lue\"\223\003\n\rPropertyQuota\022A\n\016tokens_per_day\030" + + "\001 \001(\0132).google.analytics.data.v1beta.Quo" + + "taStatus\022B\n\017tokens_per_hour\030\002 \001(\0132).goog" + + "le.analytics.data.v1beta.QuotaStatus\022F\n\023" + + "concurrent_requests\030\003 \001(\0132).google.analy" + + "tics.data.v1beta.QuotaStatus\022U\n\"server_e" + + "rrors_per_project_per_hour\030\004 \001(\0132).googl" + + "e.analytics.data.v1beta.QuotaStatus\022\\\n)p" + + "otentially_thresholded_requests_per_hour" + + "\030\005 \001(\0132).google.analytics.data.v1beta.Qu" + + "otaStatus\"2\n\013QuotaStatus\022\020\n\010consumed\030\001 \001" + + "(\005\022\021\n\tremaining\030\002 \001(\005\"\226\001\n\021DimensionMetad" + + "ata\022\020\n\010api_name\030\001 \001(\t\022\017\n\007ui_name\030\002 \001(\t\022\023" + + "\n\013description\030\003 \001(\t\022\034\n\024deprecated_api_na" + + "mes\030\004 \003(\t\022\031\n\021custom_definition\030\005 \001(\010\022\020\n\010" + + "category\030\007 \001(\t\"\337\001\n\016MetricMetadata\022\020\n\010api" + + "_name\030\001 \001(\t\022\017\n\007ui_name\030\002 \001(\t\022\023\n\013descript" + + "ion\030\003 \001(\t\022\034\n\024deprecated_api_names\030\004 \003(\t\022" + + "6\n\004type\030\005 \001(\0162(.google.analytics.data.v1" + + "beta.MetricType\022\022\n\nexpression\030\006 \001(\t\022\031\n\021c" + + "ustom_definition\030\007 \001(\010\022\020\n\010category\030\n \001(\t" + + "\"\334\001\n\026DimensionCompatibility\022P\n\022dimension" + + "_metadata\030\001 \001(\0132/.google.analytics.data." + + "v1beta.DimensionMetadataH\000\210\001\001\022G\n\rcompati" + + "bility\030\002 \001(\0162+.google.analytics.data.v1b" + + "eta.CompatibilityH\001\210\001\001B\025\n\023_dimension_met" + + "adataB\020\n\016_compatibility\"\320\001\n\023MetricCompat" + + "ibility\022J\n\017metric_metadata\030\001 \001(\0132,.googl" + + "e.analytics.data.v1beta.MetricMetadataH\000" + + "\210\001\001\022G\n\rcompatibility\030\002 \001(\0162+.google.anal" + + "ytics.data.v1beta.CompatibilityH\001\210\001\001B\022\n\020" + + "_metric_metadataB\020\n\016_compatibility*g\n\021Me" + + "tricAggregation\022\"\n\036METRIC_AGGREGATION_UN" + + "SPECIFIED\020\000\022\t\n\005TOTAL\020\001\022\013\n\007MINIMUM\020\005\022\013\n\007M" + + "AXIMUM\020\006\022\t\n\005COUNT\020\004*\201\002\n\nMetricType\022\033\n\027ME" + + "TRIC_TYPE_UNSPECIFIED\020\000\022\020\n\014TYPE_INTEGER\020" + + "\001\022\016\n\nTYPE_FLOAT\020\002\022\020\n\014TYPE_SECONDS\020\004\022\025\n\021T" + + "YPE_MILLISECONDS\020\005\022\020\n\014TYPE_MINUTES\020\006\022\016\n\n" + + "TYPE_HOURS\020\007\022\021\n\rTYPE_STANDARD\020\010\022\021\n\rTYPE_" + + "CURRENCY\020\t\022\r\n\tTYPE_FEET\020\n\022\016\n\nTYPE_MILES\020" + + "\013\022\017\n\013TYPE_METERS\020\014\022\023\n\017TYPE_KILOMETERS\020\r*" + + "P\n\rCompatibility\022\035\n\031COMPATIBILITY_UNSPEC" + + "IFIED\020\000\022\016\n\nCOMPATIBLE\020\001\022\020\n\014INCOMPATIBLE\020" + + "\002By\n com.google.analytics.data.v1betaB\021R" + + "eportingApiProtoP\001Z@google.golang.org/ge" + + "nproto/googleapis/analytics/data/v1beta;" + + "datab\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_analytics_data_v1beta_DateRange_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DateRange_descriptor, + new java.lang.String[] { "StartDate", "EndDate", "Name", }); + internal_static_google_analytics_data_v1beta_MinuteRange_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_MinuteRange_descriptor, + new java.lang.String[] { "StartMinutesAgo", "EndMinutesAgo", "Name", "StartMinutesAgo", "EndMinutesAgo", }); + internal_static_google_analytics_data_v1beta_Dimension_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Dimension_descriptor, + new java.lang.String[] { "Name", "DimensionExpression", }); + internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor, + new java.lang.String[] { "LowerCase", "UpperCase", "Concatenate", "OneExpression", }); + internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor = + internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor, + new java.lang.String[] { "DimensionName", }); + internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor = + internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor, + new java.lang.String[] { "DimensionNames", "Delimiter", }); + internal_static_google_analytics_data_v1beta_Metric_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Metric_descriptor, + new java.lang.String[] { "Name", "Expression", "Invisible", }); + internal_static_google_analytics_data_v1beta_FilterExpression_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_FilterExpression_descriptor, + new java.lang.String[] { "AndGroup", "OrGroup", "NotExpression", "Filter", "Expr", }); + internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor, + new java.lang.String[] { "Expressions", }); + internal_static_google_analytics_data_v1beta_Filter_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Filter_descriptor, + new java.lang.String[] { "FieldName", "StringFilter", "InListFilter", "NumericFilter", "BetweenFilter", "OneFilter", }); + internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor = + internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor, + new java.lang.String[] { "MatchType", "Value", "CaseSensitive", }); + internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor = + internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor, + new java.lang.String[] { "Values", "CaseSensitive", }); + internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor = + internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(2); + internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor, + new java.lang.String[] { "Operation", "Value", }); + internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor = + internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(3); + internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor, + new java.lang.String[] { "FromValue", "ToValue", }); + internal_static_google_analytics_data_v1beta_OrderBy_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_OrderBy_descriptor, + new java.lang.String[] { "Metric", "Dimension", "Pivot", "Desc", "OneOrderBy", }); + internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor = + internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor, + new java.lang.String[] { "MetricName", }); + internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor = + internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor, + new java.lang.String[] { "DimensionName", "OrderType", }); + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor = + internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(2); + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor, + new java.lang.String[] { "MetricName", "PivotSelections", }); + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor = + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor, + new java.lang.String[] { "DimensionName", "DimensionValue", }); + internal_static_google_analytics_data_v1beta_Pivot_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Pivot_descriptor, + new java.lang.String[] { "FieldNames", "OrderBys", "Offset", "Limit", "MetricAggregations", }); + internal_static_google_analytics_data_v1beta_CohortSpec_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_CohortSpec_descriptor, + new java.lang.String[] { "Cohorts", "CohortsRange", "CohortReportSettings", }); + internal_static_google_analytics_data_v1beta_Cohort_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Cohort_descriptor, + new java.lang.String[] { "Name", "Dimension", "DateRange", }); + internal_static_google_analytics_data_v1beta_CohortsRange_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_CohortsRange_descriptor, + new java.lang.String[] { "Granularity", "StartOffset", "EndOffset", }); + internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor, + new java.lang.String[] { "Accumulate", }); + internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor, + new java.lang.String[] { "DataLossFromOtherRow", }); + internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_analytics_data_v1beta_MetricHeader_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_MetricHeader_descriptor, + new java.lang.String[] { "Name", "Type", }); + internal_static_google_analytics_data_v1beta_PivotHeader_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_PivotHeader_descriptor, + new java.lang.String[] { "PivotDimensionHeaders", "RowCount", }); + internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor, + new java.lang.String[] { "DimensionValues", }); + internal_static_google_analytics_data_v1beta_Row_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Row_descriptor, + new java.lang.String[] { "DimensionValues", "MetricValues", }); + internal_static_google_analytics_data_v1beta_DimensionValue_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionValue_descriptor, + new java.lang.String[] { "Value", "OneValue", }); + internal_static_google_analytics_data_v1beta_MetricValue_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_MetricValue_descriptor, + new java.lang.String[] { "Value", "OneValue", }); + internal_static_google_analytics_data_v1beta_NumericValue_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_NumericValue_descriptor, + new java.lang.String[] { "Int64Value", "DoubleValue", "OneValue", }); + internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor, + new java.lang.String[] { "TokensPerDay", "TokensPerHour", "ConcurrentRequests", "ServerErrorsPerProjectPerHour", "PotentiallyThresholdedRequestsPerHour", }); + internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor, + new java.lang.String[] { "Consumed", "Remaining", }); + internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor, + new java.lang.String[] { "ApiName", "UiName", "Description", "DeprecatedApiNames", "CustomDefinition", "Category", }); + internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor, + new java.lang.String[] { "ApiName", "UiName", "Description", "DeprecatedApiNames", "Type", "Expression", "CustomDefinition", "Category", }); + internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor, + new java.lang.String[] { "DimensionMetadata", "Compatibility", "DimensionMetadata", "Compatibility", }); + internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_analytics_data_v1beta_MetricCompatibility_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor, + new java.lang.String[] { "MetricMetadata", "Compatibility", "MetricMetadata", "Compatibility", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java similarity index 68% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java index 3b549245..d44043ad 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Response's metadata carrying additional information about the report content.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.ResponseMetaData} */ -public final class ResponseMetaData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResponseMetaData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.ResponseMetaData) ResponseMetaDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResponseMetaData.newBuilder() to construct. private ResponseMetaData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ResponseMetaData() {} + private ResponseMetaData() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResponseMetaData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResponseMetaData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,57 +52,52 @@ private ResponseMetaData( case 0: done = true; break; - case 24: - { - dataLossFromOtherRow_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 24: { + + dataLossFromOtherRow_ = 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.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.ResponseMetaData.class, - com.google.analytics.data.v1beta.ResponseMetaData.Builder.class); + com.google.analytics.data.v1beta.ResponseMetaData.class, com.google.analytics.data.v1beta.ResponseMetaData.Builder.class); } public static final int DATA_LOSS_FROM_OTHER_ROW_FIELD_NUMBER = 3; private boolean dataLossFromOtherRow_; /** - * - * *
    * If true, indicates some buckets of dimension combinations are rolled into
    * "(other)" row. This can happen for high cardinality reports.
    * 
* * bool data_loss_from_other_row = 3; - * * @return The dataLossFromOtherRow. */ @java.lang.Override @@ -127,7 +106,6 @@ public boolean getDataLossFromOtherRow() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataLossFromOtherRow_ != false) { output.writeBool(3, dataLossFromOtherRow_); } @@ -153,7 +132,8 @@ public int getSerializedSize() { size = 0; if (dataLossFromOtherRow_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, dataLossFromOtherRow_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, dataLossFromOtherRow_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -163,15 +143,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.analytics.data.v1beta.ResponseMetaData)) { return super.equals(obj); } - com.google.analytics.data.v1beta.ResponseMetaData other = - (com.google.analytics.data.v1beta.ResponseMetaData) obj; + com.google.analytics.data.v1beta.ResponseMetaData other = (com.google.analytics.data.v1beta.ResponseMetaData) obj; - if (getDataLossFromOtherRow() != other.getDataLossFromOtherRow()) return false; + if (getDataLossFromOtherRow() + != other.getDataLossFromOtherRow()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,133 +164,125 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DATA_LOSS_FROM_OTHER_ROW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDataLossFromOtherRow()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDataLossFromOtherRow()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.ResponseMetaData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.ResponseMetaData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.ResponseMetaData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response's metadata carrying additional information about the report content.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.ResponseMetaData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.ResponseMetaData) com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.ResponseMetaData.class, - com.google.analytics.data.v1beta.ResponseMetaData.Builder.class); + com.google.analytics.data.v1beta.ResponseMetaData.class, com.google.analytics.data.v1beta.ResponseMetaData.Builder.class); } // Construct using com.google.analytics.data.v1beta.ResponseMetaData.newBuilder() @@ -318,15 +290,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(); @@ -336,9 +309,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto - .internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; } @java.lang.Override @@ -357,8 +330,7 @@ public com.google.analytics.data.v1beta.ResponseMetaData build() { @java.lang.Override public com.google.analytics.data.v1beta.ResponseMetaData buildPartial() { - com.google.analytics.data.v1beta.ResponseMetaData result = - new com.google.analytics.data.v1beta.ResponseMetaData(this); + com.google.analytics.data.v1beta.ResponseMetaData result = new com.google.analytics.data.v1beta.ResponseMetaData(this); result.dataLossFromOtherRow_ = dataLossFromOtherRow_; onBuilt(); return result; @@ -368,39 +340,38 @@ public com.google.analytics.data.v1beta.ResponseMetaData buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.ResponseMetaData) { - return mergeFrom((com.google.analytics.data.v1beta.ResponseMetaData) other); + return mergeFrom((com.google.analytics.data.v1beta.ResponseMetaData)other); } else { super.mergeFrom(other); return this; @@ -408,8 +379,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.ResponseMetaData other) { - if (other == com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance()) return this; if (other.getDataLossFromOtherRow() != false) { setDataLossFromOtherRow(other.getDataLossFromOtherRow()); } @@ -432,8 +402,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.ResponseMetaData) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.ResponseMetaData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -443,17 +412,14 @@ public Builder mergeFrom( return this; } - private boolean dataLossFromOtherRow_; + private boolean dataLossFromOtherRow_ ; /** - * - * *
      * If true, indicates some buckets of dimension combinations are rolled into
      * "(other)" row. This can happen for high cardinality reports.
      * 
* * bool data_loss_from_other_row = 3; - * * @return The dataLossFromOtherRow. */ @java.lang.Override @@ -461,45 +427,39 @@ public boolean getDataLossFromOtherRow() { return dataLossFromOtherRow_; } /** - * - * *
      * If true, indicates some buckets of dimension combinations are rolled into
      * "(other)" row. This can happen for high cardinality reports.
      * 
* * bool data_loss_from_other_row = 3; - * * @param value The dataLossFromOtherRow to set. * @return This builder for chaining. */ public Builder setDataLossFromOtherRow(boolean value) { - + dataLossFromOtherRow_ = value; onChanged(); return this; } /** - * - * *
      * If true, indicates some buckets of dimension combinations are rolled into
      * "(other)" row. This can happen for high cardinality reports.
      * 
* * bool data_loss_from_other_row = 3; - * * @return This builder for chaining. */ public Builder clearDataLossFromOtherRow() { - + dataLossFromOtherRow_ = 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); } @@ -509,12 +469,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.ResponseMetaData) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.ResponseMetaData) private static final com.google.analytics.data.v1beta.ResponseMetaData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.ResponseMetaData(); } @@ -523,16 +483,16 @@ public static com.google.analytics.data.v1beta.ResponseMetaData getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetaData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResponseMetaData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMetaData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResponseMetaData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -547,4 +507,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.ResponseMetaData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java new file mode 100644 index 00000000..485c3a44 --- /dev/null +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public interface ResponseMetaDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.ResponseMetaData) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * If true, indicates some buckets of dimension combinations are rolled into
+   * "(other)" row. This can happen for high cardinality reports.
+   * 
+ * + * bool data_loss_from_other_row = 3; + * @return The dataLossFromOtherRow. + */ + boolean getDataLossFromOtherRow(); +} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.java similarity index 78% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.java index d76dc002..ebfc40eb 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** - * - * *
  * Report data for each row.
  * For example if RunReportRequest contains:
@@ -60,16 +43,15 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.Row}
  */
-public final class Row extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Row extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Row)
     RowOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Row.newBuilder() to construct.
   private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Row() {
     dimensionValues_ = java.util.Collections.emptyList();
     metricValues_ = java.util.Collections.emptyList();
@@ -77,15 +59,16 @@ private Row() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Row();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Row(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -105,43 +88,38 @@ private Row(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                dimensionValues_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              dimensionValues_.add(
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.DimensionValue.parser(), extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              dimensionValues_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                metricValues_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              metricValues_.add(
-                  input.readMessage(
-                      com.google.analytics.data.v1beta.MetricValue.parser(), extensionRegistry));
-              break;
+            dimensionValues_.add(
+                input.readMessage(com.google.analytics.data.v1beta.DimensionValue.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              metricValues_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            metricValues_.add(
+                input.readMessage(com.google.analytics.data.v1beta.MetricValue.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)) {
         dimensionValues_ = java.util.Collections.unmodifiableList(dimensionValues_);
@@ -153,27 +131,22 @@ private Row(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_Row_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Row_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto
-        .internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.Row.class,
-            com.google.analytics.data.v1beta.Row.Builder.class);
+            com.google.analytics.data.v1beta.Row.class, com.google.analytics.data.v1beta.Row.Builder.class);
   }
 
   public static final int DIMENSION_VALUES_FIELD_NUMBER = 1;
   private java.util.List dimensionValues_;
   /**
-   *
-   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -186,8 +159,6 @@ public java.util.List getDimens
     return dimensionValues_;
   }
   /**
-   *
-   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -196,13 +167,11 @@ public java.util.List getDimens
    * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDimensionValuesOrBuilderList() {
     return dimensionValues_;
   }
   /**
-   *
-   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -215,8 +184,6 @@ public int getDimensionValuesCount() {
     return dimensionValues_.size();
   }
   /**
-   *
-   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -229,8 +196,6 @@ public com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int in
     return dimensionValues_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -247,8 +212,6 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu
   public static final int METRIC_VALUES_FIELD_NUMBER = 2;
   private java.util.List metricValues_;
   /**
-   *
-   *
    * 
    * List of requested visible metric values.
    * 
@@ -260,8 +223,6 @@ public java.util.List getMetricVal return metricValues_; } /** - * - * *
    * List of requested visible metric values.
    * 
@@ -269,13 +230,11 @@ public java.util.List getMetricVal * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ @java.lang.Override - public java.util.List + public java.util.List getMetricValuesOrBuilderList() { return metricValues_; } /** - * - * *
    * List of requested visible metric values.
    * 
@@ -287,8 +246,6 @@ public int getMetricValuesCount() { return metricValues_.size(); } /** - * - * *
    * List of requested visible metric values.
    * 
@@ -300,8 +257,6 @@ public com.google.analytics.data.v1beta.MetricValue getMetricValues(int index) { return metricValues_.get(index); } /** - * - * *
    * List of requested visible metric values.
    * 
@@ -309,12 +264,12 @@ public com.google.analytics.data.v1beta.MetricValue getMetricValues(int index) { * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBuilder(int index) { + public com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBuilder( + int index) { return metricValues_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +281,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensionValues_.size(); i++) { output.writeMessage(1, dimensionValues_.get(i)); } @@ -343,10 +299,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dimensionValues_.get(i)); } for (int i = 0; i < metricValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, metricValues_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -356,15 +314,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.analytics.data.v1beta.Row)) { return super.equals(obj); } com.google.analytics.data.v1beta.Row other = (com.google.analytics.data.v1beta.Row) obj; - if (!getDimensionValuesList().equals(other.getDimensionValuesList())) return false; - if (!getMetricValuesList().equals(other.getMetricValuesList())) return false; + if (!getDimensionValuesList() + .equals(other.getDimensionValuesList())) return false; + if (!getMetricValuesList() + .equals(other.getMetricValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -389,103 +349,97 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.Row parseFrom(java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.Row parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Row parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.Row parseFrom(com.google.protobuf.ByteString data) + public static com.google.analytics.data.v1beta.Row parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Row parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Row parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.Row parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Row 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.analytics.data.v1beta.Row parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Row 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.analytics.data.v1beta.Row parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Row parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.Row parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.Row prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Report data for each row.
    * For example if RunReportRequest contains:
@@ -525,23 +479,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.analytics.data.v1beta.Row}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Row)
       com.google.analytics.data.v1beta.RowOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Row_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Row_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.Row.class,
-              com.google.analytics.data.v1beta.Row.Builder.class);
+              com.google.analytics.data.v1beta.Row.class, com.google.analytics.data.v1beta.Row.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.Row.newBuilder()
@@ -549,18 +501,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) {
         getDimensionValuesFieldBuilder();
         getMetricValuesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -580,9 +532,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto
-          .internal_static_google_analytics_data_v1beta_Row_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Row_descriptor;
     }
 
     @java.lang.Override
@@ -629,39 +581,38 @@ public com.google.analytics.data.v1beta.Row buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.Row) {
-        return mergeFrom((com.google.analytics.data.v1beta.Row) other);
+        return mergeFrom((com.google.analytics.data.v1beta.Row)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -688,10 +639,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Row other) {
             dimensionValuesBuilder_ = null;
             dimensionValues_ = other.dimensionValues_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            dimensionValuesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getDimensionValuesFieldBuilder()
-                    : null;
+            dimensionValuesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getDimensionValuesFieldBuilder() : null;
           } else {
             dimensionValuesBuilder_.addAllMessages(other.dimensionValues_);
           }
@@ -715,10 +665,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Row other) {
             metricValuesBuilder_ = null;
             metricValues_ = other.metricValues_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            metricValuesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getMetricValuesFieldBuilder()
-                    : null;
+            metricValuesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getMetricValuesFieldBuilder() : null;
           } else {
             metricValuesBuilder_.addAllMessages(other.metricValues_);
           }
@@ -752,30 +701,21 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List dimensionValues_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureDimensionValuesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        dimensionValues_ =
-            new java.util.ArrayList(
-                dimensionValues_);
+        dimensionValues_ = new java.util.ArrayList(dimensionValues_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionValue,
-            com.google.analytics.data.v1beta.DimensionValue.Builder,
-            com.google.analytics.data.v1beta.DimensionValueOrBuilder>
-        dimensionValuesBuilder_;
+        com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder> dimensionValuesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -783,8 +723,7 @@ private void ensureDimensionValuesIsMutable() {
      *
      * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
      */
-    public java.util.List
-        getDimensionValuesList() {
+    public java.util.List getDimensionValuesList() {
       if (dimensionValuesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(dimensionValues_);
       } else {
@@ -792,8 +731,6 @@ private void ensureDimensionValuesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -809,8 +746,6 @@ public int getDimensionValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -826,8 +761,6 @@ public com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int in
       }
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -850,8 +783,6 @@ public Builder setDimensionValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -871,8 +802,6 @@ public Builder setDimensionValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -894,8 +823,6 @@ public Builder addDimensionValues(com.google.analytics.data.v1beta.DimensionValu
       return this;
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -918,8 +845,6 @@ public Builder addDimensionValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -939,8 +864,6 @@ public Builder addDimensionValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -960,8 +883,6 @@ public Builder addDimensionValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -973,7 +894,8 @@ public Builder addAllDimensionValues(
         java.lang.Iterable values) {
       if (dimensionValuesBuilder_ == null) {
         ensureDimensionValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dimensionValues_);
         onChanged();
       } else {
         dimensionValuesBuilder_.addAllMessages(values);
@@ -981,8 +903,6 @@ public Builder addAllDimensionValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -1001,8 +921,6 @@ public Builder clearDimensionValues() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -1021,8 +939,6 @@ public Builder removeDimensionValues(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -1035,8 +951,6 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder getDimensionValue
       return getDimensionValuesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -1047,14 +961,11 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder getDimensionValue
     public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder(
         int index) {
       if (dimensionValuesBuilder_ == null) {
-        return dimensionValues_.get(index);
-      } else {
+        return dimensionValues_.get(index);  } else {
         return dimensionValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -1062,8 +973,8 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu
      *
      * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
      */
-    public java.util.List
-        getDimensionValuesOrBuilderList() {
+    public java.util.List 
+         getDimensionValuesOrBuilderList() {
       if (dimensionValuesBuilder_ != null) {
         return dimensionValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1071,8 +982,6 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu
       }
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -1081,12 +990,10 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu
      * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
      */
     public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValuesBuilder() {
-      return getDimensionValuesFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance());
+      return getDimensionValuesFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -1096,12 +1003,10 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValue
      */
     public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValuesBuilder(
         int index) {
-      return getDimensionValuesFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance());
+      return getDimensionValuesFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -1109,22 +1014,16 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValue
      *
      * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
      */
-    public java.util.List
-        getDimensionValuesBuilderList() {
+    public java.util.List 
+         getDimensionValuesBuilderList() {
       return getDimensionValuesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionValue,
-            com.google.analytics.data.v1beta.DimensionValue.Builder,
-            com.google.analytics.data.v1beta.DimensionValueOrBuilder>
+        com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder> 
         getDimensionValuesFieldBuilder() {
       if (dimensionValuesBuilder_ == null) {
-        dimensionValuesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.DimensionValue,
-                com.google.analytics.data.v1beta.DimensionValue.Builder,
-                com.google.analytics.data.v1beta.DimensionValueOrBuilder>(
+        dimensionValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder>(
                 dimensionValues_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1135,25 +1034,18 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValue
     }
 
     private java.util.List metricValues_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureMetricValuesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        metricValues_ =
-            new java.util.ArrayList(metricValues_);
+        metricValues_ = new java.util.ArrayList(metricValues_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricValue,
-            com.google.analytics.data.v1beta.MetricValue.Builder,
-            com.google.analytics.data.v1beta.MetricValueOrBuilder>
-        metricValuesBuilder_;
+        com.google.analytics.data.v1beta.MetricValue, com.google.analytics.data.v1beta.MetricValue.Builder, com.google.analytics.data.v1beta.MetricValueOrBuilder> metricValuesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of requested visible metric values.
      * 
@@ -1168,8 +1060,6 @@ public java.util.List getMetricVal } } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1184,8 +1074,6 @@ public int getMetricValuesCount() { } } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1200,15 +1088,14 @@ public com.google.analytics.data.v1beta.MetricValue getMetricValues(int index) { } } /** - * - * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public Builder setMetricValues(int index, com.google.analytics.data.v1beta.MetricValue value) { + public Builder setMetricValues( + int index, com.google.analytics.data.v1beta.MetricValue value) { if (metricValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1222,8 +1109,6 @@ public Builder setMetricValues(int index, com.google.analytics.data.v1beta.Metri return this; } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1242,8 +1127,6 @@ public Builder setMetricValues( return this; } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1264,15 +1147,14 @@ public Builder addMetricValues(com.google.analytics.data.v1beta.MetricValue valu return this; } /** - * - * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public Builder addMetricValues(int index, com.google.analytics.data.v1beta.MetricValue value) { + public Builder addMetricValues( + int index, com.google.analytics.data.v1beta.MetricValue value) { if (metricValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1286,8 +1168,6 @@ public Builder addMetricValues(int index, com.google.analytics.data.v1beta.Metri return this; } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1306,8 +1186,6 @@ public Builder addMetricValues( return this; } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1326,8 +1204,6 @@ public Builder addMetricValues( return this; } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1338,7 +1214,8 @@ public Builder addAllMetricValues( java.lang.Iterable values) { if (metricValuesBuilder_ == null) { ensureMetricValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metricValues_); onChanged(); } else { metricValuesBuilder_.addAllMessages(values); @@ -1346,8 +1223,6 @@ public Builder addAllMetricValues( return this; } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1365,8 +1240,6 @@ public Builder clearMetricValues() { return this; } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1384,20 +1257,17 @@ public Builder removeMetricValues(int index) { return this; } /** - * - * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public com.google.analytics.data.v1beta.MetricValue.Builder getMetricValuesBuilder(int index) { + public com.google.analytics.data.v1beta.MetricValue.Builder getMetricValuesBuilder( + int index) { return getMetricValuesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1407,22 +1277,19 @@ public com.google.analytics.data.v1beta.MetricValue.Builder getMetricValuesBuild public com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBuilder( int index) { if (metricValuesBuilder_ == null) { - return metricValues_.get(index); - } else { + return metricValues_.get(index); } else { return metricValuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public java.util.List - getMetricValuesOrBuilderList() { + public java.util.List + getMetricValuesOrBuilderList() { if (metricValuesBuilder_ != null) { return metricValuesBuilder_.getMessageOrBuilderList(); } else { @@ -1430,8 +1297,6 @@ public com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBu } } /** - * - * *
      * List of requested visible metric values.
      * 
@@ -1439,55 +1304,49 @@ public com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBu * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ public com.google.analytics.data.v1beta.MetricValue.Builder addMetricValuesBuilder() { - return getMetricValuesFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.MetricValue.getDefaultInstance()); + return getMetricValuesFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.MetricValue.getDefaultInstance()); } /** - * - * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public com.google.analytics.data.v1beta.MetricValue.Builder addMetricValuesBuilder(int index) { - return getMetricValuesFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.MetricValue.getDefaultInstance()); + public com.google.analytics.data.v1beta.MetricValue.Builder addMetricValuesBuilder( + int index) { + return getMetricValuesFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.MetricValue.getDefaultInstance()); } /** - * - * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public java.util.List - getMetricValuesBuilderList() { + public java.util.List + getMetricValuesBuilderList() { return getMetricValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricValue, - com.google.analytics.data.v1beta.MetricValue.Builder, - com.google.analytics.data.v1beta.MetricValueOrBuilder> + com.google.analytics.data.v1beta.MetricValue, com.google.analytics.data.v1beta.MetricValue.Builder, com.google.analytics.data.v1beta.MetricValueOrBuilder> getMetricValuesFieldBuilder() { if (metricValuesBuilder_ == null) { - metricValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricValue, - com.google.analytics.data.v1beta.MetricValue.Builder, - com.google.analytics.data.v1beta.MetricValueOrBuilder>( - metricValues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + metricValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.MetricValue, com.google.analytics.data.v1beta.MetricValue.Builder, com.google.analytics.data.v1beta.MetricValueOrBuilder>( + metricValues_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); metricValues_ = null; } return metricValuesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1497,12 +1356,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Row) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Row) private static final com.google.analytics.data.v1beta.Row DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Row(); } @@ -1511,16 +1370,16 @@ public static com.google.analytics.data.v1beta.Row getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Row parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Row(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Row parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Row(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1535,4 +1394,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Row getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java similarity index 76% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java index 9a277d48..a51e8fc8 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface RowOrBuilder - extends +public interface RowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Row) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -33,10 +15,9 @@ public interface RowOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
    */
-  java.util.List getDimensionValuesList();
+  java.util.List 
+      getDimensionValuesList();
   /**
-   *
-   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -46,8 +27,6 @@ public interface RowOrBuilder
    */
   com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int index);
   /**
-   *
-   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -57,8 +36,6 @@ public interface RowOrBuilder
    */
   int getDimensionValuesCount();
   /**
-   *
-   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -66,11 +43,9 @@ public interface RowOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
    */
-  java.util.List
+  java.util.List 
       getDimensionValuesOrBuilderList();
   /**
-   *
-   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -78,21 +53,19 @@ public interface RowOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
    */
-  com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder(int index);
+  com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * List of requested visible metric values.
    * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - java.util.List getMetricValuesList(); + java.util.List + getMetricValuesList(); /** - * - * *
    * List of requested visible metric values.
    * 
@@ -101,8 +74,6 @@ public interface RowOrBuilder */ com.google.analytics.data.v1beta.MetricValue getMetricValues(int index); /** - * - * *
    * List of requested visible metric values.
    * 
@@ -111,24 +82,21 @@ public interface RowOrBuilder */ int getMetricValuesCount(); /** - * - * *
    * List of requested visible metric values.
    * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - java.util.List + java.util.List getMetricValuesOrBuilderList(); /** - * - * *
    * List of requested visible metric values.
    * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBuilder(int index); + com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBuilder( + int index); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java similarity index 81% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java index 853a98d7..db91cbfb 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The request to generate a pivot report.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunPivotReportRequest} */ -public final class RunPivotReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunPivotReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunPivotReportRequest) RunPivotReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunPivotReportRequest.newBuilder() to construct. private RunPivotReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunPivotReportRequest() { property_ = ""; dimensions_ = java.util.Collections.emptyList(); @@ -48,15 +30,16 @@ private RunPivotReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunPivotReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RunPivotReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,137 +59,117 @@ private RunPivotReportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; + property_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensions_.add( - input.readMessage( - com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); - break; + dimensions_.add( + input.readMessage(com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metrics_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + metrics_.add( + input.readMessage(com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + dateRanges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metrics_.add( - input.readMessage( - com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); - break; + dateRanges_.add( + input.readMessage(com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + pivots_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - dateRanges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - dateRanges_.add( - input.readMessage( - com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry)); - break; + pivots_.add( + input.readMessage(com.google.analytics.data.v1beta.Pivot.parser(), extensionRegistry)); + break; + } + case 50: { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (dimensionFilter_ != null) { + subBuilder = dimensionFilter_.toBuilder(); } - case 42: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - pivots_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - pivots_.add( - input.readMessage( - com.google.analytics.data.v1beta.Pivot.parser(), extensionRegistry)); - break; + dimensionFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dimensionFilter_); + dimensionFilter_ = subBuilder.buildPartial(); } - case 50: - { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (dimensionFilter_ != null) { - subBuilder = dimensionFilter_.toBuilder(); - } - dimensionFilter_ = - input.readMessage( - com.google.analytics.data.v1beta.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionFilter_); - dimensionFilter_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (metricFilter_ != null) { + subBuilder = metricFilter_.toBuilder(); } - case 58: - { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (metricFilter_ != null) { - subBuilder = metricFilter_.toBuilder(); - } - metricFilter_ = - input.readMessage( - com.google.analytics.data.v1beta.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricFilter_); - metricFilter_ = subBuilder.buildPartial(); - } - - break; + metricFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricFilter_); + metricFilter_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - currencyCode_ = s; - break; - } - case 74: - { - com.google.analytics.data.v1beta.CohortSpec.Builder subBuilder = null; - if (cohortSpec_ != null) { - subBuilder = cohortSpec_.toBuilder(); - } - cohortSpec_ = - input.readMessage( - com.google.analytics.data.v1beta.CohortSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cohortSpec_); - cohortSpec_ = subBuilder.buildPartial(); - } + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 80: - { - keepEmptyRows_ = input.readBool(); - break; + currencyCode_ = s; + break; + } + case 74: { + com.google.analytics.data.v1beta.CohortSpec.Builder subBuilder = null; + if (cohortSpec_ != null) { + subBuilder = cohortSpec_.toBuilder(); } - case 88: - { - returnPropertyQuota_ = input.readBool(); - break; + cohortSpec_ = input.readMessage(com.google.analytics.data.v1beta.CohortSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cohortSpec_); + cohortSpec_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 80: { + + keepEmptyRows_ = input.readBool(); + break; + } + case 88: { + + returnPropertyQuota_ = 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)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -224,27 +187,22 @@ private RunPivotReportRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunPivotReportRequest.class, - com.google.analytics.data.v1beta.RunPivotReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunPivotReportRequest.class, com.google.analytics.data.v1beta.RunPivotReportRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -256,7 +214,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string property = 1; - * * @return The property. */ @java.lang.Override @@ -265,15 +222,14 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -285,15 +241,16 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; - * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -304,8 +261,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { public static final int DIMENSIONS_FIELD_NUMBER = 2; private java.util.List dimensions_; /** - * - * *
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -318,8 +273,6 @@ public java.util.List getDimensionsL
     return dimensions_;
   }
   /**
-   *
-   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -328,13 +281,11 @@ public java.util.List getDimensionsL
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDimensionsOrBuilderList() {
     return dimensions_;
   }
   /**
-   *
-   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -347,8 +298,6 @@ public int getDimensionsCount() {
     return dimensions_.size();
   }
   /**
-   *
-   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -361,8 +310,6 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
     return dimensions_.get(index);
   }
   /**
-   *
-   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -371,15 +318,14 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) {
+  public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
+      int index) {
     return dimensions_.get(index);
   }
 
   public static final int METRICS_FIELD_NUMBER = 3;
   private java.util.List metrics_;
   /**
-   *
-   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -393,8 +339,6 @@ public java.util.List getMetricsList()
     return metrics_;
   }
   /**
-   *
-   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -404,13 +348,11 @@ public java.util.List getMetricsList()
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMetricsOrBuilderList() {
     return metrics_;
   }
   /**
-   *
-   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -424,8 +366,6 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
-   *
-   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -439,8 +379,6 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
     return metrics_.get(index);
   }
   /**
-   *
-   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -450,15 +388,14 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) {
+  public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
+      int index) {
     return metrics_.get(index);
   }
 
   public static final int DATE_RANGES_FIELD_NUMBER = 4;
   private java.util.List dateRanges_;
   /**
-   *
-   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -474,8 +411,6 @@ public java.util.List getDateRangesL
     return dateRanges_;
   }
   /**
-   *
-   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -487,13 +422,11 @@ public java.util.List getDateRangesL
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDateRangesOrBuilderList() {
     return dateRanges_;
   }
   /**
-   *
-   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -509,8 +442,6 @@ public int getDateRangesCount() {
     return dateRanges_.size();
   }
   /**
-   *
-   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -526,8 +457,6 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
     return dateRanges_.get(index);
   }
   /**
-   *
-   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -539,15 +468,14 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index) {
+  public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
+      int index) {
     return dateRanges_.get(index);
   }
 
   public static final int PIVOTS_FIELD_NUMBER = 5;
   private java.util.List pivots_;
   /**
-   *
-   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -562,8 +490,6 @@ public java.util.List getPivotsList() {
     return pivots_;
   }
   /**
-   *
-   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -574,13 +500,11 @@ public java.util.List getPivotsList() {
    * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPivotsOrBuilderList() {
     return pivots_;
   }
   /**
-   *
-   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -595,8 +519,6 @@ public int getPivotsCount() {
     return pivots_.size();
   }
   /**
-   *
-   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -611,8 +533,6 @@ public com.google.analytics.data.v1beta.Pivot getPivots(int index) {
     return pivots_.get(index);
   }
   /**
-   *
-   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -623,22 +543,20 @@ public com.google.analytics.data.v1beta.Pivot getPivots(int index) {
    * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(int index) {
+  public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
+      int index) {
     return pivots_.get(index);
   }
 
   public static final int DIMENSION_FILTER_FIELD_NUMBER = 6;
   private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_;
   /**
-   *
-   *
    * 
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; - * * @return Whether the dimensionFilter field is set. */ @java.lang.Override @@ -646,26 +564,19 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** - * - * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; - * * @return The dimensionFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { - return dimensionFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : dimensionFilter_; + return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; } /** - * - * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
@@ -681,8 +592,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
   public static final int METRIC_FILTER_FIELD_NUMBER = 7;
   private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
   /**
-   *
-   *
    * 
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -690,7 +599,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; - * * @return Whether the metricFilter field is set. */ @java.lang.Override @@ -698,8 +606,6 @@ public boolean hasMetricFilter() { return metricFilter_ != null; } /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -707,18 +613,13 @@ public boolean hasMetricFilter() {
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; - * * @return The metricFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { - return metricFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : metricFilter_; + return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; } /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -735,15 +636,12 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
   public static final int CURRENCY_CODE_FIELD_NUMBER = 8;
   private volatile java.lang.Object currencyCode_;
   /**
-   *
-   *
    * 
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 8; - * * @return The currencyCode. */ @java.lang.Override @@ -752,30 +650,30 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** - * - * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -786,15 +684,12 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { public static final int COHORT_SPEC_FIELD_NUMBER = 9; private com.google.analytics.data.v1beta.CohortSpec cohortSpec_; /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; - * * @return Whether the cohortSpec field is set. */ @java.lang.Override @@ -802,26 +697,19 @@ public boolean hasCohortSpec() { return cohortSpec_ != null; } /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; - * * @return The cohortSpec. */ @java.lang.Override public com.google.analytics.data.v1beta.CohortSpec getCohortSpec() { - return cohortSpec_ == null - ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() - : cohortSpec_; + return cohortSpec_ == null ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_; } /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
@@ -837,8 +725,6 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
   public static final int KEEP_EMPTY_ROWS_FIELD_NUMBER = 10;
   private boolean keepEmptyRows_;
   /**
-   *
-   *
    * 
    * If false or unspecified, each row with all metrics equal to 0 will not be
    * returned. If true, these rows will be returned if they are not separately
@@ -846,7 +732,6 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
    * 
* * bool keep_empty_rows = 10; - * * @return The keepEmptyRows. */ @java.lang.Override @@ -857,15 +742,12 @@ public boolean getKeepEmptyRows() { public static final int RETURN_PROPERTY_QUOTA_FIELD_NUMBER = 11; private boolean returnPropertyQuota_; /** - * - * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 11; - * * @return The returnPropertyQuota. */ @java.lang.Override @@ -874,7 +756,6 @@ public boolean getReturnPropertyQuota() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -886,7 +767,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getPropertyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -933,34 +815,43 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); } for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, dimensions_.get(i)); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metrics_.get(i)); } for (int i = 0; i < dateRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, dateRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, dateRanges_.get(i)); } for (int i = 0; i < pivots_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, pivots_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, pivots_.get(i)); } if (dimensionFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDimensionFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDimensionFilter()); } if (metricFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetricFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getMetricFilter()); } if (!getCurrencyCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, currencyCode_); } if (cohortSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCohortSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getCohortSpec()); } if (keepEmptyRows_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, keepEmptyRows_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, keepEmptyRows_); } if (returnPropertyQuota_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, returnPropertyQuota_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, returnPropertyQuota_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -970,34 +861,44 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.data.v1beta.RunPivotReportRequest)) { return super.equals(obj); } - com.google.analytics.data.v1beta.RunPivotReportRequest other = - (com.google.analytics.data.v1beta.RunPivotReportRequest) obj; - - if (!getProperty().equals(other.getProperty())) return false; - if (!getDimensionsList().equals(other.getDimensionsList())) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; - if (!getDateRangesList().equals(other.getDateRangesList())) return false; - if (!getPivotsList().equals(other.getPivotsList())) return false; + com.google.analytics.data.v1beta.RunPivotReportRequest other = (com.google.analytics.data.v1beta.RunPivotReportRequest) obj; + + if (!getProperty() + .equals(other.getProperty())) return false; + if (!getDimensionsList() + .equals(other.getDimensionsList())) return false; + if (!getMetricsList() + .equals(other.getMetricsList())) return false; + if (!getDateRangesList() + .equals(other.getDateRangesList())) return false; + if (!getPivotsList() + .equals(other.getPivotsList())) return false; if (hasDimensionFilter() != other.hasDimensionFilter()) return false; if (hasDimensionFilter()) { - if (!getDimensionFilter().equals(other.getDimensionFilter())) return false; + if (!getDimensionFilter() + .equals(other.getDimensionFilter())) return false; } if (hasMetricFilter() != other.hasMetricFilter()) return false; if (hasMetricFilter()) { - if (!getMetricFilter().equals(other.getMetricFilter())) return false; + if (!getMetricFilter() + .equals(other.getMetricFilter())) return false; } - if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; + if (!getCurrencyCode() + .equals(other.getCurrencyCode())) return false; if (hasCohortSpec() != other.hasCohortSpec()) return false; if (hasCohortSpec()) { - if (!getCohortSpec().equals(other.getCohortSpec())) return false; + if (!getCohortSpec() + .equals(other.getCohortSpec())) return false; } - if (getKeepEmptyRows() != other.getKeepEmptyRows()) return false; - if (getReturnPropertyQuota() != other.getReturnPropertyQuota()) return false; + if (getKeepEmptyRows() + != other.getKeepEmptyRows()) return false; + if (getReturnPropertyQuota() + != other.getReturnPropertyQuota()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1042,136 +943,128 @@ public int hashCode() { hash = (53 * hash) + getCohortSpec().hashCode(); } hash = (37 * hash) + KEEP_EMPTY_ROWS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeepEmptyRows()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getKeepEmptyRows()); hash = (37 * hash) + RETURN_PROPERTY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPropertyQuota()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReturnPropertyQuota()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.RunPivotReportRequest prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.RunPivotReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 request to generate a pivot report.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunPivotReportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunPivotReportRequest) com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunPivotReportRequest.class, - com.google.analytics.data.v1beta.RunPivotReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunPivotReportRequest.class, com.google.analytics.data.v1beta.RunPivotReportRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunPivotReportRequest.newBuilder() @@ -1179,20 +1072,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDimensionsFieldBuilder(); getMetricsFieldBuilder(); getDateRangesFieldBuilder(); getPivotsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1250,9 +1143,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; } @java.lang.Override @@ -1271,8 +1164,7 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.RunPivotReportRequest buildPartial() { - com.google.analytics.data.v1beta.RunPivotReportRequest result = - new com.google.analytics.data.v1beta.RunPivotReportRequest(this); + com.google.analytics.data.v1beta.RunPivotReportRequest result = new com.google.analytics.data.v1beta.RunPivotReportRequest(this); int from_bitField0_ = bitField0_; result.property_ = property_; if (dimensionsBuilder_ == null) { @@ -1337,39 +1229,38 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunPivotReportRequest) { - return mergeFrom((com.google.analytics.data.v1beta.RunPivotReportRequest) other); + return mergeFrom((com.google.analytics.data.v1beta.RunPivotReportRequest)other); } else { super.mergeFrom(other); return this; @@ -1377,8 +1268,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportRequest other) { - if (other == com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -1401,10 +1291,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportRequest dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionsFieldBuilder() - : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionsFieldBuilder() : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -1428,10 +1317,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportRequest metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricsFieldBuilder() : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -1455,10 +1343,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportRequest dateRangesBuilder_ = null; dateRanges_ = other.dateRanges_; bitField0_ = (bitField0_ & ~0x00000004); - dateRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDateRangesFieldBuilder() - : null; + dateRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDateRangesFieldBuilder() : null; } else { dateRangesBuilder_.addAllMessages(other.dateRanges_); } @@ -1482,10 +1369,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportRequest pivotsBuilder_ = null; pivots_ = other.pivots_; bitField0_ = (bitField0_ & ~0x00000008); - pivotsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPivotsFieldBuilder() - : null; + pivotsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPivotsFieldBuilder() : null; } else { pivotsBuilder_.addAllMessages(other.pivots_); } @@ -1529,8 +1415,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.RunPivotReportRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.RunPivotReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1539,13 +1424,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object property_ = ""; /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1557,13 +1439,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; - * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1572,8 +1454,6 @@ public java.lang.String getProperty() { } } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1585,14 +1465,15 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; - * * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -1600,8 +1481,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1613,22 +1492,20 @@ public com.google.protobuf.ByteString getPropertyBytes() {
      * 
* * string property = 1; - * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { + public Builder setProperty( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1640,18 +1517,15 @@ public Builder setProperty(java.lang.String value) {
      * 
* * string property = 1; - * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1663,41 +1537,34 @@ public Builder clearProperty() {
      * 
* * string property = 1; - * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List dimensions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(dimensions_); + dimensions_ = new java.util.ArrayList(dimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, - com.google.analytics.data.v1beta.Dimension.Builder, - com.google.analytics.data.v1beta.DimensionOrBuilder> - dimensionsBuilder_; + com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> dimensionsBuilder_; /** - * - * *
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1713,8 +1580,6 @@ public java.util.List getDimensionsL
       }
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1730,8 +1595,6 @@ public int getDimensionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1747,8 +1610,6 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1756,7 +1617,8 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public Builder setDimensions(int index, com.google.analytics.data.v1beta.Dimension value) {
+    public Builder setDimensions(
+        int index, com.google.analytics.data.v1beta.Dimension value) {
       if (dimensionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1770,8 +1632,6 @@ public Builder setDimensions(int index, com.google.analytics.data.v1beta.Dimensi
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1791,8 +1651,6 @@ public Builder setDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1814,8 +1672,6 @@ public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1823,7 +1679,8 @@ public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) {
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public Builder addDimensions(int index, com.google.analytics.data.v1beta.Dimension value) {
+    public Builder addDimensions(
+        int index, com.google.analytics.data.v1beta.Dimension value) {
       if (dimensionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1837,8 +1694,6 @@ public Builder addDimensions(int index, com.google.analytics.data.v1beta.Dimensi
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1858,8 +1713,6 @@ public Builder addDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1879,8 +1732,6 @@ public Builder addDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1892,7 +1743,8 @@ public Builder addAllDimensions(
         java.lang.Iterable values) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dimensions_);
         onChanged();
       } else {
         dimensionsBuilder_.addAllMessages(values);
@@ -1900,8 +1752,6 @@ public Builder addAllDimensions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1920,8 +1770,6 @@ public Builder clearDimensions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1940,8 +1788,6 @@ public Builder removeDimensions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1949,12 +1795,11 @@ public Builder removeDimensions(int index) {
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(int index) {
+    public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(
+        int index) {
       return getDimensionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1962,16 +1807,14 @@ public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(i
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) {
+    public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
+        int index) {
       if (dimensionsBuilder_ == null) {
-        return dimensions_.get(index);
-      } else {
+        return dimensions_.get(index);  } else {
         return dimensionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1979,8 +1822,8 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public java.util.List
-        getDimensionsOrBuilderList() {
+    public java.util.List 
+         getDimensionsOrBuilderList() {
       if (dimensionsBuilder_ != null) {
         return dimensionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1988,8 +1831,6 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1998,12 +1839,10 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
     public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder() {
-      return getDimensionsFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
+      return getDimensionsFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -2011,13 +1850,12 @@ public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder()
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(int index) {
-      return getDimensionsFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(
+        int index) {
+      return getDimensionsFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -2025,47 +1863,38 @@ public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(i
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public java.util.List
-        getDimensionsBuilderList() {
+    public java.util.List 
+         getDimensionsBuilderList() {
       return getDimensionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Dimension,
-            com.google.analytics.data.v1beta.Dimension.Builder,
-            com.google.analytics.data.v1beta.DimensionOrBuilder>
+        com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> 
         getDimensionsFieldBuilder() {
       if (dimensionsBuilder_ == null) {
-        dimensionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.Dimension,
-                com.google.analytics.data.v1beta.Dimension.Builder,
-                com.google.analytics.data.v1beta.DimensionOrBuilder>(
-                dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder>(
+                dimensions_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         dimensions_ = null;
       }
       return dimensionsBuilder_;
     }
 
     private java.util.List metrics_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureMetricsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         metrics_ = new java.util.ArrayList(metrics_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Metric,
-            com.google.analytics.data.v1beta.Metric.Builder,
-            com.google.analytics.data.v1beta.MetricOrBuilder>
-        metricsBuilder_;
+        com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> metricsBuilder_;
 
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2082,8 +1911,6 @@ public java.util.List getMetricsList()
       }
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2100,8 +1927,6 @@ public int getMetricsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2118,8 +1943,6 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2128,7 +1951,8 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public Builder setMetrics(int index, com.google.analytics.data.v1beta.Metric value) {
+    public Builder setMetrics(
+        int index, com.google.analytics.data.v1beta.Metric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2142,8 +1966,6 @@ public Builder setMetrics(int index, com.google.analytics.data.v1beta.Metric val
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2164,8 +1986,6 @@ public Builder setMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2188,8 +2008,6 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2198,7 +2016,8 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric value) {
+    public Builder addMetrics(
+        int index, com.google.analytics.data.v1beta.Metric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2212,8 +2031,6 @@ public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric val
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2222,7 +2039,8 @@ public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric val
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public Builder addMetrics(com.google.analytics.data.v1beta.Metric.Builder builderForValue) {
+    public Builder addMetrics(
+        com.google.analytics.data.v1beta.Metric.Builder builderForValue) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
         metrics_.add(builderForValue.build());
@@ -2233,8 +2051,6 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2255,8 +2071,6 @@ public Builder addMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2269,7 +2083,8 @@ public Builder addAllMetrics(
         java.lang.Iterable values) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, metrics_);
         onChanged();
       } else {
         metricsBuilder_.addAllMessages(values);
@@ -2277,8 +2092,6 @@ public Builder addAllMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2298,8 +2111,6 @@ public Builder clearMetrics() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2319,8 +2130,6 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2329,12 +2138,11 @@ public Builder removeMetrics(int index) {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(int index) {
+    public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(
+        int index) {
       return getMetricsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2343,16 +2151,14 @@ public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(int ind
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) {
+    public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
+        int index) {
       if (metricsBuilder_ == null) {
-        return metrics_.get(index);
-      } else {
+        return metrics_.get(index);  } else {
         return metricsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2361,8 +2167,8 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public java.util.List
-        getMetricsOrBuilderList() {
+    public java.util.List 
+         getMetricsOrBuilderList() {
       if (metricsBuilder_ != null) {
         return metricsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2370,8 +2176,6 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2381,12 +2185,10 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
     public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() {
-      return getMetricsFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.Metric.getDefaultInstance());
+      return getMetricsFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.Metric.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2395,13 +2197,12 @@ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(int index) {
-      return getMetricsFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.Metric.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(
+        int index) {
+      return getMetricsFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.Metric.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2410,47 +2211,38 @@ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(int ind
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public java.util.List getMetricsBuilderList() {
+    public java.util.List 
+         getMetricsBuilderList() {
       return getMetricsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Metric,
-            com.google.analytics.data.v1beta.Metric.Builder,
-            com.google.analytics.data.v1beta.MetricOrBuilder>
+        com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> 
         getMetricsFieldBuilder() {
       if (metricsBuilder_ == null) {
-        metricsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.Metric,
-                com.google.analytics.data.v1beta.Metric.Builder,
-                com.google.analytics.data.v1beta.MetricOrBuilder>(
-                metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder>(
+                metrics_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         metrics_ = null;
       }
       return metricsBuilder_;
     }
 
     private java.util.List dateRanges_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureDateRangesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        dateRanges_ =
-            new java.util.ArrayList(dateRanges_);
+        dateRanges_ = new java.util.ArrayList(dateRanges_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DateRange,
-            com.google.analytics.data.v1beta.DateRange.Builder,
-            com.google.analytics.data.v1beta.DateRangeOrBuilder>
-        dateRangesBuilder_;
+        com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> dateRangesBuilder_;
 
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2469,8 +2261,6 @@ public java.util.List getDateRangesL
       }
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2489,8 +2279,6 @@ public int getDateRangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2509,8 +2297,6 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2521,7 +2307,8 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public Builder setDateRanges(int index, com.google.analytics.data.v1beta.DateRange value) {
+    public Builder setDateRanges(
+        int index, com.google.analytics.data.v1beta.DateRange value) {
       if (dateRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2535,8 +2322,6 @@ public Builder setDateRanges(int index, com.google.analytics.data.v1beta.DateRan
       return this;
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2559,8 +2344,6 @@ public Builder setDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2585,8 +2368,6 @@ public Builder addDateRanges(com.google.analytics.data.v1beta.DateRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2597,7 +2378,8 @@ public Builder addDateRanges(com.google.analytics.data.v1beta.DateRange value) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public Builder addDateRanges(int index, com.google.analytics.data.v1beta.DateRange value) {
+    public Builder addDateRanges(
+        int index, com.google.analytics.data.v1beta.DateRange value) {
       if (dateRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2611,8 +2393,6 @@ public Builder addDateRanges(int index, com.google.analytics.data.v1beta.DateRan
       return this;
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2635,8 +2415,6 @@ public Builder addDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2659,8 +2437,6 @@ public Builder addDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2675,7 +2451,8 @@ public Builder addAllDateRanges(
         java.lang.Iterable values) {
       if (dateRangesBuilder_ == null) {
         ensureDateRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dateRanges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dateRanges_);
         onChanged();
       } else {
         dateRangesBuilder_.addAllMessages(values);
@@ -2683,8 +2460,6 @@ public Builder addAllDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2706,8 +2481,6 @@ public Builder clearDateRanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2729,8 +2502,6 @@ public Builder removeDateRanges(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2741,12 +2512,11 @@ public Builder removeDateRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(int index) {
+    public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(
+        int index) {
       return getDateRangesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2757,16 +2527,14 @@ public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(i
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index) {
+    public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
+        int index) {
       if (dateRangesBuilder_ == null) {
-        return dateRanges_.get(index);
-      } else {
+        return dateRanges_.get(index);  } else {
         return dateRangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2777,8 +2545,8 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public java.util.List
-        getDateRangesOrBuilderList() {
+    public java.util.List 
+         getDateRangesOrBuilderList() {
       if (dateRangesBuilder_ != null) {
         return dateRangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2786,8 +2554,6 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2799,12 +2565,10 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
     public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder() {
-      return getDateRangesFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
+      return getDateRangesFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2815,13 +2579,12 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder()
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(int index) {
-      return getDateRangesFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
+    public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(
+        int index) {
+      return getDateRangesFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2832,47 +2595,38 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(i
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public java.util.List
-        getDateRangesBuilderList() {
+    public java.util.List 
+         getDateRangesBuilderList() {
       return getDateRangesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DateRange,
-            com.google.analytics.data.v1beta.DateRange.Builder,
-            com.google.analytics.data.v1beta.DateRangeOrBuilder>
+        com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> 
         getDateRangesFieldBuilder() {
       if (dateRangesBuilder_ == null) {
-        dateRangesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.DateRange,
-                com.google.analytics.data.v1beta.DateRange.Builder,
-                com.google.analytics.data.v1beta.DateRangeOrBuilder>(
-                dateRanges_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        dateRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder>(
+                dateRanges_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         dateRanges_ = null;
       }
       return dateRangesBuilder_;
     }
 
     private java.util.List pivots_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePivotsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         pivots_ = new java.util.ArrayList(pivots_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Pivot,
-            com.google.analytics.data.v1beta.Pivot.Builder,
-            com.google.analytics.data.v1beta.PivotOrBuilder>
-        pivotsBuilder_;
+        com.google.analytics.data.v1beta.Pivot, com.google.analytics.data.v1beta.Pivot.Builder, com.google.analytics.data.v1beta.PivotOrBuilder> pivotsBuilder_;
 
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2890,8 +2644,6 @@ public java.util.List getPivotsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2909,8 +2661,6 @@ public int getPivotsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2928,8 +2678,6 @@ public com.google.analytics.data.v1beta.Pivot getPivots(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2939,7 +2687,8 @@ public com.google.analytics.data.v1beta.Pivot getPivots(int index) {
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public Builder setPivots(int index, com.google.analytics.data.v1beta.Pivot value) {
+    public Builder setPivots(
+        int index, com.google.analytics.data.v1beta.Pivot value) {
       if (pivotsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2953,8 +2702,6 @@ public Builder setPivots(int index, com.google.analytics.data.v1beta.Pivot value
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2976,8 +2723,6 @@ public Builder setPivots(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3001,8 +2746,6 @@ public Builder addPivots(com.google.analytics.data.v1beta.Pivot value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3012,7 +2755,8 @@ public Builder addPivots(com.google.analytics.data.v1beta.Pivot value) {
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public Builder addPivots(int index, com.google.analytics.data.v1beta.Pivot value) {
+    public Builder addPivots(
+        int index, com.google.analytics.data.v1beta.Pivot value) {
       if (pivotsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3026,8 +2770,6 @@ public Builder addPivots(int index, com.google.analytics.data.v1beta.Pivot value
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3037,7 +2779,8 @@ public Builder addPivots(int index, com.google.analytics.data.v1beta.Pivot value
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public Builder addPivots(com.google.analytics.data.v1beta.Pivot.Builder builderForValue) {
+    public Builder addPivots(
+        com.google.analytics.data.v1beta.Pivot.Builder builderForValue) {
       if (pivotsBuilder_ == null) {
         ensurePivotsIsMutable();
         pivots_.add(builderForValue.build());
@@ -3048,8 +2791,6 @@ public Builder addPivots(com.google.analytics.data.v1beta.Pivot.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3071,8 +2812,6 @@ public Builder addPivots(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3086,7 +2825,8 @@ public Builder addAllPivots(
         java.lang.Iterable values) {
       if (pivotsBuilder_ == null) {
         ensurePivotsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivots_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, pivots_);
         onChanged();
       } else {
         pivotsBuilder_.addAllMessages(values);
@@ -3094,8 +2834,6 @@ public Builder addAllPivots(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3116,8 +2854,6 @@ public Builder clearPivots() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3138,8 +2874,6 @@ public Builder removePivots(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3149,12 +2883,11 @@ public Builder removePivots(int index) {
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public com.google.analytics.data.v1beta.Pivot.Builder getPivotsBuilder(int index) {
+    public com.google.analytics.data.v1beta.Pivot.Builder getPivotsBuilder(
+        int index) {
       return getPivotsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3164,16 +2897,14 @@ public com.google.analytics.data.v1beta.Pivot.Builder getPivotsBuilder(int index
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(int index) {
+    public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
+        int index) {
       if (pivotsBuilder_ == null) {
-        return pivots_.get(index);
-      } else {
+        return pivots_.get(index);  } else {
         return pivotsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3183,8 +2914,8 @@ public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(int in
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public java.util.List
-        getPivotsOrBuilderList() {
+    public java.util.List 
+         getPivotsOrBuilderList() {
       if (pivotsBuilder_ != null) {
         return pivotsBuilder_.getMessageOrBuilderList();
       } else {
@@ -3192,8 +2923,6 @@ public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3204,12 +2933,10 @@ public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(int in
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
     public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder() {
-      return getPivotsFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.Pivot.getDefaultInstance());
+      return getPivotsFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.Pivot.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3219,13 +2946,12 @@ public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder() {
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder(int index) {
-      return getPivotsFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.Pivot.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder(
+        int index) {
+      return getPivotsFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.Pivot.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -3235,22 +2961,20 @@ public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder(int index
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public java.util.List getPivotsBuilderList() {
+    public java.util.List 
+         getPivotsBuilderList() {
       return getPivotsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Pivot,
-            com.google.analytics.data.v1beta.Pivot.Builder,
-            com.google.analytics.data.v1beta.PivotOrBuilder>
+        com.google.analytics.data.v1beta.Pivot, com.google.analytics.data.v1beta.Pivot.Builder, com.google.analytics.data.v1beta.PivotOrBuilder> 
         getPivotsFieldBuilder() {
       if (pivotsBuilder_ == null) {
-        pivotsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.Pivot,
-                com.google.analytics.data.v1beta.Pivot.Builder,
-                com.google.analytics.data.v1beta.PivotOrBuilder>(
-                pivots_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        pivotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.Pivot, com.google.analytics.data.v1beta.Pivot.Builder, com.google.analytics.data.v1beta.PivotOrBuilder>(
+                pivots_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         pivots_ = null;
       }
       return pivotsBuilder_;
@@ -3258,49 +2982,36 @@ public java.util.List getPivotsB
 
     private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression,
-            com.google.analytics.data.v1beta.FilterExpression.Builder,
-            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
-        dimensionFilterBuilder_;
+        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> dimensionFilterBuilder_;
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; - * * @return Whether the dimensionFilter field is set. */ public boolean hasDimensionFilter() { return dimensionFilterBuilder_ != null || dimensionFilter_ != null; } /** - * - * *
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; - * * @return The dimensionFilter. */ public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : dimensionFilter_; + return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; } else { return dimensionFilterBuilder_.getMessage(); } } /** - * - * *
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3322,8 +3033,6 @@ public Builder setDimensionFilter(com.google.analytics.data.v1beta.FilterExpress
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3343,8 +3052,6 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3356,9 +3063,7 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       if (dimensionFilterBuilder_ == null) {
         if (dimensionFilter_ != null) {
           dimensionFilter_ =
-              com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_).mergeFrom(value).buildPartial();
         } else {
           dimensionFilter_ = value;
         }
@@ -3370,8 +3075,6 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3391,8 +3094,6 @@ public Builder clearDimensionFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3401,13 +3102,11 @@ public Builder clearDimensionFilter() {
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFilterBuilder() {
-
+      
       onChanged();
       return getDimensionFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3415,19 +3114,15 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
      *
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6;
      */
-    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder
-        getDimensionFilterOrBuilder() {
+    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder() {
       if (dimensionFilterBuilder_ != null) {
         return dimensionFilterBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionFilter_ == null
-            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
-            : dimensionFilter_;
+        return dimensionFilter_ == null ?
+            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3436,17 +3131,14 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression,
-            com.google.analytics.data.v1beta.FilterExpression.Builder,
-            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
         getDimensionFilterFieldBuilder() {
       if (dimensionFilterBuilder_ == null) {
-        dimensionFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.FilterExpression,
-                com.google.analytics.data.v1beta.FilterExpression.Builder,
-                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getDimensionFilter(), getParentForChildren(), isClean());
+        dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getDimensionFilter(),
+                getParentForChildren(),
+                isClean());
         dimensionFilter_ = null;
       }
       return dimensionFilterBuilder_;
@@ -3454,13 +3146,8 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
 
     private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression,
-            com.google.analytics.data.v1beta.FilterExpression.Builder,
-            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
-        metricFilterBuilder_;
+        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> metricFilterBuilder_;
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3468,15 +3155,12 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; - * * @return Whether the metricFilter field is set. */ public boolean hasMetricFilter() { return metricFilterBuilder_ != null || metricFilter_ != null; } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3484,21 +3168,16 @@ public boolean hasMetricFilter() {
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; - * * @return The metricFilter. */ public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { if (metricFilterBuilder_ == null) { - return metricFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : metricFilter_; + return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; } else { return metricFilterBuilder_.getMessage(); } } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3521,8 +3200,6 @@ public Builder setMetricFilter(com.google.analytics.data.v1beta.FilterExpression
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3543,8 +3220,6 @@ public Builder setMetricFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3557,9 +3232,7 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       if (metricFilterBuilder_ == null) {
         if (metricFilter_ != null) {
           metricFilter_ =
-              com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_).mergeFrom(value).buildPartial();
         } else {
           metricFilter_ = value;
         }
@@ -3571,8 +3244,6 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3593,8 +3264,6 @@ public Builder clearMetricFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3604,13 +3273,11 @@ public Builder clearMetricFilter() {
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 7;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getMetricFilterBuilder() {
-
+      
       onChanged();
       return getMetricFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3623,14 +3290,11 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
       if (metricFilterBuilder_ != null) {
         return metricFilterBuilder_.getMessageOrBuilder();
       } else {
-        return metricFilter_ == null
-            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
-            : metricFilter_;
+        return metricFilter_ == null ?
+            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3640,17 +3304,14 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression,
-            com.google.analytics.data.v1beta.FilterExpression.Builder,
-            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
         getMetricFilterFieldBuilder() {
       if (metricFilterBuilder_ == null) {
-        metricFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.FilterExpression,
-                com.google.analytics.data.v1beta.FilterExpression.Builder,
-                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getMetricFilter(), getParentForChildren(), isClean());
+        metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getMetricFilter(),
+                getParentForChildren(),
+                isClean());
         metricFilter_ = null;
       }
       return metricFilterBuilder_;
@@ -3658,21 +3319,19 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
 
     private java.lang.Object currencyCode_ = "";
     /**
-     *
-     *
      * 
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 8; - * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -3681,22 +3340,21 @@ public java.lang.String getCurrencyCode() { } } /** - * - * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -3704,64 +3362,57 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { } } /** - * - * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 8; - * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode(java.lang.String value) { + public Builder setCurrencyCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currencyCode_ = value; onChanged(); return this; } /** - * - * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 8; - * * @return This builder for chaining. */ public Builder clearCurrencyCode() { - + currencyCode_ = getDefaultInstance().getCurrencyCode(); onChanged(); return this; } /** - * - * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 8; - * * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCurrencyCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currencyCode_ = value; onChanged(); return this; @@ -3769,49 +3420,36 @@ public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { private com.google.analytics.data.v1beta.CohortSpec cohortSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.CohortSpec, - com.google.analytics.data.v1beta.CohortSpec.Builder, - com.google.analytics.data.v1beta.CohortSpecOrBuilder> - cohortSpecBuilder_; + com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder> cohortSpecBuilder_; /** - * - * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
      * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; - * * @return Whether the cohortSpec field is set. */ public boolean hasCohortSpec() { return cohortSpecBuilder_ != null || cohortSpec_ != null; } /** - * - * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
      * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; - * * @return The cohortSpec. */ public com.google.analytics.data.v1beta.CohortSpec getCohortSpec() { if (cohortSpecBuilder_ == null) { - return cohortSpec_ == null - ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() - : cohortSpec_; + return cohortSpec_ == null ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_; } else { return cohortSpecBuilder_.getMessage(); } } /** - * - * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3833,8 +3471,6 @@ public Builder setCohortSpec(com.google.analytics.data.v1beta.CohortSpec value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3854,8 +3490,6 @@ public Builder setCohortSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3867,9 +3501,7 @@ public Builder mergeCohortSpec(com.google.analytics.data.v1beta.CohortSpec value
       if (cohortSpecBuilder_ == null) {
         if (cohortSpec_ != null) {
           cohortSpec_ =
-              com.google.analytics.data.v1beta.CohortSpec.newBuilder(cohortSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.CohortSpec.newBuilder(cohortSpec_).mergeFrom(value).buildPartial();
         } else {
           cohortSpec_ = value;
         }
@@ -3881,8 +3513,6 @@ public Builder mergeCohortSpec(com.google.analytics.data.v1beta.CohortSpec value
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3902,8 +3532,6 @@ public Builder clearCohortSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3912,13 +3540,11 @@ public Builder clearCohortSpec() {
      * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9;
      */
     public com.google.analytics.data.v1beta.CohortSpec.Builder getCohortSpecBuilder() {
-
+      
       onChanged();
       return getCohortSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3930,14 +3556,11 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
       if (cohortSpecBuilder_ != null) {
         return cohortSpecBuilder_.getMessageOrBuilder();
       } else {
-        return cohortSpec_ == null
-            ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance()
-            : cohortSpec_;
+        return cohortSpec_ == null ?
+            com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_;
       }
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3946,26 +3569,21 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
      * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.CohortSpec,
-            com.google.analytics.data.v1beta.CohortSpec.Builder,
-            com.google.analytics.data.v1beta.CohortSpecOrBuilder>
+        com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder> 
         getCohortSpecFieldBuilder() {
       if (cohortSpecBuilder_ == null) {
-        cohortSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.CohortSpec,
-                com.google.analytics.data.v1beta.CohortSpec.Builder,
-                com.google.analytics.data.v1beta.CohortSpecOrBuilder>(
-                getCohortSpec(), getParentForChildren(), isClean());
+        cohortSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder>(
+                getCohortSpec(),
+                getParentForChildren(),
+                isClean());
         cohortSpec_ = null;
       }
       return cohortSpecBuilder_;
     }
 
-    private boolean keepEmptyRows_;
+    private boolean keepEmptyRows_ ;
     /**
-     *
-     *
      * 
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -3973,7 +3591,6 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
      * 
* * bool keep_empty_rows = 10; - * * @return The keepEmptyRows. */ @java.lang.Override @@ -3981,8 +3598,6 @@ public boolean getKeepEmptyRows() { return keepEmptyRows_; } /** - * - * *
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -3990,19 +3605,16 @@ public boolean getKeepEmptyRows() {
      * 
* * bool keep_empty_rows = 10; - * * @param value The keepEmptyRows to set. * @return This builder for chaining. */ public Builder setKeepEmptyRows(boolean value) { - + keepEmptyRows_ = value; onChanged(); return this; } /** - * - * *
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -4010,27 +3622,23 @@ public Builder setKeepEmptyRows(boolean value) {
      * 
* * bool keep_empty_rows = 10; - * * @return This builder for chaining. */ public Builder clearKeepEmptyRows() { - + keepEmptyRows_ = false; onChanged(); return this; } - private boolean returnPropertyQuota_; + private boolean returnPropertyQuota_ ; /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 11; - * * @return The returnPropertyQuota. */ @java.lang.Override @@ -4038,45 +3646,39 @@ public boolean getReturnPropertyQuota() { return returnPropertyQuota_; } /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 11; - * * @param value The returnPropertyQuota to set. * @return This builder for chaining. */ public Builder setReturnPropertyQuota(boolean value) { - + returnPropertyQuota_ = value; onChanged(); return this; } /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 11; - * * @return This builder for chaining. */ public Builder clearReturnPropertyQuota() { - + returnPropertyQuota_ = 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); } @@ -4086,12 +3688,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunPivotReportRequest) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunPivotReportRequest) private static final com.google.analytics.data.v1beta.RunPivotReportRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunPivotReportRequest(); } @@ -4100,16 +3702,16 @@ public static com.google.analytics.data.v1beta.RunPivotReportRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunPivotReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunPivotReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunPivotReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunPivotReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4124,4 +3726,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.RunPivotReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java similarity index 89% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java index 7e9d0768..55bd06cf 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface RunPivotReportRequestOrBuilder - extends +public interface RunPivotReportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunPivotReportRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -37,13 +19,10 @@ public interface RunPivotReportRequestOrBuilder
    * 
* * string property = 1; - * * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -55,14 +34,12 @@ public interface RunPivotReportRequestOrBuilder
    * 
* * string property = 1; - * * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -70,10 +47,9 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
-  java.util.List getDimensionsList();
+  java.util.List 
+      getDimensionsList();
   /**
-   *
-   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -83,8 +59,6 @@ public interface RunPivotReportRequestOrBuilder
    */
   com.google.analytics.data.v1beta.Dimension getDimensions(int index);
   /**
-   *
-   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -94,8 +68,6 @@ public interface RunPivotReportRequestOrBuilder
    */
   int getDimensionsCount();
   /**
-   *
-   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -103,11 +75,9 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
-  java.util.List
+  java.util.List 
       getDimensionsOrBuilderList();
   /**
-   *
-   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -115,11 +85,10 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
-  com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index);
+  com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -128,10 +97,9 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
-  java.util.List getMetricsList();
+  java.util.List 
+      getMetricsList();
   /**
-   *
-   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -142,8 +110,6 @@ public interface RunPivotReportRequestOrBuilder
    */
   com.google.analytics.data.v1beta.Metric getMetrics(int index);
   /**
-   *
-   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -154,8 +120,6 @@ public interface RunPivotReportRequestOrBuilder
    */
   int getMetricsCount();
   /**
-   *
-   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -164,11 +128,9 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
-  java.util.List
+  java.util.List 
       getMetricsOrBuilderList();
   /**
-   *
-   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -177,11 +139,10 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
-  com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index);
+  com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -192,10 +153,9 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  java.util.List getDateRangesList();
+  java.util.List 
+      getDateRangesList();
   /**
-   *
-   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -208,8 +168,6 @@ public interface RunPivotReportRequestOrBuilder
    */
   com.google.analytics.data.v1beta.DateRange getDateRanges(int index);
   /**
-   *
-   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -222,8 +180,6 @@ public interface RunPivotReportRequestOrBuilder
    */
   int getDateRangesCount();
   /**
-   *
-   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -234,11 +190,9 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  java.util.List
+  java.util.List 
       getDateRangesOrBuilderList();
   /**
-   *
-   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -249,11 +203,10 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index);
+  com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -263,10 +216,9 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
    */
-  java.util.List getPivotsList();
+  java.util.List 
+      getPivotsList();
   /**
-   *
-   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -278,8 +230,6 @@ public interface RunPivotReportRequestOrBuilder
    */
   com.google.analytics.data.v1beta.Pivot getPivots(int index);
   /**
-   *
-   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -291,8 +241,6 @@ public interface RunPivotReportRequestOrBuilder
    */
   int getPivotsCount();
   /**
-   *
-   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -302,11 +250,9 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
    */
-  java.util.List
+  java.util.List 
       getPivotsOrBuilderList();
   /**
-   *
-   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -316,37 +262,30 @@ public interface RunPivotReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
    */
-  com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(int index);
+  com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; - * * @return Whether the dimensionFilter field is set. */ boolean hasDimensionFilter(); /** - * - * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; - * * @return The dimensionFilter. */ com.google.analytics.data.v1beta.FilterExpression getDimensionFilter(); /** - * - * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
@@ -357,8 +296,6 @@ public interface RunPivotReportRequestOrBuilder
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -366,13 +303,10 @@ public interface RunPivotReportRequestOrBuilder
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; - * * @return Whether the metricFilter field is set. */ boolean hasMetricFilter(); /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -380,13 +314,10 @@ public interface RunPivotReportRequestOrBuilder
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; - * * @return The metricFilter. */ com.google.analytics.data.v1beta.FilterExpression getMetricFilter(); /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -398,61 +329,48 @@ public interface RunPivotReportRequestOrBuilder
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 8; - * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** - * - * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 8; - * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString getCurrencyCodeBytes(); + com.google.protobuf.ByteString + getCurrencyCodeBytes(); /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; - * * @return Whether the cohortSpec field is set. */ boolean hasCohortSpec(); /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; - * * @return The cohortSpec. */ com.google.analytics.data.v1beta.CohortSpec getCohortSpec(); /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
@@ -463,8 +381,6 @@ public interface RunPivotReportRequestOrBuilder
   com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * If false or unspecified, each row with all metrics equal to 0 will not be
    * returned. If true, these rows will be returned if they are not separately
@@ -472,21 +388,17 @@ public interface RunPivotReportRequestOrBuilder
    * 
* * bool keep_empty_rows = 10; - * * @return The keepEmptyRows. */ boolean getKeepEmptyRows(); /** - * - * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 11; - * * @return The returnPropertyQuota. */ boolean getReturnPropertyQuota(); diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java similarity index 83% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java index 9dfbd55d..f2d94b1c 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The response pivot report table corresponding to a pivot request.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunPivotReportResponse} */ -public final class RunPivotReportResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunPivotReportResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunPivotReportResponse) RunPivotReportResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunPivotReportResponse.newBuilder() to construct. private RunPivotReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunPivotReportResponse() { pivotHeaders_ = java.util.Collections.emptyList(); dimensionHeaders_ = java.util.Collections.emptyList(); @@ -48,15 +30,16 @@ private RunPivotReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunPivotReportResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RunPivotReportResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,118 +59,97 @@ private RunPivotReportResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - pivotHeaders_.add( - input.readMessage( - com.google.analytics.data.v1beta.PivotHeader.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pivotHeaders_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - dimensionHeaders_.add( - input.readMessage( - com.google.analytics.data.v1beta.DimensionHeader.parser(), - extensionRegistry)); - break; + pivotHeaders_.add( + input.readMessage(com.google.analytics.data.v1beta.PivotHeader.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + dimensionHeaders_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - metricHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - metricHeaders_.add( - input.readMessage( - com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); - break; + dimensionHeaders_.add( + input.readMessage(com.google.analytics.data.v1beta.DimensionHeader.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + metricHeaders_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - rows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - rows_.add( - input.readMessage( - com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; + metricHeaders_.add( + input.readMessage(com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + rows_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 42: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - aggregates_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - aggregates_.add( - input.readMessage( - com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; + rows_.add( + input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + aggregates_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 50: - { - com.google.analytics.data.v1beta.ResponseMetaData.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = - input.readMessage( - com.google.analytics.data.v1beta.ResponseMetaData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; + aggregates_.add( + input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; + } + case 50: { + com.google.analytics.data.v1beta.ResponseMetaData.Builder subBuilder = null; + if (metadata_ != null) { + subBuilder = metadata_.toBuilder(); } - case 58: - { - com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; - if (propertyQuota_ != null) { - subBuilder = propertyQuota_.toBuilder(); - } - propertyQuota_ = - input.readMessage( - com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(propertyQuota_); - propertyQuota_ = subBuilder.buildPartial(); - } - - break; + metadata_ = input.readMessage(com.google.analytics.data.v1beta.ResponseMetaData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metadata_); + metadata_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - kind_ = s; - break; + break; + } + case 58: { + com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; + if (propertyQuota_ != null) { + subBuilder = propertyQuota_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + propertyQuota_ = input.readMessage(com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(propertyQuota_); + propertyQuota_ = subBuilder.buildPartial(); + } + + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + kind_ = 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)) { pivotHeaders_ = java.util.Collections.unmodifiableList(pivotHeaders_); @@ -208,27 +170,22 @@ private RunPivotReportResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunPivotReportResponse.class, - com.google.analytics.data.v1beta.RunPivotReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunPivotReportResponse.class, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder.class); } public static final int PIVOT_HEADERS_FIELD_NUMBER = 1; private java.util.List pivotHeaders_; /** - * - * *
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -272,8 +229,6 @@ public java.util.List getPivotHead
     return pivotHeaders_;
   }
   /**
-   *
-   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -313,13 +268,11 @@ public java.util.List getPivotHead
    * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPivotHeadersOrBuilderList() {
     return pivotHeaders_;
   }
   /**
-   *
-   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -363,8 +316,6 @@ public int getPivotHeadersCount() {
     return pivotHeaders_.size();
   }
   /**
-   *
-   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -408,8 +359,6 @@ public com.google.analytics.data.v1beta.PivotHeader getPivotHeaders(int index) {
     return pivotHeaders_.get(index);
   }
   /**
-   *
-   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -449,15 +398,14 @@ public com.google.analytics.data.v1beta.PivotHeader getPivotHeaders(int index) {
    * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(int index) {
+  public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
+      int index) {
     return pivotHeaders_.get(index);
   }
 
   public static final int DIMENSION_HEADERS_FIELD_NUMBER = 2;
   private java.util.List dimensionHeaders_;
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -466,13 +414,10 @@ public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBu
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getDimensionHeadersList() {
+  public java.util.List getDimensionHeadersList() {
     return dimensionHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -481,13 +426,11 @@ public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBu
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDimensionHeadersOrBuilderList() {
     return dimensionHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -500,8 +443,6 @@ public int getDimensionHeadersCount() {
     return dimensionHeaders_.size();
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -514,8 +455,6 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
     return dimensionHeaders_.get(index);
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -532,8 +471,6 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
   public static final int METRIC_HEADERS_FIELD_NUMBER = 3;
   private java.util.List metricHeaders_;
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -546,8 +483,6 @@ public java.util.List getMetricHe
     return metricHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -556,13 +491,11 @@ public java.util.List getMetricHe
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMetricHeadersOrBuilderList() {
     return metricHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -575,8 +508,6 @@ public int getMetricHeadersCount() {
     return metricHeaders_.size();
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -589,8 +520,6 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
     return metricHeaders_.get(index);
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -607,8 +536,6 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
   public static final int ROWS_FIELD_NUMBER = 4;
   private java.util.List rows_;
   /**
-   *
-   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -620,8 +547,6 @@ public java.util.List getRowsList() { return rows_; } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -629,13 +554,11 @@ public java.util.List getRowsList() { * repeated .google.analytics.data.v1beta.Row rows = 4; */ @java.lang.Override - public java.util.List + public java.util.List getRowsOrBuilderList() { return rows_; } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -647,8 +570,6 @@ public int getRowsCount() { return rows_.size(); } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -660,8 +581,6 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { return rows_.get(index); } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -669,15 +588,14 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { * repeated .google.analytics.data.v1beta.Row rows = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( + int index) { return rows_.get(index); } public static final int AGGREGATES_FIELD_NUMBER = 5; private java.util.List aggregates_; /** - * - * *
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -692,8 +610,6 @@ public java.util.List getAggregatesList()
     return aggregates_;
   }
   /**
-   *
-   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -704,13 +620,11 @@ public java.util.List getAggregatesList()
    * repeated .google.analytics.data.v1beta.Row aggregates = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAggregatesOrBuilderList() {
     return aggregates_;
   }
   /**
-   *
-   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -725,8 +639,6 @@ public int getAggregatesCount() {
     return aggregates_.size();
   }
   /**
-   *
-   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -741,8 +653,6 @@ public com.google.analytics.data.v1beta.Row getAggregates(int index) {
     return aggregates_.get(index);
   }
   /**
-   *
-   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -753,21 +663,19 @@ public com.google.analytics.data.v1beta.Row getAggregates(int index) {
    * repeated .google.analytics.data.v1beta.Row aggregates = 5;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(int index) {
+  public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
+      int index) {
     return aggregates_.get(index);
   }
 
   public static final int METADATA_FIELD_NUMBER = 6;
   private com.google.analytics.data.v1beta.ResponseMetaData metadata_;
   /**
-   *
-   *
    * 
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -775,25 +683,18 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; - * * @return The metadata. */ @java.lang.Override public com.google.analytics.data.v1beta.ResponseMetaData getMetadata() { - return metadata_ == null - ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; } /** - * - * *
    * Metadata for the report.
    * 
@@ -808,14 +709,11 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB public static final int PROPERTY_QUOTA_FIELD_NUMBER = 7; private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; - * * @return Whether the propertyQuota field is set. */ @java.lang.Override @@ -823,25 +721,18 @@ public boolean hasPropertyQuota() { return propertyQuota_ != null; } /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; - * * @return The propertyQuota. */ @java.lang.Override public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { - return propertyQuota_ == null - ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() - : propertyQuota_; + return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; } /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
@@ -856,8 +747,6 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO public static final int KIND_FIELD_NUMBER = 8; private volatile java.lang.Object kind_; /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -865,7 +754,6 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
    * 
* * string kind = 8; - * * @return The kind. */ @java.lang.Override @@ -874,15 +762,14 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -890,15 +777,16 @@ public java.lang.String getKind() {
    * 
* * string kind = 8; - * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -907,7 +795,6 @@ public com.google.protobuf.ByteString getKindBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -919,7 +806,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < pivotHeaders_.size(); i++) { output.writeMessage(1, pivotHeaders_.get(i)); } @@ -954,25 +842,32 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < pivotHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, pivotHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, pivotHeaders_.get(i)); } for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensionHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, dimensionHeaders_.get(i)); } for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metricHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metricHeaders_.get(i)); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, rows_.get(i)); } for (int i = 0; i < aggregates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, aggregates_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, aggregates_.get(i)); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getMetadata()); } if (propertyQuota_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPropertyQuota()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getPropertyQuota()); } if (!getKindBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kind_); @@ -985,28 +880,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.analytics.data.v1beta.RunPivotReportResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.RunPivotReportResponse other = - (com.google.analytics.data.v1beta.RunPivotReportResponse) obj; + com.google.analytics.data.v1beta.RunPivotReportResponse other = (com.google.analytics.data.v1beta.RunPivotReportResponse) obj; - if (!getPivotHeadersList().equals(other.getPivotHeadersList())) return false; - if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; - if (!getRowsList().equals(other.getRowsList())) return false; - if (!getAggregatesList().equals(other.getAggregatesList())) return false; + if (!getPivotHeadersList() + .equals(other.getPivotHeadersList())) return false; + if (!getDimensionHeadersList() + .equals(other.getDimensionHeadersList())) return false; + if (!getMetricHeadersList() + .equals(other.getMetricHeadersList())) return false; + if (!getRowsList() + .equals(other.getRowsList())) return false; + if (!getAggregatesList() + .equals(other.getAggregatesList())) 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 (hasPropertyQuota() != other.hasPropertyQuota()) return false; if (hasPropertyQuota()) { - if (!getPropertyQuota().equals(other.getPropertyQuota())) return false; + if (!getPropertyQuota() + .equals(other.getPropertyQuota())) return false; } - if (!getKind().equals(other.getKind())) return false; + if (!getKind() + .equals(other.getKind())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1054,127 +956,117 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.RunPivotReportResponse prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.RunPivotReportResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 response pivot report table corresponding to a pivot request.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunPivotReportResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunPivotReportResponse) com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunPivotReportResponse.class, - com.google.analytics.data.v1beta.RunPivotReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunPivotReportResponse.class, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunPivotReportResponse.newBuilder() @@ -1182,13 +1074,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPivotHeadersFieldBuilder(); getDimensionHeadersFieldBuilder(); getMetricHeadersFieldBuilder(); @@ -1196,7 +1089,6 @@ private void maybeForceBuilderInitialization() { getAggregatesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1248,9 +1140,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; } @java.lang.Override @@ -1269,8 +1161,7 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.RunPivotReportResponse buildPartial() { - com.google.analytics.data.v1beta.RunPivotReportResponse result = - new com.google.analytics.data.v1beta.RunPivotReportResponse(this); + com.google.analytics.data.v1beta.RunPivotReportResponse result = new com.google.analytics.data.v1beta.RunPivotReportResponse(this); int from_bitField0_ = bitField0_; if (pivotHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1336,39 +1227,38 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunPivotReportResponse) { - return mergeFrom((com.google.analytics.data.v1beta.RunPivotReportResponse) other); + return mergeFrom((com.google.analytics.data.v1beta.RunPivotReportResponse)other); } else { super.mergeFrom(other); return this; @@ -1376,8 +1266,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse other) { - if (other == com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()) return this; if (pivotHeadersBuilder_ == null) { if (!other.pivotHeaders_.isEmpty()) { if (pivotHeaders_.isEmpty()) { @@ -1396,10 +1285,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse pivotHeadersBuilder_ = null; pivotHeaders_ = other.pivotHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - pivotHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPivotHeadersFieldBuilder() - : null; + pivotHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPivotHeadersFieldBuilder() : null; } else { pivotHeadersBuilder_.addAllMessages(other.pivotHeaders_); } @@ -1423,10 +1311,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse dimensionHeadersBuilder_ = null; dimensionHeaders_ = other.dimensionHeaders_; bitField0_ = (bitField0_ & ~0x00000002); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionHeadersFieldBuilder() - : null; + dimensionHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionHeadersFieldBuilder() : null; } else { dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); } @@ -1450,10 +1337,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse metricHeadersBuilder_ = null; metricHeaders_ = other.metricHeaders_; bitField0_ = (bitField0_ & ~0x00000004); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricHeadersFieldBuilder() - : null; + metricHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricHeadersFieldBuilder() : null; } else { metricHeadersBuilder_.addAllMessages(other.metricHeaders_); } @@ -1477,10 +1363,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000008); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowsFieldBuilder() - : null; + rowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowsFieldBuilder() : null; } else { rowsBuilder_.addAllMessages(other.rows_); } @@ -1504,10 +1389,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse aggregatesBuilder_ = null; aggregates_ = other.aggregates_; bitField0_ = (bitField0_ & ~0x00000010); - aggregatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAggregatesFieldBuilder() - : null; + aggregatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAggregatesFieldBuilder() : null; } else { aggregatesBuilder_.addAllMessages(other.aggregates_); } @@ -1542,8 +1426,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.RunPivotReportResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.RunPivotReportResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1552,29 +1435,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List pivotHeaders_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePivotHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pivotHeaders_ = - new java.util.ArrayList(pivotHeaders_); + pivotHeaders_ = new java.util.ArrayList(pivotHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.PivotHeader, - com.google.analytics.data.v1beta.PivotHeader.Builder, - com.google.analytics.data.v1beta.PivotHeaderOrBuilder> - pivotHeadersBuilder_; + com.google.analytics.data.v1beta.PivotHeader, com.google.analytics.data.v1beta.PivotHeader.Builder, com.google.analytics.data.v1beta.PivotHeaderOrBuilder> pivotHeadersBuilder_; /** - * - * *
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1621,8 +1496,6 @@ public java.util.List getPivotHead
       }
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1669,8 +1542,6 @@ public int getPivotHeadersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1717,8 +1588,6 @@ public com.google.analytics.data.v1beta.PivotHeader getPivotHeaders(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1757,7 +1626,8 @@ public com.google.analytics.data.v1beta.PivotHeader getPivotHeaders(int index) {
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public Builder setPivotHeaders(int index, com.google.analytics.data.v1beta.PivotHeader value) {
+    public Builder setPivotHeaders(
+        int index, com.google.analytics.data.v1beta.PivotHeader value) {
       if (pivotHeadersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1771,8 +1641,6 @@ public Builder setPivotHeaders(int index, com.google.analytics.data.v1beta.Pivot
       return this;
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1823,8 +1691,6 @@ public Builder setPivotHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1877,8 +1743,6 @@ public Builder addPivotHeaders(com.google.analytics.data.v1beta.PivotHeader valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1917,7 +1781,8 @@ public Builder addPivotHeaders(com.google.analytics.data.v1beta.PivotHeader valu
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public Builder addPivotHeaders(int index, com.google.analytics.data.v1beta.PivotHeader value) {
+    public Builder addPivotHeaders(
+        int index, com.google.analytics.data.v1beta.PivotHeader value) {
       if (pivotHeadersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1931,8 +1796,6 @@ public Builder addPivotHeaders(int index, com.google.analytics.data.v1beta.Pivot
       return this;
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1983,8 +1846,6 @@ public Builder addPivotHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2035,8 +1896,6 @@ public Builder addPivotHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2079,7 +1938,8 @@ public Builder addAllPivotHeaders(
         java.lang.Iterable values) {
       if (pivotHeadersBuilder_ == null) {
         ensurePivotHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, pivotHeaders_);
         onChanged();
       } else {
         pivotHeadersBuilder_.addAllMessages(values);
@@ -2087,8 +1947,6 @@ public Builder addAllPivotHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2138,8 +1996,6 @@ public Builder clearPivotHeaders() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2189,8 +2045,6 @@ public Builder removePivotHeaders(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2229,12 +2083,11 @@ public Builder removePivotHeaders(int index) {
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public com.google.analytics.data.v1beta.PivotHeader.Builder getPivotHeadersBuilder(int index) {
+    public com.google.analytics.data.v1beta.PivotHeader.Builder getPivotHeadersBuilder(
+        int index) {
       return getPivotHeadersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2276,14 +2129,11 @@ public com.google.analytics.data.v1beta.PivotHeader.Builder getPivotHeadersBuild
     public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
         int index) {
       if (pivotHeadersBuilder_ == null) {
-        return pivotHeaders_.get(index);
-      } else {
+        return pivotHeaders_.get(index);  } else {
         return pivotHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2322,8 +2172,8 @@ public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBu
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public java.util.List
-        getPivotHeadersOrBuilderList() {
+    public java.util.List 
+         getPivotHeadersOrBuilderList() {
       if (pivotHeadersBuilder_ != null) {
         return pivotHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2331,8 +2181,6 @@ public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2372,12 +2220,10 @@ public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBu
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
     public com.google.analytics.data.v1beta.PivotHeader.Builder addPivotHeadersBuilder() {
-      return getPivotHeadersFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.PivotHeader.getDefaultInstance());
+      return getPivotHeadersFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.PivotHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2416,13 +2262,12 @@ public com.google.analytics.data.v1beta.PivotHeader.Builder addPivotHeadersBuild
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public com.google.analytics.data.v1beta.PivotHeader.Builder addPivotHeadersBuilder(int index) {
-      return getPivotHeadersFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.PivotHeader.getDefaultInstance());
+    public com.google.analytics.data.v1beta.PivotHeader.Builder addPivotHeadersBuilder(
+        int index) {
+      return getPivotHeadersFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.PivotHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2461,49 +2306,38 @@ public com.google.analytics.data.v1beta.PivotHeader.Builder addPivotHeadersBuild
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public java.util.List
-        getPivotHeadersBuilderList() {
+    public java.util.List 
+         getPivotHeadersBuilderList() {
       return getPivotHeadersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.PivotHeader,
-            com.google.analytics.data.v1beta.PivotHeader.Builder,
-            com.google.analytics.data.v1beta.PivotHeaderOrBuilder>
+        com.google.analytics.data.v1beta.PivotHeader, com.google.analytics.data.v1beta.PivotHeader.Builder, com.google.analytics.data.v1beta.PivotHeaderOrBuilder> 
         getPivotHeadersFieldBuilder() {
       if (pivotHeadersBuilder_ == null) {
-        pivotHeadersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.PivotHeader,
-                com.google.analytics.data.v1beta.PivotHeader.Builder,
-                com.google.analytics.data.v1beta.PivotHeaderOrBuilder>(
-                pivotHeaders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        pivotHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.PivotHeader, com.google.analytics.data.v1beta.PivotHeader.Builder, com.google.analytics.data.v1beta.PivotHeaderOrBuilder>(
+                pivotHeaders_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         pivotHeaders_ = null;
       }
       return pivotHeadersBuilder_;
     }
 
     private java.util.List dimensionHeaders_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureDimensionHeadersIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        dimensionHeaders_ =
-            new java.util.ArrayList(
-                dimensionHeaders_);
+        dimensionHeaders_ = new java.util.ArrayList(dimensionHeaders_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionHeader,
-            com.google.analytics.data.v1beta.DimensionHeader.Builder,
-            com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>
-        dimensionHeadersBuilder_;
+        com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> dimensionHeadersBuilder_;
 
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2511,8 +2345,7 @@ private void ensureDimensionHeadersIsMutable() {
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
      */
-    public java.util.List
-        getDimensionHeadersList() {
+    public java.util.List getDimensionHeadersList() {
       if (dimensionHeadersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(dimensionHeaders_);
       } else {
@@ -2520,8 +2353,6 @@ private void ensureDimensionHeadersIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2537,8 +2368,6 @@ public int getDimensionHeadersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2554,8 +2383,6 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2578,8 +2405,6 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2599,8 +2424,6 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2622,8 +2445,6 @@ public Builder addDimensionHeaders(com.google.analytics.data.v1beta.DimensionHea
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2646,8 +2467,6 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2667,8 +2486,6 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2688,8 +2505,6 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2701,7 +2516,8 @@ public Builder addAllDimensionHeaders(
         java.lang.Iterable values) {
       if (dimensionHeadersBuilder_ == null) {
         ensureDimensionHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dimensionHeaders_);
         onChanged();
       } else {
         dimensionHeadersBuilder_.addAllMessages(values);
@@ -2709,8 +2525,6 @@ public Builder addAllDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2729,8 +2543,6 @@ public Builder clearDimensionHeaders() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2749,8 +2561,6 @@ public Builder removeDimensionHeaders(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2763,8 +2573,6 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
       return getDimensionHeadersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2775,14 +2583,11 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
     public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
         int index) {
       if (dimensionHeadersBuilder_ == null) {
-        return dimensionHeaders_.get(index);
-      } else {
+        return dimensionHeaders_.get(index);  } else {
         return dimensionHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2790,8 +2595,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
      */
-    public java.util.List
-        getDimensionHeadersOrBuilderList() {
+    public java.util.List 
+         getDimensionHeadersOrBuilderList() {
       if (dimensionHeadersBuilder_ != null) {
         return dimensionHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2799,8 +2604,6 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2809,12 +2612,10 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder() {
-      return getDimensionHeadersFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2824,12 +2625,10 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder(
         int index) {
-      return getDimensionHeadersFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2837,22 +2636,16 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
      */
-    public java.util.List
-        getDimensionHeadersBuilderList() {
+    public java.util.List 
+         getDimensionHeadersBuilderList() {
       return getDimensionHeadersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionHeader,
-            com.google.analytics.data.v1beta.DimensionHeader.Builder,
-            com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>
+        com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> 
         getDimensionHeadersFieldBuilder() {
       if (dimensionHeadersBuilder_ == null) {
-        dimensionHeadersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.DimensionHeader,
-                com.google.analytics.data.v1beta.DimensionHeader.Builder,
-                com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
+        dimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
                 dimensionHeaders_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2863,25 +2656,18 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
     }
 
     private java.util.List metricHeaders_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureMetricHeadersIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        metricHeaders_ =
-            new java.util.ArrayList(metricHeaders_);
+        metricHeaders_ = new java.util.ArrayList(metricHeaders_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricHeader,
-            com.google.analytics.data.v1beta.MetricHeader.Builder,
-            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
-        metricHeadersBuilder_;
+        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> metricHeadersBuilder_;
 
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2897,8 +2683,6 @@ public java.util.List getMetricHe
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2914,8 +2698,6 @@ public int getMetricHeadersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2931,8 +2713,6 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2955,8 +2735,6 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2976,8 +2754,6 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2999,8 +2775,6 @@ public Builder addMetricHeaders(com.google.analytics.data.v1beta.MetricHeader va
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3023,8 +2797,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3044,8 +2816,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3065,8 +2835,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3078,7 +2846,8 @@ public Builder addAllMetricHeaders(
         java.lang.Iterable values) {
       if (metricHeadersBuilder_ == null) {
         ensureMetricHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, metricHeaders_);
         onChanged();
       } else {
         metricHeadersBuilder_.addAllMessages(values);
@@ -3086,8 +2855,6 @@ public Builder addAllMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3106,8 +2873,6 @@ public Builder clearMetricHeaders() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3126,8 +2891,6 @@ public Builder removeMetricHeaders(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3140,8 +2903,6 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
       return getMetricHeadersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3152,14 +2913,11 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
     public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
         int index) {
       if (metricHeadersBuilder_ == null) {
-        return metricHeaders_.get(index);
-      } else {
+        return metricHeaders_.get(index);  } else {
         return metricHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3167,8 +2925,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
      */
-    public java.util.List
-        getMetricHeadersOrBuilderList() {
+    public java.util.List 
+         getMetricHeadersOrBuilderList() {
       if (metricHeadersBuilder_ != null) {
         return metricHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -3176,8 +2934,6 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3186,12 +2942,10 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder() {
-      return getMetricHeadersFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3201,12 +2955,10 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder(
         int index) {
-      return getMetricHeadersFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -3214,22 +2966,16 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
      */
-    public java.util.List
-        getMetricHeadersBuilderList() {
+    public java.util.List 
+         getMetricHeadersBuilderList() {
       return getMetricHeadersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricHeader,
-            com.google.analytics.data.v1beta.MetricHeader.Builder,
-            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
+        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> 
         getMetricHeadersFieldBuilder() {
       if (metricHeadersBuilder_ == null) {
-        metricHeadersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.MetricHeader,
-                com.google.analytics.data.v1beta.MetricHeader.Builder,
-                com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
+        metricHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
                 metricHeaders_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -3240,24 +2986,18 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
     }
 
     private java.util.List rows_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Row,
-            com.google.analytics.data.v1beta.Row.Builder,
-            com.google.analytics.data.v1beta.RowOrBuilder>
-        rowsBuilder_;
+        com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> rowsBuilder_;
 
     /**
-     *
-     *
      * 
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3272,8 +3012,6 @@ public java.util.List getRowsList() { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3288,8 +3026,6 @@ public int getRowsCount() { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3304,15 +3040,14 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public Builder setRows(int index, com.google.analytics.data.v1beta.Row value) { + public Builder setRows( + int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3326,8 +3061,6 @@ public Builder setRows(int index, com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3346,8 +3079,6 @@ public Builder setRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3368,15 +3099,14 @@ public Builder addRows(com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public Builder addRows(int index, com.google.analytics.data.v1beta.Row value) { + public Builder addRows( + int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3390,15 +3120,14 @@ public Builder addRows(int index, com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public Builder addRows(com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addRows( + com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -3409,8 +3138,6 @@ public Builder addRows(com.google.analytics.data.v1beta.Row.Builder builderForVa return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3429,8 +3156,6 @@ public Builder addRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3441,7 +3166,8 @@ public Builder addAllRows( java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); @@ -3449,8 +3175,6 @@ public Builder addAllRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3468,8 +3192,6 @@ public Builder clearRows() { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3487,44 +3209,39 @@ public Builder removeRows(int index) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder(int index) { + public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder( + int index) { return getRowsFieldBuilder().getBuilder(index); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( + int index) { if (rowsBuilder_ == null) { - return rows_.get(index); - } else { + return rows_.get(index); } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -3532,8 +3249,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3541,71 +3256,60 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) * repeated .google.analytics.data.v1beta.Row rows = 4; */ public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getRowsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder(int index) { - return getRowsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder( + int index) { + return getRowsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public java.util.List getRowsBuilderList() { + public java.util.List + getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder>( - rows_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( + rows_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); rows_ = null; } return rowsBuilder_; } private java.util.List aggregates_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAggregatesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { aggregates_ = new java.util.ArrayList(aggregates_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> - aggregatesBuilder_; + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> aggregatesBuilder_; /** - * - * *
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3623,8 +3327,6 @@ public java.util.List getAggregatesList()
       }
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3642,8 +3344,6 @@ public int getAggregatesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3661,8 +3361,6 @@ public com.google.analytics.data.v1beta.Row getAggregates(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3672,7 +3370,8 @@ public com.google.analytics.data.v1beta.Row getAggregates(int index) {
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public Builder setAggregates(int index, com.google.analytics.data.v1beta.Row value) {
+    public Builder setAggregates(
+        int index, com.google.analytics.data.v1beta.Row value) {
       if (aggregatesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3686,8 +3385,6 @@ public Builder setAggregates(int index, com.google.analytics.data.v1beta.Row val
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3709,8 +3406,6 @@ public Builder setAggregates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3734,8 +3429,6 @@ public Builder addAggregates(com.google.analytics.data.v1beta.Row value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3745,7 +3438,8 @@ public Builder addAggregates(com.google.analytics.data.v1beta.Row value) {
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public Builder addAggregates(int index, com.google.analytics.data.v1beta.Row value) {
+    public Builder addAggregates(
+        int index, com.google.analytics.data.v1beta.Row value) {
       if (aggregatesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3759,8 +3453,6 @@ public Builder addAggregates(int index, com.google.analytics.data.v1beta.Row val
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3770,7 +3462,8 @@ public Builder addAggregates(int index, com.google.analytics.data.v1beta.Row val
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public Builder addAggregates(com.google.analytics.data.v1beta.Row.Builder builderForValue) {
+    public Builder addAggregates(
+        com.google.analytics.data.v1beta.Row.Builder builderForValue) {
       if (aggregatesBuilder_ == null) {
         ensureAggregatesIsMutable();
         aggregates_.add(builderForValue.build());
@@ -3781,8 +3474,6 @@ public Builder addAggregates(com.google.analytics.data.v1beta.Row.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3804,8 +3495,6 @@ public Builder addAggregates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3819,7 +3508,8 @@ public Builder addAllAggregates(
         java.lang.Iterable values) {
       if (aggregatesBuilder_ == null) {
         ensureAggregatesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregates_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, aggregates_);
         onChanged();
       } else {
         aggregatesBuilder_.addAllMessages(values);
@@ -3827,8 +3517,6 @@ public Builder addAllAggregates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3849,8 +3537,6 @@ public Builder clearAggregates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3871,8 +3557,6 @@ public Builder removeAggregates(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3882,12 +3566,11 @@ public Builder removeAggregates(int index) {
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public com.google.analytics.data.v1beta.Row.Builder getAggregatesBuilder(int index) {
+    public com.google.analytics.data.v1beta.Row.Builder getAggregatesBuilder(
+        int index) {
       return getAggregatesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3897,16 +3580,14 @@ public com.google.analytics.data.v1beta.Row.Builder getAggregatesBuilder(int ind
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(int index) {
+    public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
+        int index) {
       if (aggregatesBuilder_ == null) {
-        return aggregates_.get(index);
-      } else {
+        return aggregates_.get(index);  } else {
         return aggregatesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3916,8 +3597,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(int
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public java.util.List
-        getAggregatesOrBuilderList() {
+    public java.util.List 
+         getAggregatesOrBuilderList() {
       if (aggregatesBuilder_ != null) {
         return aggregatesBuilder_.getMessageOrBuilderList();
       } else {
@@ -3925,8 +3606,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3937,12 +3616,10 @@ public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(int
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
     public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder() {
-      return getAggregatesFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance());
+      return getAggregatesFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.Row.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3952,13 +3629,12 @@ public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder() {
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder(int index) {
-      return getAggregatesFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder(
+        int index) {
+      return getAggregatesFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.Row.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3968,22 +3644,20 @@ public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder(int ind
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public java.util.List getAggregatesBuilderList() {
+    public java.util.List 
+         getAggregatesBuilderList() {
       return getAggregatesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Row,
-            com.google.analytics.data.v1beta.Row.Builder,
-            com.google.analytics.data.v1beta.RowOrBuilder>
+        com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> 
         getAggregatesFieldBuilder() {
       if (aggregatesBuilder_ == null) {
-        aggregatesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.Row,
-                com.google.analytics.data.v1beta.Row.Builder,
-                com.google.analytics.data.v1beta.RowOrBuilder>(
-                aggregates_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+        aggregatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>(
+                aggregates_,
+                ((bitField0_ & 0x00000010) != 0),
+                getParentForChildren(),
+                isClean());
         aggregates_ = null;
       }
       return aggregatesBuilder_;
@@ -3991,47 +3665,34 @@ public java.util.List getAggregate
 
     private com.google.analytics.data.v1beta.ResponseMetaData metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.ResponseMetaData,
-            com.google.analytics.data.v1beta.ResponseMetaData.Builder,
-            com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder>
-        metadataBuilder_;
+        com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Metadata for the report.
      * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Metadata for the report.
      * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; - * * @return The metadata. */ public com.google.analytics.data.v1beta.ResponseMetaData getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Metadata for the report.
      * 
@@ -4052,8 +3713,6 @@ public Builder setMetadata(com.google.analytics.data.v1beta.ResponseMetaData val return this; } /** - * - * *
      * Metadata for the report.
      * 
@@ -4072,8 +3731,6 @@ public Builder setMetadata( return this; } /** - * - * *
      * Metadata for the report.
      * 
@@ -4084,9 +3741,7 @@ public Builder mergeMetadata(com.google.analytics.data.v1beta.ResponseMetaData v if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.analytics.data.v1beta.ResponseMetaData.newBuilder(metadata_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.ResponseMetaData.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -4098,8 +3753,6 @@ public Builder mergeMetadata(com.google.analytics.data.v1beta.ResponseMetaData v return this; } /** - * - * *
      * Metadata for the report.
      * 
@@ -4118,8 +3771,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Metadata for the report.
      * 
@@ -4127,13 +3778,11 @@ public Builder clearMetadata() { * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; */ public com.google.analytics.data.v1beta.ResponseMetaData.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Metadata for the report.
      * 
@@ -4144,14 +3793,11 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null - ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() - : metadata_; + return metadata_ == null ? + com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; } } /** - * - * *
      * Metadata for the report.
      * 
@@ -4159,17 +3805,14 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.ResponseMetaData, - com.google.analytics.data.v1beta.ResponseMetaData.Builder, - com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> + com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.ResponseMetaData, - com.google.analytics.data.v1beta.ResponseMetaData.Builder, - com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; @@ -4177,47 +3820,34 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, - com.google.analytics.data.v1beta.PropertyQuota.Builder, - com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> - propertyQuotaBuilder_; + com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> propertyQuotaBuilder_; /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; - * * @return Whether the propertyQuota field is set. */ public boolean hasPropertyQuota() { return propertyQuotaBuilder_ != null || propertyQuota_ != null; } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; - * * @return The propertyQuota. */ public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { if (propertyQuotaBuilder_ == null) { - return propertyQuota_ == null - ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() - : propertyQuota_; + return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; } else { return propertyQuotaBuilder_.getMessage(); } } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4238,8 +3868,6 @@ public Builder setPropertyQuota(com.google.analytics.data.v1beta.PropertyQuota v return this; } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4258,8 +3886,6 @@ public Builder setPropertyQuota( return this; } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4270,9 +3896,7 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota if (propertyQuotaBuilder_ == null) { if (propertyQuota_ != null) { propertyQuota_ = - com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_).mergeFrom(value).buildPartial(); } else { propertyQuota_ = value; } @@ -4284,8 +3908,6 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota return this; } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4304,8 +3926,6 @@ public Builder clearPropertyQuota() { return this; } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4313,13 +3933,11 @@ public Builder clearPropertyQuota() { * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; */ public com.google.analytics.data.v1beta.PropertyQuota.Builder getPropertyQuotaBuilder() { - + onChanged(); return getPropertyQuotaFieldBuilder().getBuilder(); } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4330,14 +3948,11 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO if (propertyQuotaBuilder_ != null) { return propertyQuotaBuilder_.getMessageOrBuilder(); } else { - return propertyQuota_ == null - ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() - : propertyQuota_; + return propertyQuota_ == null ? + com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; } } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4345,17 +3960,14 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, - com.google.analytics.data.v1beta.PropertyQuota.Builder, - com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> + com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> getPropertyQuotaFieldBuilder() { if (propertyQuotaBuilder_ == null) { - propertyQuotaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, - com.google.analytics.data.v1beta.PropertyQuota.Builder, - com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( - getPropertyQuota(), getParentForChildren(), isClean()); + propertyQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( + getPropertyQuota(), + getParentForChildren(), + isClean()); propertyQuota_ = null; } return propertyQuotaBuilder_; @@ -4363,8 +3975,6 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO private java.lang.Object kind_ = ""; /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -4372,13 +3982,13 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
      * 
* * string kind = 8; - * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -4387,8 +3997,6 @@ public java.lang.String getKind() { } } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -4396,14 +4004,15 @@ public java.lang.String getKind() {
      * 
* * string kind = 8; - * * @return The bytes for kind. */ - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -4411,8 +4020,6 @@ public com.google.protobuf.ByteString getKindBytes() { } } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -4420,22 +4027,20 @@ public com.google.protobuf.ByteString getKindBytes() {
      * 
* * string kind = 8; - * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind(java.lang.String value) { + public Builder setKind( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -4443,18 +4048,15 @@ public Builder setKind(java.lang.String value) {
      * 
* * string kind = 8; - * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -4462,23 +4064,23 @@ public Builder clearKind() {
      * 
* * string kind = 8; - * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { + public Builder setKindBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = 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); } @@ -4488,12 +4090,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunPivotReportResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunPivotReportResponse) private static final com.google.analytics.data.v1beta.RunPivotReportResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunPivotReportResponse(); } @@ -4502,16 +4104,16 @@ public static com.google.analytics.data.v1beta.RunPivotReportResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunPivotReportResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunPivotReportResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunPivotReportResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunPivotReportResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4526,4 +4128,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.RunPivotReportResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java similarity index 90% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java index 2a889094..b2a774f0 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface RunPivotReportResponseOrBuilder - extends +public interface RunPivotReportResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunPivotReportResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -64,10 +46,9 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
    */
-  java.util.List getPivotHeadersList();
+  java.util.List 
+      getPivotHeadersList();
   /**
-   *
-   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -108,8 +89,6 @@ public interface RunPivotReportResponseOrBuilder
    */
   com.google.analytics.data.v1beta.PivotHeader getPivotHeaders(int index);
   /**
-   *
-   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -150,8 +129,6 @@ public interface RunPivotReportResponseOrBuilder
    */
   int getPivotHeadersCount();
   /**
-   *
-   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -190,11 +167,9 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
    */
-  java.util.List
+  java.util.List 
       getPivotHeadersOrBuilderList();
   /**
-   *
-   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -233,11 +208,10 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
    */
-  com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(int index);
+  com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -245,10 +219,9 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
    */
-  java.util.List getDimensionHeadersList();
+  java.util.List 
+      getDimensionHeadersList();
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -258,8 +231,6 @@ public interface RunPivotReportResponseOrBuilder
    */
   com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int index);
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -269,8 +240,6 @@ public interface RunPivotReportResponseOrBuilder
    */
   int getDimensionHeadersCount();
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -278,11 +247,9 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
    */
-  java.util.List
+  java.util.List 
       getDimensionHeadersOrBuilderList();
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -290,11 +257,10 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
    */
-  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(int index);
+  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -302,10 +268,9 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
    */
-  java.util.List getMetricHeadersList();
+  java.util.List 
+      getMetricHeadersList();
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -315,8 +280,6 @@ public interface RunPivotReportResponseOrBuilder
    */
   com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index);
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -326,8 +289,6 @@ public interface RunPivotReportResponseOrBuilder
    */
   int getMetricHeadersCount();
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -335,11 +296,9 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
    */
-  java.util.List
+  java.util.List 
       getMetricHeadersOrBuilderList();
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -347,21 +306,19 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
    */
-  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index);
+  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - java.util.List getRowsList(); + java.util.List + getRowsList(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -370,8 +327,6 @@ public interface RunPivotReportResponseOrBuilder */ com.google.analytics.data.v1beta.Row getRows(int index); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -380,29 +335,25 @@ public interface RunPivotReportResponseOrBuilder */ int getRowsCount(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - java.util.List getRowsOrBuilderList(); + java.util.List + getRowsOrBuilderList(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index); + com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( + int index); /** - * - * *
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -412,10 +363,9 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Row aggregates = 5;
    */
-  java.util.List getAggregatesList();
+  java.util.List 
+      getAggregatesList();
   /**
-   *
-   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -427,8 +377,6 @@ public interface RunPivotReportResponseOrBuilder
    */
   com.google.analytics.data.v1beta.Row getAggregates(int index);
   /**
-   *
-   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -440,8 +388,6 @@ public interface RunPivotReportResponseOrBuilder
    */
   int getAggregatesCount();
   /**
-   *
-   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -451,11 +397,9 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Row aggregates = 5;
    */
-  java.util.List
+  java.util.List 
       getAggregatesOrBuilderList();
   /**
-   *
-   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -465,35 +409,28 @@ public interface RunPivotReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.Row aggregates = 5;
    */
-  com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(int index);
+  com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; - * * @return The metadata. */ com.google.analytics.data.v1beta.ResponseMetaData getMetadata(); /** - * - * *
    * Metadata for the report.
    * 
@@ -503,32 +440,24 @@ public interface RunPivotReportResponseOrBuilder com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrBuilder(); /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; - * * @return Whether the propertyQuota field is set. */ boolean hasPropertyQuota(); /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; - * * @return The propertyQuota. */ com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota(); /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
@@ -538,8 +467,6 @@ public interface RunPivotReportResponseOrBuilder com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder(); /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -547,13 +474,10 @@ public interface RunPivotReportResponseOrBuilder
    * 
* * string kind = 8; - * * @return The kind. */ java.lang.String getKind(); /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -561,8 +485,8 @@ public interface RunPivotReportResponseOrBuilder
    * 
* * string kind = 8; - * * @return The bytes for kind. */ - com.google.protobuf.ByteString getKindBytes(); + com.google.protobuf.ByteString + getKindBytes(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java similarity index 79% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java index fb94d77e..7807ae0f 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The request to generate a realtime report.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunRealtimeReportRequest} */ -public final class RunRealtimeReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunRealtimeReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunRealtimeReportRequest) RunRealtimeReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunRealtimeReportRequest.newBuilder() to construct. private RunRealtimeReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunRealtimeReportRequest() { property_ = ""; dimensions_ = java.util.Collections.emptyList(); @@ -48,15 +30,16 @@ private RunRealtimeReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunRealtimeReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RunRealtimeReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,140 +59,121 @@ private RunRealtimeReportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; + property_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensions_.add( - input.readMessage( - com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); - break; + dimensions_.add( + input.readMessage(com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metrics_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metrics_.add( - input.readMessage( - com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); - break; + metrics_.add( + input.readMessage(com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); + break; + } + case 34: { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (dimensionFilter_ != null) { + subBuilder = dimensionFilter_.toBuilder(); } - case 34: - { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (dimensionFilter_ != null) { - subBuilder = dimensionFilter_.toBuilder(); - } - dimensionFilter_ = - input.readMessage( - com.google.analytics.data.v1beta.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionFilter_); - dimensionFilter_ = subBuilder.buildPartial(); - } - - break; + dimensionFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dimensionFilter_); + dimensionFilter_ = subBuilder.buildPartial(); } - case 42: - { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (metricFilter_ != null) { - subBuilder = metricFilter_.toBuilder(); - } - metricFilter_ = - input.readMessage( - com.google.analytics.data.v1beta.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricFilter_); - metricFilter_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (metricFilter_ != null) { + subBuilder = metricFilter_.toBuilder(); } - case 48: - { - limit_ = input.readInt64(); - break; + metricFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricFilter_); + metricFilter_ = subBuilder.buildPartial(); } - case 56: - { + + break; + } + case 48: { + + limit_ = input.readInt64(); + break; + } + case 56: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + metricAggregations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + metricAggregations_.add(rawValue); + break; + } + case 58: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000004) != 0)) { metricAggregations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } metricAggregations_.add(rawValue); - break; - } - case 58: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - metricAggregations_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 66: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - orderBys_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - orderBys_.add( - input.readMessage( - com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); - break; } - case 72: - { - returnPropertyQuota_ = input.readBool(); - break; + input.popLimit(oldLimit); + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + orderBys_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 82: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - minuteRanges_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - minuteRanges_.add( - input.readMessage( - com.google.analytics.data.v1beta.MinuteRange.parser(), extensionRegistry)); - break; + orderBys_.add( + input.readMessage(com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); + break; + } + case 72: { + + returnPropertyQuota_ = input.readBool(); + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + minuteRanges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + minuteRanges_.add( + input.readMessage(com.google.analytics.data.v1beta.MinuteRange.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)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -230,27 +194,22 @@ private RunRealtimeReportRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, - com.google.analytics.data.v1beta.RunRealtimeReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, com.google.analytics.data.v1beta.RunRealtimeReportRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -260,7 +219,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string property = 1; - * * @return The property. */ @java.lang.Override @@ -269,15 +227,14 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -287,15 +244,16 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; - * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -306,8 +264,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { public static final int DIMENSIONS_FIELD_NUMBER = 2; private java.util.List dimensions_; /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -319,8 +275,6 @@ public java.util.List getDimensionsL return dimensions_; } /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -328,13 +282,11 @@ public java.util.List getDimensionsL * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ @java.lang.Override - public java.util.List + public java.util.List getDimensionsOrBuilderList() { return dimensions_; } /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -346,8 +298,6 @@ public int getDimensionsCount() { return dimensions_.size(); } /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -359,8 +309,6 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { return dimensions_.get(index); } /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -368,15 +316,14 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) { + public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( + int index) { return dimensions_.get(index); } public static final int METRICS_FIELD_NUMBER = 3; private java.util.List metrics_; /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -388,8 +335,6 @@ public java.util.List getMetricsList() return metrics_; } /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -397,13 +342,11 @@ public java.util.List getMetricsList() * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ @java.lang.Override - public java.util.List + public java.util.List getMetricsOrBuilderList() { return metrics_; } /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -415,8 +358,6 @@ public int getMetricsCount() { return metrics_.size(); } /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -428,8 +369,6 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { return metrics_.get(index); } /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -437,22 +376,20 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) { + public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( + int index) { return metrics_.get(index); } public static final int DIMENSION_FILTER_FIELD_NUMBER = 4; private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_; /** - * - * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; - * * @return Whether the dimensionFilter field is set. */ @java.lang.Override @@ -460,26 +397,19 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** - * - * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; - * * @return The dimensionFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { - return dimensionFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : dimensionFilter_; + return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; } /** - * - * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
@@ -495,8 +425,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
   public static final int METRIC_FILTER_FIELD_NUMBER = 5;
   private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
   /**
-   *
-   *
    * 
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -504,7 +432,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; - * * @return Whether the metricFilter field is set. */ @java.lang.Override @@ -512,8 +439,6 @@ public boolean hasMetricFilter() { return metricFilter_ != null; } /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -521,18 +446,13 @@ public boolean hasMetricFilter() {
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; - * * @return The metricFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { - return metricFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : metricFilter_; + return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; } /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -549,8 +469,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
   public static final int LIMIT_FIELD_NUMBER = 6;
   private long limit_;
   /**
-   *
-   *
    * 
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -563,7 +481,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
    * 
* * int64 limit = 6; - * * @return The limit. */ @java.lang.Override @@ -574,49 +491,36 @@ public long getLimit() { public static final int METRIC_AGGREGATIONS_FIELD_NUMBER = 7; private java.util.List metricAggregations_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> - metricAggregations_converter_ = + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> metricAggregations_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>() { - public com.google.analytics.data.v1beta.MetricAggregation convert( - java.lang.Integer from) { + public com.google.analytics.data.v1beta.MetricAggregation convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricAggregation result = - com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); - return result == null - ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.MetricAggregation result = com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); + return result == null ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED : result; } }; /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * * @return A list containing the metricAggregations. */ @java.lang.Override - public java.util.List - getMetricAggregationsList() { + public java.util.List getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); } /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * * @return The count of metricAggregations. */ @java.lang.Override @@ -624,15 +528,12 @@ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -641,31 +542,26 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * * @return A list containing the enum numeric values on the wire for metricAggregations. */ @java.lang.Override - public java.util.List getMetricAggregationsValueList() { + public java.util.List + getMetricAggregationsValueList() { return metricAggregations_; } /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -673,14 +569,11 @@ public java.util.List getMetricAggregationsValueList() { public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } - private int metricAggregationsMemoizedSerializedSize; public static final int ORDER_BYS_FIELD_NUMBER = 8; private java.util.List orderBys_; /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -692,8 +585,6 @@ public java.util.List getOrderBysList( return orderBys_; } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -701,13 +592,11 @@ public java.util.List getOrderBysList( * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ @java.lang.Override - public java.util.List + public java.util.List getOrderBysOrBuilderList() { return orderBys_; } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -719,8 +608,6 @@ public int getOrderBysCount() { return orderBys_.size(); } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -732,8 +619,6 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { return orderBys_.get(index); } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -741,22 +626,20 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) { + public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( + int index) { return orderBys_.get(index); } public static final int RETURN_PROPERTY_QUOTA_FIELD_NUMBER = 9; private boolean returnPropertyQuota_; /** - * - * *
    * Toggles whether to return the current state of this Analytics Property's
    * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 9; - * * @return The returnPropertyQuota. */ @java.lang.Override @@ -767,8 +650,6 @@ public boolean getReturnPropertyQuota() { public static final int MINUTE_RANGES_FIELD_NUMBER = 10; private java.util.List minuteRanges_; /** - * - * *
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -784,8 +665,6 @@ public java.util.List getMinuteRan
     return minuteRanges_;
   }
   /**
-   *
-   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -797,13 +676,11 @@ public java.util.List getMinuteRan
    * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMinuteRangesOrBuilderList() {
     return minuteRanges_;
   }
   /**
-   *
-   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -819,8 +696,6 @@ public int getMinuteRangesCount() {
     return minuteRanges_.size();
   }
   /**
-   *
-   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -836,8 +711,6 @@ public com.google.analytics.data.v1beta.MinuteRange getMinuteRanges(int index) {
     return minuteRanges_.get(index);
   }
   /**
-   *
-   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -849,12 +722,12 @@ public com.google.analytics.data.v1beta.MinuteRange getMinuteRanges(int index) {
    * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBuilder(int index) {
+  public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBuilder(
+      int index) {
     return minuteRanges_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -866,7 +739,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 (!getPropertyBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_);
@@ -915,41 +789,48 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_);
     }
     for (int i = 0; i < dimensions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, dimensions_.get(i));
     }
     for (int i = 0; i < metrics_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, metrics_.get(i));
     }
     if (dimensionFilter_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDimensionFilter());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getDimensionFilter());
     }
     if (metricFilter_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetricFilter());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getMetricFilter());
     }
     if (limit_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, limit_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(6, limit_);
     }
     {
       int dataSize = 0;
       for (int i = 0; i < metricAggregations_.size(); i++) {
-        dataSize +=
-            com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(metricAggregations_.get(i));
+        dataSize += com.google.protobuf.CodedOutputStream
+          .computeEnumSizeNoTag(metricAggregations_.get(i));
       }
       size += dataSize;
-      if (!getMetricAggregationsList().isEmpty()) {
-        size += 1;
-        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
-      }
-      metricAggregationsMemoizedSerializedSize = dataSize;
+      if (!getMetricAggregationsList().isEmpty()) {  size += 1;
+        size += com.google.protobuf.CodedOutputStream
+          .computeUInt32SizeNoTag(dataSize);
+      }metricAggregationsMemoizedSerializedSize = dataSize;
     }
     for (int i = 0; i < orderBys_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, orderBys_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, orderBys_.get(i));
     }
     if (returnPropertyQuota_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, returnPropertyQuota_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(9, returnPropertyQuota_);
     }
     for (int i = 0; i < minuteRanges_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, minuteRanges_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, minuteRanges_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -959,30 +840,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.analytics.data.v1beta.RunRealtimeReportRequest)) {
       return super.equals(obj);
     }
-    com.google.analytics.data.v1beta.RunRealtimeReportRequest other =
-        (com.google.analytics.data.v1beta.RunRealtimeReportRequest) obj;
+    com.google.analytics.data.v1beta.RunRealtimeReportRequest other = (com.google.analytics.data.v1beta.RunRealtimeReportRequest) obj;
 
-    if (!getProperty().equals(other.getProperty())) return false;
-    if (!getDimensionsList().equals(other.getDimensionsList())) return false;
-    if (!getMetricsList().equals(other.getMetricsList())) return false;
+    if (!getProperty()
+        .equals(other.getProperty())) return false;
+    if (!getDimensionsList()
+        .equals(other.getDimensionsList())) return false;
+    if (!getMetricsList()
+        .equals(other.getMetricsList())) return false;
     if (hasDimensionFilter() != other.hasDimensionFilter()) return false;
     if (hasDimensionFilter()) {
-      if (!getDimensionFilter().equals(other.getDimensionFilter())) return false;
+      if (!getDimensionFilter()
+          .equals(other.getDimensionFilter())) return false;
     }
     if (hasMetricFilter() != other.hasMetricFilter()) return false;
     if (hasMetricFilter()) {
-      if (!getMetricFilter().equals(other.getMetricFilter())) return false;
+      if (!getMetricFilter()
+          .equals(other.getMetricFilter())) return false;
     }
-    if (getLimit() != other.getLimit()) return false;
+    if (getLimit()
+        != other.getLimit()) return false;
     if (!metricAggregations_.equals(other.metricAggregations_)) return false;
-    if (!getOrderBysList().equals(other.getOrderBysList())) return false;
-    if (getReturnPropertyQuota() != other.getReturnPropertyQuota()) return false;
-    if (!getMinuteRangesList().equals(other.getMinuteRangesList())) return false;
+    if (!getOrderBysList()
+        .equals(other.getOrderBysList())) return false;
+    if (getReturnPropertyQuota()
+        != other.getReturnPropertyQuota()) return false;
+    if (!getMinuteRangesList()
+        .equals(other.getMinuteRangesList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1013,7 +902,8 @@ public int hashCode() {
       hash = (53 * hash) + getMetricFilter().hashCode();
     }
     hash = (37 * hash) + LIMIT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getLimit());
     if (getMetricAggregationsCount() > 0) {
       hash = (37 * hash) + METRIC_AGGREGATIONS_FIELD_NUMBER;
       hash = (53 * hash) + metricAggregations_.hashCode();
@@ -1023,7 +913,8 @@ public int hashCode() {
       hash = (53 * hash) + getOrderBysList().hashCode();
     }
     hash = (37 * hash) + RETURN_PROPERTY_QUOTA_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPropertyQuota());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getReturnPropertyQuota());
     if (getMinuteRangesCount() > 0) {
       hash = (37 * hash) + MINUTE_RANGES_FIELD_NUMBER;
       hash = (53 * hash) + getMinuteRangesList().hashCode();
@@ -1034,127 +925,117 @@ public int hashCode() {
   }
 
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.analytics.data.v1beta.RunRealtimeReportRequest prototype) {
+  public static Builder newBuilder(com.google.analytics.data.v1beta.RunRealtimeReportRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 request to generate a realtime report.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunRealtimeReportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunRealtimeReportRequest) com.google.analytics.data.v1beta.RunRealtimeReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, - com.google.analytics.data.v1beta.RunRealtimeReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, com.google.analytics.data.v1beta.RunRealtimeReportRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunRealtimeReportRequest.newBuilder() @@ -1162,20 +1043,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDimensionsFieldBuilder(); getMetricsFieldBuilder(); getOrderBysFieldBuilder(); getMinuteRangesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1227,9 +1108,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; } @java.lang.Override @@ -1248,8 +1129,7 @@ public com.google.analytics.data.v1beta.RunRealtimeReportRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.RunRealtimeReportRequest buildPartial() { - com.google.analytics.data.v1beta.RunRealtimeReportRequest result = - new com.google.analytics.data.v1beta.RunRealtimeReportRequest(this); + com.google.analytics.data.v1beta.RunRealtimeReportRequest result = new com.google.analytics.data.v1beta.RunRealtimeReportRequest(this); int from_bitField0_ = bitField0_; result.property_ = property_; if (dimensionsBuilder_ == null) { @@ -1313,39 +1193,38 @@ public com.google.analytics.data.v1beta.RunRealtimeReportRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunRealtimeReportRequest) { - return mergeFrom((com.google.analytics.data.v1beta.RunRealtimeReportRequest) other); + return mergeFrom((com.google.analytics.data.v1beta.RunRealtimeReportRequest)other); } else { super.mergeFrom(other); return this; @@ -1353,8 +1232,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRequest other) { - if (other == com.google.analytics.data.v1beta.RunRealtimeReportRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.RunRealtimeReportRequest.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -1377,10 +1255,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportReque dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionsFieldBuilder() - : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionsFieldBuilder() : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -1404,10 +1281,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportReque metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricsFieldBuilder() : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -1450,10 +1326,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportReque orderBysBuilder_ = null; orderBys_ = other.orderBys_; bitField0_ = (bitField0_ & ~0x00000008); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOrderBysFieldBuilder() - : null; + orderBysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOrderBysFieldBuilder() : null; } else { orderBysBuilder_.addAllMessages(other.orderBys_); } @@ -1480,10 +1355,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportReque minuteRangesBuilder_ = null; minuteRanges_ = other.minuteRanges_; bitField0_ = (bitField0_ & ~0x00000010); - minuteRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMinuteRangesFieldBuilder() - : null; + minuteRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMinuteRangesFieldBuilder() : null; } else { minuteRangesBuilder_.addAllMessages(other.minuteRanges_); } @@ -1508,8 +1382,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.RunRealtimeReportRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.RunRealtimeReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1518,13 +1391,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object property_ = ""; /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1534,13 +1404,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; - * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1549,8 +1419,6 @@ public java.lang.String getProperty() { } } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1560,14 +1428,15 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; - * * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -1575,8 +1444,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1586,22 +1453,20 @@ public com.google.protobuf.ByteString getPropertyBytes() {
      * 
* * string property = 1; - * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { + public Builder setProperty( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1611,18 +1476,15 @@ public Builder setProperty(java.lang.String value) {
      * 
* * string property = 1; - * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1632,41 +1494,34 @@ public Builder clearProperty() {
      * 
* * string property = 1; - * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List dimensions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(dimensions_); + dimensions_ = new java.util.ArrayList(dimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, - com.google.analytics.data.v1beta.Dimension.Builder, - com.google.analytics.data.v1beta.DimensionOrBuilder> - dimensionsBuilder_; + com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> dimensionsBuilder_; /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1681,8 +1536,6 @@ public java.util.List getDimensionsL } } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1697,8 +1550,6 @@ public int getDimensionsCount() { } } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1713,15 +1564,14 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { } } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public Builder setDimensions(int index, com.google.analytics.data.v1beta.Dimension value) { + public Builder setDimensions( + int index, com.google.analytics.data.v1beta.Dimension value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1735,8 +1585,6 @@ public Builder setDimensions(int index, com.google.analytics.data.v1beta.Dimensi return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1755,8 +1603,6 @@ public Builder setDimensions( return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1777,15 +1623,14 @@ public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) { return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public Builder addDimensions(int index, com.google.analytics.data.v1beta.Dimension value) { + public Builder addDimensions( + int index, com.google.analytics.data.v1beta.Dimension value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1799,8 +1644,6 @@ public Builder addDimensions(int index, com.google.analytics.data.v1beta.Dimensi return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1819,8 +1662,6 @@ public Builder addDimensions( return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1839,8 +1680,6 @@ public Builder addDimensions( return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1851,7 +1690,8 @@ public Builder addAllDimensions( java.lang.Iterable values) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dimensions_); onChanged(); } else { dimensionsBuilder_.addAllMessages(values); @@ -1859,8 +1699,6 @@ public Builder addAllDimensions( return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1878,8 +1716,6 @@ public Builder clearDimensions() { return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1897,44 +1733,39 @@ public Builder removeDimensions(int index) { return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(int index) { + public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder( + int index) { return getDimensionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) { + public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( + int index) { if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { + return dimensions_.get(index); } else { return dimensionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public java.util.List - getDimensionsOrBuilderList() { + public java.util.List + getDimensionsOrBuilderList() { if (dimensionsBuilder_ != null) { return dimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -1942,8 +1773,6 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde } } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1951,72 +1780,60 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder() { - return getDimensionsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); + return getDimensionsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(int index) { - return getDimensionsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); + public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder( + int index) { + return getDimensionsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public java.util.List - getDimensionsBuilderList() { + public java.util.List + getDimensionsBuilderList() { return getDimensionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, - com.google.analytics.data.v1beta.Dimension.Builder, - com.google.analytics.data.v1beta.DimensionOrBuilder> + com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> getDimensionsFieldBuilder() { if (dimensionsBuilder_ == null) { - dimensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, - com.google.analytics.data.v1beta.Dimension.Builder, - com.google.analytics.data.v1beta.DimensionOrBuilder>( - dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder>( + dimensions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dimensions_ = null; } return dimensionsBuilder_; } private java.util.List metrics_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { metrics_ = new java.util.ArrayList(metrics_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, - com.google.analytics.data.v1beta.Metric.Builder, - com.google.analytics.data.v1beta.MetricOrBuilder> - metricsBuilder_; + com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> metricsBuilder_; /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2031,8 +1848,6 @@ public java.util.List getMetricsList() } } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2047,8 +1862,6 @@ public int getMetricsCount() { } } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2063,15 +1876,14 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { } } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder setMetrics(int index, com.google.analytics.data.v1beta.Metric value) { + public Builder setMetrics( + int index, com.google.analytics.data.v1beta.Metric value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2085,8 +1897,6 @@ public Builder setMetrics(int index, com.google.analytics.data.v1beta.Metric val return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2105,8 +1915,6 @@ public Builder setMetrics( return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2127,15 +1935,14 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) { return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric value) { + public Builder addMetrics( + int index, com.google.analytics.data.v1beta.Metric value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2149,15 +1956,14 @@ public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric val return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder addMetrics(com.google.analytics.data.v1beta.Metric.Builder builderForValue) { + public Builder addMetrics( + com.google.analytics.data.v1beta.Metric.Builder builderForValue) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); metrics_.add(builderForValue.build()); @@ -2168,8 +1974,6 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric.Builder builde return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2188,8 +1992,6 @@ public Builder addMetrics( return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2200,7 +2002,8 @@ public Builder addAllMetrics( java.lang.Iterable values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -2208,8 +2011,6 @@ public Builder addAllMetrics( return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2227,8 +2028,6 @@ public Builder clearMetrics() { return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2246,44 +2045,39 @@ public Builder removeMetrics(int index) { return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(int index) { + public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder( + int index) { return getMetricsFieldBuilder().getBuilder(index); } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) { + public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( + int index) { if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { + return metrics_.get(index); } else { return metricsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public java.util.List - getMetricsOrBuilderList() { + public java.util.List + getMetricsOrBuilderList() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilderList(); } else { @@ -2291,8 +2085,6 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int } } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2300,47 +2092,42 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Metric.getDefaultInstance()); + return getMetricsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Metric.getDefaultInstance()); } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(int index) { - return getMetricsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Metric.getDefaultInstance()); + public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder( + int index) { + return getMetricsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Metric.getDefaultInstance()); } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public java.util.List getMetricsBuilderList() { + public java.util.List + getMetricsBuilderList() { return getMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, - com.google.analytics.data.v1beta.Metric.Builder, - com.google.analytics.data.v1beta.MetricOrBuilder> + com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, - com.google.analytics.data.v1beta.Metric.Builder, - com.google.analytics.data.v1beta.MetricOrBuilder>( - metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder>( + metrics_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); metrics_ = null; } return metricsBuilder_; @@ -2348,49 +2135,36 @@ public java.util.List getMetric private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder> - dimensionFilterBuilder_; + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> dimensionFilterBuilder_; /** - * - * *
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; - * * @return Whether the dimensionFilter field is set. */ public boolean hasDimensionFilter() { return dimensionFilterBuilder_ != null || dimensionFilter_ != null; } /** - * - * *
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; - * * @return The dimensionFilter. */ public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : dimensionFilter_; + return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; } else { return dimensionFilterBuilder_.getMessage(); } } /** - * - * *
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2412,8 +2186,6 @@ public Builder setDimensionFilter(com.google.analytics.data.v1beta.FilterExpress
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2433,8 +2205,6 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2446,9 +2216,7 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       if (dimensionFilterBuilder_ == null) {
         if (dimensionFilter_ != null) {
           dimensionFilter_ =
-              com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_).mergeFrom(value).buildPartial();
         } else {
           dimensionFilter_ = value;
         }
@@ -2460,8 +2228,6 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2481,8 +2247,6 @@ public Builder clearDimensionFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2491,13 +2255,11 @@ public Builder clearDimensionFilter() {
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFilterBuilder() {
-
+      
       onChanged();
       return getDimensionFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2505,19 +2267,15 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
      *
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      */
-    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder
-        getDimensionFilterOrBuilder() {
+    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder() {
       if (dimensionFilterBuilder_ != null) {
         return dimensionFilterBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionFilter_ == null
-            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
-            : dimensionFilter_;
+        return dimensionFilter_ == null ?
+            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2526,17 +2284,14 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression,
-            com.google.analytics.data.v1beta.FilterExpression.Builder,
-            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
         getDimensionFilterFieldBuilder() {
       if (dimensionFilterBuilder_ == null) {
-        dimensionFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.FilterExpression,
-                com.google.analytics.data.v1beta.FilterExpression.Builder,
-                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getDimensionFilter(), getParentForChildren(), isClean());
+        dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getDimensionFilter(),
+                getParentForChildren(),
+                isClean());
         dimensionFilter_ = null;
       }
       return dimensionFilterBuilder_;
@@ -2544,13 +2299,8 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
 
     private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression,
-            com.google.analytics.data.v1beta.FilterExpression.Builder,
-            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
-        metricFilterBuilder_;
+        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> metricFilterBuilder_;
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2558,15 +2308,12 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; - * * @return Whether the metricFilter field is set. */ public boolean hasMetricFilter() { return metricFilterBuilder_ != null || metricFilter_ != null; } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2574,21 +2321,16 @@ public boolean hasMetricFilter() {
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; - * * @return The metricFilter. */ public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { if (metricFilterBuilder_ == null) { - return metricFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : metricFilter_; + return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; } else { return metricFilterBuilder_.getMessage(); } } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2611,8 +2353,6 @@ public Builder setMetricFilter(com.google.analytics.data.v1beta.FilterExpression
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2633,8 +2373,6 @@ public Builder setMetricFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2647,9 +2385,7 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       if (metricFilterBuilder_ == null) {
         if (metricFilter_ != null) {
           metricFilter_ =
-              com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_).mergeFrom(value).buildPartial();
         } else {
           metricFilter_ = value;
         }
@@ -2661,8 +2397,6 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2683,8 +2417,6 @@ public Builder clearMetricFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2694,13 +2426,11 @@ public Builder clearMetricFilter() {
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 5;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getMetricFilterBuilder() {
-
+      
       onChanged();
       return getMetricFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2713,14 +2443,11 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
       if (metricFilterBuilder_ != null) {
         return metricFilterBuilder_.getMessageOrBuilder();
       } else {
-        return metricFilter_ == null
-            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
-            : metricFilter_;
+        return metricFilter_ == null ?
+            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2730,26 +2457,21 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression,
-            com.google.analytics.data.v1beta.FilterExpression.Builder,
-            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
         getMetricFilterFieldBuilder() {
       if (metricFilterBuilder_ == null) {
-        metricFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.FilterExpression,
-                com.google.analytics.data.v1beta.FilterExpression.Builder,
-                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getMetricFilter(), getParentForChildren(), isClean());
+        metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getMetricFilter(),
+                getParentForChildren(),
+                isClean());
         metricFilter_ = null;
       }
       return metricFilterBuilder_;
     }
 
-    private long limit_;
+    private long limit_ ;
     /**
-     *
-     *
      * 
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -2762,7 +2484,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * 
* * int64 limit = 6; - * * @return The limit. */ @java.lang.Override @@ -2770,8 +2491,6 @@ public long getLimit() { return limit_; } /** - * - * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -2784,19 +2503,16 @@ public long getLimit() {
      * 
* * int64 limit = 6; - * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; onChanged(); return this; } /** - * - * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -2809,19 +2525,17 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 6; - * * @return This builder for chaining. */ public Builder clearLimit() { - + limit_ = 0L; onChanged(); return this; } private java.util.List metricAggregations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricAggregationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { metricAggregations_ = new java.util.ArrayList(metricAggregations_); @@ -2829,51 +2543,37 @@ private void ensureMetricAggregationsIsMutable() { } } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @return A list containing the metricAggregations. */ - public java.util.List - getMetricAggregationsList() { + public java.util.List getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @return The count of metricAggregations. */ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -2881,16 +2581,12 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @param index The index to set the value at. * @param value The metricAggregations to set. * @return This builder for chaining. @@ -2906,16 +2602,12 @@ public Builder setMetricAggregations( return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @param value The metricAggregations to add. * @return This builder for chaining. */ @@ -2929,16 +2621,12 @@ public Builder addMetricAggregations(com.google.analytics.data.v1beta.MetricAggr return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @param values The metricAggregations to add. * @return This builder for chaining. */ @@ -2952,16 +2640,12 @@ public Builder addAllMetricAggregations( return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @return This builder for chaining. */ public Builder clearMetricAggregations() { @@ -2971,32 +2655,25 @@ public Builder clearMetricAggregations() { return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @return A list containing the enum numeric values on the wire for metricAggregations. */ - public java.util.List getMetricAggregationsValueList() { + public java.util.List + getMetricAggregationsValueList() { return java.util.Collections.unmodifiableList(metricAggregations_); } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -3004,37 +2681,30 @@ public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. * @return This builder for chaining. */ - public Builder setMetricAggregationsValue(int index, int value) { + public Builder setMetricAggregationsValue( + int index, int value) { ensureMetricAggregationsIsMutable(); metricAggregations_.set(index, value); onChanged(); return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @param value The enum numeric value on the wire for metricAggregations to add. * @return This builder for chaining. */ @@ -3045,20 +2715,17 @@ public Builder addMetricAggregationsValue(int value) { return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; * @param values The enum numeric values on the wire for metricAggregations to add. * @return This builder for chaining. */ - public Builder addAllMetricAggregationsValue(java.lang.Iterable values) { + public Builder addAllMetricAggregationsValue( + java.lang.Iterable values) { ensureMetricAggregationsIsMutable(); for (int value : values) { metricAggregations_.add(value); @@ -3068,24 +2735,18 @@ public Builder addAllMetricAggregationsValue(java.lang.Iterable orderBys_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOrderBysIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { orderBys_ = new java.util.ArrayList(orderBys_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, - com.google.analytics.data.v1beta.OrderBy.Builder, - com.google.analytics.data.v1beta.OrderByOrBuilder> - orderBysBuilder_; + com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> orderBysBuilder_; /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3100,8 +2761,6 @@ public java.util.List getOrderBysList( } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3116,8 +2775,6 @@ public int getOrderBysCount() { } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3132,15 +2789,14 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public Builder setOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) { + public Builder setOrderBys( + int index, com.google.analytics.data.v1beta.OrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3154,8 +2810,6 @@ public Builder setOrderBys(int index, com.google.analytics.data.v1beta.OrderBy v return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3174,8 +2828,6 @@ public Builder setOrderBys( return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3196,15 +2848,14 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy value) { return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public Builder addOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) { + public Builder addOrderBys( + int index, com.google.analytics.data.v1beta.OrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3218,15 +2869,14 @@ public Builder addOrderBys(int index, com.google.analytics.data.v1beta.OrderBy v return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) { + public Builder addOrderBys( + com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) { if (orderBysBuilder_ == null) { ensureOrderBysIsMutable(); orderBys_.add(builderForValue.build()); @@ -3237,8 +2887,6 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy.Builder buil return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3257,8 +2905,6 @@ public Builder addOrderBys( return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3269,7 +2915,8 @@ public Builder addAllOrderBys( java.lang.Iterable values) { if (orderBysBuilder_ == null) { ensureOrderBysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, orderBys_); onChanged(); } else { orderBysBuilder_.addAllMessages(values); @@ -3277,8 +2924,6 @@ public Builder addAllOrderBys( return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3296,8 +2941,6 @@ public Builder clearOrderBys() { return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3315,44 +2958,39 @@ public Builder removeOrderBys(int index) { return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder(int index) { + public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder( + int index) { return getOrderBysFieldBuilder().getBuilder(index); } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) { + public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( + int index) { if (orderBysBuilder_ == null) { - return orderBys_.get(index); - } else { + return orderBys_.get(index); } else { return orderBysBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public java.util.List - getOrderBysOrBuilderList() { + public java.util.List + getOrderBysOrBuilderList() { if (orderBysBuilder_ != null) { return orderBysBuilder_.getMessageOrBuilderList(); } else { @@ -3360,8 +2998,6 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(in } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3369,64 +3005,55 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(in * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder() { - return getOrderBysFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); + return getOrderBysFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(int index) { - return getOrderBysFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); + public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder( + int index) { + return getOrderBysFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public java.util.List - getOrderBysBuilderList() { + public java.util.List + getOrderBysBuilderList() { return getOrderBysFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, - com.google.analytics.data.v1beta.OrderBy.Builder, - com.google.analytics.data.v1beta.OrderByOrBuilder> + com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> getOrderBysFieldBuilder() { if (orderBysBuilder_ == null) { - orderBysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, - com.google.analytics.data.v1beta.OrderBy.Builder, - com.google.analytics.data.v1beta.OrderByOrBuilder>( - orderBys_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + orderBysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder>( + orderBys_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); orderBys_ = null; } return orderBysBuilder_; } - private boolean returnPropertyQuota_; + private boolean returnPropertyQuota_ ; /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 9; - * * @return The returnPropertyQuota. */ @java.lang.Override @@ -3434,63 +3061,50 @@ public boolean getReturnPropertyQuota() { return returnPropertyQuota_; } /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 9; - * * @param value The returnPropertyQuota to set. * @return This builder for chaining. */ public Builder setReturnPropertyQuota(boolean value) { - + returnPropertyQuota_ = value; onChanged(); return this; } /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 9; - * * @return This builder for chaining. */ public Builder clearReturnPropertyQuota() { - + returnPropertyQuota_ = false; onChanged(); return this; } private java.util.List minuteRanges_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMinuteRangesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - minuteRanges_ = - new java.util.ArrayList(minuteRanges_); + minuteRanges_ = new java.util.ArrayList(minuteRanges_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MinuteRange, - com.google.analytics.data.v1beta.MinuteRange.Builder, - com.google.analytics.data.v1beta.MinuteRangeOrBuilder> - minuteRangesBuilder_; + com.google.analytics.data.v1beta.MinuteRange, com.google.analytics.data.v1beta.MinuteRange.Builder, com.google.analytics.data.v1beta.MinuteRangeOrBuilder> minuteRangesBuilder_; /** - * - * *
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3509,8 +3123,6 @@ public java.util.List getMinuteRan
       }
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3529,8 +3141,6 @@ public int getMinuteRangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3549,8 +3159,6 @@ public com.google.analytics.data.v1beta.MinuteRange getMinuteRanges(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3561,7 +3169,8 @@ public com.google.analytics.data.v1beta.MinuteRange getMinuteRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public Builder setMinuteRanges(int index, com.google.analytics.data.v1beta.MinuteRange value) {
+    public Builder setMinuteRanges(
+        int index, com.google.analytics.data.v1beta.MinuteRange value) {
       if (minuteRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3575,8 +3184,6 @@ public Builder setMinuteRanges(int index, com.google.analytics.data.v1beta.Minut
       return this;
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3599,8 +3206,6 @@ public Builder setMinuteRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3625,8 +3230,6 @@ public Builder addMinuteRanges(com.google.analytics.data.v1beta.MinuteRange valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3637,7 +3240,8 @@ public Builder addMinuteRanges(com.google.analytics.data.v1beta.MinuteRange valu
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public Builder addMinuteRanges(int index, com.google.analytics.data.v1beta.MinuteRange value) {
+    public Builder addMinuteRanges(
+        int index, com.google.analytics.data.v1beta.MinuteRange value) {
       if (minuteRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3651,8 +3255,6 @@ public Builder addMinuteRanges(int index, com.google.analytics.data.v1beta.Minut
       return this;
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3675,8 +3277,6 @@ public Builder addMinuteRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3699,8 +3299,6 @@ public Builder addMinuteRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3715,7 +3313,8 @@ public Builder addAllMinuteRanges(
         java.lang.Iterable values) {
       if (minuteRangesBuilder_ == null) {
         ensureMinuteRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, minuteRanges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, minuteRanges_);
         onChanged();
       } else {
         minuteRangesBuilder_.addAllMessages(values);
@@ -3723,8 +3322,6 @@ public Builder addAllMinuteRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3746,8 +3343,6 @@ public Builder clearMinuteRanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3769,8 +3364,6 @@ public Builder removeMinuteRanges(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3781,12 +3374,11 @@ public Builder removeMinuteRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public com.google.analytics.data.v1beta.MinuteRange.Builder getMinuteRangesBuilder(int index) {
+    public com.google.analytics.data.v1beta.MinuteRange.Builder getMinuteRangesBuilder(
+        int index) {
       return getMinuteRangesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3800,14 +3392,11 @@ public com.google.analytics.data.v1beta.MinuteRange.Builder getMinuteRangesBuild
     public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBuilder(
         int index) {
       if (minuteRangesBuilder_ == null) {
-        return minuteRanges_.get(index);
-      } else {
+        return minuteRanges_.get(index);  } else {
         return minuteRangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3818,8 +3407,8 @@ public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBu
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public java.util.List
-        getMinuteRangesOrBuilderList() {
+    public java.util.List 
+         getMinuteRangesOrBuilderList() {
       if (minuteRangesBuilder_ != null) {
         return minuteRangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -3827,8 +3416,6 @@ public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBu
       }
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3840,12 +3427,10 @@ public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBu
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
     public com.google.analytics.data.v1beta.MinuteRange.Builder addMinuteRangesBuilder() {
-      return getMinuteRangesFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.MinuteRange.getDefaultInstance());
+      return getMinuteRangesFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.MinuteRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3856,13 +3441,12 @@ public com.google.analytics.data.v1beta.MinuteRange.Builder addMinuteRangesBuild
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public com.google.analytics.data.v1beta.MinuteRange.Builder addMinuteRangesBuilder(int index) {
-      return getMinuteRangesFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.MinuteRange.getDefaultInstance());
+    public com.google.analytics.data.v1beta.MinuteRange.Builder addMinuteRangesBuilder(
+        int index) {
+      return getMinuteRangesFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.MinuteRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3873,30 +3457,27 @@ public com.google.analytics.data.v1beta.MinuteRange.Builder addMinuteRangesBuild
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public java.util.List
-        getMinuteRangesBuilderList() {
+    public java.util.List 
+         getMinuteRangesBuilderList() {
       return getMinuteRangesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MinuteRange,
-            com.google.analytics.data.v1beta.MinuteRange.Builder,
-            com.google.analytics.data.v1beta.MinuteRangeOrBuilder>
+        com.google.analytics.data.v1beta.MinuteRange, com.google.analytics.data.v1beta.MinuteRange.Builder, com.google.analytics.data.v1beta.MinuteRangeOrBuilder> 
         getMinuteRangesFieldBuilder() {
       if (minuteRangesBuilder_ == null) {
-        minuteRangesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.MinuteRange,
-                com.google.analytics.data.v1beta.MinuteRange.Builder,
-                com.google.analytics.data.v1beta.MinuteRangeOrBuilder>(
-                minuteRanges_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+        minuteRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.MinuteRange, com.google.analytics.data.v1beta.MinuteRange.Builder, com.google.analytics.data.v1beta.MinuteRangeOrBuilder>(
+                minuteRanges_,
+                ((bitField0_ & 0x00000010) != 0),
+                getParentForChildren(),
+                isClean());
         minuteRanges_ = null;
       }
       return minuteRangesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3906,12 +3487,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunRealtimeReportRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunRealtimeReportRequest)
   private static final com.google.analytics.data.v1beta.RunRealtimeReportRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunRealtimeReportRequest();
   }
@@ -3920,16 +3501,16 @@ public static com.google.analytics.data.v1beta.RunRealtimeReportRequest getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RunRealtimeReportRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new RunRealtimeReportRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RunRealtimeReportRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new RunRealtimeReportRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3944,4 +3525,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.data.v1beta.RunRealtimeReportRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java
similarity index 88%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java
index 3db31e98..38ef3cf6 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
-public interface RunRealtimeReportRequestOrBuilder
-    extends
+public interface RunRealtimeReportRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunRealtimeReportRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -35,13 +17,10 @@ public interface RunRealtimeReportRequestOrBuilder
    * 
* * string property = 1; - * * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -51,24 +30,21 @@ public interface RunRealtimeReportRequestOrBuilder
    * 
* * string property = 1; - * * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - java.util.List getDimensionsList(); + java.util.List + getDimensionsList(); /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -77,8 +53,6 @@ public interface RunRealtimeReportRequestOrBuilder */ com.google.analytics.data.v1beta.Dimension getDimensions(int index); /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -87,40 +61,34 @@ public interface RunRealtimeReportRequestOrBuilder */ int getDimensionsCount(); /** - * - * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - java.util.List + java.util.List getDimensionsOrBuilderList(); /** - * - * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index); + com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( + int index); /** - * - * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - java.util.List getMetricsList(); + java.util.List + getMetricsList(); /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -129,8 +97,6 @@ public interface RunRealtimeReportRequestOrBuilder */ com.google.analytics.data.v1beta.Metric getMetrics(int index); /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -139,56 +105,45 @@ public interface RunRealtimeReportRequestOrBuilder */ int getMetricsCount(); /** - * - * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - java.util.List + java.util.List getMetricsOrBuilderList(); /** - * - * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index); + com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( + int index); /** - * - * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; - * * @return Whether the dimensionFilter field is set. */ boolean hasDimensionFilter(); /** - * - * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; - * * @return The dimensionFilter. */ com.google.analytics.data.v1beta.FilterExpression getDimensionFilter(); /** - * - * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
@@ -199,8 +154,6 @@ public interface RunRealtimeReportRequestOrBuilder
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -208,13 +161,10 @@ public interface RunRealtimeReportRequestOrBuilder
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; - * * @return Whether the metricFilter field is set. */ boolean hasMetricFilter(); /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -222,13 +172,10 @@ public interface RunRealtimeReportRequestOrBuilder
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; - * * @return The metricFilter. */ com.google.analytics.data.v1beta.FilterExpression getMetricFilter(); /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -240,8 +187,6 @@ public interface RunRealtimeReportRequestOrBuilder
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -254,92 +199,74 @@ public interface RunRealtimeReportRequestOrBuilder
    * 
* * int64 limit = 6; - * * @return The limit. */ long getLimit(); /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * * @return A list containing the metricAggregations. */ java.util.List getMetricAggregationsList(); /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * * @return The count of metricAggregations. */ int getMetricAggregationsCount(); /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations(int index); /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * * @return A list containing the enum numeric values on the wire for metricAggregations. */ - java.util.List getMetricAggregationsValueList(); + java.util.List + getMetricAggregationsValueList(); /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ int getMetricAggregationsValue(int index); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - java.util.List getOrderBysList(); + java.util.List + getOrderBysList(); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -348,8 +275,6 @@ public interface RunRealtimeReportRequestOrBuilder */ com.google.analytics.data.v1beta.OrderBy getOrderBys(int index); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -358,44 +283,36 @@ public interface RunRealtimeReportRequestOrBuilder */ int getOrderBysCount(); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - java.util.List + java.util.List getOrderBysOrBuilderList(); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index); + com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( + int index); /** - * - * *
    * Toggles whether to return the current state of this Analytics Property's
    * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 9; - * * @return The returnPropertyQuota. */ boolean getReturnPropertyQuota(); /** - * - * *
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -406,10 +323,9 @@ public interface RunRealtimeReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
    */
-  java.util.List getMinuteRangesList();
+  java.util.List 
+      getMinuteRangesList();
   /**
-   *
-   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -422,8 +338,6 @@ public interface RunRealtimeReportRequestOrBuilder
    */
   com.google.analytics.data.v1beta.MinuteRange getMinuteRanges(int index);
   /**
-   *
-   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -436,8 +350,6 @@ public interface RunRealtimeReportRequestOrBuilder
    */
   int getMinuteRangesCount();
   /**
-   *
-   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -448,11 +360,9 @@ public interface RunRealtimeReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
    */
-  java.util.List
+  java.util.List 
       getMinuteRangesOrBuilderList();
   /**
-   *
-   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -463,5 +373,6 @@ public interface RunRealtimeReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
    */
-  com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBuilder(int index);
+  com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBuilder(
+      int index);
 }
diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java
similarity index 80%
rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java
rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java
index 98cec581..07d850c4 100644
--- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java
+++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
- *
- *
  * 
  * The response realtime report table corresponding to a request.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunRealtimeReportResponse} */ -public final class RunRealtimeReportResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunRealtimeReportResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunRealtimeReportResponse) RunRealtimeReportResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunRealtimeReportResponse.newBuilder() to construct. private RunRealtimeReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunRealtimeReportResponse() { dimensionHeaders_ = java.util.Collections.emptyList(); metricHeaders_ = java.util.Collections.emptyList(); @@ -49,15 +31,16 @@ private RunRealtimeReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunRealtimeReportResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RunRealtimeReportResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,116 +60,98 @@ private RunRealtimeReportResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensionHeaders_.add( - input.readMessage( - com.google.analytics.data.v1beta.DimensionHeader.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionHeaders_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metricHeaders_.add( - input.readMessage( - com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); - break; + dimensionHeaders_.add( + input.readMessage(com.google.analytics.data.v1beta.DimensionHeader.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metricHeaders_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - rows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - rows_.add( - input.readMessage( - com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; + metricHeaders_.add( + input.readMessage(com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + rows_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - totals_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - totals_.add( - input.readMessage( - com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; + rows_.add( + input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + totals_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 42: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - maximums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - maximums_.add( - input.readMessage( - com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; + totals_.add( + input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + maximums_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 50: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - minimums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - minimums_.add( - input.readMessage( - com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; + maximums_.add( + input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + minimums_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; } - case 56: - { - rowCount_ = input.readInt32(); - break; + minimums_.add( + input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; + } + case 56: { + + rowCount_ = input.readInt32(); + break; + } + case 66: { + com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; + if (propertyQuota_ != null) { + subBuilder = propertyQuota_.toBuilder(); } - case 66: - { - com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; - if (propertyQuota_ != null) { - subBuilder = propertyQuota_.toBuilder(); - } - propertyQuota_ = - input.readMessage( - com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(propertyQuota_); - propertyQuota_ = subBuilder.buildPartial(); - } - - break; + propertyQuota_ = input.readMessage(com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(propertyQuota_); + propertyQuota_ = subBuilder.buildPartial(); } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - kind_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + kind_ = 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)) { dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); @@ -210,27 +175,22 @@ private RunRealtimeReportResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, - com.google.analytics.data.v1beta.RunRealtimeReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, com.google.analytics.data.v1beta.RunRealtimeReportResponse.Builder.class); } public static final int DIMENSION_HEADERS_FIELD_NUMBER = 1; private java.util.List dimensionHeaders_; /** - * - * *
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -239,13 +199,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getDimensionHeadersList() {
+  public java.util.List getDimensionHeadersList() {
     return dimensionHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -254,13 +211,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDimensionHeadersOrBuilderList() {
     return dimensionHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -273,8 +228,6 @@ public int getDimensionHeadersCount() {
     return dimensionHeaders_.size();
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -287,8 +240,6 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
     return dimensionHeaders_.get(index);
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -305,8 +256,6 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
   public static final int METRIC_HEADERS_FIELD_NUMBER = 2;
   private java.util.List metricHeaders_;
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -319,8 +268,6 @@ public java.util.List getMetricHe
     return metricHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -329,13 +276,11 @@ public java.util.List getMetricHe
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMetricHeadersOrBuilderList() {
     return metricHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -348,8 +293,6 @@ public int getMetricHeadersCount() {
     return metricHeaders_.size();
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -362,8 +305,6 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
     return metricHeaders_.get(index);
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -380,8 +321,6 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
   public static final int ROWS_FIELD_NUMBER = 3;
   private java.util.List rows_;
   /**
-   *
-   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -393,8 +332,6 @@ public java.util.List getRowsList() { return rows_; } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -402,13 +339,11 @@ public java.util.List getRowsList() { * repeated .google.analytics.data.v1beta.Row rows = 3; */ @java.lang.Override - public java.util.List + public java.util.List getRowsOrBuilderList() { return rows_; } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -420,8 +355,6 @@ public int getRowsCount() { return rows_.size(); } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -433,8 +366,6 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { return rows_.get(index); } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -442,15 +373,14 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { * repeated .google.analytics.data.v1beta.Row rows = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( + int index) { return rows_.get(index); } public static final int TOTALS_FIELD_NUMBER = 4; private java.util.List totals_; /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -462,8 +392,6 @@ public java.util.List getTotalsList() { return totals_; } /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -471,13 +399,11 @@ public java.util.List getTotalsList() { * repeated .google.analytics.data.v1beta.Row totals = 4; */ @java.lang.Override - public java.util.List + public java.util.List getTotalsOrBuilderList() { return totals_; } /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -489,8 +415,6 @@ public int getTotalsCount() { return totals_.size(); } /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -502,8 +426,6 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { return totals_.get(index); } /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -511,15 +433,14 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { * repeated .google.analytics.data.v1beta.Row totals = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( + int index) { return totals_.get(index); } public static final int MAXIMUMS_FIELD_NUMBER = 5; private java.util.List maximums_; /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -531,8 +452,6 @@ public java.util.List getMaximumsList() { return maximums_; } /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -540,13 +459,11 @@ public java.util.List getMaximumsList() { * repeated .google.analytics.data.v1beta.Row maximums = 5; */ @java.lang.Override - public java.util.List + public java.util.List getMaximumsOrBuilderList() { return maximums_; } /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -558,8 +475,6 @@ public int getMaximumsCount() { return maximums_.size(); } /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -571,8 +486,6 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { return maximums_.get(index); } /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -580,15 +493,14 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { * repeated .google.analytics.data.v1beta.Row maximums = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( + int index) { return maximums_.get(index); } public static final int MINIMUMS_FIELD_NUMBER = 6; private java.util.List minimums_; /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -600,8 +512,6 @@ public java.util.List getMinimumsList() { return minimums_; } /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -609,13 +519,11 @@ public java.util.List getMinimumsList() { * repeated .google.analytics.data.v1beta.Row minimums = 6; */ @java.lang.Override - public java.util.List + public java.util.List getMinimumsOrBuilderList() { return minimums_; } /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -627,8 +535,6 @@ public int getMinimumsCount() { return minimums_.size(); } /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -640,8 +546,6 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { return minimums_.get(index); } /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -649,15 +553,14 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { * repeated .google.analytics.data.v1beta.Row minimums = 6; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( + int index) { return minimums_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 7; private int rowCount_; /** - * - * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response and the `limit` request
@@ -667,7 +570,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int in
    * 
* * int32 row_count = 7; - * * @return The rowCount. */ @java.lang.Override @@ -678,14 +580,11 @@ public int getRowCount() { public static final int PROPERTY_QUOTA_FIELD_NUMBER = 8; private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; /** - * - * *
    * This Analytics Property's Realtime quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; - * * @return Whether the propertyQuota field is set. */ @java.lang.Override @@ -693,25 +592,18 @@ public boolean hasPropertyQuota() { return propertyQuota_ != null; } /** - * - * *
    * This Analytics Property's Realtime quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; - * * @return The propertyQuota. */ @java.lang.Override public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { - return propertyQuota_ == null - ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() - : propertyQuota_; + return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; } /** - * - * *
    * This Analytics Property's Realtime quota state including this request.
    * 
@@ -726,8 +618,6 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO public static final int KIND_FIELD_NUMBER = 9; private volatile java.lang.Object kind_; /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -735,7 +625,6 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
    * 
* * string kind = 9; - * * @return The kind. */ @java.lang.Override @@ -744,15 +633,14 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -760,15 +648,16 @@ public java.lang.String getKind() {
    * 
* * string kind = 9; - * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -777,7 +666,6 @@ public com.google.protobuf.ByteString getKindBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -789,7 +677,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensionHeaders_.size(); i++) { output.writeMessage(1, dimensionHeaders_.get(i)); } @@ -827,28 +716,36 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dimensionHeaders_.get(i)); } for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, metricHeaders_.get(i)); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, rows_.get(i)); } for (int i = 0; i < totals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, totals_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, totals_.get(i)); } for (int i = 0; i < maximums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, maximums_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, maximums_.get(i)); } for (int i = 0; i < minimums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, minimums_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, minimums_.get(i)); } if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, rowCount_); } if (propertyQuota_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPropertyQuota()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getPropertyQuota()); } if (!getKindBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, kind_); @@ -861,26 +758,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.analytics.data.v1beta.RunRealtimeReportResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.RunRealtimeReportResponse other = - (com.google.analytics.data.v1beta.RunRealtimeReportResponse) obj; - - if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; - if (!getRowsList().equals(other.getRowsList())) return false; - if (!getTotalsList().equals(other.getTotalsList())) return false; - if (!getMaximumsList().equals(other.getMaximumsList())) return false; - if (!getMinimumsList().equals(other.getMinimumsList())) return false; - if (getRowCount() != other.getRowCount()) return false; + com.google.analytics.data.v1beta.RunRealtimeReportResponse other = (com.google.analytics.data.v1beta.RunRealtimeReportResponse) obj; + + if (!getDimensionHeadersList() + .equals(other.getDimensionHeadersList())) return false; + if (!getMetricHeadersList() + .equals(other.getMetricHeadersList())) return false; + if (!getRowsList() + .equals(other.getRowsList())) return false; + if (!getTotalsList() + .equals(other.getTotalsList())) return false; + if (!getMaximumsList() + .equals(other.getMaximumsList())) return false; + if (!getMinimumsList() + .equals(other.getMinimumsList())) return false; + if (getRowCount() + != other.getRowCount()) return false; if (hasPropertyQuota() != other.hasPropertyQuota()) return false; if (hasPropertyQuota()) { - if (!getPropertyQuota().equals(other.getPropertyQuota())) return false; + if (!getPropertyQuota() + .equals(other.getPropertyQuota())) return false; } - if (!getKind().equals(other.getKind())) return false; + if (!getKind() + .equals(other.getKind())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -930,127 +835,117 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.analytics.data.v1beta.RunRealtimeReportResponse prototype) { + public static Builder newBuilder(com.google.analytics.data.v1beta.RunRealtimeReportResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 response realtime report table corresponding to a request.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunRealtimeReportResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunRealtimeReportResponse) com.google.analytics.data.v1beta.RunRealtimeReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, - com.google.analytics.data.v1beta.RunRealtimeReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, com.google.analytics.data.v1beta.RunRealtimeReportResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunRealtimeReportResponse.newBuilder() @@ -1058,13 +953,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDimensionHeadersFieldBuilder(); getMetricHeadersFieldBuilder(); getRowsFieldBuilder(); @@ -1073,7 +969,6 @@ private void maybeForceBuilderInitialization() { getMinimumsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1127,9 +1022,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; } @java.lang.Override @@ -1148,8 +1043,7 @@ public com.google.analytics.data.v1beta.RunRealtimeReportResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.RunRealtimeReportResponse buildPartial() { - com.google.analytics.data.v1beta.RunRealtimeReportResponse result = - new com.google.analytics.data.v1beta.RunRealtimeReportResponse(this); + com.google.analytics.data.v1beta.RunRealtimeReportResponse result = new com.google.analytics.data.v1beta.RunRealtimeReportResponse(this); int from_bitField0_ = bitField0_; if (dimensionHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1220,39 +1114,38 @@ public com.google.analytics.data.v1beta.RunRealtimeReportResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunRealtimeReportResponse) { - return mergeFrom((com.google.analytics.data.v1beta.RunRealtimeReportResponse) other); + return mergeFrom((com.google.analytics.data.v1beta.RunRealtimeReportResponse)other); } else { super.mergeFrom(other); return this; @@ -1260,8 +1153,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportResponse other) { - if (other == com.google.analytics.data.v1beta.RunRealtimeReportResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.RunRealtimeReportResponse.getDefaultInstance()) return this; if (dimensionHeadersBuilder_ == null) { if (!other.dimensionHeaders_.isEmpty()) { if (dimensionHeaders_.isEmpty()) { @@ -1280,10 +1172,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo dimensionHeadersBuilder_ = null; dimensionHeaders_ = other.dimensionHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionHeadersFieldBuilder() - : null; + dimensionHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionHeadersFieldBuilder() : null; } else { dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); } @@ -1307,10 +1198,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo metricHeadersBuilder_ = null; metricHeaders_ = other.metricHeaders_; bitField0_ = (bitField0_ & ~0x00000002); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricHeadersFieldBuilder() - : null; + metricHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricHeadersFieldBuilder() : null; } else { metricHeadersBuilder_.addAllMessages(other.metricHeaders_); } @@ -1334,10 +1224,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000004); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowsFieldBuilder() - : null; + rowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowsFieldBuilder() : null; } else { rowsBuilder_.addAllMessages(other.rows_); } @@ -1361,10 +1250,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo totalsBuilder_ = null; totals_ = other.totals_; bitField0_ = (bitField0_ & ~0x00000008); - totalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTotalsFieldBuilder() - : null; + totalsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTotalsFieldBuilder() : null; } else { totalsBuilder_.addAllMessages(other.totals_); } @@ -1388,10 +1276,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo maximumsBuilder_ = null; maximums_ = other.maximums_; bitField0_ = (bitField0_ & ~0x00000010); - maximumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMaximumsFieldBuilder() - : null; + maximumsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMaximumsFieldBuilder() : null; } else { maximumsBuilder_.addAllMessages(other.maximums_); } @@ -1415,10 +1302,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo minimumsBuilder_ = null; minimums_ = other.minimums_; bitField0_ = (bitField0_ & ~0x00000020); - minimumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMinimumsFieldBuilder() - : null; + minimumsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMinimumsFieldBuilder() : null; } else { minimumsBuilder_.addAllMessages(other.minimums_); } @@ -1453,8 +1339,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.RunRealtimeReportResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.RunRealtimeReportResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1463,30 +1348,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List dimensionHeaders_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDimensionHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList( - dimensionHeaders_); + dimensionHeaders_ = new java.util.ArrayList(dimensionHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionHeader, - com.google.analytics.data.v1beta.DimensionHeader.Builder, - com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> - dimensionHeadersBuilder_; + com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> dimensionHeadersBuilder_; /** - * - * *
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1494,8 +1370,7 @@ private void ensureDimensionHeadersIsMutable() {
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List
-        getDimensionHeadersList() {
+    public java.util.List getDimensionHeadersList() {
       if (dimensionHeadersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(dimensionHeaders_);
       } else {
@@ -1503,8 +1378,6 @@ private void ensureDimensionHeadersIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1520,8 +1393,6 @@ public int getDimensionHeadersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1537,8 +1408,6 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1561,8 +1430,6 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1582,8 +1449,6 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1605,8 +1470,6 @@ public Builder addDimensionHeaders(com.google.analytics.data.v1beta.DimensionHea
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1629,8 +1492,6 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1650,8 +1511,6 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1671,8 +1530,6 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1684,7 +1541,8 @@ public Builder addAllDimensionHeaders(
         java.lang.Iterable values) {
       if (dimensionHeadersBuilder_ == null) {
         ensureDimensionHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dimensionHeaders_);
         onChanged();
       } else {
         dimensionHeadersBuilder_.addAllMessages(values);
@@ -1692,8 +1550,6 @@ public Builder addAllDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1712,8 +1568,6 @@ public Builder clearDimensionHeaders() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1732,8 +1586,6 @@ public Builder removeDimensionHeaders(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1746,8 +1598,6 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
       return getDimensionHeadersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1758,14 +1608,11 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
     public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
         int index) {
       if (dimensionHeadersBuilder_ == null) {
-        return dimensionHeaders_.get(index);
-      } else {
+        return dimensionHeaders_.get(index);  } else {
         return dimensionHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1773,8 +1620,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List
-        getDimensionHeadersOrBuilderList() {
+    public java.util.List 
+         getDimensionHeadersOrBuilderList() {
       if (dimensionHeadersBuilder_ != null) {
         return dimensionHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1782,8 +1629,6 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1792,12 +1637,10 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder() {
-      return getDimensionHeadersFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1807,12 +1650,10 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder(
         int index) {
-      return getDimensionHeadersFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1820,22 +1661,16 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List
-        getDimensionHeadersBuilderList() {
+    public java.util.List 
+         getDimensionHeadersBuilderList() {
       return getDimensionHeadersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionHeader,
-            com.google.analytics.data.v1beta.DimensionHeader.Builder,
-            com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>
+        com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> 
         getDimensionHeadersFieldBuilder() {
       if (dimensionHeadersBuilder_ == null) {
-        dimensionHeadersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.DimensionHeader,
-                com.google.analytics.data.v1beta.DimensionHeader.Builder,
-                com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
+        dimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
                 dimensionHeaders_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1846,25 +1681,18 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
     }
 
     private java.util.List metricHeaders_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureMetricHeadersIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        metricHeaders_ =
-            new java.util.ArrayList(metricHeaders_);
+        metricHeaders_ = new java.util.ArrayList(metricHeaders_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricHeader,
-            com.google.analytics.data.v1beta.MetricHeader.Builder,
-            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
-        metricHeadersBuilder_;
+        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> metricHeadersBuilder_;
 
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1880,8 +1708,6 @@ public java.util.List getMetricHe
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1897,8 +1723,6 @@ public int getMetricHeadersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1914,8 +1738,6 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1938,8 +1760,6 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1959,8 +1779,6 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1982,8 +1800,6 @@ public Builder addMetricHeaders(com.google.analytics.data.v1beta.MetricHeader va
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2006,8 +1822,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2027,8 +1841,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2048,8 +1860,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2061,7 +1871,8 @@ public Builder addAllMetricHeaders(
         java.lang.Iterable values) {
       if (metricHeadersBuilder_ == null) {
         ensureMetricHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, metricHeaders_);
         onChanged();
       } else {
         metricHeadersBuilder_.addAllMessages(values);
@@ -2069,8 +1880,6 @@ public Builder addAllMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2089,8 +1898,6 @@ public Builder clearMetricHeaders() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2109,8 +1916,6 @@ public Builder removeMetricHeaders(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2123,8 +1928,6 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
       return getMetricHeadersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2135,14 +1938,11 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
     public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
         int index) {
       if (metricHeadersBuilder_ == null) {
-        return metricHeaders_.get(index);
-      } else {
+        return metricHeaders_.get(index);  } else {
         return metricHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2150,8 +1950,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
-    public java.util.List
-        getMetricHeadersOrBuilderList() {
+    public java.util.List 
+         getMetricHeadersOrBuilderList() {
       if (metricHeadersBuilder_ != null) {
         return metricHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2159,8 +1959,6 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2169,12 +1967,10 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder() {
-      return getMetricHeadersFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2184,12 +1980,10 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder(
         int index) {
-      return getMetricHeadersFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2197,22 +1991,16 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
-    public java.util.List
-        getMetricHeadersBuilderList() {
+    public java.util.List 
+         getMetricHeadersBuilderList() {
       return getMetricHeadersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricHeader,
-            com.google.analytics.data.v1beta.MetricHeader.Builder,
-            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
+        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> 
         getMetricHeadersFieldBuilder() {
       if (metricHeadersBuilder_ == null) {
-        metricHeadersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.MetricHeader,
-                com.google.analytics.data.v1beta.MetricHeader.Builder,
-                com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
+        metricHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
                 metricHeaders_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2223,24 +2011,18 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
     }
 
     private java.util.List rows_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Row,
-            com.google.analytics.data.v1beta.Row.Builder,
-            com.google.analytics.data.v1beta.RowOrBuilder>
-        rowsBuilder_;
+        com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> rowsBuilder_;
 
     /**
-     *
-     *
      * 
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2255,8 +2037,6 @@ public java.util.List getRowsList() { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2271,8 +2051,6 @@ public int getRowsCount() { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2287,15 +2065,14 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder setRows(int index, com.google.analytics.data.v1beta.Row value) { + public Builder setRows( + int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2309,8 +2086,6 @@ public Builder setRows(int index, com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2329,8 +2104,6 @@ public Builder setRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2351,15 +2124,14 @@ public Builder addRows(com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder addRows(int index, com.google.analytics.data.v1beta.Row value) { + public Builder addRows( + int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2373,15 +2145,14 @@ public Builder addRows(int index, com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder addRows(com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addRows( + com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -2392,8 +2163,6 @@ public Builder addRows(com.google.analytics.data.v1beta.Row.Builder builderForVa return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2412,8 +2181,6 @@ public Builder addRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2424,7 +2191,8 @@ public Builder addAllRows( java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); @@ -2432,8 +2200,6 @@ public Builder addAllRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2451,8 +2217,6 @@ public Builder clearRows() { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2470,44 +2234,39 @@ public Builder removeRows(int index) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder(int index) { + public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder( + int index) { return getRowsFieldBuilder().getBuilder(index); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( + int index) { if (rowsBuilder_ == null) { - return rows_.get(index); - } else { + return rows_.get(index); } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -2515,8 +2274,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2524,71 +2281,60 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) * repeated .google.analytics.data.v1beta.Row rows = 3; */ public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getRowsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder(int index) { - return getRowsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder( + int index) { + return getRowsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public java.util.List getRowsBuilderList() { + public java.util.List + getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder>( - rows_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( + rows_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); rows_ = null; } return rowsBuilder_; } private java.util.List totals_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTotalsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { totals_ = new java.util.ArrayList(totals_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> - totalsBuilder_; + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> totalsBuilder_; /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2603,8 +2349,6 @@ public java.util.List getTotalsList() { } } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2619,8 +2363,6 @@ public int getTotalsCount() { } } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2635,15 +2377,14 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { } } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder setTotals(int index, com.google.analytics.data.v1beta.Row value) { + public Builder setTotals( + int index, com.google.analytics.data.v1beta.Row value) { if (totalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2657,8 +2398,6 @@ public Builder setTotals(int index, com.google.analytics.data.v1beta.Row value) return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2677,8 +2416,6 @@ public Builder setTotals( return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2699,15 +2436,14 @@ public Builder addTotals(com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder addTotals(int index, com.google.analytics.data.v1beta.Row value) { + public Builder addTotals( + int index, com.google.analytics.data.v1beta.Row value) { if (totalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2721,15 +2457,14 @@ public Builder addTotals(int index, com.google.analytics.data.v1beta.Row value) return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder addTotals(com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addTotals( + com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (totalsBuilder_ == null) { ensureTotalsIsMutable(); totals_.add(builderForValue.build()); @@ -2740,8 +2475,6 @@ public Builder addTotals(com.google.analytics.data.v1beta.Row.Builder builderFor return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2760,8 +2493,6 @@ public Builder addTotals( return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2772,7 +2503,8 @@ public Builder addAllTotals( java.lang.Iterable values) { if (totalsBuilder_ == null) { ensureTotalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, totals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, totals_); onChanged(); } else { totalsBuilder_.addAllMessages(values); @@ -2780,8 +2512,6 @@ public Builder addAllTotals( return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2799,8 +2529,6 @@ public Builder clearTotals() { return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2818,44 +2546,39 @@ public Builder removeTotals(int index) { return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.Row.Builder getTotalsBuilder(int index) { + public com.google.analytics.data.v1beta.Row.Builder getTotalsBuilder( + int index) { return getTotalsFieldBuilder().getBuilder(index); } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( + int index) { if (totalsBuilder_ == null) { - return totals_.get(index); - } else { + return totals_.get(index); } else { return totalsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public java.util.List - getTotalsOrBuilderList() { + public java.util.List + getTotalsOrBuilderList() { if (totalsBuilder_ != null) { return totalsBuilder_.getMessageOrBuilderList(); } else { @@ -2863,8 +2586,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int inde } } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2872,71 +2593,60 @@ public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int inde * repeated .google.analytics.data.v1beta.Row totals = 4; */ public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder() { - return getTotalsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getTotalsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder(int index) { - return getTotalsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder( + int index) { + return getTotalsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public java.util.List getTotalsBuilderList() { + public java.util.List + getTotalsBuilderList() { return getTotalsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> getTotalsFieldBuilder() { if (totalsBuilder_ == null) { - totalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder>( - totals_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + totalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( + totals_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); totals_ = null; } return totalsBuilder_; } private java.util.List maximums_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMaximumsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { maximums_ = new java.util.ArrayList(maximums_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> - maximumsBuilder_; + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> maximumsBuilder_; /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -2951,8 +2661,6 @@ public java.util.List getMaximumsList() { } } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -2967,8 +2675,6 @@ public int getMaximumsCount() { } } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -2983,15 +2689,14 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { } } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder setMaximums(int index, com.google.analytics.data.v1beta.Row value) { + public Builder setMaximums( + int index, com.google.analytics.data.v1beta.Row value) { if (maximumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3005,8 +2710,6 @@ public Builder setMaximums(int index, com.google.analytics.data.v1beta.Row value return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3025,8 +2728,6 @@ public Builder setMaximums( return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3047,15 +2748,14 @@ public Builder addMaximums(com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder addMaximums(int index, com.google.analytics.data.v1beta.Row value) { + public Builder addMaximums( + int index, com.google.analytics.data.v1beta.Row value) { if (maximumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3069,15 +2769,14 @@ public Builder addMaximums(int index, com.google.analytics.data.v1beta.Row value return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder addMaximums(com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addMaximums( + com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (maximumsBuilder_ == null) { ensureMaximumsIsMutable(); maximums_.add(builderForValue.build()); @@ -3088,8 +2787,6 @@ public Builder addMaximums(com.google.analytics.data.v1beta.Row.Builder builderF return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3108,8 +2805,6 @@ public Builder addMaximums( return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3120,7 +2815,8 @@ public Builder addAllMaximums( java.lang.Iterable values) { if (maximumsBuilder_ == null) { ensureMaximumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, maximums_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, maximums_); onChanged(); } else { maximumsBuilder_.addAllMessages(values); @@ -3128,8 +2824,6 @@ public Builder addAllMaximums( return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3147,8 +2841,6 @@ public Builder clearMaximums() { return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3166,44 +2858,39 @@ public Builder removeMaximums(int index) { return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.Row.Builder getMaximumsBuilder(int index) { + public com.google.analytics.data.v1beta.Row.Builder getMaximumsBuilder( + int index) { return getMaximumsFieldBuilder().getBuilder(index); } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( + int index) { if (maximumsBuilder_ == null) { - return maximums_.get(index); - } else { + return maximums_.get(index); } else { return maximumsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public java.util.List - getMaximumsOrBuilderList() { + public java.util.List + getMaximumsOrBuilderList() { if (maximumsBuilder_ != null) { return maximumsBuilder_.getMessageOrBuilderList(); } else { @@ -3211,8 +2898,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int in } } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3220,71 +2905,60 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int in * repeated .google.analytics.data.v1beta.Row maximums = 5; */ public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder() { - return getMaximumsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getMaximumsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder(int index) { - return getMaximumsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder( + int index) { + return getMaximumsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public java.util.List getMaximumsBuilderList() { + public java.util.List + getMaximumsBuilderList() { return getMaximumsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> getMaximumsFieldBuilder() { if (maximumsBuilder_ == null) { - maximumsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder>( - maximums_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + maximumsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( + maximums_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); maximums_ = null; } return maximumsBuilder_; } private java.util.List minimums_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMinimumsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { minimums_ = new java.util.ArrayList(minimums_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> - minimumsBuilder_; + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> minimumsBuilder_; /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3299,8 +2973,6 @@ public java.util.List getMinimumsList() { } } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3315,8 +2987,6 @@ public int getMinimumsCount() { } } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3331,15 +3001,14 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { } } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder setMinimums(int index, com.google.analytics.data.v1beta.Row value) { + public Builder setMinimums( + int index, com.google.analytics.data.v1beta.Row value) { if (minimumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3353,8 +3022,6 @@ public Builder setMinimums(int index, com.google.analytics.data.v1beta.Row value return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3373,8 +3040,6 @@ public Builder setMinimums( return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3395,15 +3060,14 @@ public Builder addMinimums(com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder addMinimums(int index, com.google.analytics.data.v1beta.Row value) { + public Builder addMinimums( + int index, com.google.analytics.data.v1beta.Row value) { if (minimumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3417,15 +3081,14 @@ public Builder addMinimums(int index, com.google.analytics.data.v1beta.Row value return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder addMinimums(com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addMinimums( + com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (minimumsBuilder_ == null) { ensureMinimumsIsMutable(); minimums_.add(builderForValue.build()); @@ -3436,8 +3099,6 @@ public Builder addMinimums(com.google.analytics.data.v1beta.Row.Builder builderF return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3456,8 +3117,6 @@ public Builder addMinimums( return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3468,7 +3127,8 @@ public Builder addAllMinimums( java.lang.Iterable values) { if (minimumsBuilder_ == null) { ensureMinimumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, minimums_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, minimums_); onChanged(); } else { minimumsBuilder_.addAllMessages(values); @@ -3476,8 +3136,6 @@ public Builder addAllMinimums( return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3495,8 +3153,6 @@ public Builder clearMinimums() { return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3514,44 +3170,39 @@ public Builder removeMinimums(int index) { return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.Row.Builder getMinimumsBuilder(int index) { + public com.google.analytics.data.v1beta.Row.Builder getMinimumsBuilder( + int index) { return getMinimumsFieldBuilder().getBuilder(index); } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( + int index) { if (minimumsBuilder_ == null) { - return minimums_.get(index); - } else { + return minimums_.get(index); } else { return minimumsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public java.util.List - getMinimumsOrBuilderList() { + public java.util.List + getMinimumsOrBuilderList() { if (minimumsBuilder_ != null) { return minimumsBuilder_.getMessageOrBuilderList(); } else { @@ -3559,8 +3210,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int in } } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3568,56 +3217,49 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int in * repeated .google.analytics.data.v1beta.Row minimums = 6; */ public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder() { - return getMinimumsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getMinimumsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder(int index) { - return getMinimumsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder( + int index) { + return getMinimumsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public java.util.List getMinimumsBuilderList() { + public java.util.List + getMinimumsBuilderList() { return getMinimumsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> getMinimumsFieldBuilder() { if (minimumsBuilder_ == null) { - minimumsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder>( - minimums_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); + minimumsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( + minimums_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); minimums_ = null; } return minimumsBuilder_; } - private int rowCount_; + private int rowCount_ ; /** - * - * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response and the `limit` request
@@ -3627,7 +3269,6 @@ public java.util.List getMinimumsB
      * 
* * int32 row_count = 7; - * * @return The rowCount. */ @java.lang.Override @@ -3635,8 +3276,6 @@ public int getRowCount() { return rowCount_; } /** - * - * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response and the `limit` request
@@ -3646,19 +3285,16 @@ public int getRowCount() {
      * 
* * int32 row_count = 7; - * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(int value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response and the `limit` request
@@ -3668,11 +3304,10 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 7; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0; onChanged(); return this; @@ -3680,47 +3315,34 @@ public Builder clearRowCount() { private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, - com.google.analytics.data.v1beta.PropertyQuota.Builder, - com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> - propertyQuotaBuilder_; + com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> propertyQuotaBuilder_; /** - * - * *
      * This Analytics Property's Realtime quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; - * * @return Whether the propertyQuota field is set. */ public boolean hasPropertyQuota() { return propertyQuotaBuilder_ != null || propertyQuota_ != null; } /** - * - * *
      * This Analytics Property's Realtime quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; - * * @return The propertyQuota. */ public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { if (propertyQuotaBuilder_ == null) { - return propertyQuota_ == null - ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() - : propertyQuota_; + return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; } else { return propertyQuotaBuilder_.getMessage(); } } /** - * - * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3741,8 +3363,6 @@ public Builder setPropertyQuota(com.google.analytics.data.v1beta.PropertyQuota v return this; } /** - * - * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3761,8 +3381,6 @@ public Builder setPropertyQuota( return this; } /** - * - * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3773,9 +3391,7 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota if (propertyQuotaBuilder_ == null) { if (propertyQuota_ != null) { propertyQuota_ = - com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_).mergeFrom(value).buildPartial(); } else { propertyQuota_ = value; } @@ -3787,8 +3403,6 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota return this; } /** - * - * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3807,8 +3421,6 @@ public Builder clearPropertyQuota() { return this; } /** - * - * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3816,13 +3428,11 @@ public Builder clearPropertyQuota() { * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; */ public com.google.analytics.data.v1beta.PropertyQuota.Builder getPropertyQuotaBuilder() { - + onChanged(); return getPropertyQuotaFieldBuilder().getBuilder(); } /** - * - * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3833,14 +3443,11 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO if (propertyQuotaBuilder_ != null) { return propertyQuotaBuilder_.getMessageOrBuilder(); } else { - return propertyQuota_ == null - ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() - : propertyQuota_; + return propertyQuota_ == null ? + com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; } } /** - * - * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3848,17 +3455,14 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, - com.google.analytics.data.v1beta.PropertyQuota.Builder, - com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> + com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> getPropertyQuotaFieldBuilder() { if (propertyQuotaBuilder_ == null) { - propertyQuotaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, - com.google.analytics.data.v1beta.PropertyQuota.Builder, - com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( - getPropertyQuota(), getParentForChildren(), isClean()); + propertyQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( + getPropertyQuota(), + getParentForChildren(), + isClean()); propertyQuota_ = null; } return propertyQuotaBuilder_; @@ -3866,8 +3470,6 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO private java.lang.Object kind_ = ""; /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -3875,13 +3477,13 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
      * 
* * string kind = 9; - * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -3890,8 +3492,6 @@ public java.lang.String getKind() { } } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -3899,14 +3499,15 @@ public java.lang.String getKind() {
      * 
* * string kind = 9; - * * @return The bytes for kind. */ - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -3914,8 +3515,6 @@ public com.google.protobuf.ByteString getKindBytes() { } } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -3923,22 +3522,20 @@ public com.google.protobuf.ByteString getKindBytes() {
      * 
* * string kind = 9; - * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind(java.lang.String value) { + public Builder setKind( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -3946,18 +3543,15 @@ public Builder setKind(java.lang.String value) {
      * 
* * string kind = 9; - * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -3965,23 +3559,23 @@ public Builder clearKind() {
      * 
* * string kind = 9; - * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { + public Builder setKindBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = 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); } @@ -3991,12 +3585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunRealtimeReportResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunRealtimeReportResponse) private static final com.google.analytics.data.v1beta.RunRealtimeReportResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunRealtimeReportResponse(); } @@ -4005,16 +3599,16 @@ public static com.google.analytics.data.v1beta.RunRealtimeReportResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunRealtimeReportResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunRealtimeReportResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunRealtimeReportResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunRealtimeReportResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4029,4 +3623,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.data.v1beta.RunRealtimeReportResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java similarity index 85% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java index e7e3a731..5557225f 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface RunRealtimeReportResponseOrBuilder - extends +public interface RunRealtimeReportResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunRealtimeReportResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -33,10 +15,9 @@ public interface RunRealtimeReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  java.util.List getDimensionHeadersList();
+  java.util.List 
+      getDimensionHeadersList();
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -46,8 +27,6 @@ public interface RunRealtimeReportResponseOrBuilder
    */
   com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int index);
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -57,8 +36,6 @@ public interface RunRealtimeReportResponseOrBuilder
    */
   int getDimensionHeadersCount();
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -66,11 +43,9 @@ public interface RunRealtimeReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  java.util.List
+  java.util.List 
       getDimensionHeadersOrBuilderList();
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -78,11 +53,10 @@ public interface RunRealtimeReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(int index);
+  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -90,10 +64,9 @@ public interface RunRealtimeReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  java.util.List getMetricHeadersList();
+  java.util.List 
+      getMetricHeadersList();
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -103,8 +76,6 @@ public interface RunRealtimeReportResponseOrBuilder
    */
   com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index);
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -114,8 +85,6 @@ public interface RunRealtimeReportResponseOrBuilder
    */
   int getMetricHeadersCount();
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -123,11 +92,9 @@ public interface RunRealtimeReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  java.util.List
+  java.util.List 
       getMetricHeadersOrBuilderList();
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -135,21 +102,19 @@ public interface RunRealtimeReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index);
+  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - java.util.List getRowsList(); + java.util.List + getRowsList(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -158,8 +123,6 @@ public interface RunRealtimeReportResponseOrBuilder */ com.google.analytics.data.v1beta.Row getRows(int index); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -168,39 +131,34 @@ public interface RunRealtimeReportResponseOrBuilder */ int getRowsCount(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - java.util.List getRowsOrBuilderList(); + java.util.List + getRowsOrBuilderList(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index); + com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( + int index); /** - * - * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - java.util.List getTotalsList(); + java.util.List + getTotalsList(); /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -209,8 +167,6 @@ public interface RunRealtimeReportResponseOrBuilder */ com.google.analytics.data.v1beta.Row getTotals(int index); /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -219,39 +175,34 @@ public interface RunRealtimeReportResponseOrBuilder */ int getTotalsCount(); /** - * - * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - java.util.List getTotalsOrBuilderList(); + java.util.List + getTotalsOrBuilderList(); /** - * - * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index); + com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( + int index); /** - * - * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - java.util.List getMaximumsList(); + java.util.List + getMaximumsList(); /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -260,8 +211,6 @@ public interface RunRealtimeReportResponseOrBuilder */ com.google.analytics.data.v1beta.Row getMaximums(int index); /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -270,40 +219,34 @@ public interface RunRealtimeReportResponseOrBuilder */ int getMaximumsCount(); /** - * - * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - java.util.List + java.util.List getMaximumsOrBuilderList(); /** - * - * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index); + com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( + int index); /** - * - * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - java.util.List getMinimumsList(); + java.util.List + getMinimumsList(); /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -312,8 +255,6 @@ public interface RunRealtimeReportResponseOrBuilder */ com.google.analytics.data.v1beta.Row getMinimums(int index); /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -322,30 +263,25 @@ public interface RunRealtimeReportResponseOrBuilder */ int getMinimumsCount(); /** - * - * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - java.util.List + java.util.List getMinimumsOrBuilderList(); /** - * - * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index); + com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( + int index); /** - * - * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response and the `limit` request
@@ -355,38 +291,29 @@ public interface RunRealtimeReportResponseOrBuilder
    * 
* * int32 row_count = 7; - * * @return The rowCount. */ int getRowCount(); /** - * - * *
    * This Analytics Property's Realtime quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; - * * @return Whether the propertyQuota field is set. */ boolean hasPropertyQuota(); /** - * - * *
    * This Analytics Property's Realtime quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; - * * @return The propertyQuota. */ com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota(); /** - * - * *
    * This Analytics Property's Realtime quota state including this request.
    * 
@@ -396,8 +323,6 @@ public interface RunRealtimeReportResponseOrBuilder com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder(); /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -405,13 +330,10 @@ public interface RunRealtimeReportResponseOrBuilder
    * 
* * string kind = 9; - * * @return The kind. */ java.lang.String getKind(); /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -419,8 +341,8 @@ public interface RunRealtimeReportResponseOrBuilder
    * 
* * string kind = 9; - * * @return The bytes for kind. */ - com.google.protobuf.ByteString getKindBytes(); + com.google.protobuf.ByteString + getKindBytes(); } diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java similarity index 77% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java index d7f71fee..cb8adf97 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The request to generate a report.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunReportRequest} */ -public final class RunReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunReportRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunReportRequest) RunReportRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunReportRequest.newBuilder() to construct. private RunReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunReportRequest() { property_ = ""; dimensions_ = java.util.Collections.emptyList(); @@ -49,15 +31,16 @@ private RunReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RunReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,172 +60,150 @@ private RunReportRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; + property_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensions_.add( - input.readMessage( - com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); - break; + dimensions_.add( + input.readMessage(com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metrics_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metrics_.add( - input.readMessage( - com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); - break; + metrics_.add( + input.readMessage(com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + dateRanges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - dateRanges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - dateRanges_.add( - input.readMessage( - com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry)); - break; + dateRanges_.add( + input.readMessage(com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (dimensionFilter_ != null) { + subBuilder = dimensionFilter_.toBuilder(); } - case 42: - { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (dimensionFilter_ != null) { - subBuilder = dimensionFilter_.toBuilder(); - } - dimensionFilter_ = - input.readMessage( - com.google.analytics.data.v1beta.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionFilter_); - dimensionFilter_ = subBuilder.buildPartial(); - } - - break; + dimensionFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dimensionFilter_); + dimensionFilter_ = subBuilder.buildPartial(); } - case 50: - { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (metricFilter_ != null) { - subBuilder = metricFilter_.toBuilder(); - } - metricFilter_ = - input.readMessage( - com.google.analytics.data.v1beta.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricFilter_); - metricFilter_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (metricFilter_ != null) { + subBuilder = metricFilter_.toBuilder(); } - case 56: - { - offset_ = input.readInt64(); - break; + metricFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricFilter_); + metricFilter_ = subBuilder.buildPartial(); } - case 64: - { - limit_ = input.readInt64(); - break; + + break; + } + case 56: { + + offset_ = input.readInt64(); + break; + } + case 64: { + + limit_ = input.readInt64(); + break; + } + case 72: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + metricAggregations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 72: - { + metricAggregations_.add(rawValue); + break; + } + case 74: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000008) != 0)) { metricAggregations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } metricAggregations_.add(rawValue); - break; - } - case 74: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - metricAggregations_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 82: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - orderBys_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - orderBys_.add( - input.readMessage( - com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); - break; } - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - - currencyCode_ = s; - break; + input.popLimit(oldLimit); + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + orderBys_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 98: - { - com.google.analytics.data.v1beta.CohortSpec.Builder subBuilder = null; - if (cohortSpec_ != null) { - subBuilder = cohortSpec_.toBuilder(); - } - cohortSpec_ = - input.readMessage( - com.google.analytics.data.v1beta.CohortSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cohortSpec_); - cohortSpec_ = subBuilder.buildPartial(); - } + orderBys_.add( + input.readMessage(com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); + break; + } + case 90: { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 104: - { - keepEmptyRows_ = input.readBool(); - break; + currencyCode_ = s; + break; + } + case 98: { + com.google.analytics.data.v1beta.CohortSpec.Builder subBuilder = null; + if (cohortSpec_ != null) { + subBuilder = cohortSpec_.toBuilder(); } - case 112: - { - returnPropertyQuota_ = input.readBool(); - break; + cohortSpec_ = input.readMessage(com.google.analytics.data.v1beta.CohortSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cohortSpec_); + cohortSpec_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 104: { + + keepEmptyRows_ = input.readBool(); + break; + } + case 112: { + + returnPropertyQuota_ = 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)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -263,27 +224,22 @@ private RunReportRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunReportRequest.class, - com.google.analytics.data.v1beta.RunReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunReportRequest.class, com.google.analytics.data.v1beta.RunReportRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -295,7 +251,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string property = 1; - * * @return The property. */ @java.lang.Override @@ -304,15 +259,14 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -324,15 +278,16 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; - * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -343,8 +298,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { public static final int DIMENSIONS_FIELD_NUMBER = 2; private java.util.List dimensions_; /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -356,8 +309,6 @@ public java.util.List getDimensionsL return dimensions_; } /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -365,13 +316,11 @@ public java.util.List getDimensionsL * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ @java.lang.Override - public java.util.List + public java.util.List getDimensionsOrBuilderList() { return dimensions_; } /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -383,8 +332,6 @@ public int getDimensionsCount() { return dimensions_.size(); } /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -396,8 +343,6 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { return dimensions_.get(index); } /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -405,15 +350,14 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) { + public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( + int index) { return dimensions_.get(index); } public static final int METRICS_FIELD_NUMBER = 3; private java.util.List metrics_; /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -425,8 +369,6 @@ public java.util.List getMetricsList() return metrics_; } /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -434,13 +376,11 @@ public java.util.List getMetricsList() * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ @java.lang.Override - public java.util.List + public java.util.List getMetricsOrBuilderList() { return metrics_; } /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -452,8 +392,6 @@ public int getMetricsCount() { return metrics_.size(); } /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -465,8 +403,6 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { return metrics_.get(index); } /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -474,15 +410,14 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) { + public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( + int index) { return metrics_.get(index); } public static final int DATE_RANGES_FIELD_NUMBER = 4; private java.util.List dateRanges_; /** - * - * *
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -498,8 +433,6 @@ public java.util.List getDateRangesL
     return dateRanges_;
   }
   /**
-   *
-   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -511,13 +444,11 @@ public java.util.List getDateRangesL
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDateRangesOrBuilderList() {
     return dateRanges_;
   }
   /**
-   *
-   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -533,8 +464,6 @@ public int getDateRangesCount() {
     return dateRanges_.size();
   }
   /**
-   *
-   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -550,8 +479,6 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
     return dateRanges_.get(index);
   }
   /**
-   *
-   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -563,22 +490,22 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index) {
+  public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
+      int index) {
     return dateRanges_.get(index);
   }
 
   public static final int DIMENSION_FILTER_FIELD_NUMBER = 5;
   private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_;
   /**
-   *
-   *
    * 
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
+   * Dimension filters allow you to ask for only specific dimension values in
+   * the report. To learn more, see [Fundamentals of Dimension
+   * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+   * for examples. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; - * * @return Whether the dimensionFilter field is set. */ @java.lang.Override @@ -586,29 +513,26 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** - * - * *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
+   * Dimension filters allow you to ask for only specific dimension values in
+   * the report. To learn more, see [Fundamentals of Dimension
+   * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+   * for examples. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; - * * @return The dimensionFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { - return dimensionFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : dimensionFilter_; + return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; } /** - * - * *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
+   * Dimension filters allow you to ask for only specific dimension values in
+   * the report. To learn more, see [Fundamentals of Dimension
+   * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+   * for examples. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; @@ -621,16 +545,12 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi public static final int METRIC_FILTER_FIELD_NUMBER = 6; private com.google.analytics.data.v1beta.FilterExpression metricFilter_; /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
+   * SQL having-clause. Dimensions cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; - * * @return Whether the metricFilter field is set. */ @java.lang.Override @@ -638,31 +558,22 @@ public boolean hasMetricFilter() { return metricFilter_ != null; } /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
+   * SQL having-clause. Dimensions cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; - * * @return The metricFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { - return metricFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : metricFilter_; + return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; } /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
+   * SQL having-clause. Dimensions cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; @@ -675,8 +586,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte public static final int OFFSET_FIELD_NUMBER = 7; private long offset_; /** - * - * *
    * The row count of the start row. The first row is counted as row 0.
    * When paging, the first request does not specify offset; or equivalently,
@@ -688,7 +597,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
    * 
* * int64 offset = 7; - * * @return The offset. */ @java.lang.Override @@ -699,8 +607,6 @@ public long getOffset() { public static final int LIMIT_FIELD_NUMBER = 8; private long limit_; /** - * - * *
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -715,7 +621,6 @@ public long getOffset() {
    * 
* * int64 limit = 8; - * * @return The limit. */ @java.lang.Override @@ -726,49 +631,36 @@ public long getLimit() { public static final int METRIC_AGGREGATIONS_FIELD_NUMBER = 9; private java.util.List metricAggregations_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> - metricAggregations_converter_ = + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> metricAggregations_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>() { - public com.google.analytics.data.v1beta.MetricAggregation convert( - java.lang.Integer from) { + public com.google.analytics.data.v1beta.MetricAggregation convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricAggregation result = - com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); - return result == null - ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED - : result; + com.google.analytics.data.v1beta.MetricAggregation result = com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); + return result == null ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED : result; } }; /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * * @return A list containing the metricAggregations. */ @java.lang.Override - public java.util.List - getMetricAggregationsList() { + public java.util.List getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); } /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * * @return The count of metricAggregations. */ @java.lang.Override @@ -776,15 +668,12 @@ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -793,31 +682,26 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * * @return A list containing the enum numeric values on the wire for metricAggregations. */ @java.lang.Override - public java.util.List getMetricAggregationsValueList() { + public java.util.List + getMetricAggregationsValueList() { return metricAggregations_; } /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -825,14 +709,11 @@ public java.util.List getMetricAggregationsValueList() { public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } - private int metricAggregationsMemoizedSerializedSize; public static final int ORDER_BYS_FIELD_NUMBER = 10; private java.util.List orderBys_; /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -844,8 +725,6 @@ public java.util.List getOrderBysList( return orderBys_; } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -853,13 +732,11 @@ public java.util.List getOrderBysList( * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ @java.lang.Override - public java.util.List + public java.util.List getOrderBysOrBuilderList() { return orderBys_; } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -871,8 +748,6 @@ public int getOrderBysCount() { return orderBys_.size(); } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -884,8 +759,6 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { return orderBys_.get(index); } /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -893,22 +766,20 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) { + public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( + int index) { return orderBys_.get(index); } public static final int CURRENCY_CODE_FIELD_NUMBER = 11; private volatile java.lang.Object currencyCode_; /** - * - * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 11; - * * @return The currencyCode. */ @java.lang.Override @@ -917,30 +788,30 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** - * - * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 11; - * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -951,15 +822,12 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { public static final int COHORT_SPEC_FIELD_NUMBER = 12; private com.google.analytics.data.v1beta.CohortSpec cohortSpec_; /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; - * * @return Whether the cohortSpec field is set. */ @java.lang.Override @@ -967,26 +835,19 @@ public boolean hasCohortSpec() { return cohortSpec_ != null; } /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; - * * @return The cohortSpec. */ @java.lang.Override public com.google.analytics.data.v1beta.CohortSpec getCohortSpec() { - return cohortSpec_ == null - ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() - : cohortSpec_; + return cohortSpec_ == null ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_; } /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
@@ -1002,8 +863,6 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
   public static final int KEEP_EMPTY_ROWS_FIELD_NUMBER = 13;
   private boolean keepEmptyRows_;
   /**
-   *
-   *
    * 
    * If false or unspecified, each row with all metrics equal to 0 will not be
    * returned. If true, these rows will be returned if they are not separately
@@ -1011,7 +870,6 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
    * 
* * bool keep_empty_rows = 13; - * * @return The keepEmptyRows. */ @java.lang.Override @@ -1022,15 +880,12 @@ public boolean getKeepEmptyRows() { public static final int RETURN_PROPERTY_QUOTA_FIELD_NUMBER = 14; private boolean returnPropertyQuota_; /** - * - * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 14; - * * @return The returnPropertyQuota. */ @java.lang.Override @@ -1039,7 +894,6 @@ public boolean getReturnPropertyQuota() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1051,7 +905,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getPropertyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); @@ -1112,53 +967,63 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); } for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, dimensions_.get(i)); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metrics_.get(i)); } for (int i = 0; i < dateRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, dateRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, dateRanges_.get(i)); } if (dimensionFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDimensionFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDimensionFilter()); } if (metricFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetricFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getMetricFilter()); } if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, offset_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, offset_); } if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, limit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, limit_); } { int dataSize = 0; for (int i = 0; i < metricAggregations_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(metricAggregations_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(metricAggregations_.get(i)); } size += dataSize; - if (!getMetricAggregationsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - metricAggregationsMemoizedSerializedSize = dataSize; + if (!getMetricAggregationsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }metricAggregationsMemoizedSerializedSize = dataSize; } for (int i = 0; i < orderBys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, orderBys_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, orderBys_.get(i)); } if (!getCurrencyCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, currencyCode_); } if (cohortSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCohortSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getCohortSpec()); } if (keepEmptyRows_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, keepEmptyRows_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, keepEmptyRows_); } if (returnPropertyQuota_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, returnPropertyQuota_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(14, returnPropertyQuota_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1168,37 +1033,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.analytics.data.v1beta.RunReportRequest)) { return super.equals(obj); } - com.google.analytics.data.v1beta.RunReportRequest other = - (com.google.analytics.data.v1beta.RunReportRequest) obj; + com.google.analytics.data.v1beta.RunReportRequest other = (com.google.analytics.data.v1beta.RunReportRequest) obj; - if (!getProperty().equals(other.getProperty())) return false; - if (!getDimensionsList().equals(other.getDimensionsList())) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; - if (!getDateRangesList().equals(other.getDateRangesList())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; + if (!getDimensionsList() + .equals(other.getDimensionsList())) return false; + if (!getMetricsList() + .equals(other.getMetricsList())) return false; + if (!getDateRangesList() + .equals(other.getDateRangesList())) return false; if (hasDimensionFilter() != other.hasDimensionFilter()) return false; if (hasDimensionFilter()) { - if (!getDimensionFilter().equals(other.getDimensionFilter())) return false; + if (!getDimensionFilter() + .equals(other.getDimensionFilter())) return false; } if (hasMetricFilter() != other.hasMetricFilter()) return false; if (hasMetricFilter()) { - if (!getMetricFilter().equals(other.getMetricFilter())) return false; + if (!getMetricFilter() + .equals(other.getMetricFilter())) return false; } - if (getOffset() != other.getOffset()) return false; - if (getLimit() != other.getLimit()) return false; + if (getOffset() + != other.getOffset()) return false; + if (getLimit() + != other.getLimit()) return false; if (!metricAggregations_.equals(other.metricAggregations_)) return false; - if (!getOrderBysList().equals(other.getOrderBysList())) return false; - if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; + if (!getOrderBysList() + .equals(other.getOrderBysList())) return false; + if (!getCurrencyCode() + .equals(other.getCurrencyCode())) return false; if (hasCohortSpec() != other.hasCohortSpec()) return false; if (hasCohortSpec()) { - if (!getCohortSpec().equals(other.getCohortSpec())) return false; + if (!getCohortSpec() + .equals(other.getCohortSpec())) return false; } - if (getKeepEmptyRows() != other.getKeepEmptyRows()) return false; - if (getReturnPropertyQuota() != other.getReturnPropertyQuota()) return false; + if (getKeepEmptyRows() + != other.getKeepEmptyRows()) return false; + if (getReturnPropertyQuota() + != other.getReturnPropertyQuota()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1233,9 +1110,11 @@ public int hashCode() { hash = (53 * hash) + getMetricFilter().hashCode(); } hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffset()); hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLimit()); if (getMetricAggregationsCount() > 0) { hash = (37 * hash) + METRIC_AGGREGATIONS_FIELD_NUMBER; hash = (53 * hash) + metricAggregations_.hashCode(); @@ -1251,135 +1130,128 @@ public int hashCode() { hash = (53 * hash) + getCohortSpec().hashCode(); } hash = (37 * hash) + KEEP_EMPTY_ROWS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeepEmptyRows()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getKeepEmptyRows()); hash = (37 * hash) + RETURN_PROPERTY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPropertyQuota()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReturnPropertyQuota()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.RunReportRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.RunReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.RunReportRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunReportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.RunReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 request to generate a report.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunReportRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunReportRequest) com.google.analytics.data.v1beta.RunReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunReportRequest.class, - com.google.analytics.data.v1beta.RunReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunReportRequest.class, com.google.analytics.data.v1beta.RunReportRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunReportRequest.newBuilder() @@ -1387,20 +1259,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDimensionsFieldBuilder(); getMetricsFieldBuilder(); getDateRangesFieldBuilder(); getOrderBysFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1464,9 +1336,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; } @java.lang.Override @@ -1485,8 +1357,7 @@ public com.google.analytics.data.v1beta.RunReportRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.RunReportRequest buildPartial() { - com.google.analytics.data.v1beta.RunReportRequest result = - new com.google.analytics.data.v1beta.RunReportRequest(this); + com.google.analytics.data.v1beta.RunReportRequest result = new com.google.analytics.data.v1beta.RunReportRequest(this); int from_bitField0_ = bitField0_; result.property_ = property_; if (dimensionsBuilder_ == null) { @@ -1558,39 +1429,38 @@ public com.google.analytics.data.v1beta.RunReportRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunReportRequest) { - return mergeFrom((com.google.analytics.data.v1beta.RunReportRequest) other); + return mergeFrom((com.google.analytics.data.v1beta.RunReportRequest)other); } else { super.mergeFrom(other); return this; @@ -1598,8 +1468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportRequest other) { - if (other == com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -1622,10 +1491,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportRequest other dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionsFieldBuilder() - : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionsFieldBuilder() : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -1649,10 +1517,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportRequest other metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricsFieldBuilder() : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -1676,10 +1543,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportRequest other dateRangesBuilder_ = null; dateRanges_ = other.dateRanges_; bitField0_ = (bitField0_ & ~0x00000004); - dateRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDateRangesFieldBuilder() - : null; + dateRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDateRangesFieldBuilder() : null; } else { dateRangesBuilder_.addAllMessages(other.dateRanges_); } @@ -1725,10 +1591,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportRequest other orderBysBuilder_ = null; orderBys_ = other.orderBys_; bitField0_ = (bitField0_ & ~0x00000010); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOrderBysFieldBuilder() - : null; + orderBysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOrderBysFieldBuilder() : null; } else { orderBysBuilder_.addAllMessages(other.orderBys_); } @@ -1766,8 +1631,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.RunReportRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.RunReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1776,13 +1640,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object property_ = ""; /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1794,13 +1655,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; - * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1809,8 +1670,6 @@ public java.lang.String getProperty() { } } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1822,14 +1681,15 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; - * * @return The bytes for property. */ - public com.google.protobuf.ByteString getPropertyBytes() { + public com.google.protobuf.ByteString + getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); property_ = b; return b; } else { @@ -1837,8 +1697,6 @@ public com.google.protobuf.ByteString getPropertyBytes() { } } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1850,22 +1708,20 @@ public com.google.protobuf.ByteString getPropertyBytes() {
      * 
* * string property = 1; - * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty(java.lang.String value) { + public Builder setProperty( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1877,18 +1733,15 @@ public Builder setProperty(java.lang.String value) {
      * 
* * string property = 1; - * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** - * - * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1900,41 +1753,34 @@ public Builder clearProperty() {
      * 
* * string property = 1; - * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes(com.google.protobuf.ByteString value) { + public Builder setPropertyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List dimensions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(dimensions_); + dimensions_ = new java.util.ArrayList(dimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, - com.google.analytics.data.v1beta.Dimension.Builder, - com.google.analytics.data.v1beta.DimensionOrBuilder> - dimensionsBuilder_; + com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> dimensionsBuilder_; /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1949,8 +1795,6 @@ public java.util.List getDimensionsL } } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1965,8 +1809,6 @@ public int getDimensionsCount() { } } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -1981,15 +1823,14 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { } } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public Builder setDimensions(int index, com.google.analytics.data.v1beta.Dimension value) { + public Builder setDimensions( + int index, com.google.analytics.data.v1beta.Dimension value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2003,8 +1844,6 @@ public Builder setDimensions(int index, com.google.analytics.data.v1beta.Dimensi return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -2023,8 +1862,6 @@ public Builder setDimensions( return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -2045,15 +1882,14 @@ public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) { return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public Builder addDimensions(int index, com.google.analytics.data.v1beta.Dimension value) { + public Builder addDimensions( + int index, com.google.analytics.data.v1beta.Dimension value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2067,8 +1903,6 @@ public Builder addDimensions(int index, com.google.analytics.data.v1beta.Dimensi return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -2087,8 +1921,6 @@ public Builder addDimensions( return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -2107,8 +1939,6 @@ public Builder addDimensions( return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -2119,7 +1949,8 @@ public Builder addAllDimensions( java.lang.Iterable values) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dimensions_); onChanged(); } else { dimensionsBuilder_.addAllMessages(values); @@ -2127,8 +1958,6 @@ public Builder addAllDimensions( return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -2146,8 +1975,6 @@ public Builder clearDimensions() { return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -2165,44 +1992,39 @@ public Builder removeDimensions(int index) { return this; } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(int index) { + public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder( + int index) { return getDimensionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) { + public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( + int index) { if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { + return dimensions_.get(index); } else { return dimensionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public java.util.List - getDimensionsOrBuilderList() { + public java.util.List + getDimensionsOrBuilderList() { if (dimensionsBuilder_ != null) { return dimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -2210,8 +2032,6 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde } } /** - * - * *
      * The dimensions requested and displayed.
      * 
@@ -2219,72 +2039,60 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder() { - return getDimensionsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); + return getDimensionsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(int index) { - return getDimensionsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); + public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder( + int index) { + return getDimensionsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); } /** - * - * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public java.util.List - getDimensionsBuilderList() { + public java.util.List + getDimensionsBuilderList() { return getDimensionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, - com.google.analytics.data.v1beta.Dimension.Builder, - com.google.analytics.data.v1beta.DimensionOrBuilder> + com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> getDimensionsFieldBuilder() { if (dimensionsBuilder_ == null) { - dimensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, - com.google.analytics.data.v1beta.Dimension.Builder, - com.google.analytics.data.v1beta.DimensionOrBuilder>( - dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder>( + dimensions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dimensions_ = null; } return dimensionsBuilder_; } private java.util.List metrics_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { metrics_ = new java.util.ArrayList(metrics_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, - com.google.analytics.data.v1beta.Metric.Builder, - com.google.analytics.data.v1beta.MetricOrBuilder> - metricsBuilder_; + com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> metricsBuilder_; /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2299,8 +2107,6 @@ public java.util.List getMetricsList() } } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2315,8 +2121,6 @@ public int getMetricsCount() { } } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2331,15 +2135,14 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { } } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder setMetrics(int index, com.google.analytics.data.v1beta.Metric value) { + public Builder setMetrics( + int index, com.google.analytics.data.v1beta.Metric value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2353,8 +2156,6 @@ public Builder setMetrics(int index, com.google.analytics.data.v1beta.Metric val return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2373,8 +2174,6 @@ public Builder setMetrics( return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2395,15 +2194,14 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) { return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric value) { + public Builder addMetrics( + int index, com.google.analytics.data.v1beta.Metric value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2417,15 +2215,14 @@ public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric val return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder addMetrics(com.google.analytics.data.v1beta.Metric.Builder builderForValue) { + public Builder addMetrics( + com.google.analytics.data.v1beta.Metric.Builder builderForValue) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); metrics_.add(builderForValue.build()); @@ -2436,8 +2233,6 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric.Builder builde return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2456,8 +2251,6 @@ public Builder addMetrics( return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2468,7 +2261,8 @@ public Builder addAllMetrics( java.lang.Iterable values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -2476,8 +2270,6 @@ public Builder addAllMetrics( return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2495,8 +2287,6 @@ public Builder clearMetrics() { return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2514,44 +2304,39 @@ public Builder removeMetrics(int index) { return this; } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(int index) { + public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder( + int index) { return getMetricsFieldBuilder().getBuilder(index); } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) { + public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( + int index) { if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { + return metrics_.get(index); } else { return metricsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public java.util.List - getMetricsOrBuilderList() { + public java.util.List + getMetricsOrBuilderList() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilderList(); } else { @@ -2559,8 +2344,6 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int } } /** - * - * *
      * The metrics requested and displayed.
      * 
@@ -2568,72 +2351,60 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Metric.getDefaultInstance()); + return getMetricsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Metric.getDefaultInstance()); } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(int index) { - return getMetricsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Metric.getDefaultInstance()); + public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder( + int index) { + return getMetricsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Metric.getDefaultInstance()); } /** - * - * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public java.util.List getMetricsBuilderList() { + public java.util.List + getMetricsBuilderList() { return getMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, - com.google.analytics.data.v1beta.Metric.Builder, - com.google.analytics.data.v1beta.MetricOrBuilder> + com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, - com.google.analytics.data.v1beta.Metric.Builder, - com.google.analytics.data.v1beta.MetricOrBuilder>( - metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder>( + metrics_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); metrics_ = null; } return metricsBuilder_; } private java.util.List dateRanges_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDateRangesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - dateRanges_ = - new java.util.ArrayList(dateRanges_); + dateRanges_ = new java.util.ArrayList(dateRanges_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DateRange, - com.google.analytics.data.v1beta.DateRange.Builder, - com.google.analytics.data.v1beta.DateRangeOrBuilder> - dateRangesBuilder_; + com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> dateRangesBuilder_; /** - * - * *
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2652,8 +2423,6 @@ public java.util.List getDateRangesL
       }
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2672,8 +2441,6 @@ public int getDateRangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2692,8 +2459,6 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2704,7 +2469,8 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public Builder setDateRanges(int index, com.google.analytics.data.v1beta.DateRange value) {
+    public Builder setDateRanges(
+        int index, com.google.analytics.data.v1beta.DateRange value) {
       if (dateRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2718,8 +2484,6 @@ public Builder setDateRanges(int index, com.google.analytics.data.v1beta.DateRan
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2742,8 +2506,6 @@ public Builder setDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2768,8 +2530,6 @@ public Builder addDateRanges(com.google.analytics.data.v1beta.DateRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2780,7 +2540,8 @@ public Builder addDateRanges(com.google.analytics.data.v1beta.DateRange value) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public Builder addDateRanges(int index, com.google.analytics.data.v1beta.DateRange value) {
+    public Builder addDateRanges(
+        int index, com.google.analytics.data.v1beta.DateRange value) {
       if (dateRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2794,8 +2555,6 @@ public Builder addDateRanges(int index, com.google.analytics.data.v1beta.DateRan
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2818,8 +2577,6 @@ public Builder addDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2842,8 +2599,6 @@ public Builder addDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2858,7 +2613,8 @@ public Builder addAllDateRanges(
         java.lang.Iterable values) {
       if (dateRangesBuilder_ == null) {
         ensureDateRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dateRanges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dateRanges_);
         onChanged();
       } else {
         dateRangesBuilder_.addAllMessages(values);
@@ -2866,8 +2622,6 @@ public Builder addAllDateRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2889,8 +2643,6 @@ public Builder clearDateRanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2912,8 +2664,6 @@ public Builder removeDateRanges(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2924,12 +2674,11 @@ public Builder removeDateRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(int index) {
+    public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(
+        int index) {
       return getDateRangesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2940,16 +2689,14 @@ public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(i
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index) {
+    public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
+        int index) {
       if (dateRangesBuilder_ == null) {
-        return dateRanges_.get(index);
-      } else {
+        return dateRanges_.get(index);  } else {
         return dateRangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2960,8 +2707,8 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public java.util.List
-        getDateRangesOrBuilderList() {
+    public java.util.List 
+         getDateRangesOrBuilderList() {
       if (dateRangesBuilder_ != null) {
         return dateRangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2969,8 +2716,6 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2982,12 +2727,10 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
     public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder() {
-      return getDateRangesFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
+      return getDateRangesFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2998,13 +2741,12 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder()
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(int index) {
-      return getDateRangesFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
+    public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(
+        int index) {
+      return getDateRangesFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -3015,23 +2757,20 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(i
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public java.util.List
-        getDateRangesBuilderList() {
+    public java.util.List 
+         getDateRangesBuilderList() {
       return getDateRangesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DateRange,
-            com.google.analytics.data.v1beta.DateRange.Builder,
-            com.google.analytics.data.v1beta.DateRangeOrBuilder>
+        com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> 
         getDateRangesFieldBuilder() {
       if (dateRangesBuilder_ == null) {
-        dateRangesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.DateRange,
-                com.google.analytics.data.v1beta.DateRange.Builder,
-                com.google.analytics.data.v1beta.DateRangeOrBuilder>(
-                dateRanges_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        dateRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder>(
+                dateRanges_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         dateRanges_ = null;
       }
       return dateRangesBuilder_;
@@ -3039,52 +2778,45 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(i
 
     private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression,
-            com.google.analytics.data.v1beta.FilterExpression.Builder,
-            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
-        dimensionFilterBuilder_;
+        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> dimensionFilterBuilder_;
     /**
-     *
-     *
      * 
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
+     * Dimension filters allow you to ask for only specific dimension values in
+     * the report. To learn more, see [Fundamentals of Dimension
+     * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+     * for examples. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; - * * @return Whether the dimensionFilter field is set. */ public boolean hasDimensionFilter() { return dimensionFilterBuilder_ != null || dimensionFilter_ != null; } /** - * - * *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
+     * Dimension filters allow you to ask for only specific dimension values in
+     * the report. To learn more, see [Fundamentals of Dimension
+     * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+     * for examples. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; - * * @return The dimensionFilter. */ public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : dimensionFilter_; + return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; } else { return dimensionFilterBuilder_.getMessage(); } } /** - * - * *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
+     * Dimension filters allow you to ask for only specific dimension values in
+     * the report. To learn more, see [Fundamentals of Dimension
+     * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+     * for examples. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; @@ -3103,11 +2835,11 @@ public Builder setDimensionFilter(com.google.analytics.data.v1beta.FilterExpress return this; } /** - * - * *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
+     * Dimension filters allow you to ask for only specific dimension values in
+     * the report. To learn more, see [Fundamentals of Dimension
+     * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+     * for examples. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; @@ -3124,11 +2856,11 @@ public Builder setDimensionFilter( return this; } /** - * - * *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
+     * Dimension filters allow you to ask for only specific dimension values in
+     * the report. To learn more, see [Fundamentals of Dimension
+     * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+     * for examples. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; @@ -3137,9 +2869,7 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre if (dimensionFilterBuilder_ == null) { if (dimensionFilter_ != null) { dimensionFilter_ = - com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_).mergeFrom(value).buildPartial(); } else { dimensionFilter_ = value; } @@ -3151,11 +2881,11 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre return this; } /** - * - * *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
+     * Dimension filters allow you to ask for only specific dimension values in
+     * the report. To learn more, see [Fundamentals of Dimension
+     * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+     * for examples. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; @@ -3172,62 +2902,57 @@ public Builder clearDimensionFilter() { return this; } /** - * - * *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
+     * Dimension filters allow you to ask for only specific dimension values in
+     * the report. To learn more, see [Fundamentals of Dimension
+     * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+     * for examples. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; */ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFilterBuilder() { - + onChanged(); return getDimensionFilterFieldBuilder().getBuilder(); } /** - * - * *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
+     * Dimension filters allow you to ask for only specific dimension values in
+     * the report. To learn more, see [Fundamentals of Dimension
+     * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+     * for examples. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; */ - public com.google.analytics.data.v1beta.FilterExpressionOrBuilder - getDimensionFilterOrBuilder() { + public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder() { if (dimensionFilterBuilder_ != null) { return dimensionFilterBuilder_.getMessageOrBuilder(); } else { - return dimensionFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : dimensionFilter_; + return dimensionFilter_ == null ? + com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; } } /** - * - * *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
+     * Dimension filters allow you to ask for only specific dimension values in
+     * the report. To learn more, see [Fundamentals of Dimension
+     * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+     * for examples. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> getDimensionFilterFieldBuilder() { if (dimensionFilterBuilder_ == null) { - dimensionFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( - getDimensionFilter(), getParentForChildren(), isClean()); + dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( + getDimensionFilter(), + getParentForChildren(), + isClean()); dimensionFilter_ = null; } return dimensionFilterBuilder_; @@ -3235,55 +2960,39 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil private com.google.analytics.data.v1beta.FilterExpression metricFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder> - metricFilterBuilder_; + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> metricFilterBuilder_; /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
+     * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; - * * @return Whether the metricFilter field is set. */ public boolean hasMetricFilter() { return metricFilterBuilder_ != null || metricFilter_ != null; } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
+     * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; - * * @return The metricFilter. */ public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { if (metricFilterBuilder_ == null) { - return metricFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : metricFilter_; + return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; } else { return metricFilterBuilder_.getMessage(); } } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
+     * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; @@ -3302,12 +3011,9 @@ public Builder setMetricFilter(com.google.analytics.data.v1beta.FilterExpression return this; } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
+     * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; @@ -3324,12 +3030,9 @@ public Builder setMetricFilter( return this; } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
+     * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; @@ -3338,9 +3041,7 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi if (metricFilterBuilder_ == null) { if (metricFilter_ != null) { metricFilter_ = - com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_).mergeFrom(value).buildPartial(); } else { metricFilter_ = value; } @@ -3352,12 +3053,9 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi return this; } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
+     * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; @@ -3374,28 +3072,22 @@ public Builder clearMetricFilter() { return this; } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
+     * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; */ public com.google.analytics.data.v1beta.FilterExpression.Builder getMetricFilterBuilder() { - + onChanged(); return getMetricFilterFieldBuilder().getBuilder(); } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
+     * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; @@ -3404,43 +3096,34 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte if (metricFilterBuilder_ != null) { return metricFilterBuilder_.getMessageOrBuilder(); } else { - return metricFilter_ == null - ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() - : metricFilter_; + return metricFilter_ == null ? + com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; } } /** - * - * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
+     * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> getMetricFilterFieldBuilder() { if (metricFilterBuilder_ == null) { - metricFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, - com.google.analytics.data.v1beta.FilterExpression.Builder, - com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( - getMetricFilter(), getParentForChildren(), isClean()); + metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( + getMetricFilter(), + getParentForChildren(), + isClean()); metricFilter_ = null; } return metricFilterBuilder_; } - private long offset_; + private long offset_ ; /** - * - * *
      * The row count of the start row. The first row is counted as row 0.
      * When paging, the first request does not specify offset; or equivalently,
@@ -3452,7 +3135,6 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * 
* * int64 offset = 7; - * * @return The offset. */ @java.lang.Override @@ -3460,8 +3142,6 @@ public long getOffset() { return offset_; } /** - * - * *
      * The row count of the start row. The first row is counted as row 0.
      * When paging, the first request does not specify offset; or equivalently,
@@ -3473,19 +3153,16 @@ public long getOffset() {
      * 
* * int64 offset = 7; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); return this; } /** - * - * *
      * The row count of the start row. The first row is counted as row 0.
      * When paging, the first request does not specify offset; or equivalently,
@@ -3497,20 +3174,17 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 7; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0L; onChanged(); return this; } - private long limit_; + private long limit_ ; /** - * - * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -3525,7 +3199,6 @@ public Builder clearOffset() {
      * 
* * int64 limit = 8; - * * @return The limit. */ @java.lang.Override @@ -3533,8 +3206,6 @@ public long getLimit() { return limit_; } /** - * - * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -3549,19 +3220,16 @@ public long getLimit() {
      * 
* * int64 limit = 8; - * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; onChanged(); return this; } /** - * - * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -3576,19 +3244,17 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; - * * @return This builder for chaining. */ public Builder clearLimit() { - + limit_ = 0L; onChanged(); return this; } private java.util.List metricAggregations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricAggregationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { metricAggregations_ = new java.util.ArrayList(metricAggregations_); @@ -3596,51 +3262,37 @@ private void ensureMetricAggregationsIsMutable() { } } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @return A list containing the metricAggregations. */ - public java.util.List - getMetricAggregationsList() { + public java.util.List getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @return The count of metricAggregations. */ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -3648,16 +3300,12 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @param index The index to set the value at. * @param value The metricAggregations to set. * @return This builder for chaining. @@ -3673,16 +3321,12 @@ public Builder setMetricAggregations( return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @param value The metricAggregations to add. * @return This builder for chaining. */ @@ -3696,16 +3340,12 @@ public Builder addMetricAggregations(com.google.analytics.data.v1beta.MetricAggr return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @param values The metricAggregations to add. * @return This builder for chaining. */ @@ -3719,16 +3359,12 @@ public Builder addAllMetricAggregations( return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @return This builder for chaining. */ public Builder clearMetricAggregations() { @@ -3738,32 +3374,25 @@ public Builder clearMetricAggregations() { return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @return A list containing the enum numeric values on the wire for metricAggregations. */ - public java.util.List getMetricAggregationsValueList() { + public java.util.List + getMetricAggregationsValueList() { return java.util.Collections.unmodifiableList(metricAggregations_); } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -3771,37 +3400,30 @@ public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. * @return This builder for chaining. */ - public Builder setMetricAggregationsValue(int index, int value) { + public Builder setMetricAggregationsValue( + int index, int value) { ensureMetricAggregationsIsMutable(); metricAggregations_.set(index, value); onChanged(); return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @param value The enum numeric value on the wire for metricAggregations to add. * @return This builder for chaining. */ @@ -3812,20 +3434,17 @@ public Builder addMetricAggregationsValue(int value) { return this; } /** - * - * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * - * + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; * @param values The enum numeric values on the wire for metricAggregations to add. * @return This builder for chaining. */ - public Builder addAllMetricAggregationsValue(java.lang.Iterable values) { + public Builder addAllMetricAggregationsValue( + java.lang.Iterable values) { ensureMetricAggregationsIsMutable(); for (int value : values) { metricAggregations_.add(value); @@ -3835,24 +3454,18 @@ public Builder addAllMetricAggregationsValue(java.lang.Iterable orderBys_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOrderBysIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { orderBys_ = new java.util.ArrayList(orderBys_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, - com.google.analytics.data.v1beta.OrderBy.Builder, - com.google.analytics.data.v1beta.OrderByOrBuilder> - orderBysBuilder_; + com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> orderBysBuilder_; /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3867,8 +3480,6 @@ public java.util.List getOrderBysList( } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3883,8 +3494,6 @@ public int getOrderBysCount() { } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3899,15 +3508,14 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public Builder setOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) { + public Builder setOrderBys( + int index, com.google.analytics.data.v1beta.OrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3921,8 +3529,6 @@ public Builder setOrderBys(int index, com.google.analytics.data.v1beta.OrderBy v return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3941,8 +3547,6 @@ public Builder setOrderBys( return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3963,15 +3567,14 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy value) { return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public Builder addOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) { + public Builder addOrderBys( + int index, com.google.analytics.data.v1beta.OrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3985,15 +3588,14 @@ public Builder addOrderBys(int index, com.google.analytics.data.v1beta.OrderBy v return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) { + public Builder addOrderBys( + com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) { if (orderBysBuilder_ == null) { ensureOrderBysIsMutable(); orderBys_.add(builderForValue.build()); @@ -4004,8 +3606,6 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy.Builder buil return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -4024,8 +3624,6 @@ public Builder addOrderBys( return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -4036,7 +3634,8 @@ public Builder addAllOrderBys( java.lang.Iterable values) { if (orderBysBuilder_ == null) { ensureOrderBysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, orderBys_); onChanged(); } else { orderBysBuilder_.addAllMessages(values); @@ -4044,8 +3643,6 @@ public Builder addAllOrderBys( return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -4063,8 +3660,6 @@ public Builder clearOrderBys() { return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -4082,44 +3677,39 @@ public Builder removeOrderBys(int index) { return this; } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder(int index) { + public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder( + int index) { return getOrderBysFieldBuilder().getBuilder(index); } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) { + public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( + int index) { if (orderBysBuilder_ == null) { - return orderBys_.get(index); - } else { + return orderBys_.get(index); } else { return orderBysBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public java.util.List - getOrderBysOrBuilderList() { + public java.util.List + getOrderBysOrBuilderList() { if (orderBysBuilder_ != null) { return orderBysBuilder_.getMessageOrBuilderList(); } else { @@ -4127,8 +3717,6 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(in } } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
@@ -4136,48 +3724,42 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(in * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder() { - return getOrderBysFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); + return getOrderBysFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(int index) { - return getOrderBysFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); + public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder( + int index) { + return getOrderBysFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); } /** - * - * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public java.util.List - getOrderBysBuilderList() { + public java.util.List + getOrderBysBuilderList() { return getOrderBysFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, - com.google.analytics.data.v1beta.OrderBy.Builder, - com.google.analytics.data.v1beta.OrderByOrBuilder> + com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> getOrderBysFieldBuilder() { if (orderBysBuilder_ == null) { - orderBysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, - com.google.analytics.data.v1beta.OrderBy.Builder, - com.google.analytics.data.v1beta.OrderByOrBuilder>( - orderBys_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + orderBysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder>( + orderBys_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); orderBys_ = null; } return orderBysBuilder_; @@ -4185,21 +3767,19 @@ public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(int i private java.lang.Object currencyCode_ = ""; /** - * - * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 11; - * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -4208,22 +3788,21 @@ public java.lang.String getCurrencyCode() { } } /** - * - * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 11; - * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString getCurrencyCodeBytes() { + public com.google.protobuf.ByteString + getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -4231,64 +3810,57 @@ public com.google.protobuf.ByteString getCurrencyCodeBytes() { } } /** - * - * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 11; - * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode(java.lang.String value) { + public Builder setCurrencyCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currencyCode_ = value; onChanged(); return this; } /** - * - * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 11; - * * @return This builder for chaining. */ public Builder clearCurrencyCode() { - + currencyCode_ = getDefaultInstance().getCurrencyCode(); onChanged(); return this; } /** - * - * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 11; - * * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCurrencyCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currencyCode_ = value; onChanged(); return this; @@ -4296,49 +3868,36 @@ public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { private com.google.analytics.data.v1beta.CohortSpec cohortSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.CohortSpec, - com.google.analytics.data.v1beta.CohortSpec.Builder, - com.google.analytics.data.v1beta.CohortSpecOrBuilder> - cohortSpecBuilder_; + com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder> cohortSpecBuilder_; /** - * - * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
      * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; - * * @return Whether the cohortSpec field is set. */ public boolean hasCohortSpec() { return cohortSpecBuilder_ != null || cohortSpec_ != null; } /** - * - * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
      * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; - * * @return The cohortSpec. */ public com.google.analytics.data.v1beta.CohortSpec getCohortSpec() { if (cohortSpecBuilder_ == null) { - return cohortSpec_ == null - ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() - : cohortSpec_; + return cohortSpec_ == null ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_; } else { return cohortSpecBuilder_.getMessage(); } } /** - * - * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -4360,8 +3919,6 @@ public Builder setCohortSpec(com.google.analytics.data.v1beta.CohortSpec value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -4381,8 +3938,6 @@ public Builder setCohortSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -4394,9 +3949,7 @@ public Builder mergeCohortSpec(com.google.analytics.data.v1beta.CohortSpec value
       if (cohortSpecBuilder_ == null) {
         if (cohortSpec_ != null) {
           cohortSpec_ =
-              com.google.analytics.data.v1beta.CohortSpec.newBuilder(cohortSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.analytics.data.v1beta.CohortSpec.newBuilder(cohortSpec_).mergeFrom(value).buildPartial();
         } else {
           cohortSpec_ = value;
         }
@@ -4408,8 +3961,6 @@ public Builder mergeCohortSpec(com.google.analytics.data.v1beta.CohortSpec value
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -4429,8 +3980,6 @@ public Builder clearCohortSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -4439,13 +3988,11 @@ public Builder clearCohortSpec() {
      * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12;
      */
     public com.google.analytics.data.v1beta.CohortSpec.Builder getCohortSpecBuilder() {
-
+      
       onChanged();
       return getCohortSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -4457,14 +4004,11 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
       if (cohortSpecBuilder_ != null) {
         return cohortSpecBuilder_.getMessageOrBuilder();
       } else {
-        return cohortSpec_ == null
-            ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance()
-            : cohortSpec_;
+        return cohortSpec_ == null ?
+            com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_;
       }
     }
     /**
-     *
-     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -4473,26 +4017,21 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
      * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.CohortSpec,
-            com.google.analytics.data.v1beta.CohortSpec.Builder,
-            com.google.analytics.data.v1beta.CohortSpecOrBuilder>
+        com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder> 
         getCohortSpecFieldBuilder() {
       if (cohortSpecBuilder_ == null) {
-        cohortSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.analytics.data.v1beta.CohortSpec,
-                com.google.analytics.data.v1beta.CohortSpec.Builder,
-                com.google.analytics.data.v1beta.CohortSpecOrBuilder>(
-                getCohortSpec(), getParentForChildren(), isClean());
+        cohortSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder>(
+                getCohortSpec(),
+                getParentForChildren(),
+                isClean());
         cohortSpec_ = null;
       }
       return cohortSpecBuilder_;
     }
 
-    private boolean keepEmptyRows_;
+    private boolean keepEmptyRows_ ;
     /**
-     *
-     *
      * 
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -4500,7 +4039,6 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
      * 
* * bool keep_empty_rows = 13; - * * @return The keepEmptyRows. */ @java.lang.Override @@ -4508,8 +4046,6 @@ public boolean getKeepEmptyRows() { return keepEmptyRows_; } /** - * - * *
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -4517,19 +4053,16 @@ public boolean getKeepEmptyRows() {
      * 
* * bool keep_empty_rows = 13; - * * @param value The keepEmptyRows to set. * @return This builder for chaining. */ public Builder setKeepEmptyRows(boolean value) { - + keepEmptyRows_ = value; onChanged(); return this; } /** - * - * *
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -4537,27 +4070,23 @@ public Builder setKeepEmptyRows(boolean value) {
      * 
* * bool keep_empty_rows = 13; - * * @return This builder for chaining. */ public Builder clearKeepEmptyRows() { - + keepEmptyRows_ = false; onChanged(); return this; } - private boolean returnPropertyQuota_; + private boolean returnPropertyQuota_ ; /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 14; - * * @return The returnPropertyQuota. */ @java.lang.Override @@ -4565,45 +4094,39 @@ public boolean getReturnPropertyQuota() { return returnPropertyQuota_; } /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 14; - * * @param value The returnPropertyQuota to set. * @return This builder for chaining. */ public Builder setReturnPropertyQuota(boolean value) { - + returnPropertyQuota_ = value; onChanged(); return this; } /** - * - * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 14; - * * @return This builder for chaining. */ public Builder clearReturnPropertyQuota() { - + returnPropertyQuota_ = 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); } @@ -4613,12 +4136,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunReportRequest) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunReportRequest) private static final com.google.analytics.data.v1beta.RunReportRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunReportRequest(); } @@ -4627,16 +4150,16 @@ public static com.google.analytics.data.v1beta.RunReportRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4651,4 +4174,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.RunReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java similarity index 84% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java index 71d26bca..f67adf97 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface RunReportRequestOrBuilder - extends +public interface RunReportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunReportRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -37,13 +19,10 @@ public interface RunReportRequestOrBuilder
    * 
* * string property = 1; - * * @return The property. */ java.lang.String getProperty(); /** - * - * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -55,24 +34,21 @@ public interface RunReportRequestOrBuilder
    * 
* * string property = 1; - * * @return The bytes for property. */ - com.google.protobuf.ByteString getPropertyBytes(); + com.google.protobuf.ByteString + getPropertyBytes(); /** - * - * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - java.util.List getDimensionsList(); + java.util.List + getDimensionsList(); /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -81,8 +57,6 @@ public interface RunReportRequestOrBuilder */ com.google.analytics.data.v1beta.Dimension getDimensions(int index); /** - * - * *
    * The dimensions requested and displayed.
    * 
@@ -91,40 +65,34 @@ public interface RunReportRequestOrBuilder */ int getDimensionsCount(); /** - * - * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - java.util.List + java.util.List getDimensionsOrBuilderList(); /** - * - * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index); + com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( + int index); /** - * - * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - java.util.List getMetricsList(); + java.util.List + getMetricsList(); /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -133,8 +101,6 @@ public interface RunReportRequestOrBuilder */ com.google.analytics.data.v1beta.Metric getMetrics(int index); /** - * - * *
    * The metrics requested and displayed.
    * 
@@ -143,30 +109,25 @@ public interface RunReportRequestOrBuilder */ int getMetricsCount(); /** - * - * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - java.util.List + java.util.List getMetricsOrBuilderList(); /** - * - * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index); + com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( + int index); /** - * - * *
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -177,10 +138,9 @@ public interface RunReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  java.util.List getDateRangesList();
+  java.util.List 
+      getDateRangesList();
   /**
-   *
-   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -193,8 +153,6 @@ public interface RunReportRequestOrBuilder
    */
   com.google.analytics.data.v1beta.DateRange getDateRanges(int index);
   /**
-   *
-   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -207,8 +165,6 @@ public interface RunReportRequestOrBuilder
    */
   int getDateRangesCount();
   /**
-   *
-   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -219,11 +175,9 @@ public interface RunReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  java.util.List
+  java.util.List 
       getDateRangesOrBuilderList();
   /**
-   *
-   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -234,40 +188,39 @@ public interface RunReportRequestOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index);
+  com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
+   * Dimension filters allow you to ask for only specific dimension values in
+   * the report. To learn more, see [Fundamentals of Dimension
+   * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+   * for examples. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; - * * @return Whether the dimensionFilter field is set. */ boolean hasDimensionFilter(); /** - * - * *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
+   * Dimension filters allow you to ask for only specific dimension values in
+   * the report. To learn more, see [Fundamentals of Dimension
+   * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+   * for examples. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; - * * @return The dimensionFilter. */ com.google.analytics.data.v1beta.FilterExpression getDimensionFilter(); /** - * - * *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
+   * Dimension filters allow you to ask for only specific dimension values in
+   * the report. To learn more, see [Fundamentals of Dimension
+   * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
+   * for examples. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; @@ -275,40 +228,29 @@ public interface RunReportRequestOrBuilder com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder(); /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
+   * SQL having-clause. Dimensions cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; - * * @return Whether the metricFilter field is set. */ boolean hasMetricFilter(); /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
+   * SQL having-clause. Dimensions cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; - * * @return The metricFilter. */ com.google.analytics.data.v1beta.FilterExpression getMetricFilter(); /** - * - * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
+   * SQL having-clause. Dimensions cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; @@ -316,8 +258,6 @@ public interface RunReportRequestOrBuilder com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilterOrBuilder(); /** - * - * *
    * The row count of the start row. The first row is counted as row 0.
    * When paging, the first request does not specify offset; or equivalently,
@@ -329,14 +269,11 @@ public interface RunReportRequestOrBuilder
    * 
* * int64 offset = 7; - * * @return The offset. */ long getOffset(); /** - * - * *
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -351,92 +288,74 @@ public interface RunReportRequestOrBuilder
    * 
* * int64 limit = 8; - * * @return The limit. */ long getLimit(); /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * * @return A list containing the metricAggregations. */ java.util.List getMetricAggregationsList(); /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * * @return The count of metricAggregations. */ int getMetricAggregationsCount(); /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations(int index); /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * * @return A list containing the enum numeric values on the wire for metricAggregations. */ - java.util.List getMetricAggregationsValueList(); + java.util.List + getMetricAggregationsValueList(); /** - * - * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ int getMetricAggregationsValue(int index); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - java.util.List getOrderBysList(); + java.util.List + getOrderBysList(); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -445,8 +364,6 @@ public interface RunReportRequestOrBuilder */ com.google.analytics.data.v1beta.OrderBy getOrderBys(int index); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
@@ -455,83 +372,67 @@ public interface RunReportRequestOrBuilder */ int getOrderBysCount(); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - java.util.List + java.util.List getOrderBysOrBuilderList(); /** - * - * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index); + com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( + int index); /** - * - * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 11; - * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** - * - * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 11; - * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString getCurrencyCodeBytes(); + com.google.protobuf.ByteString + getCurrencyCodeBytes(); /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; - * * @return Whether the cohortSpec field is set. */ boolean hasCohortSpec(); /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; - * * @return The cohortSpec. */ com.google.analytics.data.v1beta.CohortSpec getCohortSpec(); /** - * - * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
@@ -542,8 +443,6 @@ public interface RunReportRequestOrBuilder
   com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * If false or unspecified, each row with all metrics equal to 0 will not be
    * returned. If true, these rows will be returned if they are not separately
@@ -551,21 +450,17 @@ public interface RunReportRequestOrBuilder
    * 
* * bool keep_empty_rows = 13; - * * @return The keepEmptyRows. */ boolean getKeepEmptyRows(); /** - * - * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 14; - * * @return The returnPropertyQuota. */ boolean getReturnPropertyQuota(); diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java similarity index 79% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java index 7994fc6e..8d31ab97 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** - * - * *
  * The response report table corresponding to a request.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunReportResponse} */ -public final class RunReportResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunReportResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunReportResponse) RunReportResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunReportResponse.newBuilder() to construct. private RunReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunReportResponse() { dimensionHeaders_ = java.util.Collections.emptyList(); metricHeaders_ = java.util.Collections.emptyList(); @@ -49,15 +31,16 @@ private RunReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunReportResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RunReportResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,133 +60,111 @@ private RunReportResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensionHeaders_.add( - input.readMessage( - com.google.analytics.data.v1beta.DimensionHeader.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionHeaders_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metricHeaders_.add( - input.readMessage( - com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - rows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - rows_.add( - input.readMessage( - com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; + dimensionHeaders_.add( + input.readMessage(com.google.analytics.data.v1beta.DimensionHeader.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metricHeaders_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - totals_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - totals_.add( - input.readMessage( - com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; + metricHeaders_.add( + input.readMessage(com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + rows_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 42: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - maximums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - maximums_.add( - input.readMessage( - com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; + rows_.add( + input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + totals_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 50: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - minimums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - minimums_.add( - input.readMessage( - com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; + totals_.add( + input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + maximums_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 56: - { - rowCount_ = input.readInt32(); - break; + maximums_.add( + input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + minimums_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; } - case 66: - { - com.google.analytics.data.v1beta.ResponseMetaData.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = - input.readMessage( - com.google.analytics.data.v1beta.ResponseMetaData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } + minimums_.add( + input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; + } + case 56: { - break; + rowCount_ = input.readInt32(); + break; + } + case 66: { + com.google.analytics.data.v1beta.ResponseMetaData.Builder subBuilder = null; + if (metadata_ != null) { + subBuilder = metadata_.toBuilder(); } - case 74: - { - com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; - if (propertyQuota_ != null) { - subBuilder = propertyQuota_.toBuilder(); - } - propertyQuota_ = - input.readMessage( - com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(propertyQuota_); - propertyQuota_ = subBuilder.buildPartial(); - } - - break; + metadata_ = input.readMessage(com.google.analytics.data.v1beta.ResponseMetaData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metadata_); + metadata_ = subBuilder.buildPartial(); } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - kind_ = s; - break; + break; + } + case 74: { + com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; + if (propertyQuota_ != null) { + subBuilder = propertyQuota_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + propertyQuota_ = input.readMessage(com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(propertyQuota_); + propertyQuota_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + kind_ = 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)) { dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); @@ -227,27 +188,22 @@ private RunReportResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunReportResponse.class, - com.google.analytics.data.v1beta.RunReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunReportResponse.class, com.google.analytics.data.v1beta.RunReportResponse.Builder.class); } public static final int DIMENSION_HEADERS_FIELD_NUMBER = 1; private java.util.List dimensionHeaders_; /** - * - * *
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -256,13 +212,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getDimensionHeadersList() {
+  public java.util.List getDimensionHeadersList() {
     return dimensionHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -271,13 +224,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDimensionHeadersOrBuilderList() {
     return dimensionHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -290,8 +241,6 @@ public int getDimensionHeadersCount() {
     return dimensionHeaders_.size();
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -304,8 +253,6 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
     return dimensionHeaders_.get(index);
   }
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -322,8 +269,6 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
   public static final int METRIC_HEADERS_FIELD_NUMBER = 2;
   private java.util.List metricHeaders_;
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -336,8 +281,6 @@ public java.util.List getMetricHe
     return metricHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -346,13 +289,11 @@ public java.util.List getMetricHe
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMetricHeadersOrBuilderList() {
     return metricHeaders_;
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -365,8 +306,6 @@ public int getMetricHeadersCount() {
     return metricHeaders_.size();
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -379,8 +318,6 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
     return metricHeaders_.get(index);
   }
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -397,8 +334,6 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
   public static final int ROWS_FIELD_NUMBER = 3;
   private java.util.List rows_;
   /**
-   *
-   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -410,8 +345,6 @@ public java.util.List getRowsList() { return rows_; } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -419,13 +352,11 @@ public java.util.List getRowsList() { * repeated .google.analytics.data.v1beta.Row rows = 3; */ @java.lang.Override - public java.util.List + public java.util.List getRowsOrBuilderList() { return rows_; } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -437,8 +368,6 @@ public int getRowsCount() { return rows_.size(); } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -450,8 +379,6 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { return rows_.get(index); } /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -459,15 +386,14 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { * repeated .google.analytics.data.v1beta.Row rows = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( + int index) { return rows_.get(index); } public static final int TOTALS_FIELD_NUMBER = 4; private java.util.List totals_; /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -479,8 +405,6 @@ public java.util.List getTotalsList() { return totals_; } /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -488,13 +412,11 @@ public java.util.List getTotalsList() { * repeated .google.analytics.data.v1beta.Row totals = 4; */ @java.lang.Override - public java.util.List + public java.util.List getTotalsOrBuilderList() { return totals_; } /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -506,8 +428,6 @@ public int getTotalsCount() { return totals_.size(); } /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -519,8 +439,6 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { return totals_.get(index); } /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -528,15 +446,14 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { * repeated .google.analytics.data.v1beta.Row totals = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( + int index) { return totals_.get(index); } public static final int MAXIMUMS_FIELD_NUMBER = 5; private java.util.List maximums_; /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -548,8 +465,6 @@ public java.util.List getMaximumsList() { return maximums_; } /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -557,13 +472,11 @@ public java.util.List getMaximumsList() { * repeated .google.analytics.data.v1beta.Row maximums = 5; */ @java.lang.Override - public java.util.List + public java.util.List getMaximumsOrBuilderList() { return maximums_; } /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -575,8 +488,6 @@ public int getMaximumsCount() { return maximums_.size(); } /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -588,8 +499,6 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { return maximums_.get(index); } /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -597,15 +506,14 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { * repeated .google.analytics.data.v1beta.Row maximums = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( + int index) { return maximums_.get(index); } public static final int MINIMUMS_FIELD_NUMBER = 6; private java.util.List minimums_; /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -617,8 +525,6 @@ public java.util.List getMinimumsList() { return minimums_; } /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -626,13 +532,11 @@ public java.util.List getMinimumsList() { * repeated .google.analytics.data.v1beta.Row minimums = 6; */ @java.lang.Override - public java.util.List + public java.util.List getMinimumsOrBuilderList() { return minimums_; } /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -644,8 +548,6 @@ public int getMinimumsCount() { return minimums_.size(); } /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -657,8 +559,6 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { return minimums_.get(index); } /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -666,15 +566,14 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { * repeated .google.analytics.data.v1beta.Row minimums = 6; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( + int index) { return minimums_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 7; private int rowCount_; /** - * - * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response, the `limit` request
@@ -686,7 +585,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int in
    * 
* * int32 row_count = 7; - * * @return The rowCount. */ @java.lang.Override @@ -697,14 +595,11 @@ public int getRowCount() { public static final int METADATA_FIELD_NUMBER = 8; private com.google.analytics.data.v1beta.ResponseMetaData metadata_; /** - * - * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -712,25 +607,18 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; - * * @return The metadata. */ @java.lang.Override public com.google.analytics.data.v1beta.ResponseMetaData getMetadata() { - return metadata_ == null - ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; } /** - * - * *
    * Metadata for the report.
    * 
@@ -745,14 +633,11 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB public static final int PROPERTY_QUOTA_FIELD_NUMBER = 9; private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; - * * @return Whether the propertyQuota field is set. */ @java.lang.Override @@ -760,25 +645,18 @@ public boolean hasPropertyQuota() { return propertyQuota_ != null; } /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; - * * @return The propertyQuota. */ @java.lang.Override public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { - return propertyQuota_ == null - ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() - : propertyQuota_; + return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; } /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
@@ -793,8 +671,6 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO public static final int KIND_FIELD_NUMBER = 10; private volatile java.lang.Object kind_; /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -802,7 +678,6 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
    * 
* * string kind = 10; - * * @return The kind. */ @java.lang.Override @@ -811,15 +686,14 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -827,15 +701,16 @@ public java.lang.String getKind() {
    * 
* * string kind = 10; - * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -844,7 +719,6 @@ public com.google.protobuf.ByteString getKindBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -856,7 +730,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensionHeaders_.size(); i++) { output.writeMessage(1, dimensionHeaders_.get(i)); } @@ -897,31 +772,40 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dimensionHeaders_.get(i)); } for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, metricHeaders_.get(i)); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, rows_.get(i)); } for (int i = 0; i < totals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, totals_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, totals_.get(i)); } for (int i = 0; i < maximums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, maximums_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, maximums_.get(i)); } for (int i = 0; i < minimums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, minimums_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, minimums_.get(i)); } if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, rowCount_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getMetadata()); } if (propertyQuota_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPropertyQuota()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getPropertyQuota()); } if (!getKindBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, kind_); @@ -934,30 +818,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.analytics.data.v1beta.RunReportResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.RunReportResponse other = - (com.google.analytics.data.v1beta.RunReportResponse) obj; - - if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; - if (!getRowsList().equals(other.getRowsList())) return false; - if (!getTotalsList().equals(other.getTotalsList())) return false; - if (!getMaximumsList().equals(other.getMaximumsList())) return false; - if (!getMinimumsList().equals(other.getMinimumsList())) return false; - if (getRowCount() != other.getRowCount()) return false; + com.google.analytics.data.v1beta.RunReportResponse other = (com.google.analytics.data.v1beta.RunReportResponse) obj; + + if (!getDimensionHeadersList() + .equals(other.getDimensionHeadersList())) return false; + if (!getMetricHeadersList() + .equals(other.getMetricHeadersList())) return false; + if (!getRowsList() + .equals(other.getRowsList())) return false; + if (!getTotalsList() + .equals(other.getTotalsList())) return false; + if (!getMaximumsList() + .equals(other.getMaximumsList())) return false; + if (!getMinimumsList() + .equals(other.getMinimumsList())) return false; + if (getRowCount() + != other.getRowCount()) 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 (hasPropertyQuota() != other.hasPropertyQuota()) return false; if (hasPropertyQuota()) { - if (!getPropertyQuota().equals(other.getPropertyQuota())) return false; + if (!getPropertyQuota() + .equals(other.getPropertyQuota())) return false; } - if (!getKind().equals(other.getKind())) return false; + if (!getKind() + .equals(other.getKind())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1011,126 +904,117 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunReportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.RunReportResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.analytics.data.v1beta.RunReportResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.data.v1beta.RunReportResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunReportResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.RunReportResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 response report table corresponding to a request.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunReportResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunReportResponse) com.google.analytics.data.v1beta.RunReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunReportResponse.class, - com.google.analytics.data.v1beta.RunReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunReportResponse.class, com.google.analytics.data.v1beta.RunReportResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunReportResponse.newBuilder() @@ -1138,13 +1022,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDimensionHeadersFieldBuilder(); getMetricHeadersFieldBuilder(); getRowsFieldBuilder(); @@ -1153,7 +1038,6 @@ private void maybeForceBuilderInitialization() { getMinimumsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1213,9 +1097,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; } @java.lang.Override @@ -1234,8 +1118,7 @@ public com.google.analytics.data.v1beta.RunReportResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.RunReportResponse buildPartial() { - com.google.analytics.data.v1beta.RunReportResponse result = - new com.google.analytics.data.v1beta.RunReportResponse(this); + com.google.analytics.data.v1beta.RunReportResponse result = new com.google.analytics.data.v1beta.RunReportResponse(this); int from_bitField0_ = bitField0_; if (dimensionHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1311,39 +1194,38 @@ public com.google.analytics.data.v1beta.RunReportResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunReportResponse) { - return mergeFrom((com.google.analytics.data.v1beta.RunReportResponse) other); + return mergeFrom((com.google.analytics.data.v1beta.RunReportResponse)other); } else { super.mergeFrom(other); return this; @@ -1351,8 +1233,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse other) { - if (other == com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()) - return this; + if (other == com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()) return this; if (dimensionHeadersBuilder_ == null) { if (!other.dimensionHeaders_.isEmpty()) { if (dimensionHeaders_.isEmpty()) { @@ -1371,10 +1252,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe dimensionHeadersBuilder_ = null; dimensionHeaders_ = other.dimensionHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionHeadersFieldBuilder() - : null; + dimensionHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDimensionHeadersFieldBuilder() : null; } else { dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); } @@ -1398,10 +1278,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe metricHeadersBuilder_ = null; metricHeaders_ = other.metricHeaders_; bitField0_ = (bitField0_ & ~0x00000002); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricHeadersFieldBuilder() - : null; + metricHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricHeadersFieldBuilder() : null; } else { metricHeadersBuilder_.addAllMessages(other.metricHeaders_); } @@ -1425,10 +1304,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000004); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowsFieldBuilder() - : null; + rowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowsFieldBuilder() : null; } else { rowsBuilder_.addAllMessages(other.rows_); } @@ -1452,10 +1330,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe totalsBuilder_ = null; totals_ = other.totals_; bitField0_ = (bitField0_ & ~0x00000008); - totalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTotalsFieldBuilder() - : null; + totalsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTotalsFieldBuilder() : null; } else { totalsBuilder_.addAllMessages(other.totals_); } @@ -1479,10 +1356,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe maximumsBuilder_ = null; maximums_ = other.maximums_; bitField0_ = (bitField0_ & ~0x00000010); - maximumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMaximumsFieldBuilder() - : null; + maximumsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMaximumsFieldBuilder() : null; } else { maximumsBuilder_.addAllMessages(other.maximums_); } @@ -1506,10 +1382,9 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe minimumsBuilder_ = null; minimums_ = other.minimums_; bitField0_ = (bitField0_ & ~0x00000020); - minimumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMinimumsFieldBuilder() - : null; + minimumsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMinimumsFieldBuilder() : null; } else { minimumsBuilder_.addAllMessages(other.minimums_); } @@ -1547,8 +1422,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1beta.RunReportResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.analytics.data.v1beta.RunReportResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1557,30 +1431,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List dimensionHeaders_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDimensionHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList( - dimensionHeaders_); + dimensionHeaders_ = new java.util.ArrayList(dimensionHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionHeader, - com.google.analytics.data.v1beta.DimensionHeader.Builder, - com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> - dimensionHeadersBuilder_; + com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> dimensionHeadersBuilder_; /** - * - * *
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1588,8 +1453,7 @@ private void ensureDimensionHeadersIsMutable() {
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List
-        getDimensionHeadersList() {
+    public java.util.List getDimensionHeadersList() {
       if (dimensionHeadersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(dimensionHeaders_);
       } else {
@@ -1597,8 +1461,6 @@ private void ensureDimensionHeadersIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1614,8 +1476,6 @@ public int getDimensionHeadersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1631,8 +1491,6 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1655,8 +1513,6 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1676,8 +1532,6 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1699,8 +1553,6 @@ public Builder addDimensionHeaders(com.google.analytics.data.v1beta.DimensionHea
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1723,8 +1575,6 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1744,8 +1594,6 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1765,8 +1613,6 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1778,7 +1624,8 @@ public Builder addAllDimensionHeaders(
         java.lang.Iterable values) {
       if (dimensionHeadersBuilder_ == null) {
         ensureDimensionHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dimensionHeaders_);
         onChanged();
       } else {
         dimensionHeadersBuilder_.addAllMessages(values);
@@ -1786,8 +1633,6 @@ public Builder addAllDimensionHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1806,8 +1651,6 @@ public Builder clearDimensionHeaders() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1826,8 +1669,6 @@ public Builder removeDimensionHeaders(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1840,8 +1681,6 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
       return getDimensionHeadersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1852,14 +1691,11 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
     public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
         int index) {
       if (dimensionHeadersBuilder_ == null) {
-        return dimensionHeaders_.get(index);
-      } else {
+        return dimensionHeaders_.get(index);  } else {
         return dimensionHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1867,8 +1703,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List
-        getDimensionHeadersOrBuilderList() {
+    public java.util.List 
+         getDimensionHeadersOrBuilderList() {
       if (dimensionHeadersBuilder_ != null) {
         return dimensionHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1876,8 +1712,6 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
       }
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1886,12 +1720,10 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder() {
-      return getDimensionHeadersFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1901,12 +1733,10 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder(
         int index) {
-      return getDimensionHeadersFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1914,22 +1744,16 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List
-        getDimensionHeadersBuilderList() {
+    public java.util.List 
+         getDimensionHeadersBuilderList() {
       return getDimensionHeadersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionHeader,
-            com.google.analytics.data.v1beta.DimensionHeader.Builder,
-            com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>
+        com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> 
         getDimensionHeadersFieldBuilder() {
       if (dimensionHeadersBuilder_ == null) {
-        dimensionHeadersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.DimensionHeader,
-                com.google.analytics.data.v1beta.DimensionHeader.Builder,
-                com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
+        dimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
                 dimensionHeaders_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1940,25 +1764,18 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
     }
 
     private java.util.List metricHeaders_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureMetricHeadersIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        metricHeaders_ =
-            new java.util.ArrayList(metricHeaders_);
+        metricHeaders_ = new java.util.ArrayList(metricHeaders_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricHeader,
-            com.google.analytics.data.v1beta.MetricHeader.Builder,
-            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
-        metricHeadersBuilder_;
+        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> metricHeadersBuilder_;
 
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1974,8 +1791,6 @@ public java.util.List getMetricHe
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1991,8 +1806,6 @@ public int getMetricHeadersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2008,8 +1821,6 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2032,8 +1843,6 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2053,8 +1862,6 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2076,8 +1883,6 @@ public Builder addMetricHeaders(com.google.analytics.data.v1beta.MetricHeader va
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2100,8 +1905,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2121,8 +1924,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2142,8 +1943,6 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2155,7 +1954,8 @@ public Builder addAllMetricHeaders(
         java.lang.Iterable values) {
       if (metricHeadersBuilder_ == null) {
         ensureMetricHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, metricHeaders_);
         onChanged();
       } else {
         metricHeadersBuilder_.addAllMessages(values);
@@ -2163,8 +1963,6 @@ public Builder addAllMetricHeaders(
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2183,8 +1981,6 @@ public Builder clearMetricHeaders() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2203,8 +1999,6 @@ public Builder removeMetricHeaders(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2217,8 +2011,6 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
       return getMetricHeadersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2229,14 +2021,11 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
     public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
         int index) {
       if (metricHeadersBuilder_ == null) {
-        return metricHeaders_.get(index);
-      } else {
+        return metricHeaders_.get(index);  } else {
         return metricHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2244,8 +2033,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
-    public java.util.List
-        getMetricHeadersOrBuilderList() {
+    public java.util.List 
+         getMetricHeadersOrBuilderList() {
       if (metricHeadersBuilder_ != null) {
         return metricHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2253,8 +2042,6 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
       }
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2263,12 +2050,10 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder() {
-      return getMetricHeadersFieldBuilder()
-          .addBuilder(com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder().addBuilder(
+          com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2278,12 +2063,10 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder(
         int index) {
-      return getMetricHeadersFieldBuilder()
-          .addBuilder(index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder().addBuilder(
+          index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2291,22 +2074,16 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
-    public java.util.List
-        getMetricHeadersBuilderList() {
+    public java.util.List 
+         getMetricHeadersBuilderList() {
       return getMetricHeadersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricHeader,
-            com.google.analytics.data.v1beta.MetricHeader.Builder,
-            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
+        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> 
         getMetricHeadersFieldBuilder() {
       if (metricHeadersBuilder_ == null) {
-        metricHeadersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.analytics.data.v1beta.MetricHeader,
-                com.google.analytics.data.v1beta.MetricHeader.Builder,
-                com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
+        metricHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
                 metricHeaders_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2317,24 +2094,18 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
     }
 
     private java.util.List rows_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Row,
-            com.google.analytics.data.v1beta.Row.Builder,
-            com.google.analytics.data.v1beta.RowOrBuilder>
-        rowsBuilder_;
+        com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> rowsBuilder_;
 
     /**
-     *
-     *
      * 
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2349,8 +2120,6 @@ public java.util.List getRowsList() { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2365,8 +2134,6 @@ public int getRowsCount() { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2381,15 +2148,14 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder setRows(int index, com.google.analytics.data.v1beta.Row value) { + public Builder setRows( + int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2403,8 +2169,6 @@ public Builder setRows(int index, com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2423,8 +2187,6 @@ public Builder setRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2445,15 +2207,14 @@ public Builder addRows(com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder addRows(int index, com.google.analytics.data.v1beta.Row value) { + public Builder addRows( + int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2467,15 +2228,14 @@ public Builder addRows(int index, com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder addRows(com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addRows( + com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -2486,8 +2246,6 @@ public Builder addRows(com.google.analytics.data.v1beta.Row.Builder builderForVa return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2506,8 +2264,6 @@ public Builder addRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2518,7 +2274,8 @@ public Builder addAllRows( java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); @@ -2526,8 +2283,6 @@ public Builder addAllRows( return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2545,8 +2300,6 @@ public Builder clearRows() { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2564,44 +2317,39 @@ public Builder removeRows(int index) { return this; } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder(int index) { + public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder( + int index) { return getRowsFieldBuilder().getBuilder(index); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( + int index) { if (rowsBuilder_ == null) { - return rows_.get(index); - } else { + return rows_.get(index); } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -2609,8 +2357,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) } } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2618,71 +2364,60 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) * repeated .google.analytics.data.v1beta.Row rows = 3; */ public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getRowsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder(int index) { - return getRowsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder( + int index) { + return getRowsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public java.util.List getRowsBuilderList() { + public java.util.List + getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder>( - rows_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( + rows_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); rows_ = null; } return rowsBuilder_; } private java.util.List totals_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTotalsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { totals_ = new java.util.ArrayList(totals_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> - totalsBuilder_; + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> totalsBuilder_; /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2697,8 +2432,6 @@ public java.util.List getTotalsList() { } } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2713,8 +2446,6 @@ public int getTotalsCount() { } } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2729,15 +2460,14 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { } } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder setTotals(int index, com.google.analytics.data.v1beta.Row value) { + public Builder setTotals( + int index, com.google.analytics.data.v1beta.Row value) { if (totalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2751,8 +2481,6 @@ public Builder setTotals(int index, com.google.analytics.data.v1beta.Row value) return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2771,8 +2499,6 @@ public Builder setTotals( return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2793,15 +2519,14 @@ public Builder addTotals(com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder addTotals(int index, com.google.analytics.data.v1beta.Row value) { + public Builder addTotals( + int index, com.google.analytics.data.v1beta.Row value) { if (totalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2815,15 +2540,14 @@ public Builder addTotals(int index, com.google.analytics.data.v1beta.Row value) return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder addTotals(com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addTotals( + com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (totalsBuilder_ == null) { ensureTotalsIsMutable(); totals_.add(builderForValue.build()); @@ -2834,8 +2558,6 @@ public Builder addTotals(com.google.analytics.data.v1beta.Row.Builder builderFor return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2854,8 +2576,6 @@ public Builder addTotals( return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2866,7 +2586,8 @@ public Builder addAllTotals( java.lang.Iterable values) { if (totalsBuilder_ == null) { ensureTotalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, totals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, totals_); onChanged(); } else { totalsBuilder_.addAllMessages(values); @@ -2874,8 +2595,6 @@ public Builder addAllTotals( return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2893,8 +2612,6 @@ public Builder clearTotals() { return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2912,44 +2629,39 @@ public Builder removeTotals(int index) { return this; } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.Row.Builder getTotalsBuilder(int index) { + public com.google.analytics.data.v1beta.Row.Builder getTotalsBuilder( + int index) { return getTotalsFieldBuilder().getBuilder(index); } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( + int index) { if (totalsBuilder_ == null) { - return totals_.get(index); - } else { + return totals_.get(index); } else { return totalsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public java.util.List - getTotalsOrBuilderList() { + public java.util.List + getTotalsOrBuilderList() { if (totalsBuilder_ != null) { return totalsBuilder_.getMessageOrBuilderList(); } else { @@ -2957,8 +2669,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int inde } } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
@@ -2966,71 +2676,60 @@ public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int inde * repeated .google.analytics.data.v1beta.Row totals = 4; */ public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder() { - return getTotalsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getTotalsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder(int index) { - return getTotalsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder( + int index) { + return getTotalsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public java.util.List getTotalsBuilderList() { + public java.util.List + getTotalsBuilderList() { return getTotalsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> getTotalsFieldBuilder() { if (totalsBuilder_ == null) { - totalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder>( - totals_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + totalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( + totals_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); totals_ = null; } return totalsBuilder_; } private java.util.List maximums_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMaximumsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { maximums_ = new java.util.ArrayList(maximums_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> - maximumsBuilder_; + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> maximumsBuilder_; /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3045,8 +2744,6 @@ public java.util.List getMaximumsList() { } } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3061,8 +2758,6 @@ public int getMaximumsCount() { } } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3077,15 +2772,14 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { } } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder setMaximums(int index, com.google.analytics.data.v1beta.Row value) { + public Builder setMaximums( + int index, com.google.analytics.data.v1beta.Row value) { if (maximumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3099,8 +2793,6 @@ public Builder setMaximums(int index, com.google.analytics.data.v1beta.Row value return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3119,8 +2811,6 @@ public Builder setMaximums( return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3141,15 +2831,14 @@ public Builder addMaximums(com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder addMaximums(int index, com.google.analytics.data.v1beta.Row value) { + public Builder addMaximums( + int index, com.google.analytics.data.v1beta.Row value) { if (maximumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3163,15 +2852,14 @@ public Builder addMaximums(int index, com.google.analytics.data.v1beta.Row value return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder addMaximums(com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addMaximums( + com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (maximumsBuilder_ == null) { ensureMaximumsIsMutable(); maximums_.add(builderForValue.build()); @@ -3182,8 +2870,6 @@ public Builder addMaximums(com.google.analytics.data.v1beta.Row.Builder builderF return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3202,8 +2888,6 @@ public Builder addMaximums( return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3214,7 +2898,8 @@ public Builder addAllMaximums( java.lang.Iterable values) { if (maximumsBuilder_ == null) { ensureMaximumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, maximums_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, maximums_); onChanged(); } else { maximumsBuilder_.addAllMessages(values); @@ -3222,8 +2907,6 @@ public Builder addAllMaximums( return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3241,8 +2924,6 @@ public Builder clearMaximums() { return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3260,44 +2941,39 @@ public Builder removeMaximums(int index) { return this; } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.Row.Builder getMaximumsBuilder(int index) { + public com.google.analytics.data.v1beta.Row.Builder getMaximumsBuilder( + int index) { return getMaximumsFieldBuilder().getBuilder(index); } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( + int index) { if (maximumsBuilder_ == null) { - return maximums_.get(index); - } else { + return maximums_.get(index); } else { return maximumsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public java.util.List - getMaximumsOrBuilderList() { + public java.util.List + getMaximumsOrBuilderList() { if (maximumsBuilder_ != null) { return maximumsBuilder_.getMessageOrBuilderList(); } else { @@ -3305,8 +2981,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int in } } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
@@ -3314,71 +2988,60 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int in * repeated .google.analytics.data.v1beta.Row maximums = 5; */ public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder() { - return getMaximumsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getMaximumsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder(int index) { - return getMaximumsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder( + int index) { + return getMaximumsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public java.util.List getMaximumsBuilderList() { + public java.util.List + getMaximumsBuilderList() { return getMaximumsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> getMaximumsFieldBuilder() { if (maximumsBuilder_ == null) { - maximumsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder>( - maximums_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + maximumsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( + maximums_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); maximums_ = null; } return maximumsBuilder_; } private java.util.List minimums_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMinimumsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { minimums_ = new java.util.ArrayList(minimums_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> - minimumsBuilder_; + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> minimumsBuilder_; /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3393,8 +3056,6 @@ public java.util.List getMinimumsList() { } } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3409,8 +3070,6 @@ public int getMinimumsCount() { } } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3425,15 +3084,14 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { } } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder setMinimums(int index, com.google.analytics.data.v1beta.Row value) { + public Builder setMinimums( + int index, com.google.analytics.data.v1beta.Row value) { if (minimumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3447,8 +3105,6 @@ public Builder setMinimums(int index, com.google.analytics.data.v1beta.Row value return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3467,8 +3123,6 @@ public Builder setMinimums( return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3489,15 +3143,14 @@ public Builder addMinimums(com.google.analytics.data.v1beta.Row value) { return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder addMinimums(int index, com.google.analytics.data.v1beta.Row value) { + public Builder addMinimums( + int index, com.google.analytics.data.v1beta.Row value) { if (minimumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3511,15 +3164,14 @@ public Builder addMinimums(int index, com.google.analytics.data.v1beta.Row value return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder addMinimums(com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addMinimums( + com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (minimumsBuilder_ == null) { ensureMinimumsIsMutable(); minimums_.add(builderForValue.build()); @@ -3530,8 +3182,6 @@ public Builder addMinimums(com.google.analytics.data.v1beta.Row.Builder builderF return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3550,8 +3200,6 @@ public Builder addMinimums( return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3562,7 +3210,8 @@ public Builder addAllMinimums( java.lang.Iterable values) { if (minimumsBuilder_ == null) { ensureMinimumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, minimums_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, minimums_); onChanged(); } else { minimumsBuilder_.addAllMessages(values); @@ -3570,8 +3219,6 @@ public Builder addAllMinimums( return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3589,8 +3236,6 @@ public Builder clearMinimums() { return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3608,44 +3253,39 @@ public Builder removeMinimums(int index) { return this; } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.Row.Builder getMinimumsBuilder(int index) { + public com.google.analytics.data.v1beta.Row.Builder getMinimumsBuilder( + int index) { return getMinimumsFieldBuilder().getBuilder(index); } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( + int index) { if (minimumsBuilder_ == null) { - return minimums_.get(index); - } else { + return minimums_.get(index); } else { return minimumsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public java.util.List - getMinimumsOrBuilderList() { + public java.util.List + getMinimumsOrBuilderList() { if (minimumsBuilder_ != null) { return minimumsBuilder_.getMessageOrBuilderList(); } else { @@ -3653,8 +3293,6 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int in } } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
@@ -3662,56 +3300,49 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int in * repeated .google.analytics.data.v1beta.Row minimums = 6; */ public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder() { - return getMinimumsFieldBuilder() - .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getMinimumsFieldBuilder().addBuilder( + com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder(int index) { - return getMinimumsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder( + int index) { + return getMinimumsFieldBuilder().addBuilder( + index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** - * - * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public java.util.List getMinimumsBuilderList() { + public java.util.List + getMinimumsBuilderList() { return getMinimumsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> getMinimumsFieldBuilder() { if (minimumsBuilder_ == null) { - minimumsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, - com.google.analytics.data.v1beta.Row.Builder, - com.google.analytics.data.v1beta.RowOrBuilder>( - minimums_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); + minimumsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( + minimums_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); minimums_ = null; } return minimumsBuilder_; } - private int rowCount_; + private int rowCount_ ; /** - * - * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -3723,7 +3354,6 @@ public java.util.List getMinimumsB
      * 
* * int32 row_count = 7; - * * @return The rowCount. */ @java.lang.Override @@ -3731,8 +3361,6 @@ public int getRowCount() { return rowCount_; } /** - * - * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -3744,19 +3372,16 @@ public int getRowCount() {
      * 
* * int32 row_count = 7; - * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(int value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -3768,11 +3393,10 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 7; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0; onChanged(); return this; @@ -3780,47 +3404,34 @@ public Builder clearRowCount() { private com.google.analytics.data.v1beta.ResponseMetaData metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.ResponseMetaData, - com.google.analytics.data.v1beta.ResponseMetaData.Builder, - com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> - metadataBuilder_; + com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> metadataBuilder_; /** - * - * *
      * Metadata for the report.
      * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Metadata for the report.
      * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; - * * @return The metadata. */ public com.google.analytics.data.v1beta.ResponseMetaData getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Metadata for the report.
      * 
@@ -3841,8 +3452,6 @@ public Builder setMetadata(com.google.analytics.data.v1beta.ResponseMetaData val return this; } /** - * - * *
      * Metadata for the report.
      * 
@@ -3861,8 +3470,6 @@ public Builder setMetadata( return this; } /** - * - * *
      * Metadata for the report.
      * 
@@ -3873,9 +3480,7 @@ public Builder mergeMetadata(com.google.analytics.data.v1beta.ResponseMetaData v if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.analytics.data.v1beta.ResponseMetaData.newBuilder(metadata_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.ResponseMetaData.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -3887,8 +3492,6 @@ public Builder mergeMetadata(com.google.analytics.data.v1beta.ResponseMetaData v return this; } /** - * - * *
      * Metadata for the report.
      * 
@@ -3907,8 +3510,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Metadata for the report.
      * 
@@ -3916,13 +3517,11 @@ public Builder clearMetadata() { * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; */ public com.google.analytics.data.v1beta.ResponseMetaData.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Metadata for the report.
      * 
@@ -3933,14 +3532,11 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null - ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() - : metadata_; + return metadata_ == null ? + com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; } } /** - * - * *
      * Metadata for the report.
      * 
@@ -3948,17 +3544,14 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.ResponseMetaData, - com.google.analytics.data.v1beta.ResponseMetaData.Builder, - com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> + com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.ResponseMetaData, - com.google.analytics.data.v1beta.ResponseMetaData.Builder, - com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; @@ -3966,47 +3559,34 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, - com.google.analytics.data.v1beta.PropertyQuota.Builder, - com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> - propertyQuotaBuilder_; + com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> propertyQuotaBuilder_; /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; - * * @return Whether the propertyQuota field is set. */ public boolean hasPropertyQuota() { return propertyQuotaBuilder_ != null || propertyQuota_ != null; } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; - * * @return The propertyQuota. */ public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { if (propertyQuotaBuilder_ == null) { - return propertyQuota_ == null - ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() - : propertyQuota_; + return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; } else { return propertyQuotaBuilder_.getMessage(); } } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4027,8 +3607,6 @@ public Builder setPropertyQuota(com.google.analytics.data.v1beta.PropertyQuota v return this; } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4047,8 +3625,6 @@ public Builder setPropertyQuota( return this; } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4059,9 +3635,7 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota if (propertyQuotaBuilder_ == null) { if (propertyQuota_ != null) { propertyQuota_ = - com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_) - .mergeFrom(value) - .buildPartial(); + com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_).mergeFrom(value).buildPartial(); } else { propertyQuota_ = value; } @@ -4073,8 +3647,6 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota return this; } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4093,8 +3665,6 @@ public Builder clearPropertyQuota() { return this; } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4102,13 +3672,11 @@ public Builder clearPropertyQuota() { * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; */ public com.google.analytics.data.v1beta.PropertyQuota.Builder getPropertyQuotaBuilder() { - + onChanged(); return getPropertyQuotaFieldBuilder().getBuilder(); } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4119,14 +3687,11 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO if (propertyQuotaBuilder_ != null) { return propertyQuotaBuilder_.getMessageOrBuilder(); } else { - return propertyQuota_ == null - ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() - : propertyQuota_; + return propertyQuota_ == null ? + com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; } } /** - * - * *
      * This Analytics Property's quota state including this request.
      * 
@@ -4134,17 +3699,14 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, - com.google.analytics.data.v1beta.PropertyQuota.Builder, - com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> + com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> getPropertyQuotaFieldBuilder() { if (propertyQuotaBuilder_ == null) { - propertyQuotaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, - com.google.analytics.data.v1beta.PropertyQuota.Builder, - com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( - getPropertyQuota(), getParentForChildren(), isClean()); + propertyQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( + getPropertyQuota(), + getParentForChildren(), + isClean()); propertyQuota_ = null; } return propertyQuotaBuilder_; @@ -4152,8 +3714,6 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO private java.lang.Object kind_ = ""; /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -4161,13 +3721,13 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
      * 
* * string kind = 10; - * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -4176,8 +3736,6 @@ public java.lang.String getKind() { } } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -4185,14 +3743,15 @@ public java.lang.String getKind() {
      * 
* * string kind = 10; - * * @return The bytes for kind. */ - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -4200,8 +3759,6 @@ public com.google.protobuf.ByteString getKindBytes() { } } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -4209,22 +3766,20 @@ public com.google.protobuf.ByteString getKindBytes() {
      * 
* * string kind = 10; - * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind(java.lang.String value) { + public Builder setKind( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -4232,18 +3787,15 @@ public Builder setKind(java.lang.String value) {
      * 
* * string kind = 10; - * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** - * - * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -4251,23 +3803,23 @@ public Builder clearKind() {
      * 
* * string kind = 10; - * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { + public Builder setKindBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = 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); } @@ -4277,12 +3829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunReportResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunReportResponse) private static final com.google.analytics.data.v1beta.RunReportResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunReportResponse(); } @@ -4291,16 +3843,16 @@ public static com.google.analytics.data.v1beta.RunReportResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunReportResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunReportResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunReportResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunReportResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4315,4 +3867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.RunReportResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java similarity index 86% rename from proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java index a9f45e94..1cfa3afd 100644 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface RunReportResponseOrBuilder - extends +public interface RunReportResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunReportResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -33,10 +15,9 @@ public interface RunReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  java.util.List getDimensionHeadersList();
+  java.util.List 
+      getDimensionHeadersList();
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -46,8 +27,6 @@ public interface RunReportResponseOrBuilder
    */
   com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int index);
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -57,8 +36,6 @@ public interface RunReportResponseOrBuilder
    */
   int getDimensionHeadersCount();
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -66,11 +43,9 @@ public interface RunReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  java.util.List
+  java.util.List 
       getDimensionHeadersOrBuilderList();
   /**
-   *
-   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -78,11 +53,10 @@ public interface RunReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(int index);
+  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -90,10 +64,9 @@ public interface RunReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  java.util.List getMetricHeadersList();
+  java.util.List 
+      getMetricHeadersList();
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -103,8 +76,6 @@ public interface RunReportResponseOrBuilder
    */
   com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index);
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -114,8 +85,6 @@ public interface RunReportResponseOrBuilder
    */
   int getMetricHeadersCount();
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -123,11 +92,9 @@ public interface RunReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  java.util.List
+  java.util.List 
       getMetricHeadersOrBuilderList();
   /**
-   *
-   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -135,21 +102,19 @@ public interface RunReportResponseOrBuilder
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index);
+  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - java.util.List getRowsList(); + java.util.List + getRowsList(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -158,8 +123,6 @@ public interface RunReportResponseOrBuilder */ com.google.analytics.data.v1beta.Row getRows(int index); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -168,39 +131,34 @@ public interface RunReportResponseOrBuilder */ int getRowsCount(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - java.util.List getRowsOrBuilderList(); + java.util.List + getRowsOrBuilderList(); /** - * - * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index); + com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( + int index); /** - * - * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - java.util.List getTotalsList(); + java.util.List + getTotalsList(); /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -209,8 +167,6 @@ public interface RunReportResponseOrBuilder */ com.google.analytics.data.v1beta.Row getTotals(int index); /** - * - * *
    * If requested, the totaled values of metrics.
    * 
@@ -219,39 +175,34 @@ public interface RunReportResponseOrBuilder */ int getTotalsCount(); /** - * - * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - java.util.List getTotalsOrBuilderList(); + java.util.List + getTotalsOrBuilderList(); /** - * - * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index); + com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( + int index); /** - * - * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - java.util.List getMaximumsList(); + java.util.List + getMaximumsList(); /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -260,8 +211,6 @@ public interface RunReportResponseOrBuilder */ com.google.analytics.data.v1beta.Row getMaximums(int index); /** - * - * *
    * If requested, the maximum values of metrics.
    * 
@@ -270,40 +219,34 @@ public interface RunReportResponseOrBuilder */ int getMaximumsCount(); /** - * - * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - java.util.List + java.util.List getMaximumsOrBuilderList(); /** - * - * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index); + com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( + int index); /** - * - * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - java.util.List getMinimumsList(); + java.util.List + getMinimumsList(); /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -312,8 +255,6 @@ public interface RunReportResponseOrBuilder */ com.google.analytics.data.v1beta.Row getMinimums(int index); /** - * - * *
    * If requested, the minimum values of metrics.
    * 
@@ -322,30 +263,25 @@ public interface RunReportResponseOrBuilder */ int getMinimumsCount(); /** - * - * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - java.util.List + java.util.List getMinimumsOrBuilderList(); /** - * - * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index); + com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( + int index); /** - * - * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response, the `limit` request
@@ -357,38 +293,29 @@ public interface RunReportResponseOrBuilder
    * 
* * int32 row_count = 7; - * * @return The rowCount. */ int getRowCount(); /** - * - * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; - * * @return The metadata. */ com.google.analytics.data.v1beta.ResponseMetaData getMetadata(); /** - * - * *
    * Metadata for the report.
    * 
@@ -398,32 +325,24 @@ public interface RunReportResponseOrBuilder com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrBuilder(); /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; - * * @return Whether the propertyQuota field is set. */ boolean hasPropertyQuota(); /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; - * * @return The propertyQuota. */ com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota(); /** - * - * *
    * This Analytics Property's quota state including this request.
    * 
@@ -433,8 +352,6 @@ public interface RunReportResponseOrBuilder com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder(); /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -442,13 +359,10 @@ public interface RunReportResponseOrBuilder
    * 
* * string kind = 10; - * * @return The kind. */ java.lang.String getKind(); /** - * - * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -456,8 +370,8 @@ public interface RunReportResponseOrBuilder
    * 
* * string kind = 10; - * * @return The bytes for kind. */ - com.google.protobuf.ByteString getKindBytes(); + com.google.protobuf.ByteString + getKindBytes(); } diff --git a/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto similarity index 87% rename from proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto index e7a203af..b32577e7 100644 --- a/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto @@ -104,6 +104,71 @@ service BetaAnalyticsData { body: "*" }; } + + // This compatibility method lists dimensions and metrics that can be added to + // a report request and maintain compatibility. This method fails if the + // request's dimensions and metrics are incompatible. + // + // In Google Analytics, reports fail if they request incompatible dimensions + // and/or metrics; in that case, you will need to remove dimensions and/or + // metrics from the incompatible report until the report is compatible. + // + // The Realtime and Core reports have different compatibility rules. This + // method checks compatibility for Core reports. + rpc CheckCompatibility(CheckCompatibilityRequest) returns (CheckCompatibilityResponse) { + option (google.api.http) = { + post: "/v1beta/{property=properties/*}:checkCompatibility" + body: "*" + }; + } +} + +// The request for compatibility information for a report's dimensions and +// metrics. Check compatibility provides a preview of the compatibility of a +// report; fields shared with the `runReport` request should be the same values +// as in your `runReport` request. +message CheckCompatibilityRequest { + // A Google Analytics GA4 property identifier whose events are tracked. To + // learn more, see [where to find your Property + // ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). + // `property` should be the same value as in your `runReport` request. + // + // Example: properties/1234 + // + // Set the Property ID to 0 for compatibility checking on dimensions and + // metrics common to all properties. In this special mode, this method will + // not return custom dimensions and metrics. + string property = 1; + + // The dimensions in this report. `dimensions` should be the same value as in + // your `runReport` request. + repeated Dimension dimensions = 2; + + // The metrics in this report. `metrics` should be the same value as in your + // `runReport` request. + repeated Metric metrics = 3; + + // The filter clause of dimensions. `dimensionFilter` should be the same value + // as in your `runReport` request. + FilterExpression dimension_filter = 4; + + // The filter clause of metrics. `metricFilter` should be the same value as in + // your `runReport` request + FilterExpression metric_filter = 5; + + // Filters the dimensions and metrics in the response to just this + // compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”` + // to only return compatible dimensions & metrics. + Compatibility compatibility_filter = 6; +} + +// The compatibility response with the compatibility of each dimension & metric. +message CheckCompatibilityResponse { + // The compatibility of each dimension. + repeated DimensionCompatibility dimension_compatibilities = 1; + + // The compatibility of each metric. + repeated MetricCompatibility metric_compatibilities = 2; } // The dimensions and metrics currently accepted in reporting methods. @@ -148,13 +213,14 @@ message RunReportRequest { // must be unspecified. repeated DateRange date_ranges = 4; - // The filter clause of dimensions. Dimensions must be requested to be used in - // this filter. Metrics cannot be used in this filter. + // Dimension filters allow you to ask for only specific dimension values in + // the report. To learn more, see [Fundamentals of Dimension + // Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + // for examples. Metrics cannot be used in this filter. FilterExpression dimension_filter = 5; // The filter clause of metrics. Applied at post aggregation phase, similar to - // SQL having-clause. Metrics must be requested to be used in this filter. - // Dimensions cannot be used in this filter. + // SQL having-clause. Dimensions cannot be used in this filter. FilterExpression metric_filter = 6; // The row count of the start row. The first row is counted as row 0. diff --git a/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/data.proto b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/data.proto similarity index 94% rename from proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/data.proto rename to owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/data.proto index 202eb1c3..fdc95c46 100644 --- a/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/data.proto +++ b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/data.proto @@ -736,6 +736,10 @@ message DimensionMetadata { // True if the dimension is a custom dimension for this property. bool custom_definition = 5; + + // The display name of the category that this dimension belongs to. Similar + // dimensions and metrics are categorized together. + string category = 7; } // Explains a metric. @@ -767,6 +771,34 @@ message MetricMetadata { // True if the metric is a custom metric for this property. bool custom_definition = 7; + + // The display name of the category that this metrics belongs to. Similar + // dimensions and metrics are categorized together. + string category = 10; +} + +// The compatibility for a single dimension. +message DimensionCompatibility { + // The dimension metadata contains the API name for this compatibility + // information. The dimension metadata also contains other helpful information + // like the UI name and description. + optional DimensionMetadata dimension_metadata = 1; + + // The compatibility of this dimension. If the compatibility is COMPATIBLE, + // this dimension can be successfully added to the report. + optional Compatibility compatibility = 2; +} + +// The compatibility for a single metric. +message MetricCompatibility { + // The metric metadata contains the API name for this compatibility + // information. The metric metadata also contains other helpful information + // like the UI name and description. + optional MetricMetadata metric_metadata = 1; + + // The compatibility of this metric. If the compatibility is COMPATIBLE, + // this metric can be successfully added to the report. + optional Compatibility compatibility = 2; } // Represents aggregation of metrics. @@ -828,3 +860,17 @@ enum MetricType { // A length in kilometers; a special floating point type. TYPE_KILOMETERS = 13; } + +// The compatibility types for a single dimension or metric. +enum Compatibility { + // Unspecified compatibility. + COMPATIBILITY_UNSPECIFIED = 0; + + // The dimension or metric is compatible. This dimension or metric can be + // successfully added to a report. + COMPATIBLE = 1; + + // The dimension or metric is incompatible. This dimension or metric cannot be + // successfully added to a report. + INCOMPATIBLE = 2; +} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AnalyticsDataApiProto.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AnalyticsDataApiProto.java deleted file mode 100644 index d8fbbec7..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AnalyticsDataApiProto.java +++ /dev/null @@ -1,408 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public final class AnalyticsDataApiProto { - private AnalyticsDataApiProto() {} - - 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_analytics_data_v1alpha_Metadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Metadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_RunReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_RunReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_RunReportResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_RunReportResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_RunPivotReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_RunPivotReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_RunPivotReportResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_RunPivotReportResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_BatchRunReportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_BatchRunReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_BatchRunReportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_BatchRunReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_GetMetadataRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_GetMetadataRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_RunRealtimeReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_RunRealtimeReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_RunRealtimeReportResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_RunRealtimeReportResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/analytics/data/v1alpha/analytic" - + "s_data_api.proto\022\035google.analytics.data." - + "v1alpha\032(google/analytics/data/v1alpha/d" - + "ata.proto\032\034google/api/annotations.proto\032" - + "\027google/api/client.proto\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\"\352\001\n\010Metadata\022\014\n\004name\030\003 \001(\t\022D\n\ndimen" - + "sions\030\001 \003(\01320.google.analytics.data.v1al" - + "pha.DimensionMetadata\022>\n\007metrics\030\002 \003(\0132-" - + ".google.analytics.data.v1alpha.MetricMet" - + "adata:J\352AG\n%analyticsdata.googleapis.com" - + "/Metadata\022\036properties/{property}/metadat" - + "a\"\311\005\n\020RunReportRequest\0225\n\006entity\030\001 \001(\0132%" - + ".google.analytics.data.v1alpha.Entity\022<\n" - + "\ndimensions\030\002 \003(\0132(.google.analytics.dat" - + "a.v1alpha.Dimension\0226\n\007metrics\030\003 \003(\0132%.g" - + "oogle.analytics.data.v1alpha.Metric\022=\n\013d" - + "ate_ranges\030\004 \003(\0132(.google.analytics.data" - + ".v1alpha.DateRange\022\016\n\006offset\030\005 \001(\003\022\r\n\005li" - + "mit\030\006 \001(\003\022M\n\023metric_aggregations\030\007 \003(\01620" - + ".google.analytics.data.v1alpha.MetricAgg" - + "regation\022I\n\020dimension_filter\030\010 \001(\0132/.goo" - + "gle.analytics.data.v1alpha.FilterExpress" - + "ion\022F\n\rmetric_filter\030\t \001(\0132/.google.anal" - + "ytics.data.v1alpha.FilterExpression\0229\n\to" - + "rder_bys\030\n \003(\0132&.google.analytics.data.v" - + "1alpha.OrderBy\022\025\n\rcurrency_code\030\013 \001(\t\022>\n" - + "\013cohort_spec\030\014 \001(\0132).google.analytics.da" - + "ta.v1alpha.CohortSpec\022\027\n\017keep_empty_rows" - + "\030\r \001(\010\022\035\n\025return_property_quota\030\016 \001(\010\"\221\004" - + "\n\021RunReportResponse\022I\n\021dimension_headers" - + "\030\013 \003(\0132..google.analytics.data.v1alpha.D" - + "imensionHeader\022C\n\016metric_headers\030\001 \003(\0132+" - + ".google.analytics.data.v1alpha.MetricHea" - + "der\0220\n\004rows\030\002 \003(\0132\".google.analytics.dat" - + "a.v1alpha.Row\0222\n\006totals\030\010 \003(\0132\".google.a" - + "nalytics.data.v1alpha.Row\0224\n\010maximums\030\t " - + "\003(\0132\".google.analytics.data.v1alpha.Row\022" - + "4\n\010minimums\030\n \003(\0132\".google.analytics.dat" - + "a.v1alpha.Row\022\021\n\trow_count\030\014 \001(\005\022A\n\010meta" - + "data\030\006 \001(\0132/.google.analytics.data.v1alp" - + "ha.ResponseMetaData\022D\n\016property_quota\030\007 " - + "\001(\0132,.google.analytics.data.v1alpha.Prop" - + "ertyQuota\"\333\004\n\025RunPivotReportRequest\0225\n\006e" - + "ntity\030\001 \001(\0132%.google.analytics.data.v1al" - + "pha.Entity\022<\n\ndimensions\030\002 \003(\0132(.google." - + "analytics.data.v1alpha.Dimension\0226\n\007metr" - + "ics\030\003 \003(\0132%.google.analytics.data.v1alph" - + "a.Metric\022I\n\020dimension_filter\030\004 \001(\0132/.goo" - + "gle.analytics.data.v1alpha.FilterExpress" - + "ion\022F\n\rmetric_filter\030\005 \001(\0132/.google.anal" - + "ytics.data.v1alpha.FilterExpression\0224\n\006p" - + "ivots\030\006 \003(\0132$.google.analytics.data.v1al" - + "pha.Pivot\022=\n\013date_ranges\030\007 \003(\0132(.google." - + "analytics.data.v1alpha.DateRange\022\025\n\rcurr" - + "ency_code\030\010 \001(\t\022>\n\013cohort_spec\030\t \001(\0132).g" - + "oogle.analytics.data.v1alpha.CohortSpec\022" - + "\027\n\017keep_empty_rows\030\n \001(\010\022\035\n\025return_prope" - + "rty_quota\030\013 \001(\010\"\336\003\n\026RunPivotReportRespon" - + "se\022A\n\rpivot_headers\030\001 \003(\0132*.google.analy" - + "tics.data.v1alpha.PivotHeader\022I\n\021dimensi" - + "on_headers\030\007 \003(\0132..google.analytics.data" - + ".v1alpha.DimensionHeader\022C\n\016metric_heade" - + "rs\030\002 \003(\0132+.google.analytics.data.v1alpha" - + ".MetricHeader\0220\n\004rows\030\003 \003(\0132\".google.ana" - + "lytics.data.v1alpha.Row\0226\n\naggregates\030\004 " - + "\003(\0132\".google.analytics.data.v1alpha.Row\022" - + "A\n\010metadata\030\005 \001(\0132/.google.analytics.dat" - + "a.v1alpha.ResponseMetaData\022D\n\016property_q" - + "uota\030\006 \001(\0132,.google.analytics.data.v1alp" - + "ha.PropertyQuota\"\222\001\n\026BatchRunReportsRequ" - + "est\0225\n\006entity\030\001 \001(\0132%.google.analytics.d" - + "ata.v1alpha.Entity\022A\n\010requests\030\002 \003(\0132/.g" - + "oogle.analytics.data.v1alpha.RunReportRe" - + "quest\"\\\n\027BatchRunReportsResponse\022A\n\007repo" - + "rts\030\001 \003(\01320.google.analytics.data.v1alph" - + "a.RunReportResponse\"\234\001\n\033BatchRunPivotRep" - + "ortsRequest\0225\n\006entity\030\001 \001(\0132%.google.ana" - + "lytics.data.v1alpha.Entity\022F\n\010requests\030\002" - + " \003(\01324.google.analytics.data.v1alpha.Run" - + "PivotReportRequest\"l\n\034BatchRunPivotRepor" - + "tsResponse\022L\n\rpivot_reports\030\001 \003(\01325.goog" - + "le.analytics.data.v1alpha.RunPivotReport" - + "Response\"Q\n\022GetMetadataRequest\022;\n\004name\030\001" - + " \001(\tB-\340A\002\372A\'\n%analyticsdata.googleapis.c" - + "om/Metadata\"\355\003\n\030RunRealtimeReportRequest" - + "\022\020\n\010property\030\001 \001(\t\022<\n\ndimensions\030\002 \003(\0132(" - + ".google.analytics.data.v1alpha.Dimension" - + "\0226\n\007metrics\030\003 \003(\0132%.google.analytics.dat" - + "a.v1alpha.Metric\022\r\n\005limit\030\004 \001(\003\022I\n\020dimen" - + "sion_filter\030\005 \001(\0132/.google.analytics.dat" - + "a.v1alpha.FilterExpression\022F\n\rmetric_fil" - + "ter\030\006 \001(\0132/.google.analytics.data.v1alph" - + "a.FilterExpression\022M\n\023metric_aggregation" - + "s\030\007 \003(\01620.google.analytics.data.v1alpha." - + "MetricAggregation\0229\n\torder_bys\030\010 \003(\0132&.g" - + "oogle.analytics.data.v1alpha.OrderBy\022\035\n\025" - + "return_property_quota\030\t \001(\010\"\326\003\n\031RunRealt" - + "imeReportResponse\022I\n\021dimension_headers\030\001" - + " \003(\0132..google.analytics.data.v1alpha.Dim" - + "ensionHeader\022C\n\016metric_headers\030\002 \003(\0132+.g" - + "oogle.analytics.data.v1alpha.MetricHeade" - + "r\0220\n\004rows\030\003 \003(\0132\".google.analytics.data." - + "v1alpha.Row\0222\n\006totals\030\004 \003(\0132\".google.ana" - + "lytics.data.v1alpha.Row\0224\n\010maximums\030\005 \003(" - + "\0132\".google.analytics.data.v1alpha.Row\0224\n" - + "\010minimums\030\006 \003(\0132\".google.analytics.data." - + "v1alpha.Row\022\021\n\trow_count\030\007 \001(\005\022D\n\016proper" - + "ty_quota\030\010 \001(\0132,.google.analytics.data.v" - + "1alpha.PropertyQuota2\226\t\n\022AlphaAnalyticsD" - + "ata\022\215\001\n\tRunReport\022/.google.analytics.dat" - + "a.v1alpha.RunReportRequest\0320.google.anal" - + "ytics.data.v1alpha.RunReportResponse\"\035\202\323" - + "\344\223\002\027\"\022/v1alpha:runReport:\001*\022\241\001\n\016RunPivot" - + "Report\0224.google.analytics.data.v1alpha.R" - + "unPivotReportRequest\0325.google.analytics." - + "data.v1alpha.RunPivotReportResponse\"\"\202\323\344" - + "\223\002\034\"\027/v1alpha:runPivotReport:\001*\022\245\001\n\017Batc" - + "hRunReports\0225.google.analytics.data.v1al" - + "pha.BatchRunReportsRequest\0326.google.anal" - + "ytics.data.v1alpha.BatchRunReportsRespon" - + "se\"#\202\323\344\223\002\035\"\030/v1alpha:batchRunReports:\001*\022" - + "\271\001\n\024BatchRunPivotReports\022:.google.analyt" - + "ics.data.v1alpha.BatchRunPivotReportsReq" - + "uest\032;.google.analytics.data.v1alpha.Bat" - + "chRunPivotReportsResponse\"(\202\323\344\223\002\"\"\035/v1al" - + "pha:batchRunPivotReports:\001*\022\237\001\n\013GetMetad" - + "ata\0221.google.analytics.data.v1alpha.GetM" - + "etadataRequest\032\'.google.analytics.data.v" - + "1alpha.Metadata\"4\202\323\344\223\002\'\022%/v1alpha/{name=" - + "properties/*/metadata}\332A\004name\022\305\001\n\021RunRea" - + "ltimeReport\0227.google.analytics.data.v1al" - + "pha.RunRealtimeReportRequest\0328.google.an" - + "alytics.data.v1alpha.RunRealtimeReportRe" - + "sponse\"=\202\323\344\223\0027\"2/v1alpha/{property=prope" - + "rties/*}:runRealtimeReport:\001*\032~\312A\034analyt" - + "icsdata.googleapis.com\322A\\https://www.goo" - + "gleapis.com/auth/analytics,https://www.g" - + "oogleapis.com/auth/analytics.readonlyB\177\n" - + "!com.google.analytics.data.v1alphaB\025Anal" - + "yticsDataApiProtoP\001ZAgoogle.golang.org/g" - + "enproto/googleapis/analytics/data/v1alph" - + "a;datab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.data.v1alpha.ReportingApiProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_analytics_data_v1alpha_Metadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_data_v1alpha_Metadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Metadata_descriptor, - new java.lang.String[] { - "Name", "Dimensions", "Metrics", - }); - internal_static_google_analytics_data_v1alpha_RunReportRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_data_v1alpha_RunReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_RunReportRequest_descriptor, - new java.lang.String[] { - "Entity", - "Dimensions", - "Metrics", - "DateRanges", - "Offset", - "Limit", - "MetricAggregations", - "DimensionFilter", - "MetricFilter", - "OrderBys", - "CurrencyCode", - "CohortSpec", - "KeepEmptyRows", - "ReturnPropertyQuota", - }); - internal_static_google_analytics_data_v1alpha_RunReportResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_data_v1alpha_RunReportResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_RunReportResponse_descriptor, - new java.lang.String[] { - "DimensionHeaders", - "MetricHeaders", - "Rows", - "Totals", - "Maximums", - "Minimums", - "RowCount", - "Metadata", - "PropertyQuota", - }); - internal_static_google_analytics_data_v1alpha_RunPivotReportRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_data_v1alpha_RunPivotReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_RunPivotReportRequest_descriptor, - new java.lang.String[] { - "Entity", - "Dimensions", - "Metrics", - "DimensionFilter", - "MetricFilter", - "Pivots", - "DateRanges", - "CurrencyCode", - "CohortSpec", - "KeepEmptyRows", - "ReturnPropertyQuota", - }); - internal_static_google_analytics_data_v1alpha_RunPivotReportResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_data_v1alpha_RunPivotReportResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_RunPivotReportResponse_descriptor, - new java.lang.String[] { - "PivotHeaders", - "DimensionHeaders", - "MetricHeaders", - "Rows", - "Aggregates", - "Metadata", - "PropertyQuota", - }); - internal_static_google_analytics_data_v1alpha_BatchRunReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_data_v1alpha_BatchRunReportsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_BatchRunReportsRequest_descriptor, - new java.lang.String[] { - "Entity", "Requests", - }); - internal_static_google_analytics_data_v1alpha_BatchRunReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_data_v1alpha_BatchRunReportsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_BatchRunReportsResponse_descriptor, - new java.lang.String[] { - "Reports", - }); - internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsRequest_descriptor, - new java.lang.String[] { - "Entity", "Requests", - }); - internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsResponse_descriptor, - new java.lang.String[] { - "PivotReports", - }); - internal_static_google_analytics_data_v1alpha_GetMetadataRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_data_v1alpha_GetMetadataRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_GetMetadataRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_data_v1alpha_RunRealtimeReportRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_data_v1alpha_RunRealtimeReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_RunRealtimeReportRequest_descriptor, - new java.lang.String[] { - "Property", - "Dimensions", - "Metrics", - "Limit", - "DimensionFilter", - "MetricFilter", - "MetricAggregations", - "OrderBys", - "ReturnPropertyQuota", - }); - internal_static_google_analytics_data_v1alpha_RunRealtimeReportResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_data_v1alpha_RunRealtimeReportResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_RunRealtimeReportResponse_descriptor, - new java.lang.String[] { - "DimensionHeaders", - "MetricHeaders", - "Rows", - "Totals", - "Maximums", - "Minimums", - "RowCount", - "PropertyQuota", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.analytics.data.v1alpha.ReportingApiProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsRequest.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsRequest.java deleted file mode 100644 index 3463f853..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsRequest.java +++ /dev/null @@ -1,1296 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The batch request containing multiple pivot report requests.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.BatchRunPivotReportsRequest} - */ -public final class BatchRunPivotReportsRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.BatchRunPivotReportsRequest) - BatchRunPivotReportsRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use BatchRunPivotReportsRequest.newBuilder() to construct. - private BatchRunPivotReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private BatchRunPivotReportsRequest() { - requests_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BatchRunPivotReportsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private BatchRunPivotReportsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.analytics.data.v1alpha.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.analytics.data.v1alpha.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList< - com.google.analytics.data.v1alpha.RunPivotReportRequest>(); - mutable_bitField0_ |= 0x00000001; - } - requests_.add( - input.readMessage( - com.google.analytics.data.v1alpha.RunPivotReportRequest.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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = java.util.Collections.unmodifiableList(requests_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest.class, - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest.Builder.class); - } - - public static final int ENTITY_FIELD_NUMBER = 1; - private com.google.analytics.data.v1alpha.Entity entity_; - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunPivotReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - @java.lang.Override - public boolean hasEntity() { - return entity_ != null; - } - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunPivotReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Entity getEntity() { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunPivotReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder() { - return getEntity(); - } - - public static final int REQUESTS_FIELD_NUMBER = 2; - private java.util.List requests_; - /** - * - * - *
-   * Individual requests. Each request has a separate pivot report response.
-   * Each batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - @java.lang.Override - public java.util.List getRequestsList() { - return requests_; - } - /** - * - * - *
-   * Individual requests. Each request has a separate pivot report response.
-   * Each batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - @java.lang.Override - public java.util.List - getRequestsOrBuilderList() { - return requests_; - } - /** - * - * - *
-   * Individual requests. Each request has a separate pivot report response.
-   * Each batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - @java.lang.Override - public int getRequestsCount() { - return requests_.size(); - } - /** - * - * - *
-   * Individual requests. Each request has a separate pivot report response.
-   * Each batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportRequest getRequests(int index) { - return requests_.get(index); - } - /** - * - * - *
-   * Individual requests. Each request has a separate pivot report response.
-   * Each batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportRequestOrBuilder getRequestsOrBuilder( - int index) { - return requests_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (entity_ != null) { - output.writeMessage(1, getEntity()); - } - for (int i = 0; i < requests_.size(); i++) { - output.writeMessage(2, requests_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); - } - for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest other = - (com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest) obj; - - if (hasEntity() != other.hasEntity()) return false; - if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; - } - if (!getRequestsList().equals(other.getRequestsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasEntity()) { - hash = (37 * hash) + ENTITY_FIELD_NUMBER; - hash = (53 * hash) + getEntity().hashCode(); - } - if (getRequestsCount() > 0) { - hash = (37 * hash) + REQUESTS_FIELD_NUMBER; - hash = (53 * hash) + getRequestsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The batch request containing multiple pivot report requests.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.BatchRunPivotReportsRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.BatchRunPivotReportsRequest) - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest.class, - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getRequestsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (entityBuilder_ == null) { - entity_ = null; - } else { - entity_ = null; - entityBuilder_ = null; - } - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - requestsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest - getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest build() { - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest buildPartial() { - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest result = - new com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest(this); - int from_bitField0_ = bitField0_; - if (entityBuilder_ == null) { - result.entity_ = entity_; - } else { - result.entity_ = entityBuilder_.build(); - } - if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - requests_ = java.util.Collections.unmodifiableList(requests_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.requests_ = requests_; - } else { - result.requests_ = requestsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest) { - return mergeFrom((com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest other) { - if (other - == com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest.getDefaultInstance()) - return this; - if (other.hasEntity()) { - mergeEntity(other.getEntity()); - } - if (requestsBuilder_ == null) { - if (!other.requests_.isEmpty()) { - if (requests_.isEmpty()) { - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureRequestsIsMutable(); - requests_.addAll(other.requests_); - } - onChanged(); - } - } else { - if (!other.requests_.isEmpty()) { - if (requestsBuilder_.isEmpty()) { - requestsBuilder_.dispose(); - requestsBuilder_ = null; - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRequestsFieldBuilder() - : null; - } else { - requestsBuilder_.addAllMessages(other.requests_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.analytics.data.v1alpha.Entity entity_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder> - entityBuilder_; - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunPivotReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - public boolean hasEntity() { - return entityBuilder_ != null || entity_ != null; - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunPivotReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - public com.google.analytics.data.v1alpha.Entity getEntity() { - if (entityBuilder_ == null) { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } else { - return entityBuilder_.getMessage(); - } - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunPivotReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder setEntity(com.google.analytics.data.v1alpha.Entity value) { - if (entityBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - entity_ = value; - onChanged(); - } else { - entityBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunPivotReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder setEntity(com.google.analytics.data.v1alpha.Entity.Builder builderForValue) { - if (entityBuilder_ == null) { - entity_ = builderForValue.build(); - onChanged(); - } else { - entityBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunPivotReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder mergeEntity(com.google.analytics.data.v1alpha.Entity value) { - if (entityBuilder_ == null) { - if (entity_ != null) { - entity_ = - com.google.analytics.data.v1alpha.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); - } else { - entity_ = value; - } - onChanged(); - } else { - entityBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunPivotReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder clearEntity() { - if (entityBuilder_ == null) { - entity_ = null; - onChanged(); - } else { - entity_ = null; - entityBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunPivotReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public com.google.analytics.data.v1alpha.Entity.Builder getEntityBuilder() { - - onChanged(); - return getEntityFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunPivotReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder() { - if (entityBuilder_ != null) { - return entityBuilder_.getMessageOrBuilder(); - } else { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunPivotReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder> - getEntityFieldBuilder() { - if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); - entity_ = null; - } - return entityBuilder_; - } - - private java.util.List requests_ = - java.util.Collections.emptyList(); - - private void ensureRequestsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList( - requests_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunPivotReportRequest, - com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder, - com.google.analytics.data.v1alpha.RunPivotReportRequestOrBuilder> - requestsBuilder_; - - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public java.util.List - getRequestsList() { - if (requestsBuilder_ == null) { - return java.util.Collections.unmodifiableList(requests_); - } else { - return requestsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public int getRequestsCount() { - if (requestsBuilder_ == null) { - return requests_.size(); - } else { - return requestsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public com.google.analytics.data.v1alpha.RunPivotReportRequest getRequests(int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); - } else { - return requestsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public Builder setRequests( - int index, com.google.analytics.data.v1alpha.RunPivotReportRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.set(index, value); - onChanged(); - } else { - requestsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public Builder setRequests( - int index, - com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.set(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public Builder addRequests(com.google.analytics.data.v1alpha.RunPivotReportRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(value); - onChanged(); - } else { - requestsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public Builder addRequests( - int index, com.google.analytics.data.v1alpha.RunPivotReportRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(index, value); - onChanged(); - } else { - requestsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public Builder addRequests( - com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public Builder addRequests( - int index, - com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public Builder addAllRequests( - java.lang.Iterable - values) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); - onChanged(); - } else { - requestsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public Builder clearRequests() { - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - requestsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public Builder removeRequests(int index) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.remove(index); - onChanged(); - } else { - requestsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder getRequestsBuilder( - int index) { - return getRequestsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public com.google.analytics.data.v1alpha.RunPivotReportRequestOrBuilder getRequestsOrBuilder( - int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); - } else { - return requestsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public java.util.List< - ? extends com.google.analytics.data.v1alpha.RunPivotReportRequestOrBuilder> - getRequestsOrBuilderList() { - if (requestsBuilder_ != null) { - return requestsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(requests_); - } - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.RunPivotReportRequest.getDefaultInstance()); - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder addRequestsBuilder( - int index) { - return getRequestsFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1alpha.RunPivotReportRequest.getDefaultInstance()); - } - /** - * - * - *
-     * Individual requests. Each request has a separate pivot report response.
-     * Each batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - public java.util.List - getRequestsBuilderList() { - return getRequestsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunPivotReportRequest, - com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder, - com.google.analytics.data.v1alpha.RunPivotReportRequestOrBuilder> - getRequestsFieldBuilder() { - if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunPivotReportRequest, - com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder, - com.google.analytics.data.v1alpha.RunPivotReportRequestOrBuilder>( - requests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - requests_ = null; - } - return requestsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.BatchRunPivotReportsRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.BatchRunPivotReportsRequest) - private static final com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest(); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchRunPivotReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchRunPivotReportsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunPivotReportsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsRequestOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsRequestOrBuilder.java deleted file mode 100644 index 70a12a7b..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsRequestOrBuilder.java +++ /dev/null @@ -1,123 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface BatchRunPivotReportsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.BatchRunPivotReportsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunPivotReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - boolean hasEntity(); - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunPivotReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - com.google.analytics.data.v1alpha.Entity getEntity(); - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunPivotReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder(); - - /** - * - * - *
-   * Individual requests. Each request has a separate pivot report response.
-   * Each batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - java.util.List getRequestsList(); - /** - * - * - *
-   * Individual requests. Each request has a separate pivot report response.
-   * Each batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - com.google.analytics.data.v1alpha.RunPivotReportRequest getRequests(int index); - /** - * - * - *
-   * Individual requests. Each request has a separate pivot report response.
-   * Each batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - int getRequestsCount(); - /** - * - * - *
-   * Individual requests. Each request has a separate pivot report response.
-   * Each batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - java.util.List - getRequestsOrBuilderList(); - /** - * - * - *
-   * Individual requests. Each request has a separate pivot report response.
-   * Each batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportRequest requests = 2; - */ - com.google.analytics.data.v1alpha.RunPivotReportRequestOrBuilder getRequestsOrBuilder(int index); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsResponse.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsResponse.java deleted file mode 100644 index 5757ea7f..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsResponse.java +++ /dev/null @@ -1,995 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The batch response containing multiple pivot reports.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.BatchRunPivotReportsResponse} - */ -public final class BatchRunPivotReportsResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.BatchRunPivotReportsResponse) - BatchRunPivotReportsResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use BatchRunPivotReportsResponse.newBuilder() to construct. - private BatchRunPivotReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private BatchRunPivotReportsResponse() { - pivotReports_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BatchRunPivotReportsResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private BatchRunPivotReportsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotReports_ = - new java.util.ArrayList< - com.google.analytics.data.v1alpha.RunPivotReportResponse>(); - mutable_bitField0_ |= 0x00000001; - } - pivotReports_.add( - input.readMessage( - com.google.analytics.data.v1alpha.RunPivotReportResponse.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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - pivotReports_ = java.util.Collections.unmodifiableList(pivotReports_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse.class, - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse.Builder.class); - } - - public static final int PIVOT_REPORTS_FIELD_NUMBER = 1; - private java.util.List pivotReports_; - /** - * - * - *
-   * Individual responses. Each response has a separate pivot report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - */ - @java.lang.Override - public java.util.List - getPivotReportsList() { - return pivotReports_; - } - /** - * - * - *
-   * Individual responses. Each response has a separate pivot report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - */ - @java.lang.Override - public java.util.List - getPivotReportsOrBuilderList() { - return pivotReports_; - } - /** - * - * - *
-   * Individual responses. Each response has a separate pivot report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - */ - @java.lang.Override - public int getPivotReportsCount() { - return pivotReports_.size(); - } - /** - * - * - *
-   * Individual responses. Each response has a separate pivot report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportResponse getPivotReports(int index) { - return pivotReports_.get(index); - } - /** - * - * - *
-   * Individual responses. Each response has a separate pivot report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportResponseOrBuilder getPivotReportsOrBuilder( - int index) { - return pivotReports_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < pivotReports_.size(); i++) { - output.writeMessage(1, pivotReports_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < pivotReports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, pivotReports_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse other = - (com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse) obj; - - if (!getPivotReportsList().equals(other.getPivotReportsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPivotReportsCount() > 0) { - hash = (37 * hash) + PIVOT_REPORTS_FIELD_NUMBER; - hash = (53 * hash) + getPivotReportsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The batch response containing multiple pivot reports.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.BatchRunPivotReportsResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.BatchRunPivotReportsResponse) - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse.class, - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPivotReportsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (pivotReportsBuilder_ == null) { - pivotReports_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - pivotReportsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunPivotReportsResponse_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse - getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse build() { - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse buildPartial() { - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse result = - new com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse(this); - int from_bitField0_ = bitField0_; - if (pivotReportsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - pivotReports_ = java.util.Collections.unmodifiableList(pivotReports_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.pivotReports_ = pivotReports_; - } else { - result.pivotReports_ = pivotReportsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse) { - return mergeFrom((com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse other) { - if (other - == com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse.getDefaultInstance()) - return this; - if (pivotReportsBuilder_ == null) { - if (!other.pivotReports_.isEmpty()) { - if (pivotReports_.isEmpty()) { - pivotReports_ = other.pivotReports_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePivotReportsIsMutable(); - pivotReports_.addAll(other.pivotReports_); - } - onChanged(); - } - } else { - if (!other.pivotReports_.isEmpty()) { - if (pivotReportsBuilder_.isEmpty()) { - pivotReportsBuilder_.dispose(); - pivotReportsBuilder_ = null; - pivotReports_ = other.pivotReports_; - bitField0_ = (bitField0_ & ~0x00000001); - pivotReportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPivotReportsFieldBuilder() - : null; - } else { - pivotReportsBuilder_.addAllMessages(other.pivotReports_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List pivotReports_ = - java.util.Collections.emptyList(); - - private void ensurePivotReportsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - pivotReports_ = - new java.util.ArrayList( - pivotReports_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunPivotReportResponse, - com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder, - com.google.analytics.data.v1alpha.RunPivotReportResponseOrBuilder> - pivotReportsBuilder_; - - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public java.util.List - getPivotReportsList() { - if (pivotReportsBuilder_ == null) { - return java.util.Collections.unmodifiableList(pivotReports_); - } else { - return pivotReportsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public int getPivotReportsCount() { - if (pivotReportsBuilder_ == null) { - return pivotReports_.size(); - } else { - return pivotReportsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public com.google.analytics.data.v1alpha.RunPivotReportResponse getPivotReports(int index) { - if (pivotReportsBuilder_ == null) { - return pivotReports_.get(index); - } else { - return pivotReportsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public Builder setPivotReports( - int index, com.google.analytics.data.v1alpha.RunPivotReportResponse value) { - if (pivotReportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotReportsIsMutable(); - pivotReports_.set(index, value); - onChanged(); - } else { - pivotReportsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public Builder setPivotReports( - int index, - com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder builderForValue) { - if (pivotReportsBuilder_ == null) { - ensurePivotReportsIsMutable(); - pivotReports_.set(index, builderForValue.build()); - onChanged(); - } else { - pivotReportsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public Builder addPivotReports(com.google.analytics.data.v1alpha.RunPivotReportResponse value) { - if (pivotReportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotReportsIsMutable(); - pivotReports_.add(value); - onChanged(); - } else { - pivotReportsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public Builder addPivotReports( - int index, com.google.analytics.data.v1alpha.RunPivotReportResponse value) { - if (pivotReportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotReportsIsMutable(); - pivotReports_.add(index, value); - onChanged(); - } else { - pivotReportsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public Builder addPivotReports( - com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder builderForValue) { - if (pivotReportsBuilder_ == null) { - ensurePivotReportsIsMutable(); - pivotReports_.add(builderForValue.build()); - onChanged(); - } else { - pivotReportsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public Builder addPivotReports( - int index, - com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder builderForValue) { - if (pivotReportsBuilder_ == null) { - ensurePivotReportsIsMutable(); - pivotReports_.add(index, builderForValue.build()); - onChanged(); - } else { - pivotReportsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public Builder addAllPivotReports( - java.lang.Iterable - values) { - if (pivotReportsBuilder_ == null) { - ensurePivotReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotReports_); - onChanged(); - } else { - pivotReportsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public Builder clearPivotReports() { - if (pivotReportsBuilder_ == null) { - pivotReports_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - pivotReportsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public Builder removePivotReports(int index) { - if (pivotReportsBuilder_ == null) { - ensurePivotReportsIsMutable(); - pivotReports_.remove(index); - onChanged(); - } else { - pivotReportsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder getPivotReportsBuilder( - int index) { - return getPivotReportsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public com.google.analytics.data.v1alpha.RunPivotReportResponseOrBuilder - getPivotReportsOrBuilder(int index) { - if (pivotReportsBuilder_ == null) { - return pivotReports_.get(index); - } else { - return pivotReportsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public java.util.List< - ? extends com.google.analytics.data.v1alpha.RunPivotReportResponseOrBuilder> - getPivotReportsOrBuilderList() { - if (pivotReportsBuilder_ != null) { - return pivotReportsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(pivotReports_); - } - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder - addPivotReportsBuilder() { - return getPivotReportsFieldBuilder() - .addBuilder( - com.google.analytics.data.v1alpha.RunPivotReportResponse.getDefaultInstance()); - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder addPivotReportsBuilder( - int index) { - return getPivotReportsFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1alpha.RunPivotReportResponse.getDefaultInstance()); - } - /** - * - * - *
-     * Individual responses. Each response has a separate pivot report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - * - */ - public java.util.List - getPivotReportsBuilderList() { - return getPivotReportsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunPivotReportResponse, - com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder, - com.google.analytics.data.v1alpha.RunPivotReportResponseOrBuilder> - getPivotReportsFieldBuilder() { - if (pivotReportsBuilder_ == null) { - pivotReportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunPivotReportResponse, - com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder, - com.google.analytics.data.v1alpha.RunPivotReportResponseOrBuilder>( - pivotReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - pivotReports_ = null; - } - return pivotReportsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.BatchRunPivotReportsResponse) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.BatchRunPivotReportsResponse) - private static final com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse(); - } - - public static com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchRunPivotReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchRunPivotReportsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunPivotReportsResponse - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsResponseOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsResponseOrBuilder.java deleted file mode 100644 index 3d89e960..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunPivotReportsResponseOrBuilder.java +++ /dev/null @@ -1,78 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface BatchRunPivotReportsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.BatchRunPivotReportsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Individual responses. Each response has a separate pivot report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - */ - java.util.List getPivotReportsList(); - /** - * - * - *
-   * Individual responses. Each response has a separate pivot report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - */ - com.google.analytics.data.v1alpha.RunPivotReportResponse getPivotReports(int index); - /** - * - * - *
-   * Individual responses. Each response has a separate pivot report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - */ - int getPivotReportsCount(); - /** - * - * - *
-   * Individual responses. Each response has a separate pivot report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - */ - java.util.List - getPivotReportsOrBuilderList(); - /** - * - * - *
-   * Individual responses. Each response has a separate pivot report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunPivotReportResponse pivot_reports = 1; - */ - com.google.analytics.data.v1alpha.RunPivotReportResponseOrBuilder getPivotReportsOrBuilder( - int index); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsRequest.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsRequest.java deleted file mode 100644 index 568f24b1..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsRequest.java +++ /dev/null @@ -1,1285 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The batch request containing multiple report requests.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.BatchRunReportsRequest} - */ -public final class BatchRunReportsRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.BatchRunReportsRequest) - BatchRunReportsRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use BatchRunReportsRequest.newBuilder() to construct. - private BatchRunReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private BatchRunReportsRequest() { - requests_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BatchRunReportsRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private BatchRunReportsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.analytics.data.v1alpha.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.analytics.data.v1alpha.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - requests_.add( - input.readMessage( - com.google.analytics.data.v1alpha.RunReportRequest.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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = java.util.Collections.unmodifiableList(requests_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunReportsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunReportsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.BatchRunReportsRequest.class, - com.google.analytics.data.v1alpha.BatchRunReportsRequest.Builder.class); - } - - public static final int ENTITY_FIELD_NUMBER = 1; - private com.google.analytics.data.v1alpha.Entity entity_; - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - @java.lang.Override - public boolean hasEntity() { - return entity_ != null; - } - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Entity getEntity() { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder() { - return getEntity(); - } - - public static final int REQUESTS_FIELD_NUMBER = 2; - private java.util.List requests_; - /** - * - * - *
-   * Individual requests. Each request has a separate report response. Each
-   * batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - @java.lang.Override - public java.util.List getRequestsList() { - return requests_; - } - /** - * - * - *
-   * Individual requests. Each request has a separate report response. Each
-   * batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - @java.lang.Override - public java.util.List - getRequestsOrBuilderList() { - return requests_; - } - /** - * - * - *
-   * Individual requests. Each request has a separate report response. Each
-   * batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - @java.lang.Override - public int getRequestsCount() { - return requests_.size(); - } - /** - * - * - *
-   * Individual requests. Each request has a separate report response. Each
-   * batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportRequest getRequests(int index) { - return requests_.get(index); - } - /** - * - * - *
-   * Individual requests. Each request has a separate report response. Each
-   * batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportRequestOrBuilder getRequestsOrBuilder( - int index) { - return requests_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (entity_ != null) { - output.writeMessage(1, getEntity()); - } - for (int i = 0; i < requests_.size(); i++) { - output.writeMessage(2, requests_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); - } - for (int i = 0; i < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.BatchRunReportsRequest)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.BatchRunReportsRequest other = - (com.google.analytics.data.v1alpha.BatchRunReportsRequest) obj; - - if (hasEntity() != other.hasEntity()) return false; - if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; - } - if (!getRequestsList().equals(other.getRequestsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasEntity()) { - hash = (37 * hash) + ENTITY_FIELD_NUMBER; - hash = (53 * hash) + getEntity().hashCode(); - } - if (getRequestsCount() > 0) { - hash = (37 * hash) + REQUESTS_FIELD_NUMBER; - hash = (53 * hash) + getRequestsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.BatchRunReportsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The batch request containing multiple report requests.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.BatchRunReportsRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.BatchRunReportsRequest) - com.google.analytics.data.v1alpha.BatchRunReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunReportsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunReportsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.BatchRunReportsRequest.class, - com.google.analytics.data.v1alpha.BatchRunReportsRequest.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.BatchRunReportsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getRequestsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (entityBuilder_ == null) { - entity_ = null; - } else { - entity_ = null; - entityBuilder_ = null; - } - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - requestsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunReportsRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunReportsRequest getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.BatchRunReportsRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunReportsRequest build() { - com.google.analytics.data.v1alpha.BatchRunReportsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunReportsRequest buildPartial() { - com.google.analytics.data.v1alpha.BatchRunReportsRequest result = - new com.google.analytics.data.v1alpha.BatchRunReportsRequest(this); - int from_bitField0_ = bitField0_; - if (entityBuilder_ == null) { - result.entity_ = entity_; - } else { - result.entity_ = entityBuilder_.build(); - } - if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - requests_ = java.util.Collections.unmodifiableList(requests_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.requests_ = requests_; - } else { - result.requests_ = requestsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.BatchRunReportsRequest) { - return mergeFrom((com.google.analytics.data.v1alpha.BatchRunReportsRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.BatchRunReportsRequest other) { - if (other == com.google.analytics.data.v1alpha.BatchRunReportsRequest.getDefaultInstance()) - return this; - if (other.hasEntity()) { - mergeEntity(other.getEntity()); - } - if (requestsBuilder_ == null) { - if (!other.requests_.isEmpty()) { - if (requests_.isEmpty()) { - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureRequestsIsMutable(); - requests_.addAll(other.requests_); - } - onChanged(); - } - } else { - if (!other.requests_.isEmpty()) { - if (requestsBuilder_.isEmpty()) { - requestsBuilder_.dispose(); - requestsBuilder_ = null; - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRequestsFieldBuilder() - : null; - } else { - requestsBuilder_.addAllMessages(other.requests_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.BatchRunReportsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.BatchRunReportsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.analytics.data.v1alpha.Entity entity_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder> - entityBuilder_; - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - public boolean hasEntity() { - return entityBuilder_ != null || entity_ != null; - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - public com.google.analytics.data.v1alpha.Entity getEntity() { - if (entityBuilder_ == null) { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } else { - return entityBuilder_.getMessage(); - } - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder setEntity(com.google.analytics.data.v1alpha.Entity value) { - if (entityBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - entity_ = value; - onChanged(); - } else { - entityBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder setEntity(com.google.analytics.data.v1alpha.Entity.Builder builderForValue) { - if (entityBuilder_ == null) { - entity_ = builderForValue.build(); - onChanged(); - } else { - entityBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder mergeEntity(com.google.analytics.data.v1alpha.Entity value) { - if (entityBuilder_ == null) { - if (entity_ != null) { - entity_ = - com.google.analytics.data.v1alpha.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); - } else { - entity_ = value; - } - onChanged(); - } else { - entityBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder clearEntity() { - if (entityBuilder_ == null) { - entity_ = null; - onChanged(); - } else { - entity_ = null; - entityBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public com.google.analytics.data.v1alpha.Entity.Builder getEntityBuilder() { - - onChanged(); - return getEntityFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder() { - if (entityBuilder_ != null) { - return entityBuilder_.getMessageOrBuilder(); - } else { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } - } - /** - * - * - *
-     * A property whose events are tracked. This entity must be specified for the
-     * batch. The entity within RunReportRequest may either be unspecified or
-     * consistent with this entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder> - getEntityFieldBuilder() { - if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); - entity_ = null; - } - return entityBuilder_; - } - - private java.util.List requests_ = - java.util.Collections.emptyList(); - - private void ensureRequestsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = - new java.util.ArrayList(requests_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunReportRequest, - com.google.analytics.data.v1alpha.RunReportRequest.Builder, - com.google.analytics.data.v1alpha.RunReportRequestOrBuilder> - requestsBuilder_; - - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public java.util.List getRequestsList() { - if (requestsBuilder_ == null) { - return java.util.Collections.unmodifiableList(requests_); - } else { - return requestsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public int getRequestsCount() { - if (requestsBuilder_ == null) { - return requests_.size(); - } else { - return requestsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public com.google.analytics.data.v1alpha.RunReportRequest getRequests(int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); - } else { - return requestsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public Builder setRequests( - int index, com.google.analytics.data.v1alpha.RunReportRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.set(index, value); - onChanged(); - } else { - requestsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public Builder setRequests( - int index, com.google.analytics.data.v1alpha.RunReportRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.set(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public Builder addRequests(com.google.analytics.data.v1alpha.RunReportRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(value); - onChanged(); - } else { - requestsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public Builder addRequests( - int index, com.google.analytics.data.v1alpha.RunReportRequest value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(index, value); - onChanged(); - } else { - requestsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public Builder addRequests( - com.google.analytics.data.v1alpha.RunReportRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public Builder addRequests( - int index, com.google.analytics.data.v1alpha.RunReportRequest.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public Builder addAllRequests( - java.lang.Iterable values) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); - onChanged(); - } else { - requestsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public Builder clearRequests() { - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - requestsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public Builder removeRequests(int index) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.remove(index); - onChanged(); - } else { - requestsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public com.google.analytics.data.v1alpha.RunReportRequest.Builder getRequestsBuilder( - int index) { - return getRequestsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public com.google.analytics.data.v1alpha.RunReportRequestOrBuilder getRequestsOrBuilder( - int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); - } else { - return requestsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public java.util.List - getRequestsOrBuilderList() { - if (requestsBuilder_ != null) { - return requestsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(requests_); - } - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public com.google.analytics.data.v1alpha.RunReportRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.RunReportRequest.getDefaultInstance()); - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public com.google.analytics.data.v1alpha.RunReportRequest.Builder addRequestsBuilder( - int index) { - return getRequestsFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1alpha.RunReportRequest.getDefaultInstance()); - } - /** - * - * - *
-     * Individual requests. Each request has a separate report response. Each
-     * batch request is allowed up to 5 requests.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - public java.util.List - getRequestsBuilderList() { - return getRequestsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunReportRequest, - com.google.analytics.data.v1alpha.RunReportRequest.Builder, - com.google.analytics.data.v1alpha.RunReportRequestOrBuilder> - getRequestsFieldBuilder() { - if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunReportRequest, - com.google.analytics.data.v1alpha.RunReportRequest.Builder, - com.google.analytics.data.v1alpha.RunReportRequestOrBuilder>( - requests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - requests_ = null; - } - return requestsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.BatchRunReportsRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.BatchRunReportsRequest) - private static final com.google.analytics.data.v1alpha.BatchRunReportsRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.BatchRunReportsRequest(); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchRunReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchRunReportsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunReportsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsRequestOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsRequestOrBuilder.java deleted file mode 100644 index d977386c..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsRequestOrBuilder.java +++ /dev/null @@ -1,123 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface BatchRunReportsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.BatchRunReportsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - boolean hasEntity(); - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - com.google.analytics.data.v1alpha.Entity getEntity(); - /** - * - * - *
-   * A property whose events are tracked. This entity must be specified for the
-   * batch. The entity within RunReportRequest may either be unspecified or
-   * consistent with this entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder(); - - /** - * - * - *
-   * Individual requests. Each request has a separate report response. Each
-   * batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - java.util.List getRequestsList(); - /** - * - * - *
-   * Individual requests. Each request has a separate report response. Each
-   * batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - com.google.analytics.data.v1alpha.RunReportRequest getRequests(int index); - /** - * - * - *
-   * Individual requests. Each request has a separate report response. Each
-   * batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - int getRequestsCount(); - /** - * - * - *
-   * Individual requests. Each request has a separate report response. Each
-   * batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - java.util.List - getRequestsOrBuilderList(); - /** - * - * - *
-   * Individual requests. Each request has a separate report response. Each
-   * batch request is allowed up to 5 requests.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportRequest requests = 2; - */ - com.google.analytics.data.v1alpha.RunReportRequestOrBuilder getRequestsOrBuilder(int index); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsResponse.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsResponse.java deleted file mode 100644 index ba7edcde..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsResponse.java +++ /dev/null @@ -1,961 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The batch response containing multiple reports.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.BatchRunReportsResponse} - */ -public final class BatchRunReportsResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.BatchRunReportsResponse) - BatchRunReportsResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use BatchRunReportsResponse.newBuilder() to construct. - private BatchRunReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private BatchRunReportsResponse() { - reports_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BatchRunReportsResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private BatchRunReportsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - reports_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - reports_.add( - input.readMessage( - com.google.analytics.data.v1alpha.RunReportResponse.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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - reports_ = java.util.Collections.unmodifiableList(reports_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunReportsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunReportsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.BatchRunReportsResponse.class, - com.google.analytics.data.v1alpha.BatchRunReportsResponse.Builder.class); - } - - public static final int REPORTS_FIELD_NUMBER = 1; - private java.util.List reports_; - /** - * - * - *
-   * Individual responses. Each response has a separate report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - @java.lang.Override - public java.util.List getReportsList() { - return reports_; - } - /** - * - * - *
-   * Individual responses. Each response has a separate report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - @java.lang.Override - public java.util.List - getReportsOrBuilderList() { - return reports_; - } - /** - * - * - *
-   * Individual responses. Each response has a separate report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - @java.lang.Override - public int getReportsCount() { - return reports_.size(); - } - /** - * - * - *
-   * Individual responses. Each response has a separate report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportResponse getReports(int index) { - return reports_.get(index); - } - /** - * - * - *
-   * Individual responses. Each response has a separate report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportResponseOrBuilder getReportsOrBuilder( - int index) { - return reports_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < reports_.size(); i++) { - output.writeMessage(1, reports_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < reports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, reports_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.BatchRunReportsResponse)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.BatchRunReportsResponse other = - (com.google.analytics.data.v1alpha.BatchRunReportsResponse) obj; - - if (!getReportsList().equals(other.getReportsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getReportsCount() > 0) { - hash = (37 * hash) + REPORTS_FIELD_NUMBER; - hash = (53 * hash) + getReportsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.BatchRunReportsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The batch response containing multiple reports.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.BatchRunReportsResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.BatchRunReportsResponse) - com.google.analytics.data.v1alpha.BatchRunReportsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunReportsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunReportsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.BatchRunReportsResponse.class, - com.google.analytics.data.v1alpha.BatchRunReportsResponse.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.BatchRunReportsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getReportsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (reportsBuilder_ == null) { - reports_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - reportsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_BatchRunReportsResponse_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunReportsResponse getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.BatchRunReportsResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunReportsResponse build() { - com.google.analytics.data.v1alpha.BatchRunReportsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunReportsResponse buildPartial() { - com.google.analytics.data.v1alpha.BatchRunReportsResponse result = - new com.google.analytics.data.v1alpha.BatchRunReportsResponse(this); - int from_bitField0_ = bitField0_; - if (reportsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - reports_ = java.util.Collections.unmodifiableList(reports_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.reports_ = reports_; - } else { - result.reports_ = reportsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.BatchRunReportsResponse) { - return mergeFrom((com.google.analytics.data.v1alpha.BatchRunReportsResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.BatchRunReportsResponse other) { - if (other == com.google.analytics.data.v1alpha.BatchRunReportsResponse.getDefaultInstance()) - return this; - if (reportsBuilder_ == null) { - if (!other.reports_.isEmpty()) { - if (reports_.isEmpty()) { - reports_ = other.reports_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureReportsIsMutable(); - reports_.addAll(other.reports_); - } - onChanged(); - } - } else { - if (!other.reports_.isEmpty()) { - if (reportsBuilder_.isEmpty()) { - reportsBuilder_.dispose(); - reportsBuilder_ = null; - reports_ = other.reports_; - bitField0_ = (bitField0_ & ~0x00000001); - reportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReportsFieldBuilder() - : null; - } else { - reportsBuilder_.addAllMessages(other.reports_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.BatchRunReportsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.BatchRunReportsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List reports_ = - java.util.Collections.emptyList(); - - private void ensureReportsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - reports_ = - new java.util.ArrayList(reports_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunReportResponse, - com.google.analytics.data.v1alpha.RunReportResponse.Builder, - com.google.analytics.data.v1alpha.RunReportResponseOrBuilder> - reportsBuilder_; - - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public java.util.List getReportsList() { - if (reportsBuilder_ == null) { - return java.util.Collections.unmodifiableList(reports_); - } else { - return reportsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public int getReportsCount() { - if (reportsBuilder_ == null) { - return reports_.size(); - } else { - return reportsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public com.google.analytics.data.v1alpha.RunReportResponse getReports(int index) { - if (reportsBuilder_ == null) { - return reports_.get(index); - } else { - return reportsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public Builder setReports( - int index, com.google.analytics.data.v1alpha.RunReportResponse value) { - if (reportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureReportsIsMutable(); - reports_.set(index, value); - onChanged(); - } else { - reportsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public Builder setReports( - int index, com.google.analytics.data.v1alpha.RunReportResponse.Builder builderForValue) { - if (reportsBuilder_ == null) { - ensureReportsIsMutable(); - reports_.set(index, builderForValue.build()); - onChanged(); - } else { - reportsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public Builder addReports(com.google.analytics.data.v1alpha.RunReportResponse value) { - if (reportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureReportsIsMutable(); - reports_.add(value); - onChanged(); - } else { - reportsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public Builder addReports( - int index, com.google.analytics.data.v1alpha.RunReportResponse value) { - if (reportsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureReportsIsMutable(); - reports_.add(index, value); - onChanged(); - } else { - reportsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public Builder addReports( - com.google.analytics.data.v1alpha.RunReportResponse.Builder builderForValue) { - if (reportsBuilder_ == null) { - ensureReportsIsMutable(); - reports_.add(builderForValue.build()); - onChanged(); - } else { - reportsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public Builder addReports( - int index, com.google.analytics.data.v1alpha.RunReportResponse.Builder builderForValue) { - if (reportsBuilder_ == null) { - ensureReportsIsMutable(); - reports_.add(index, builderForValue.build()); - onChanged(); - } else { - reportsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public Builder addAllReports( - java.lang.Iterable values) { - if (reportsBuilder_ == null) { - ensureReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reports_); - onChanged(); - } else { - reportsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public Builder clearReports() { - if (reportsBuilder_ == null) { - reports_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - reportsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public Builder removeReports(int index) { - if (reportsBuilder_ == null) { - ensureReportsIsMutable(); - reports_.remove(index); - onChanged(); - } else { - reportsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public com.google.analytics.data.v1alpha.RunReportResponse.Builder getReportsBuilder( - int index) { - return getReportsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public com.google.analytics.data.v1alpha.RunReportResponseOrBuilder getReportsOrBuilder( - int index) { - if (reportsBuilder_ == null) { - return reports_.get(index); - } else { - return reportsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public java.util.List - getReportsOrBuilderList() { - if (reportsBuilder_ != null) { - return reportsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(reports_); - } - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public com.google.analytics.data.v1alpha.RunReportResponse.Builder addReportsBuilder() { - return getReportsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.RunReportResponse.getDefaultInstance()); - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public com.google.analytics.data.v1alpha.RunReportResponse.Builder addReportsBuilder( - int index) { - return getReportsFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1alpha.RunReportResponse.getDefaultInstance()); - } - /** - * - * - *
-     * Individual responses. Each response has a separate report request.
-     * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - public java.util.List - getReportsBuilderList() { - return getReportsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunReportResponse, - com.google.analytics.data.v1alpha.RunReportResponse.Builder, - com.google.analytics.data.v1alpha.RunReportResponseOrBuilder> - getReportsFieldBuilder() { - if (reportsBuilder_ == null) { - reportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.RunReportResponse, - com.google.analytics.data.v1alpha.RunReportResponse.Builder, - com.google.analytics.data.v1alpha.RunReportResponseOrBuilder>( - reports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - reports_ = null; - } - return reportsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.BatchRunReportsResponse) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.BatchRunReportsResponse) - private static final com.google.analytics.data.v1alpha.BatchRunReportsResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.BatchRunReportsResponse(); - } - - public static com.google.analytics.data.v1alpha.BatchRunReportsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchRunReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchRunReportsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.BatchRunReportsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsResponseOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsResponseOrBuilder.java deleted file mode 100644 index ac56a83e..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/BatchRunReportsResponseOrBuilder.java +++ /dev/null @@ -1,77 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface BatchRunReportsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.BatchRunReportsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Individual responses. Each response has a separate report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - java.util.List getReportsList(); - /** - * - * - *
-   * Individual responses. Each response has a separate report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - com.google.analytics.data.v1alpha.RunReportResponse getReports(int index); - /** - * - * - *
-   * Individual responses. Each response has a separate report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - int getReportsCount(); - /** - * - * - *
-   * Individual responses. Each response has a separate report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - java.util.List - getReportsOrBuilderList(); - /** - * - * - *
-   * Individual responses. Each response has a separate report request.
-   * 
- * - * repeated .google.analytics.data.v1alpha.RunReportResponse reports = 1; - */ - com.google.analytics.data.v1alpha.RunReportResponseOrBuilder getReportsOrBuilder(int index); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Cohort.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Cohort.java deleted file mode 100644 index 57b27504..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Cohort.java +++ /dev/null @@ -1,1271 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Defines a cohort selection criteria. A cohort is a group of users who share
- * a common characteristic. For example, users with the same `firstTouchDate`
- * belong to the same cohort.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Cohort} - */ -public final class Cohort extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Cohort) - CohortOrBuilder { - private static final long serialVersionUID = 0L; - // Use Cohort.newBuilder() to construct. - private Cohort(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Cohort() { - name_ = ""; - dimension_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Cohort(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Cohort( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - dimension_ = s; - break; - } - case 26: - { - com.google.analytics.data.v1alpha.DateRange.Builder subBuilder = null; - if (dateRange_ != null) { - subBuilder = dateRange_.toBuilder(); - } - dateRange_ = - input.readMessage( - com.google.analytics.data.v1alpha.DateRange.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dateRange_); - dateRange_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Cohort_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Cohort_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Cohort.class, - com.google.analytics.data.v1alpha.Cohort.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * Assigns a name to this cohort. The dimension `cohort` is valued to this
-   * name in a report response. If set, cannot begin with `cohort_` or
-   * `RESERVED_`. If not set, cohorts are named by their zero based index
-   * `cohort_0`, `cohort_1`, etc.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * Assigns a name to this cohort. The dimension `cohort` is valued to this
-   * name in a report response. If set, cannot begin with `cohort_` or
-   * `RESERVED_`. If not set, cohorts are named by their zero based index
-   * `cohort_0`, `cohort_1`, etc.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DIMENSION_FIELD_NUMBER = 2; - private volatile java.lang.Object dimension_; - /** - * - * - *
-   * Dimension used by the cohort. Required and only supports `firstTouchDate`.
-   * 
- * - * string dimension = 2; - * - * @return The dimension. - */ - @java.lang.Override - public java.lang.String getDimension() { - java.lang.Object ref = dimension_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dimension_ = s; - return s; - } - } - /** - * - * - *
-   * Dimension used by the cohort. Required and only supports `firstTouchDate`.
-   * 
- * - * string dimension = 2; - * - * @return The bytes for dimension. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDimensionBytes() { - java.lang.Object ref = dimension_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dimension_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATE_RANGE_FIELD_NUMBER = 3; - private com.google.analytics.data.v1alpha.DateRange dateRange_; - /** - * - * - *
-   * The cohort selects users whose first touch date is between start date and
-   * end date defined in the `dateRange`. This `dateRange` does not specify the
-   * full date range of event data that is present in a cohort report. In a
-   * cohort report, this `dateRange` is extended by the granularity and offset
-   * present in the `cohortsRange`; event data for the extended reporting date
-   * range is present in a cohort report.
-   * In a cohort request, this `dateRange` is required and the `dateRanges` in
-   * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-   * This `dateRange` should generally be aligned with the cohort's granularity.
-   * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-   * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-   * aligned to a week boundary, starting at Sunday and ending Saturday. If
-   * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-   * a month, starting at the first and ending on the last day of the month.
-   * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - * - * @return Whether the dateRange field is set. - */ - @java.lang.Override - public boolean hasDateRange() { - return dateRange_ != null; - } - /** - * - * - *
-   * The cohort selects users whose first touch date is between start date and
-   * end date defined in the `dateRange`. This `dateRange` does not specify the
-   * full date range of event data that is present in a cohort report. In a
-   * cohort report, this `dateRange` is extended by the granularity and offset
-   * present in the `cohortsRange`; event data for the extended reporting date
-   * range is present in a cohort report.
-   * In a cohort request, this `dateRange` is required and the `dateRanges` in
-   * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-   * This `dateRange` should generally be aligned with the cohort's granularity.
-   * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-   * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-   * aligned to a week boundary, starting at Sunday and ending Saturday. If
-   * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-   * a month, starting at the first and ending on the last day of the month.
-   * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - * - * @return The dateRange. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DateRange getDateRange() { - return dateRange_ == null - ? com.google.analytics.data.v1alpha.DateRange.getDefaultInstance() - : dateRange_; - } - /** - * - * - *
-   * The cohort selects users whose first touch date is between start date and
-   * end date defined in the `dateRange`. This `dateRange` does not specify the
-   * full date range of event data that is present in a cohort report. In a
-   * cohort report, this `dateRange` is extended by the granularity and offset
-   * present in the `cohortsRange`; event data for the extended reporting date
-   * range is present in a cohort report.
-   * In a cohort request, this `dateRange` is required and the `dateRanges` in
-   * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-   * This `dateRange` should generally be aligned with the cohort's granularity.
-   * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-   * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-   * aligned to a week boundary, starting at Sunday and ending Saturday. If
-   * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-   * a month, starting at the first and ending on the last day of the month.
-   * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DateRangeOrBuilder getDateRangeOrBuilder() { - return getDateRange(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!getDimensionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dimension_); - } - if (dateRange_ != null) { - output.writeMessage(3, getDateRange()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!getDimensionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dimension_); - } - if (dateRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDateRange()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Cohort)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Cohort other = (com.google.analytics.data.v1alpha.Cohort) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDimension().equals(other.getDimension())) return false; - if (hasDateRange() != other.hasDateRange()) return false; - if (hasDateRange()) { - if (!getDateRange().equals(other.getDateRange())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + DIMENSION_FIELD_NUMBER; - hash = (53 * hash) + getDimension().hashCode(); - if (hasDateRange()) { - hash = (37 * hash) + DATE_RANGE_FIELD_NUMBER; - hash = (53 * hash) + getDateRange().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Cohort parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Cohort parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Cohort parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Cohort parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Cohort parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Cohort parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Cohort parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Cohort parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Cohort parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Cohort parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Cohort parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Cohort parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.Cohort prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Defines a cohort selection criteria. A cohort is a group of users who share
-   * a common characteristic. For example, users with the same `firstTouchDate`
-   * belong to the same cohort.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Cohort} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Cohort) - com.google.analytics.data.v1alpha.CohortOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Cohort_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Cohort_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Cohort.class, - com.google.analytics.data.v1alpha.Cohort.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Cohort.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - dimension_ = ""; - - if (dateRangeBuilder_ == null) { - dateRange_ = null; - } else { - dateRange_ = null; - dateRangeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Cohort_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Cohort getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Cohort.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Cohort build() { - com.google.analytics.data.v1alpha.Cohort result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Cohort buildPartial() { - com.google.analytics.data.v1alpha.Cohort result = - new com.google.analytics.data.v1alpha.Cohort(this); - result.name_ = name_; - result.dimension_ = dimension_; - if (dateRangeBuilder_ == null) { - result.dateRange_ = dateRange_; - } else { - result.dateRange_ = dateRangeBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Cohort) { - return mergeFrom((com.google.analytics.data.v1alpha.Cohort) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Cohort other) { - if (other == com.google.analytics.data.v1alpha.Cohort.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getDimension().isEmpty()) { - dimension_ = other.dimension_; - onChanged(); - } - if (other.hasDateRange()) { - mergeDateRange(other.getDateRange()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Cohort parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.Cohort) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * Assigns a name to this cohort. The dimension `cohort` is valued to this
-     * name in a report response. If set, cannot begin with `cohort_` or
-     * `RESERVED_`. If not set, cohorts are named by their zero based index
-     * `cohort_0`, `cohort_1`, etc.
-     * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Assigns a name to this cohort. The dimension `cohort` is valued to this
-     * name in a report response. If set, cannot begin with `cohort_` or
-     * `RESERVED_`. If not set, cohorts are named by their zero based index
-     * `cohort_0`, `cohort_1`, etc.
-     * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Assigns a name to this cohort. The dimension `cohort` is valued to this
-     * name in a report response. If set, cannot begin with `cohort_` or
-     * `RESERVED_`. If not set, cohorts are named by their zero based index
-     * `cohort_0`, `cohort_1`, etc.
-     * 
- * - * string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Assigns a name to this cohort. The dimension `cohort` is valued to this
-     * name in a report response. If set, cannot begin with `cohort_` or
-     * `RESERVED_`. If not set, cohorts are named by their zero based index
-     * `cohort_0`, `cohort_1`, etc.
-     * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * Assigns a name to this cohort. The dimension `cohort` is valued to this
-     * name in a report response. If set, cannot begin with `cohort_` or
-     * `RESERVED_`. If not set, cohorts are named by their zero based index
-     * `cohort_0`, `cohort_1`, etc.
-     * 
- * - * string name = 1; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object dimension_ = ""; - /** - * - * - *
-     * Dimension used by the cohort. Required and only supports `firstTouchDate`.
-     * 
- * - * string dimension = 2; - * - * @return The dimension. - */ - public java.lang.String getDimension() { - java.lang.Object ref = dimension_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dimension_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Dimension used by the cohort. Required and only supports `firstTouchDate`.
-     * 
- * - * string dimension = 2; - * - * @return The bytes for dimension. - */ - public com.google.protobuf.ByteString getDimensionBytes() { - java.lang.Object ref = dimension_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dimension_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Dimension used by the cohort. Required and only supports `firstTouchDate`.
-     * 
- * - * string dimension = 2; - * - * @param value The dimension to set. - * @return This builder for chaining. - */ - public Builder setDimension(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - dimension_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Dimension used by the cohort. Required and only supports `firstTouchDate`.
-     * 
- * - * string dimension = 2; - * - * @return This builder for chaining. - */ - public Builder clearDimension() { - - dimension_ = getDefaultInstance().getDimension(); - onChanged(); - return this; - } - /** - * - * - *
-     * Dimension used by the cohort. Required and only supports `firstTouchDate`.
-     * 
- * - * string dimension = 2; - * - * @param value The bytes for dimension to set. - * @return This builder for chaining. - */ - public Builder setDimensionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - dimension_ = value; - onChanged(); - return this; - } - - private com.google.analytics.data.v1alpha.DateRange dateRange_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DateRange, - com.google.analytics.data.v1alpha.DateRange.Builder, - com.google.analytics.data.v1alpha.DateRangeOrBuilder> - dateRangeBuilder_; - /** - * - * - *
-     * The cohort selects users whose first touch date is between start date and
-     * end date defined in the `dateRange`. This `dateRange` does not specify the
-     * full date range of event data that is present in a cohort report. In a
-     * cohort report, this `dateRange` is extended by the granularity and offset
-     * present in the `cohortsRange`; event data for the extended reporting date
-     * range is present in a cohort report.
-     * In a cohort request, this `dateRange` is required and the `dateRanges` in
-     * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-     * This `dateRange` should generally be aligned with the cohort's granularity.
-     * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-     * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-     * aligned to a week boundary, starting at Sunday and ending Saturday. If
-     * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-     * a month, starting at the first and ending on the last day of the month.
-     * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - * - * @return Whether the dateRange field is set. - */ - public boolean hasDateRange() { - return dateRangeBuilder_ != null || dateRange_ != null; - } - /** - * - * - *
-     * The cohort selects users whose first touch date is between start date and
-     * end date defined in the `dateRange`. This `dateRange` does not specify the
-     * full date range of event data that is present in a cohort report. In a
-     * cohort report, this `dateRange` is extended by the granularity and offset
-     * present in the `cohortsRange`; event data for the extended reporting date
-     * range is present in a cohort report.
-     * In a cohort request, this `dateRange` is required and the `dateRanges` in
-     * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-     * This `dateRange` should generally be aligned with the cohort's granularity.
-     * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-     * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-     * aligned to a week boundary, starting at Sunday and ending Saturday. If
-     * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-     * a month, starting at the first and ending on the last day of the month.
-     * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - * - * @return The dateRange. - */ - public com.google.analytics.data.v1alpha.DateRange getDateRange() { - if (dateRangeBuilder_ == null) { - return dateRange_ == null - ? com.google.analytics.data.v1alpha.DateRange.getDefaultInstance() - : dateRange_; - } else { - return dateRangeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The cohort selects users whose first touch date is between start date and
-     * end date defined in the `dateRange`. This `dateRange` does not specify the
-     * full date range of event data that is present in a cohort report. In a
-     * cohort report, this `dateRange` is extended by the granularity and offset
-     * present in the `cohortsRange`; event data for the extended reporting date
-     * range is present in a cohort report.
-     * In a cohort request, this `dateRange` is required and the `dateRanges` in
-     * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-     * This `dateRange` should generally be aligned with the cohort's granularity.
-     * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-     * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-     * aligned to a week boundary, starting at Sunday and ending Saturday. If
-     * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-     * a month, starting at the first and ending on the last day of the month.
-     * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - */ - public Builder setDateRange(com.google.analytics.data.v1alpha.DateRange value) { - if (dateRangeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dateRange_ = value; - onChanged(); - } else { - dateRangeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * The cohort selects users whose first touch date is between start date and
-     * end date defined in the `dateRange`. This `dateRange` does not specify the
-     * full date range of event data that is present in a cohort report. In a
-     * cohort report, this `dateRange` is extended by the granularity and offset
-     * present in the `cohortsRange`; event data for the extended reporting date
-     * range is present in a cohort report.
-     * In a cohort request, this `dateRange` is required and the `dateRanges` in
-     * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-     * This `dateRange` should generally be aligned with the cohort's granularity.
-     * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-     * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-     * aligned to a week boundary, starting at Sunday and ending Saturday. If
-     * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-     * a month, starting at the first and ending on the last day of the month.
-     * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - */ - public Builder setDateRange( - com.google.analytics.data.v1alpha.DateRange.Builder builderForValue) { - if (dateRangeBuilder_ == null) { - dateRange_ = builderForValue.build(); - onChanged(); - } else { - dateRangeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * The cohort selects users whose first touch date is between start date and
-     * end date defined in the `dateRange`. This `dateRange` does not specify the
-     * full date range of event data that is present in a cohort report. In a
-     * cohort report, this `dateRange` is extended by the granularity and offset
-     * present in the `cohortsRange`; event data for the extended reporting date
-     * range is present in a cohort report.
-     * In a cohort request, this `dateRange` is required and the `dateRanges` in
-     * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-     * This `dateRange` should generally be aligned with the cohort's granularity.
-     * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-     * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-     * aligned to a week boundary, starting at Sunday and ending Saturday. If
-     * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-     * a month, starting at the first and ending on the last day of the month.
-     * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - */ - public Builder mergeDateRange(com.google.analytics.data.v1alpha.DateRange value) { - if (dateRangeBuilder_ == null) { - if (dateRange_ != null) { - dateRange_ = - com.google.analytics.data.v1alpha.DateRange.newBuilder(dateRange_) - .mergeFrom(value) - .buildPartial(); - } else { - dateRange_ = value; - } - onChanged(); - } else { - dateRangeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * The cohort selects users whose first touch date is between start date and
-     * end date defined in the `dateRange`. This `dateRange` does not specify the
-     * full date range of event data that is present in a cohort report. In a
-     * cohort report, this `dateRange` is extended by the granularity and offset
-     * present in the `cohortsRange`; event data for the extended reporting date
-     * range is present in a cohort report.
-     * In a cohort request, this `dateRange` is required and the `dateRanges` in
-     * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-     * This `dateRange` should generally be aligned with the cohort's granularity.
-     * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-     * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-     * aligned to a week boundary, starting at Sunday and ending Saturday. If
-     * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-     * a month, starting at the first and ending on the last day of the month.
-     * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - */ - public Builder clearDateRange() { - if (dateRangeBuilder_ == null) { - dateRange_ = null; - onChanged(); - } else { - dateRange_ = null; - dateRangeBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * The cohort selects users whose first touch date is between start date and
-     * end date defined in the `dateRange`. This `dateRange` does not specify the
-     * full date range of event data that is present in a cohort report. In a
-     * cohort report, this `dateRange` is extended by the granularity and offset
-     * present in the `cohortsRange`; event data for the extended reporting date
-     * range is present in a cohort report.
-     * In a cohort request, this `dateRange` is required and the `dateRanges` in
-     * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-     * This `dateRange` should generally be aligned with the cohort's granularity.
-     * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-     * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-     * aligned to a week boundary, starting at Sunday and ending Saturday. If
-     * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-     * a month, starting at the first and ending on the last day of the month.
-     * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - */ - public com.google.analytics.data.v1alpha.DateRange.Builder getDateRangeBuilder() { - - onChanged(); - return getDateRangeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The cohort selects users whose first touch date is between start date and
-     * end date defined in the `dateRange`. This `dateRange` does not specify the
-     * full date range of event data that is present in a cohort report. In a
-     * cohort report, this `dateRange` is extended by the granularity and offset
-     * present in the `cohortsRange`; event data for the extended reporting date
-     * range is present in a cohort report.
-     * In a cohort request, this `dateRange` is required and the `dateRanges` in
-     * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-     * This `dateRange` should generally be aligned with the cohort's granularity.
-     * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-     * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-     * aligned to a week boundary, starting at Sunday and ending Saturday. If
-     * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-     * a month, starting at the first and ending on the last day of the month.
-     * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - */ - public com.google.analytics.data.v1alpha.DateRangeOrBuilder getDateRangeOrBuilder() { - if (dateRangeBuilder_ != null) { - return dateRangeBuilder_.getMessageOrBuilder(); - } else { - return dateRange_ == null - ? com.google.analytics.data.v1alpha.DateRange.getDefaultInstance() - : dateRange_; - } - } - /** - * - * - *
-     * The cohort selects users whose first touch date is between start date and
-     * end date defined in the `dateRange`. This `dateRange` does not specify the
-     * full date range of event data that is present in a cohort report. In a
-     * cohort report, this `dateRange` is extended by the granularity and offset
-     * present in the `cohortsRange`; event data for the extended reporting date
-     * range is present in a cohort report.
-     * In a cohort request, this `dateRange` is required and the `dateRanges` in
-     * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-     * This `dateRange` should generally be aligned with the cohort's granularity.
-     * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-     * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-     * aligned to a week boundary, starting at Sunday and ending Saturday. If
-     * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-     * a month, starting at the first and ending on the last day of the month.
-     * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DateRange, - com.google.analytics.data.v1alpha.DateRange.Builder, - com.google.analytics.data.v1alpha.DateRangeOrBuilder> - getDateRangeFieldBuilder() { - if (dateRangeBuilder_ == null) { - dateRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DateRange, - com.google.analytics.data.v1alpha.DateRange.Builder, - com.google.analytics.data.v1alpha.DateRangeOrBuilder>( - getDateRange(), getParentForChildren(), isClean()); - dateRange_ = null; - } - return dateRangeBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Cohort) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Cohort) - private static final com.google.analytics.data.v1alpha.Cohort DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Cohort(); - } - - public static com.google.analytics.data.v1alpha.Cohort getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cohort parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Cohort(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Cohort getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortOrBuilder.java deleted file mode 100644 index 611b0108..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortOrBuilder.java +++ /dev/null @@ -1,155 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface CohortOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Cohort) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Assigns a name to this cohort. The dimension `cohort` is valued to this
-   * name in a report response. If set, cannot begin with `cohort_` or
-   * `RESERVED_`. If not set, cohorts are named by their zero based index
-   * `cohort_0`, `cohort_1`, etc.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Assigns a name to this cohort. The dimension `cohort` is valued to this
-   * name in a report response. If set, cannot begin with `cohort_` or
-   * `RESERVED_`. If not set, cohorts are named by their zero based index
-   * `cohort_0`, `cohort_1`, etc.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Dimension used by the cohort. Required and only supports `firstTouchDate`.
-   * 
- * - * string dimension = 2; - * - * @return The dimension. - */ - java.lang.String getDimension(); - /** - * - * - *
-   * Dimension used by the cohort. Required and only supports `firstTouchDate`.
-   * 
- * - * string dimension = 2; - * - * @return The bytes for dimension. - */ - com.google.protobuf.ByteString getDimensionBytes(); - - /** - * - * - *
-   * The cohort selects users whose first touch date is between start date and
-   * end date defined in the `dateRange`. This `dateRange` does not specify the
-   * full date range of event data that is present in a cohort report. In a
-   * cohort report, this `dateRange` is extended by the granularity and offset
-   * present in the `cohortsRange`; event data for the extended reporting date
-   * range is present in a cohort report.
-   * In a cohort request, this `dateRange` is required and the `dateRanges` in
-   * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-   * This `dateRange` should generally be aligned with the cohort's granularity.
-   * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-   * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-   * aligned to a week boundary, starting at Sunday and ending Saturday. If
-   * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-   * a month, starting at the first and ending on the last day of the month.
-   * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - * - * @return Whether the dateRange field is set. - */ - boolean hasDateRange(); - /** - * - * - *
-   * The cohort selects users whose first touch date is between start date and
-   * end date defined in the `dateRange`. This `dateRange` does not specify the
-   * full date range of event data that is present in a cohort report. In a
-   * cohort report, this `dateRange` is extended by the granularity and offset
-   * present in the `cohortsRange`; event data for the extended reporting date
-   * range is present in a cohort report.
-   * In a cohort request, this `dateRange` is required and the `dateRanges` in
-   * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-   * This `dateRange` should generally be aligned with the cohort's granularity.
-   * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-   * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-   * aligned to a week boundary, starting at Sunday and ending Saturday. If
-   * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-   * a month, starting at the first and ending on the last day of the month.
-   * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - * - * @return The dateRange. - */ - com.google.analytics.data.v1alpha.DateRange getDateRange(); - /** - * - * - *
-   * The cohort selects users whose first touch date is between start date and
-   * end date defined in the `dateRange`. This `dateRange` does not specify the
-   * full date range of event data that is present in a cohort report. In a
-   * cohort report, this `dateRange` is extended by the granularity and offset
-   * present in the `cohortsRange`; event data for the extended reporting date
-   * range is present in a cohort report.
-   * In a cohort request, this `dateRange` is required and the `dateRanges` in
-   * the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
-   * This `dateRange` should generally be aligned with the cohort's granularity.
-   * If `CohortsRange` uses daily granularity, this `dateRange` can be a single
-   * day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
-   * aligned to a week boundary, starting at Sunday and ending Saturday. If
-   * `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
-   * a month, starting at the first and ending on the last day of the month.
-   * 
- * - * .google.analytics.data.v1alpha.DateRange date_range = 3; - */ - com.google.analytics.data.v1alpha.DateRangeOrBuilder getDateRangeOrBuilder(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortReportSettings.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortReportSettings.java deleted file mode 100644 index 0b069a74..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortReportSettings.java +++ /dev/null @@ -1,551 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Optional settings of a cohort report.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.CohortReportSettings} - */ -public final class CohortReportSettings extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.CohortReportSettings) - CohortReportSettingsOrBuilder { - private static final long serialVersionUID = 0L; - // Use CohortReportSettings.newBuilder() to construct. - private CohortReportSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CohortReportSettings() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CohortReportSettings(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CohortReportSettings( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - accumulate_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortReportSettings_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortReportSettings_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.CohortReportSettings.class, - com.google.analytics.data.v1alpha.CohortReportSettings.Builder.class); - } - - public static final int ACCUMULATE_FIELD_NUMBER = 1; - private boolean accumulate_; - /** - * - * - *
-   * If true, accumulates the result from first touch day to the end day. Not
-   * supported in `RunReportRequest`.
-   * 
- * - * bool accumulate = 1; - * - * @return The accumulate. - */ - @java.lang.Override - public boolean getAccumulate() { - return accumulate_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (accumulate_ != false) { - output.writeBool(1, accumulate_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (accumulate_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, accumulate_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.CohortReportSettings)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.CohortReportSettings other = - (com.google.analytics.data.v1alpha.CohortReportSettings) obj; - - if (getAccumulate() != other.getAccumulate()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ACCUMULATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAccumulate()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.CohortReportSettings prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Optional settings of a cohort report.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.CohortReportSettings} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.CohortReportSettings) - com.google.analytics.data.v1alpha.CohortReportSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortReportSettings_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortReportSettings_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.CohortReportSettings.class, - com.google.analytics.data.v1alpha.CohortReportSettings.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.CohortReportSettings.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - accumulate_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortReportSettings_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortReportSettings getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.CohortReportSettings.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortReportSettings build() { - com.google.analytics.data.v1alpha.CohortReportSettings result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortReportSettings buildPartial() { - com.google.analytics.data.v1alpha.CohortReportSettings result = - new com.google.analytics.data.v1alpha.CohortReportSettings(this); - result.accumulate_ = accumulate_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.CohortReportSettings) { - return mergeFrom((com.google.analytics.data.v1alpha.CohortReportSettings) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.CohortReportSettings other) { - if (other == com.google.analytics.data.v1alpha.CohortReportSettings.getDefaultInstance()) - return this; - if (other.getAccumulate() != false) { - setAccumulate(other.getAccumulate()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.CohortReportSettings parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.CohortReportSettings) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private boolean accumulate_; - /** - * - * - *
-     * If true, accumulates the result from first touch day to the end day. Not
-     * supported in `RunReportRequest`.
-     * 
- * - * bool accumulate = 1; - * - * @return The accumulate. - */ - @java.lang.Override - public boolean getAccumulate() { - return accumulate_; - } - /** - * - * - *
-     * If true, accumulates the result from first touch day to the end day. Not
-     * supported in `RunReportRequest`.
-     * 
- * - * bool accumulate = 1; - * - * @param value The accumulate to set. - * @return This builder for chaining. - */ - public Builder setAccumulate(boolean value) { - - accumulate_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * If true, accumulates the result from first touch day to the end day. Not
-     * supported in `RunReportRequest`.
-     * 
- * - * bool accumulate = 1; - * - * @return This builder for chaining. - */ - public Builder clearAccumulate() { - - accumulate_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.CohortReportSettings) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.CohortReportSettings) - private static final com.google.analytics.data.v1alpha.CohortReportSettings DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.CohortReportSettings(); - } - - public static com.google.analytics.data.v1alpha.CohortReportSettings getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CohortReportSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CohortReportSettings(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortReportSettings getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortReportSettingsOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortReportSettingsOrBuilder.java deleted file mode 100644 index 62fec71a..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortReportSettingsOrBuilder.java +++ /dev/null @@ -1,39 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface CohortReportSettingsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.CohortReportSettings) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * If true, accumulates the result from first touch day to the end day. Not
-   * supported in `RunReportRequest`.
-   * 
- * - * bool accumulate = 1; - * - * @return The accumulate. - */ - boolean getAccumulate(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortSpec.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortSpec.java deleted file mode 100644 index 61ab08a1..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortSpec.java +++ /dev/null @@ -1,1589 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Specification of cohorts for a cohort report.
- * Cohort reports can be used for example to create a time series of user
- * retention for the cohort. For example, you could select the cohort of users
- * that were acquired in the first week of September and follow that cohort for
- * the next six weeks. Selecting the users acquired in the first week of
- * September cohort is specified in the `cohort` object. Following that
- * cohort for the next six weeks is specified in the `cohortsRange` object.
- * The report response could show a weekly time series where say your app has
- * retained 60% of this cohort after three weeks and 25% of this cohort after
- * six weeks. These two percentages can be calculated by the metric
- * `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the report.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.CohortSpec} - */ -public final class CohortSpec extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.CohortSpec) - CohortSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use CohortSpec.newBuilder() to construct. - private CohortSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CohortSpec() { - cohorts_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CohortSpec(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CohortSpec( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - cohorts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - cohorts_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Cohort.parser(), extensionRegistry)); - break; - } - case 18: - { - com.google.analytics.data.v1alpha.CohortsRange.Builder subBuilder = null; - if (cohortsRange_ != null) { - subBuilder = cohortsRange_.toBuilder(); - } - cohortsRange_ = - input.readMessage( - com.google.analytics.data.v1alpha.CohortsRange.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cohortsRange_); - cohortsRange_ = subBuilder.buildPartial(); - } - - break; - } - case 26: - { - com.google.analytics.data.v1alpha.CohortReportSettings.Builder subBuilder = null; - if (cohortReportSettings_ != null) { - subBuilder = cohortReportSettings_.toBuilder(); - } - cohortReportSettings_ = - input.readMessage( - com.google.analytics.data.v1alpha.CohortReportSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cohortReportSettings_); - cohortReportSettings_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - cohorts_ = java.util.Collections.unmodifiableList(cohorts_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.CohortSpec.class, - com.google.analytics.data.v1alpha.CohortSpec.Builder.class); - } - - public static final int COHORTS_FIELD_NUMBER = 1; - private java.util.List cohorts_; - /** - * - * - *
-   * Defines the selection criteria to group users into cohorts.
-   * Most cohort reports define only a single cohort. If multiple cohorts are
-   * specified, each cohort can be recognized in the report by their name.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - @java.lang.Override - public java.util.List getCohortsList() { - return cohorts_; - } - /** - * - * - *
-   * Defines the selection criteria to group users into cohorts.
-   * Most cohort reports define only a single cohort. If multiple cohorts are
-   * specified, each cohort can be recognized in the report by their name.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - @java.lang.Override - public java.util.List - getCohortsOrBuilderList() { - return cohorts_; - } - /** - * - * - *
-   * Defines the selection criteria to group users into cohorts.
-   * Most cohort reports define only a single cohort. If multiple cohorts are
-   * specified, each cohort can be recognized in the report by their name.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - @java.lang.Override - public int getCohortsCount() { - return cohorts_.size(); - } - /** - * - * - *
-   * Defines the selection criteria to group users into cohorts.
-   * Most cohort reports define only a single cohort. If multiple cohorts are
-   * specified, each cohort can be recognized in the report by their name.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Cohort getCohorts(int index) { - return cohorts_.get(index); - } - /** - * - * - *
-   * Defines the selection criteria to group users into cohorts.
-   * Most cohort reports define only a single cohort. If multiple cohorts are
-   * specified, each cohort can be recognized in the report by their name.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortOrBuilder getCohortsOrBuilder(int index) { - return cohorts_.get(index); - } - - public static final int COHORTS_RANGE_FIELD_NUMBER = 2; - private com.google.analytics.data.v1alpha.CohortsRange cohortsRange_; - /** - * - * - *
-   * Cohort reports follow cohorts over an extended reporting date range. This
-   * range specifies an offset duration to follow the cohorts over.
-   * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - * - * @return Whether the cohortsRange field is set. - */ - @java.lang.Override - public boolean hasCohortsRange() { - return cohortsRange_ != null; - } - /** - * - * - *
-   * Cohort reports follow cohorts over an extended reporting date range. This
-   * range specifies an offset duration to follow the cohorts over.
-   * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - * - * @return The cohortsRange. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortsRange getCohortsRange() { - return cohortsRange_ == null - ? com.google.analytics.data.v1alpha.CohortsRange.getDefaultInstance() - : cohortsRange_; - } - /** - * - * - *
-   * Cohort reports follow cohorts over an extended reporting date range. This
-   * range specifies an offset duration to follow the cohorts over.
-   * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortsRangeOrBuilder getCohortsRangeOrBuilder() { - return getCohortsRange(); - } - - public static final int COHORT_REPORT_SETTINGS_FIELD_NUMBER = 3; - private com.google.analytics.data.v1alpha.CohortReportSettings cohortReportSettings_; - /** - * - * - *
-   * Optional settings for a cohort report.
-   * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - * - * @return Whether the cohortReportSettings field is set. - */ - @java.lang.Override - public boolean hasCohortReportSettings() { - return cohortReportSettings_ != null; - } - /** - * - * - *
-   * Optional settings for a cohort report.
-   * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - * - * @return The cohortReportSettings. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortReportSettings getCohortReportSettings() { - return cohortReportSettings_ == null - ? com.google.analytics.data.v1alpha.CohortReportSettings.getDefaultInstance() - : cohortReportSettings_; - } - /** - * - * - *
-   * Optional settings for a cohort report.
-   * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortReportSettingsOrBuilder - getCohortReportSettingsOrBuilder() { - return getCohortReportSettings(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < cohorts_.size(); i++) { - output.writeMessage(1, cohorts_.get(i)); - } - if (cohortsRange_ != null) { - output.writeMessage(2, getCohortsRange()); - } - if (cohortReportSettings_ != null) { - output.writeMessage(3, getCohortReportSettings()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < cohorts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, cohorts_.get(i)); - } - if (cohortsRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCohortsRange()); - } - if (cohortReportSettings_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCohortReportSettings()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.CohortSpec)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.CohortSpec other = - (com.google.analytics.data.v1alpha.CohortSpec) obj; - - if (!getCohortsList().equals(other.getCohortsList())) return false; - if (hasCohortsRange() != other.hasCohortsRange()) return false; - if (hasCohortsRange()) { - if (!getCohortsRange().equals(other.getCohortsRange())) return false; - } - if (hasCohortReportSettings() != other.hasCohortReportSettings()) return false; - if (hasCohortReportSettings()) { - if (!getCohortReportSettings().equals(other.getCohortReportSettings())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getCohortsCount() > 0) { - hash = (37 * hash) + COHORTS_FIELD_NUMBER; - hash = (53 * hash) + getCohortsList().hashCode(); - } - if (hasCohortsRange()) { - hash = (37 * hash) + COHORTS_RANGE_FIELD_NUMBER; - hash = (53 * hash) + getCohortsRange().hashCode(); - } - if (hasCohortReportSettings()) { - hash = (37 * hash) + COHORT_REPORT_SETTINGS_FIELD_NUMBER; - hash = (53 * hash) + getCohortReportSettings().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.CohortSpec parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.CohortSpec prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Specification of cohorts for a cohort report.
-   * Cohort reports can be used for example to create a time series of user
-   * retention for the cohort. For example, you could select the cohort of users
-   * that were acquired in the first week of September and follow that cohort for
-   * the next six weeks. Selecting the users acquired in the first week of
-   * September cohort is specified in the `cohort` object. Following that
-   * cohort for the next six weeks is specified in the `cohortsRange` object.
-   * The report response could show a weekly time series where say your app has
-   * retained 60% of this cohort after three weeks and 25% of this cohort after
-   * six weeks. These two percentages can be calculated by the metric
-   * `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the report.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.CohortSpec} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.CohortSpec) - com.google.analytics.data.v1alpha.CohortSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.CohortSpec.class, - com.google.analytics.data.v1alpha.CohortSpec.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.CohortSpec.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getCohortsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (cohortsBuilder_ == null) { - cohorts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - cohortsBuilder_.clear(); - } - if (cohortsRangeBuilder_ == null) { - cohortsRange_ = null; - } else { - cohortsRange_ = null; - cohortsRangeBuilder_ = null; - } - if (cohortReportSettingsBuilder_ == null) { - cohortReportSettings_ = null; - } else { - cohortReportSettings_ = null; - cohortReportSettingsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortSpec_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortSpec getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.CohortSpec.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortSpec build() { - com.google.analytics.data.v1alpha.CohortSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortSpec buildPartial() { - com.google.analytics.data.v1alpha.CohortSpec result = - new com.google.analytics.data.v1alpha.CohortSpec(this); - int from_bitField0_ = bitField0_; - if (cohortsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - cohorts_ = java.util.Collections.unmodifiableList(cohorts_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.cohorts_ = cohorts_; - } else { - result.cohorts_ = cohortsBuilder_.build(); - } - if (cohortsRangeBuilder_ == null) { - result.cohortsRange_ = cohortsRange_; - } else { - result.cohortsRange_ = cohortsRangeBuilder_.build(); - } - if (cohortReportSettingsBuilder_ == null) { - result.cohortReportSettings_ = cohortReportSettings_; - } else { - result.cohortReportSettings_ = cohortReportSettingsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.CohortSpec) { - return mergeFrom((com.google.analytics.data.v1alpha.CohortSpec) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.CohortSpec other) { - if (other == com.google.analytics.data.v1alpha.CohortSpec.getDefaultInstance()) return this; - if (cohortsBuilder_ == null) { - if (!other.cohorts_.isEmpty()) { - if (cohorts_.isEmpty()) { - cohorts_ = other.cohorts_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureCohortsIsMutable(); - cohorts_.addAll(other.cohorts_); - } - onChanged(); - } - } else { - if (!other.cohorts_.isEmpty()) { - if (cohortsBuilder_.isEmpty()) { - cohortsBuilder_.dispose(); - cohortsBuilder_ = null; - cohorts_ = other.cohorts_; - bitField0_ = (bitField0_ & ~0x00000001); - cohortsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCohortsFieldBuilder() - : null; - } else { - cohortsBuilder_.addAllMessages(other.cohorts_); - } - } - } - if (other.hasCohortsRange()) { - mergeCohortsRange(other.getCohortsRange()); - } - if (other.hasCohortReportSettings()) { - mergeCohortReportSettings(other.getCohortReportSettings()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.CohortSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.CohortSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List cohorts_ = - java.util.Collections.emptyList(); - - private void ensureCohortsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - cohorts_ = new java.util.ArrayList(cohorts_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Cohort, - com.google.analytics.data.v1alpha.Cohort.Builder, - com.google.analytics.data.v1alpha.CohortOrBuilder> - cohortsBuilder_; - - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public java.util.List getCohortsList() { - if (cohortsBuilder_ == null) { - return java.util.Collections.unmodifiableList(cohorts_); - } else { - return cohortsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public int getCohortsCount() { - if (cohortsBuilder_ == null) { - return cohorts_.size(); - } else { - return cohortsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public com.google.analytics.data.v1alpha.Cohort getCohorts(int index) { - if (cohortsBuilder_ == null) { - return cohorts_.get(index); - } else { - return cohortsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public Builder setCohorts(int index, com.google.analytics.data.v1alpha.Cohort value) { - if (cohortsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureCohortsIsMutable(); - cohorts_.set(index, value); - onChanged(); - } else { - cohortsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public Builder setCohorts( - int index, com.google.analytics.data.v1alpha.Cohort.Builder builderForValue) { - if (cohortsBuilder_ == null) { - ensureCohortsIsMutable(); - cohorts_.set(index, builderForValue.build()); - onChanged(); - } else { - cohortsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public Builder addCohorts(com.google.analytics.data.v1alpha.Cohort value) { - if (cohortsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureCohortsIsMutable(); - cohorts_.add(value); - onChanged(); - } else { - cohortsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public Builder addCohorts(int index, com.google.analytics.data.v1alpha.Cohort value) { - if (cohortsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureCohortsIsMutable(); - cohorts_.add(index, value); - onChanged(); - } else { - cohortsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public Builder addCohorts(com.google.analytics.data.v1alpha.Cohort.Builder builderForValue) { - if (cohortsBuilder_ == null) { - ensureCohortsIsMutable(); - cohorts_.add(builderForValue.build()); - onChanged(); - } else { - cohortsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public Builder addCohorts( - int index, com.google.analytics.data.v1alpha.Cohort.Builder builderForValue) { - if (cohortsBuilder_ == null) { - ensureCohortsIsMutable(); - cohorts_.add(index, builderForValue.build()); - onChanged(); - } else { - cohortsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public Builder addAllCohorts( - java.lang.Iterable values) { - if (cohortsBuilder_ == null) { - ensureCohortsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cohorts_); - onChanged(); - } else { - cohortsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public Builder clearCohorts() { - if (cohortsBuilder_ == null) { - cohorts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - cohortsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public Builder removeCohorts(int index) { - if (cohortsBuilder_ == null) { - ensureCohortsIsMutable(); - cohorts_.remove(index); - onChanged(); - } else { - cohortsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public com.google.analytics.data.v1alpha.Cohort.Builder getCohortsBuilder(int index) { - return getCohortsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public com.google.analytics.data.v1alpha.CohortOrBuilder getCohortsOrBuilder(int index) { - if (cohortsBuilder_ == null) { - return cohorts_.get(index); - } else { - return cohortsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public java.util.List - getCohortsOrBuilderList() { - if (cohortsBuilder_ != null) { - return cohortsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(cohorts_); - } - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public com.google.analytics.data.v1alpha.Cohort.Builder addCohortsBuilder() { - return getCohortsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Cohort.getDefaultInstance()); - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public com.google.analytics.data.v1alpha.Cohort.Builder addCohortsBuilder(int index) { - return getCohortsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Cohort.getDefaultInstance()); - } - /** - * - * - *
-     * Defines the selection criteria to group users into cohorts.
-     * Most cohort reports define only a single cohort. If multiple cohorts are
-     * specified, each cohort can be recognized in the report by their name.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - public java.util.List - getCohortsBuilderList() { - return getCohortsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Cohort, - com.google.analytics.data.v1alpha.Cohort.Builder, - com.google.analytics.data.v1alpha.CohortOrBuilder> - getCohortsFieldBuilder() { - if (cohortsBuilder_ == null) { - cohortsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Cohort, - com.google.analytics.data.v1alpha.Cohort.Builder, - com.google.analytics.data.v1alpha.CohortOrBuilder>( - cohorts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - cohorts_ = null; - } - return cohortsBuilder_; - } - - private com.google.analytics.data.v1alpha.CohortsRange cohortsRange_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortsRange, - com.google.analytics.data.v1alpha.CohortsRange.Builder, - com.google.analytics.data.v1alpha.CohortsRangeOrBuilder> - cohortsRangeBuilder_; - /** - * - * - *
-     * Cohort reports follow cohorts over an extended reporting date range. This
-     * range specifies an offset duration to follow the cohorts over.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - * - * @return Whether the cohortsRange field is set. - */ - public boolean hasCohortsRange() { - return cohortsRangeBuilder_ != null || cohortsRange_ != null; - } - /** - * - * - *
-     * Cohort reports follow cohorts over an extended reporting date range. This
-     * range specifies an offset duration to follow the cohorts over.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - * - * @return The cohortsRange. - */ - public com.google.analytics.data.v1alpha.CohortsRange getCohortsRange() { - if (cohortsRangeBuilder_ == null) { - return cohortsRange_ == null - ? com.google.analytics.data.v1alpha.CohortsRange.getDefaultInstance() - : cohortsRange_; - } else { - return cohortsRangeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Cohort reports follow cohorts over an extended reporting date range. This
-     * range specifies an offset duration to follow the cohorts over.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - */ - public Builder setCohortsRange(com.google.analytics.data.v1alpha.CohortsRange value) { - if (cohortsRangeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - cohortsRange_ = value; - onChanged(); - } else { - cohortsRangeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Cohort reports follow cohorts over an extended reporting date range. This
-     * range specifies an offset duration to follow the cohorts over.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - */ - public Builder setCohortsRange( - com.google.analytics.data.v1alpha.CohortsRange.Builder builderForValue) { - if (cohortsRangeBuilder_ == null) { - cohortsRange_ = builderForValue.build(); - onChanged(); - } else { - cohortsRangeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Cohort reports follow cohorts over an extended reporting date range. This
-     * range specifies an offset duration to follow the cohorts over.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - */ - public Builder mergeCohortsRange(com.google.analytics.data.v1alpha.CohortsRange value) { - if (cohortsRangeBuilder_ == null) { - if (cohortsRange_ != null) { - cohortsRange_ = - com.google.analytics.data.v1alpha.CohortsRange.newBuilder(cohortsRange_) - .mergeFrom(value) - .buildPartial(); - } else { - cohortsRange_ = value; - } - onChanged(); - } else { - cohortsRangeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Cohort reports follow cohorts over an extended reporting date range. This
-     * range specifies an offset duration to follow the cohorts over.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - */ - public Builder clearCohortsRange() { - if (cohortsRangeBuilder_ == null) { - cohortsRange_ = null; - onChanged(); - } else { - cohortsRange_ = null; - cohortsRangeBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Cohort reports follow cohorts over an extended reporting date range. This
-     * range specifies an offset duration to follow the cohorts over.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - */ - public com.google.analytics.data.v1alpha.CohortsRange.Builder getCohortsRangeBuilder() { - - onChanged(); - return getCohortsRangeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Cohort reports follow cohorts over an extended reporting date range. This
-     * range specifies an offset duration to follow the cohorts over.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - */ - public com.google.analytics.data.v1alpha.CohortsRangeOrBuilder getCohortsRangeOrBuilder() { - if (cohortsRangeBuilder_ != null) { - return cohortsRangeBuilder_.getMessageOrBuilder(); - } else { - return cohortsRange_ == null - ? com.google.analytics.data.v1alpha.CohortsRange.getDefaultInstance() - : cohortsRange_; - } - } - /** - * - * - *
-     * Cohort reports follow cohorts over an extended reporting date range. This
-     * range specifies an offset duration to follow the cohorts over.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortsRange, - com.google.analytics.data.v1alpha.CohortsRange.Builder, - com.google.analytics.data.v1alpha.CohortsRangeOrBuilder> - getCohortsRangeFieldBuilder() { - if (cohortsRangeBuilder_ == null) { - cohortsRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortsRange, - com.google.analytics.data.v1alpha.CohortsRange.Builder, - com.google.analytics.data.v1alpha.CohortsRangeOrBuilder>( - getCohortsRange(), getParentForChildren(), isClean()); - cohortsRange_ = null; - } - return cohortsRangeBuilder_; - } - - private com.google.analytics.data.v1alpha.CohortReportSettings cohortReportSettings_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortReportSettings, - com.google.analytics.data.v1alpha.CohortReportSettings.Builder, - com.google.analytics.data.v1alpha.CohortReportSettingsOrBuilder> - cohortReportSettingsBuilder_; - /** - * - * - *
-     * Optional settings for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - * - * @return Whether the cohortReportSettings field is set. - */ - public boolean hasCohortReportSettings() { - return cohortReportSettingsBuilder_ != null || cohortReportSettings_ != null; - } - /** - * - * - *
-     * Optional settings for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - * - * @return The cohortReportSettings. - */ - public com.google.analytics.data.v1alpha.CohortReportSettings getCohortReportSettings() { - if (cohortReportSettingsBuilder_ == null) { - return cohortReportSettings_ == null - ? com.google.analytics.data.v1alpha.CohortReportSettings.getDefaultInstance() - : cohortReportSettings_; - } else { - return cohortReportSettingsBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Optional settings for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - */ - public Builder setCohortReportSettings( - com.google.analytics.data.v1alpha.CohortReportSettings value) { - if (cohortReportSettingsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - cohortReportSettings_ = value; - onChanged(); - } else { - cohortReportSettingsBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Optional settings for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - */ - public Builder setCohortReportSettings( - com.google.analytics.data.v1alpha.CohortReportSettings.Builder builderForValue) { - if (cohortReportSettingsBuilder_ == null) { - cohortReportSettings_ = builderForValue.build(); - onChanged(); - } else { - cohortReportSettingsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Optional settings for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - */ - public Builder mergeCohortReportSettings( - com.google.analytics.data.v1alpha.CohortReportSettings value) { - if (cohortReportSettingsBuilder_ == null) { - if (cohortReportSettings_ != null) { - cohortReportSettings_ = - com.google.analytics.data.v1alpha.CohortReportSettings.newBuilder( - cohortReportSettings_) - .mergeFrom(value) - .buildPartial(); - } else { - cohortReportSettings_ = value; - } - onChanged(); - } else { - cohortReportSettingsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Optional settings for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - */ - public Builder clearCohortReportSettings() { - if (cohortReportSettingsBuilder_ == null) { - cohortReportSettings_ = null; - onChanged(); - } else { - cohortReportSettings_ = null; - cohortReportSettingsBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Optional settings for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - */ - public com.google.analytics.data.v1alpha.CohortReportSettings.Builder - getCohortReportSettingsBuilder() { - - onChanged(); - return getCohortReportSettingsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Optional settings for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - */ - public com.google.analytics.data.v1alpha.CohortReportSettingsOrBuilder - getCohortReportSettingsOrBuilder() { - if (cohortReportSettingsBuilder_ != null) { - return cohortReportSettingsBuilder_.getMessageOrBuilder(); - } else { - return cohortReportSettings_ == null - ? com.google.analytics.data.v1alpha.CohortReportSettings.getDefaultInstance() - : cohortReportSettings_; - } - } - /** - * - * - *
-     * Optional settings for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortReportSettings, - com.google.analytics.data.v1alpha.CohortReportSettings.Builder, - com.google.analytics.data.v1alpha.CohortReportSettingsOrBuilder> - getCohortReportSettingsFieldBuilder() { - if (cohortReportSettingsBuilder_ == null) { - cohortReportSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortReportSettings, - com.google.analytics.data.v1alpha.CohortReportSettings.Builder, - com.google.analytics.data.v1alpha.CohortReportSettingsOrBuilder>( - getCohortReportSettings(), getParentForChildren(), isClean()); - cohortReportSettings_ = null; - } - return cohortReportSettingsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.CohortSpec) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.CohortSpec) - private static final com.google.analytics.data.v1alpha.CohortSpec DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.CohortSpec(); - } - - public static com.google.analytics.data.v1alpha.CohortSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CohortSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CohortSpec(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortSpecOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortSpecOrBuilder.java deleted file mode 100644 index 7742bd5b..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortSpecOrBuilder.java +++ /dev/null @@ -1,161 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface CohortSpecOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.CohortSpec) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Defines the selection criteria to group users into cohorts.
-   * Most cohort reports define only a single cohort. If multiple cohorts are
-   * specified, each cohort can be recognized in the report by their name.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - java.util.List getCohortsList(); - /** - * - * - *
-   * Defines the selection criteria to group users into cohorts.
-   * Most cohort reports define only a single cohort. If multiple cohorts are
-   * specified, each cohort can be recognized in the report by their name.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - com.google.analytics.data.v1alpha.Cohort getCohorts(int index); - /** - * - * - *
-   * Defines the selection criteria to group users into cohorts.
-   * Most cohort reports define only a single cohort. If multiple cohorts are
-   * specified, each cohort can be recognized in the report by their name.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - int getCohortsCount(); - /** - * - * - *
-   * Defines the selection criteria to group users into cohorts.
-   * Most cohort reports define only a single cohort. If multiple cohorts are
-   * specified, each cohort can be recognized in the report by their name.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - java.util.List - getCohortsOrBuilderList(); - /** - * - * - *
-   * Defines the selection criteria to group users into cohorts.
-   * Most cohort reports define only a single cohort. If multiple cohorts are
-   * specified, each cohort can be recognized in the report by their name.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Cohort cohorts = 1; - */ - com.google.analytics.data.v1alpha.CohortOrBuilder getCohortsOrBuilder(int index); - - /** - * - * - *
-   * Cohort reports follow cohorts over an extended reporting date range. This
-   * range specifies an offset duration to follow the cohorts over.
-   * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - * - * @return Whether the cohortsRange field is set. - */ - boolean hasCohortsRange(); - /** - * - * - *
-   * Cohort reports follow cohorts over an extended reporting date range. This
-   * range specifies an offset duration to follow the cohorts over.
-   * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - * - * @return The cohortsRange. - */ - com.google.analytics.data.v1alpha.CohortsRange getCohortsRange(); - /** - * - * - *
-   * Cohort reports follow cohorts over an extended reporting date range. This
-   * range specifies an offset duration to follow the cohorts over.
-   * 
- * - * .google.analytics.data.v1alpha.CohortsRange cohorts_range = 2; - */ - com.google.analytics.data.v1alpha.CohortsRangeOrBuilder getCohortsRangeOrBuilder(); - - /** - * - * - *
-   * Optional settings for a cohort report.
-   * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - * - * @return Whether the cohortReportSettings field is set. - */ - boolean hasCohortReportSettings(); - /** - * - * - *
-   * Optional settings for a cohort report.
-   * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - * - * @return The cohortReportSettings. - */ - com.google.analytics.data.v1alpha.CohortReportSettings getCohortReportSettings(); - /** - * - * - *
-   * Optional settings for a cohort report.
-   * 
- * - * .google.analytics.data.v1alpha.CohortReportSettings cohort_report_settings = 3; - */ - com.google.analytics.data.v1alpha.CohortReportSettingsOrBuilder - getCohortReportSettingsOrBuilder(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortsRange.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortsRange.java deleted file mode 100644 index 3aed2bb0..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortsRange.java +++ /dev/null @@ -1,1059 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Configures the extended reporting date range for a cohort report. Specifies
- * an offset duration to follow the cohorts over.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.CohortsRange} - */ -public final class CohortsRange extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.CohortsRange) - CohortsRangeOrBuilder { - private static final long serialVersionUID = 0L; - // Use CohortsRange.newBuilder() to construct. - private CohortsRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CohortsRange() { - granularity_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CohortsRange(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CohortsRange( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - granularity_ = rawValue; - break; - } - case 16: - { - startOffset_ = input.readInt32(); - break; - } - case 24: - { - endOffset_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortsRange_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortsRange_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.CohortsRange.class, - com.google.analytics.data.v1alpha.CohortsRange.Builder.class); - } - - /** - * - * - *
-   * The granularity used to interpret the `startOffset` and `endOffset` for the
-   * extended reporting date range for a cohort report.
-   * 
- * - * Protobuf enum {@code google.analytics.data.v1alpha.CohortsRange.Granularity} - */ - public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-     * Should never be specified.
-     * 
- * - * GRANULARITY_UNSPECIFIED = 0; - */ - GRANULARITY_UNSPECIFIED(0), - /** - * - * - *
-     * Daily granularity. Commonly used if the cohort's `dateRange` is a single
-     * day and the request contains `cohortNthDay`.
-     * 
- * - * DAILY = 1; - */ - DAILY(1), - /** - * - * - *
-     * Weekly granularity. Commonly used if the cohort's `dateRange` is a week
-     * in duration (starting on Sunday and ending on Saturday) and the request
-     * contains `cohortNthWeek`.
-     * 
- * - * WEEKLY = 2; - */ - WEEKLY(2), - /** - * - * - *
-     * Monthly granularity. Commonly used if the cohort's `dateRange` is a month
-     * in duration and the request contains `cohortNthMonth`.
-     * 
- * - * MONTHLY = 3; - */ - MONTHLY(3), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-     * Should never be specified.
-     * 
- * - * GRANULARITY_UNSPECIFIED = 0; - */ - public static final int GRANULARITY_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-     * Daily granularity. Commonly used if the cohort's `dateRange` is a single
-     * day and the request contains `cohortNthDay`.
-     * 
- * - * DAILY = 1; - */ - public static final int DAILY_VALUE = 1; - /** - * - * - *
-     * Weekly granularity. Commonly used if the cohort's `dateRange` is a week
-     * in duration (starting on Sunday and ending on Saturday) and the request
-     * contains `cohortNthWeek`.
-     * 
- * - * WEEKLY = 2; - */ - public static final int WEEKLY_VALUE = 2; - /** - * - * - *
-     * Monthly granularity. Commonly used if the cohort's `dateRange` is a month
-     * in duration and the request contains `cohortNthMonth`.
-     * 
- * - * MONTHLY = 3; - */ - public static final int MONTHLY_VALUE = 3; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static Granularity valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static Granularity forNumber(int value) { - switch (value) { - case 0: - return GRANULARITY_UNSPECIFIED; - case 1: - return DAILY; - case 2: - return WEEKLY; - case 3: - return MONTHLY; - default: - return null; - } - } - - 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 Granularity findValueByNumber(int number) { - return Granularity.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() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.data.v1alpha.CohortsRange.getDescriptor().getEnumTypes().get(0); - } - - private static final Granularity[] VALUES = values(); - - public static Granularity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Granularity(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.analytics.data.v1alpha.CohortsRange.Granularity) - } - - public static final int GRANULARITY_FIELD_NUMBER = 1; - private int granularity_; - /** - * - * - *
-   * The granularity used to interpret the `startOffset` and `endOffset` for the
-   * extended reporting date range for a cohort report.
-   * 
- * - * .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; - * - * @return The enum numeric value on the wire for granularity. - */ - @java.lang.Override - public int getGranularityValue() { - return granularity_; - } - /** - * - * - *
-   * The granularity used to interpret the `startOffset` and `endOffset` for the
-   * extended reporting date range for a cohort report.
-   * 
- * - * .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; - * - * @return The granularity. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortsRange.Granularity getGranularity() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.CohortsRange.Granularity result = - com.google.analytics.data.v1alpha.CohortsRange.Granularity.valueOf(granularity_); - return result == null - ? com.google.analytics.data.v1alpha.CohortsRange.Granularity.UNRECOGNIZED - : result; - } - - public static final int START_OFFSET_FIELD_NUMBER = 2; - private int startOffset_; - /** - * - * - *
-   * `startOffset` specifies the start date of the extended reporting date range
-   * for a cohort report. `startOffset` is commonly set to 0 so that reports
-   * contain data from the acquisition of the cohort forward.
-   * If `granularity` is `DAILY`, the `startDate` of the extended reporting date
-   * range is `startDate` of the cohort plus `startOffset` days.
-   * If `granularity` is `WEEKLY`, the `startDate` of the extended reporting
-   * date range is `startDate` of the cohort plus `startOffset * 7` days.
-   * If `granularity` is `MONTHLY`, the `startDate` of the extended reporting
-   * date range is `startDate` of the cohort plus `startOffset * 30` days.
-   * 
- * - * int32 start_offset = 2; - * - * @return The startOffset. - */ - @java.lang.Override - public int getStartOffset() { - return startOffset_; - } - - public static final int END_OFFSET_FIELD_NUMBER = 3; - private int endOffset_; - /** - * - * - *
-   * `endOffset` specifies the end date of the extended reporting date range
-   * for a cohort report. `endOffset` can be any positive integer but is
-   * commonly set to 5 to 10 so that reports contain data on the cohort for the
-   * next several granularity time periods.
-   * If `granularity` is `DAILY`, the `endDate` of the extended reporting date
-   * range is `endDate` of the cohort plus `endOffset` days.
-   * If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date
-   * range is `endDate` of the cohort plus `endOffset * 7` days.
-   * If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date
-   * range is `endDate` of the cohort plus `endOffset * 30` days.
-   * 
- * - * int32 end_offset = 3; - * - * @return The endOffset. - */ - @java.lang.Override - public int getEndOffset() { - return endOffset_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (granularity_ - != com.google.analytics.data.v1alpha.CohortsRange.Granularity.GRANULARITY_UNSPECIFIED - .getNumber()) { - output.writeEnum(1, granularity_); - } - if (startOffset_ != 0) { - output.writeInt32(2, startOffset_); - } - if (endOffset_ != 0) { - output.writeInt32(3, endOffset_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (granularity_ - != com.google.analytics.data.v1alpha.CohortsRange.Granularity.GRANULARITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, granularity_); - } - if (startOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, startOffset_); - } - if (endOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, endOffset_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.CohortsRange)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.CohortsRange other = - (com.google.analytics.data.v1alpha.CohortsRange) obj; - - if (granularity_ != other.granularity_) return false; - if (getStartOffset() != other.getStartOffset()) return false; - if (getEndOffset() != other.getEndOffset()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + GRANULARITY_FIELD_NUMBER; - hash = (53 * hash) + granularity_; - hash = (37 * hash) + START_OFFSET_FIELD_NUMBER; - hash = (53 * hash) + getStartOffset(); - hash = (37 * hash) + END_OFFSET_FIELD_NUMBER; - hash = (53 * hash) + getEndOffset(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.CohortsRange parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.CohortsRange prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Configures the extended reporting date range for a cohort report. Specifies
-   * an offset duration to follow the cohorts over.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.CohortsRange} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.CohortsRange) - com.google.analytics.data.v1alpha.CohortsRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortsRange_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortsRange_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.CohortsRange.class, - com.google.analytics.data.v1alpha.CohortsRange.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.CohortsRange.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - granularity_ = 0; - - startOffset_ = 0; - - endOffset_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_CohortsRange_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortsRange getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.CohortsRange.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortsRange build() { - com.google.analytics.data.v1alpha.CohortsRange result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortsRange buildPartial() { - com.google.analytics.data.v1alpha.CohortsRange result = - new com.google.analytics.data.v1alpha.CohortsRange(this); - result.granularity_ = granularity_; - result.startOffset_ = startOffset_; - result.endOffset_ = endOffset_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.CohortsRange) { - return mergeFrom((com.google.analytics.data.v1alpha.CohortsRange) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.CohortsRange other) { - if (other == com.google.analytics.data.v1alpha.CohortsRange.getDefaultInstance()) return this; - if (other.granularity_ != 0) { - setGranularityValue(other.getGranularityValue()); - } - if (other.getStartOffset() != 0) { - setStartOffset(other.getStartOffset()); - } - if (other.getEndOffset() != 0) { - setEndOffset(other.getEndOffset()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.CohortsRange parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.CohortsRange) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int granularity_ = 0; - /** - * - * - *
-     * The granularity used to interpret the `startOffset` and `endOffset` for the
-     * extended reporting date range for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; - * - * @return The enum numeric value on the wire for granularity. - */ - @java.lang.Override - public int getGranularityValue() { - return granularity_; - } - /** - * - * - *
-     * The granularity used to interpret the `startOffset` and `endOffset` for the
-     * extended reporting date range for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; - * - * @param value The enum numeric value on the wire for granularity to set. - * @return This builder for chaining. - */ - public Builder setGranularityValue(int value) { - - granularity_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The granularity used to interpret the `startOffset` and `endOffset` for the
-     * extended reporting date range for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; - * - * @return The granularity. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortsRange.Granularity getGranularity() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.CohortsRange.Granularity result = - com.google.analytics.data.v1alpha.CohortsRange.Granularity.valueOf(granularity_); - return result == null - ? com.google.analytics.data.v1alpha.CohortsRange.Granularity.UNRECOGNIZED - : result; - } - /** - * - * - *
-     * The granularity used to interpret the `startOffset` and `endOffset` for the
-     * extended reporting date range for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; - * - * @param value The granularity to set. - * @return This builder for chaining. - */ - public Builder setGranularity( - com.google.analytics.data.v1alpha.CohortsRange.Granularity value) { - if (value == null) { - throw new NullPointerException(); - } - - granularity_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-     * The granularity used to interpret the `startOffset` and `endOffset` for the
-     * extended reporting date range for a cohort report.
-     * 
- * - * .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; - * - * @return This builder for chaining. - */ - public Builder clearGranularity() { - - granularity_ = 0; - onChanged(); - return this; - } - - private int startOffset_; - /** - * - * - *
-     * `startOffset` specifies the start date of the extended reporting date range
-     * for a cohort report. `startOffset` is commonly set to 0 so that reports
-     * contain data from the acquisition of the cohort forward.
-     * If `granularity` is `DAILY`, the `startDate` of the extended reporting date
-     * range is `startDate` of the cohort plus `startOffset` days.
-     * If `granularity` is `WEEKLY`, the `startDate` of the extended reporting
-     * date range is `startDate` of the cohort plus `startOffset * 7` days.
-     * If `granularity` is `MONTHLY`, the `startDate` of the extended reporting
-     * date range is `startDate` of the cohort plus `startOffset * 30` days.
-     * 
- * - * int32 start_offset = 2; - * - * @return The startOffset. - */ - @java.lang.Override - public int getStartOffset() { - return startOffset_; - } - /** - * - * - *
-     * `startOffset` specifies the start date of the extended reporting date range
-     * for a cohort report. `startOffset` is commonly set to 0 so that reports
-     * contain data from the acquisition of the cohort forward.
-     * If `granularity` is `DAILY`, the `startDate` of the extended reporting date
-     * range is `startDate` of the cohort plus `startOffset` days.
-     * If `granularity` is `WEEKLY`, the `startDate` of the extended reporting
-     * date range is `startDate` of the cohort plus `startOffset * 7` days.
-     * If `granularity` is `MONTHLY`, the `startDate` of the extended reporting
-     * date range is `startDate` of the cohort plus `startOffset * 30` days.
-     * 
- * - * int32 start_offset = 2; - * - * @param value The startOffset to set. - * @return This builder for chaining. - */ - public Builder setStartOffset(int value) { - - startOffset_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * `startOffset` specifies the start date of the extended reporting date range
-     * for a cohort report. `startOffset` is commonly set to 0 so that reports
-     * contain data from the acquisition of the cohort forward.
-     * If `granularity` is `DAILY`, the `startDate` of the extended reporting date
-     * range is `startDate` of the cohort plus `startOffset` days.
-     * If `granularity` is `WEEKLY`, the `startDate` of the extended reporting
-     * date range is `startDate` of the cohort plus `startOffset * 7` days.
-     * If `granularity` is `MONTHLY`, the `startDate` of the extended reporting
-     * date range is `startDate` of the cohort plus `startOffset * 30` days.
-     * 
- * - * int32 start_offset = 2; - * - * @return This builder for chaining. - */ - public Builder clearStartOffset() { - - startOffset_ = 0; - onChanged(); - return this; - } - - private int endOffset_; - /** - * - * - *
-     * `endOffset` specifies the end date of the extended reporting date range
-     * for a cohort report. `endOffset` can be any positive integer but is
-     * commonly set to 5 to 10 so that reports contain data on the cohort for the
-     * next several granularity time periods.
-     * If `granularity` is `DAILY`, the `endDate` of the extended reporting date
-     * range is `endDate` of the cohort plus `endOffset` days.
-     * If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date
-     * range is `endDate` of the cohort plus `endOffset * 7` days.
-     * If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date
-     * range is `endDate` of the cohort plus `endOffset * 30` days.
-     * 
- * - * int32 end_offset = 3; - * - * @return The endOffset. - */ - @java.lang.Override - public int getEndOffset() { - return endOffset_; - } - /** - * - * - *
-     * `endOffset` specifies the end date of the extended reporting date range
-     * for a cohort report. `endOffset` can be any positive integer but is
-     * commonly set to 5 to 10 so that reports contain data on the cohort for the
-     * next several granularity time periods.
-     * If `granularity` is `DAILY`, the `endDate` of the extended reporting date
-     * range is `endDate` of the cohort plus `endOffset` days.
-     * If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date
-     * range is `endDate` of the cohort plus `endOffset * 7` days.
-     * If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date
-     * range is `endDate` of the cohort plus `endOffset * 30` days.
-     * 
- * - * int32 end_offset = 3; - * - * @param value The endOffset to set. - * @return This builder for chaining. - */ - public Builder setEndOffset(int value) { - - endOffset_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * `endOffset` specifies the end date of the extended reporting date range
-     * for a cohort report. `endOffset` can be any positive integer but is
-     * commonly set to 5 to 10 so that reports contain data on the cohort for the
-     * next several granularity time periods.
-     * If `granularity` is `DAILY`, the `endDate` of the extended reporting date
-     * range is `endDate` of the cohort plus `endOffset` days.
-     * If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date
-     * range is `endDate` of the cohort plus `endOffset * 7` days.
-     * If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date
-     * range is `endDate` of the cohort plus `endOffset * 30` days.
-     * 
- * - * int32 end_offset = 3; - * - * @return This builder for chaining. - */ - public Builder clearEndOffset() { - - endOffset_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.CohortsRange) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.CohortsRange) - private static final com.google.analytics.data.v1alpha.CohortsRange DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.CohortsRange(); - } - - public static com.google.analytics.data.v1alpha.CohortsRange getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CohortsRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CohortsRange(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortsRange getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortsRangeOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortsRangeOrBuilder.java deleted file mode 100644 index 30282710..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CohortsRangeOrBuilder.java +++ /dev/null @@ -1,95 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface CohortsRangeOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.CohortsRange) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The granularity used to interpret the `startOffset` and `endOffset` for the
-   * extended reporting date range for a cohort report.
-   * 
- * - * .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; - * - * @return The enum numeric value on the wire for granularity. - */ - int getGranularityValue(); - /** - * - * - *
-   * The granularity used to interpret the `startOffset` and `endOffset` for the
-   * extended reporting date range for a cohort report.
-   * 
- * - * .google.analytics.data.v1alpha.CohortsRange.Granularity granularity = 1; - * - * @return The granularity. - */ - com.google.analytics.data.v1alpha.CohortsRange.Granularity getGranularity(); - - /** - * - * - *
-   * `startOffset` specifies the start date of the extended reporting date range
-   * for a cohort report. `startOffset` is commonly set to 0 so that reports
-   * contain data from the acquisition of the cohort forward.
-   * If `granularity` is `DAILY`, the `startDate` of the extended reporting date
-   * range is `startDate` of the cohort plus `startOffset` days.
-   * If `granularity` is `WEEKLY`, the `startDate` of the extended reporting
-   * date range is `startDate` of the cohort plus `startOffset * 7` days.
-   * If `granularity` is `MONTHLY`, the `startDate` of the extended reporting
-   * date range is `startDate` of the cohort plus `startOffset * 30` days.
-   * 
- * - * int32 start_offset = 2; - * - * @return The startOffset. - */ - int getStartOffset(); - - /** - * - * - *
-   * `endOffset` specifies the end date of the extended reporting date range
-   * for a cohort report. `endOffset` can be any positive integer but is
-   * commonly set to 5 to 10 so that reports contain data on the cohort for the
-   * next several granularity time periods.
-   * If `granularity` is `DAILY`, the `endDate` of the extended reporting date
-   * range is `endDate` of the cohort plus `endOffset` days.
-   * If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date
-   * range is `endDate` of the cohort plus `endOffset * 7` days.
-   * If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date
-   * range is `endDate` of the cohort plus `endOffset * 30` days.
-   * 
- * - * int32 end_offset = 3; - * - * @return The endOffset. - */ - int getEndOffset(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DateRange.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DateRange.java deleted file mode 100644 index 74f1809e..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DateRange.java +++ /dev/null @@ -1,1057 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests
- * are allowed up to 4 date ranges.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DateRange} - */ -public final class DateRange extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.DateRange) - DateRangeOrBuilder { - private static final long serialVersionUID = 0L; - // Use DateRange.newBuilder() to construct. - private DateRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DateRange() { - startDate_ = ""; - endDate_ = ""; - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DateRange(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private DateRange( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - startDate_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - endDate_ = s; - 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DateRange_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DateRange_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DateRange.class, - com.google.analytics.data.v1alpha.DateRange.Builder.class); - } - - public static final int START_DATE_FIELD_NUMBER = 1; - private volatile java.lang.Object startDate_; - /** - * - * - *
-   * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
-   * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
-   * accepted, and in that case, the date is inferred based on the property's
-   * reporting time zone.
-   * 
- * - * string start_date = 1; - * - * @return The startDate. - */ - @java.lang.Override - public java.lang.String getStartDate() { - java.lang.Object ref = startDate_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - startDate_ = s; - return s; - } - } - /** - * - * - *
-   * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
-   * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
-   * accepted, and in that case, the date is inferred based on the property's
-   * reporting time zone.
-   * 
- * - * string start_date = 1; - * - * @return The bytes for startDate. - */ - @java.lang.Override - public com.google.protobuf.ByteString getStartDateBytes() { - java.lang.Object ref = startDate_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - startDate_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int END_DATE_FIELD_NUMBER = 2; - private volatile java.lang.Object endDate_; - /** - * - * - *
-   * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
-   * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
-   * also accepted, and in that case, the date is inferred based on the
-   * property's reporting time zone.
-   * 
- * - * string end_date = 2; - * - * @return The endDate. - */ - @java.lang.Override - public java.lang.String getEndDate() { - java.lang.Object ref = endDate_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - endDate_ = s; - return s; - } - } - /** - * - * - *
-   * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
-   * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
-   * also accepted, and in that case, the date is inferred based on the
-   * property's reporting time zone.
-   * 
- * - * string end_date = 2; - * - * @return The bytes for endDate. - */ - @java.lang.Override - public com.google.protobuf.ByteString getEndDateBytes() { - java.lang.Object ref = endDate_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - endDate_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - /** - * - * - *
-   * Assigns a name to this date range. The dimension `dateRange` is valued to
-   * this name in a report response. If set, cannot begin with `date_range_` or
-   * `RESERVED_`. If not set, date ranges are named by their zero based index in
-   * the request: `date_range_0`, `date_range_1`, etc.
-   * 
- * - * string name = 3; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * Assigns a name to this date range. The dimension `dateRange` is valued to
-   * this name in a report response. If set, cannot begin with `date_range_` or
-   * `RESERVED_`. If not set, date ranges are named by their zero based index in
-   * the request: `date_range_0`, `date_range_1`, etc.
-   * 
- * - * string name = 3; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getStartDateBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, startDate_); - } - if (!getEndDateBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, endDate_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getStartDateBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, startDate_); - } - if (!getEndDateBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, endDate_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.DateRange)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.DateRange other = - (com.google.analytics.data.v1alpha.DateRange) obj; - - if (!getStartDate().equals(other.getStartDate())) return false; - if (!getEndDate().equals(other.getEndDate())) return false; - if (!getName().equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + START_DATE_FIELD_NUMBER; - hash = (53 * hash) + getStartDate().hashCode(); - hash = (37 * hash) + END_DATE_FIELD_NUMBER; - hash = (53 * hash) + getEndDate().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.DateRange parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DateRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DateRange parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DateRange parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DateRange parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DateRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DateRange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DateRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DateRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DateRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DateRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DateRange parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.DateRange prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests
-   * are allowed up to 4 date ranges.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DateRange} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.DateRange) - com.google.analytics.data.v1alpha.DateRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DateRange_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DateRange_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DateRange.class, - com.google.analytics.data.v1alpha.DateRange.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.DateRange.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - startDate_ = ""; - - endDate_ = ""; - - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DateRange_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DateRange getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.DateRange.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DateRange build() { - com.google.analytics.data.v1alpha.DateRange result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DateRange buildPartial() { - com.google.analytics.data.v1alpha.DateRange result = - new com.google.analytics.data.v1alpha.DateRange(this); - result.startDate_ = startDate_; - result.endDate_ = endDate_; - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.DateRange) { - return mergeFrom((com.google.analytics.data.v1alpha.DateRange) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.DateRange other) { - if (other == com.google.analytics.data.v1alpha.DateRange.getDefaultInstance()) return this; - if (!other.getStartDate().isEmpty()) { - startDate_ = other.startDate_; - onChanged(); - } - if (!other.getEndDate().isEmpty()) { - endDate_ = other.endDate_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.DateRange parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.DateRange) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object startDate_ = ""; - /** - * - * - *
-     * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
-     * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
-     * accepted, and in that case, the date is inferred based on the property's
-     * reporting time zone.
-     * 
- * - * string start_date = 1; - * - * @return The startDate. - */ - public java.lang.String getStartDate() { - java.lang.Object ref = startDate_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - startDate_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
-     * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
-     * accepted, and in that case, the date is inferred based on the property's
-     * reporting time zone.
-     * 
- * - * string start_date = 1; - * - * @return The bytes for startDate. - */ - public com.google.protobuf.ByteString getStartDateBytes() { - java.lang.Object ref = startDate_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - startDate_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
-     * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
-     * accepted, and in that case, the date is inferred based on the property's
-     * reporting time zone.
-     * 
- * - * string start_date = 1; - * - * @param value The startDate to set. - * @return This builder for chaining. - */ - public Builder setStartDate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - startDate_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
-     * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
-     * accepted, and in that case, the date is inferred based on the property's
-     * reporting time zone.
-     * 
- * - * string start_date = 1; - * - * @return This builder for chaining. - */ - public Builder clearStartDate() { - - startDate_ = getDefaultInstance().getStartDate(); - onChanged(); - return this; - } - /** - * - * - *
-     * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
-     * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
-     * accepted, and in that case, the date is inferred based on the property's
-     * reporting time zone.
-     * 
- * - * string start_date = 1; - * - * @param value The bytes for startDate to set. - * @return This builder for chaining. - */ - public Builder setStartDateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - startDate_ = value; - onChanged(); - return this; - } - - private java.lang.Object endDate_ = ""; - /** - * - * - *
-     * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
-     * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
-     * also accepted, and in that case, the date is inferred based on the
-     * property's reporting time zone.
-     * 
- * - * string end_date = 2; - * - * @return The endDate. - */ - public java.lang.String getEndDate() { - java.lang.Object ref = endDate_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - endDate_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
-     * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
-     * also accepted, and in that case, the date is inferred based on the
-     * property's reporting time zone.
-     * 
- * - * string end_date = 2; - * - * @return The bytes for endDate. - */ - public com.google.protobuf.ByteString getEndDateBytes() { - java.lang.Object ref = endDate_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - endDate_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
-     * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
-     * also accepted, and in that case, the date is inferred based on the
-     * property's reporting time zone.
-     * 
- * - * string end_date = 2; - * - * @param value The endDate to set. - * @return This builder for chaining. - */ - public Builder setEndDate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - endDate_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
-     * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
-     * also accepted, and in that case, the date is inferred based on the
-     * property's reporting time zone.
-     * 
- * - * string end_date = 2; - * - * @return This builder for chaining. - */ - public Builder clearEndDate() { - - endDate_ = getDefaultInstance().getEndDate(); - onChanged(); - return this; - } - /** - * - * - *
-     * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
-     * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
-     * also accepted, and in that case, the date is inferred based on the
-     * property's reporting time zone.
-     * 
- * - * string end_date = 2; - * - * @param value The bytes for endDate to set. - * @return This builder for chaining. - */ - public Builder setEndDateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - endDate_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * Assigns a name to this date range. The dimension `dateRange` is valued to
-     * this name in a report response. If set, cannot begin with `date_range_` or
-     * `RESERVED_`. If not set, date ranges are named by their zero based index in
-     * the request: `date_range_0`, `date_range_1`, etc.
-     * 
- * - * string name = 3; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Assigns a name to this date range. The dimension `dateRange` is valued to
-     * this name in a report response. If set, cannot begin with `date_range_` or
-     * `RESERVED_`. If not set, date ranges are named by their zero based index in
-     * the request: `date_range_0`, `date_range_1`, etc.
-     * 
- * - * string name = 3; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Assigns a name to this date range. The dimension `dateRange` is valued to
-     * this name in a report response. If set, cannot begin with `date_range_` or
-     * `RESERVED_`. If not set, date ranges are named by their zero based index in
-     * the request: `date_range_0`, `date_range_1`, etc.
-     * 
- * - * string name = 3; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Assigns a name to this date range. The dimension `dateRange` is valued to
-     * this name in a report response. If set, cannot begin with `date_range_` or
-     * `RESERVED_`. If not set, date ranges are named by their zero based index in
-     * the request: `date_range_0`, `date_range_1`, etc.
-     * 
- * - * string name = 3; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * Assigns a name to this date range. The dimension `dateRange` is valued to
-     * this name in a report response. If set, cannot begin with `date_range_` or
-     * `RESERVED_`. If not set, date ranges are named by their zero based index in
-     * the request: `date_range_0`, `date_range_1`, etc.
-     * 
- * - * string name = 3; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.DateRange) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.DateRange) - private static final com.google.analytics.data.v1alpha.DateRange DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.DateRange(); - } - - public static com.google.analytics.data.v1alpha.DateRange getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DateRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DateRange(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DateRange getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DateRangeOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DateRangeOrBuilder.java deleted file mode 100644 index f111e6c0..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DateRangeOrBuilder.java +++ /dev/null @@ -1,118 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface DateRangeOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.DateRange) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
-   * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
-   * accepted, and in that case, the date is inferred based on the property's
-   * reporting time zone.
-   * 
- * - * string start_date = 1; - * - * @return The startDate. - */ - java.lang.String getStartDate(); - /** - * - * - *
-   * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
-   * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
-   * accepted, and in that case, the date is inferred based on the property's
-   * reporting time zone.
-   * 
- * - * string start_date = 1; - * - * @return The bytes for startDate. - */ - com.google.protobuf.ByteString getStartDateBytes(); - - /** - * - * - *
-   * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
-   * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
-   * also accepted, and in that case, the date is inferred based on the
-   * property's reporting time zone.
-   * 
- * - * string end_date = 2; - * - * @return The endDate. - */ - java.lang.String getEndDate(); - /** - * - * - *
-   * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
-   * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
-   * also accepted, and in that case, the date is inferred based on the
-   * property's reporting time zone.
-   * 
- * - * string end_date = 2; - * - * @return The bytes for endDate. - */ - com.google.protobuf.ByteString getEndDateBytes(); - - /** - * - * - *
-   * Assigns a name to this date range. The dimension `dateRange` is valued to
-   * this name in a report response. If set, cannot begin with `date_range_` or
-   * `RESERVED_`. If not set, date ranges are named by their zero based index in
-   * the request: `date_range_0`, `date_range_1`, etc.
-   * 
- * - * string name = 3; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Assigns a name to this date range. The dimension `dateRange` is valued to
-   * this name in a report response. If set, cannot begin with `date_range_` or
-   * `RESERVED_`. If not set, date ranges are named by their zero based index in
-   * the request: `date_range_0`, `date_range_1`, etc.
-   * 
- * - * string name = 3; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Dimension.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Dimension.java deleted file mode 100644 index 5f4a7af9..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Dimension.java +++ /dev/null @@ -1,985 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Dimensions are attributes of your data. For example, the dimension city
- * indicates the city from which an event originates. Dimension values in report
- * responses are strings; for example, city could be "Paris" or "New York".
- * Requests are allowed up to 8 dimensions.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Dimension} - */ -public final class Dimension extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Dimension) - DimensionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Dimension.newBuilder() to construct. - private Dimension(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Dimension() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Dimension(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Dimension( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - com.google.analytics.data.v1alpha.DimensionExpression.Builder subBuilder = null; - if (dimensionExpression_ != null) { - subBuilder = dimensionExpression_.toBuilder(); - } - dimensionExpression_ = - input.readMessage( - com.google.analytics.data.v1alpha.DimensionExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionExpression_); - dimensionExpression_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Dimension_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Dimension_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Dimension.class, - com.google.analytics.data.v1alpha.Dimension.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * The name of the dimension. See the [API
-   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
-   * for the list of dimension names.
-   * If `dimensionExpression` is specified, `name` can be any string that you
-   * would like. For example if a `dimensionExpression` concatenates `country`
-   * and `city`, you could call that dimension `countryAndCity`.
-   * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
-   * `dimensionExpression`, and `pivots`.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * The name of the dimension. See the [API
-   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
-   * for the list of dimension names.
-   * If `dimensionExpression` is specified, `name` can be any string that you
-   * would like. For example if a `dimensionExpression` concatenates `country`
-   * and `city`, you could call that dimension `countryAndCity`.
-   * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
-   * `dimensionExpression`, and `pivots`.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DIMENSION_EXPRESSION_FIELD_NUMBER = 2; - private com.google.analytics.data.v1alpha.DimensionExpression dimensionExpression_; - /** - * - * - *
-   * One dimension can be the result of an expression of multiple dimensions.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - * - * @return Whether the dimensionExpression field is set. - */ - @java.lang.Override - public boolean hasDimensionExpression() { - return dimensionExpression_ != null; - } - /** - * - * - *
-   * One dimension can be the result of an expression of multiple dimensions.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - * - * @return The dimensionExpression. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression getDimensionExpression() { - return dimensionExpression_ == null - ? com.google.analytics.data.v1alpha.DimensionExpression.getDefaultInstance() - : dimensionExpression_; - } - /** - * - * - *
-   * One dimension can be the result of an expression of multiple dimensions.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpressionOrBuilder - getDimensionExpressionOrBuilder() { - return getDimensionExpression(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (dimensionExpression_ != null) { - output.writeMessage(2, getDimensionExpression()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (dimensionExpression_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDimensionExpression()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Dimension)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Dimension other = - (com.google.analytics.data.v1alpha.Dimension) obj; - - if (!getName().equals(other.getName())) return false; - if (hasDimensionExpression() != other.hasDimensionExpression()) return false; - if (hasDimensionExpression()) { - if (!getDimensionExpression().equals(other.getDimensionExpression())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (hasDimensionExpression()) { - hash = (37 * hash) + DIMENSION_EXPRESSION_FIELD_NUMBER; - hash = (53 * hash) + getDimensionExpression().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Dimension parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Dimension parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Dimension parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Dimension parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Dimension parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Dimension parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Dimension parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Dimension parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Dimension parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Dimension parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Dimension parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Dimension parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.Dimension prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Dimensions are attributes of your data. For example, the dimension city
-   * indicates the city from which an event originates. Dimension values in report
-   * responses are strings; for example, city could be "Paris" or "New York".
-   * Requests are allowed up to 8 dimensions.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Dimension} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Dimension) - com.google.analytics.data.v1alpha.DimensionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Dimension_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Dimension_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Dimension.class, - com.google.analytics.data.v1alpha.Dimension.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Dimension.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - if (dimensionExpressionBuilder_ == null) { - dimensionExpression_ = null; - } else { - dimensionExpression_ = null; - dimensionExpressionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Dimension_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Dimension getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Dimension.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Dimension build() { - com.google.analytics.data.v1alpha.Dimension result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Dimension buildPartial() { - com.google.analytics.data.v1alpha.Dimension result = - new com.google.analytics.data.v1alpha.Dimension(this); - result.name_ = name_; - if (dimensionExpressionBuilder_ == null) { - result.dimensionExpression_ = dimensionExpression_; - } else { - result.dimensionExpression_ = dimensionExpressionBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Dimension) { - return mergeFrom((com.google.analytics.data.v1alpha.Dimension) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Dimension other) { - if (other == com.google.analytics.data.v1alpha.Dimension.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.hasDimensionExpression()) { - mergeDimensionExpression(other.getDimensionExpression()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Dimension parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.Dimension) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * The name of the dimension. See the [API
-     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
-     * for the list of dimension names.
-     * If `dimensionExpression` is specified, `name` can be any string that you
-     * would like. For example if a `dimensionExpression` concatenates `country`
-     * and `city`, you could call that dimension `countryAndCity`.
-     * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
-     * `dimensionExpression`, and `pivots`.
-     * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The name of the dimension. See the [API
-     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
-     * for the list of dimension names.
-     * If `dimensionExpression` is specified, `name` can be any string that you
-     * would like. For example if a `dimensionExpression` concatenates `country`
-     * and `city`, you could call that dimension `countryAndCity`.
-     * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
-     * `dimensionExpression`, and `pivots`.
-     * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The name of the dimension. See the [API
-     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
-     * for the list of dimension names.
-     * If `dimensionExpression` is specified, `name` can be any string that you
-     * would like. For example if a `dimensionExpression` concatenates `country`
-     * and `city`, you could call that dimension `countryAndCity`.
-     * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
-     * `dimensionExpression`, and `pivots`.
-     * 
- * - * string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The name of the dimension. See the [API
-     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
-     * for the list of dimension names.
-     * If `dimensionExpression` is specified, `name` can be any string that you
-     * would like. For example if a `dimensionExpression` concatenates `country`
-     * and `city`, you could call that dimension `countryAndCity`.
-     * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
-     * `dimensionExpression`, and `pivots`.
-     * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * The name of the dimension. See the [API
-     * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
-     * for the list of dimension names.
-     * If `dimensionExpression` is specified, `name` can be any string that you
-     * would like. For example if a `dimensionExpression` concatenates `country`
-     * and `city`, you could call that dimension `countryAndCity`.
-     * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
-     * `dimensionExpression`, and `pivots`.
-     * 
- * - * string name = 1; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private com.google.analytics.data.v1alpha.DimensionExpression dimensionExpression_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression, - com.google.analytics.data.v1alpha.DimensionExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpressionOrBuilder> - dimensionExpressionBuilder_; - /** - * - * - *
-     * One dimension can be the result of an expression of multiple dimensions.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - * - * @return Whether the dimensionExpression field is set. - */ - public boolean hasDimensionExpression() { - return dimensionExpressionBuilder_ != null || dimensionExpression_ != null; - } - /** - * - * - *
-     * One dimension can be the result of an expression of multiple dimensions.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - * - * @return The dimensionExpression. - */ - public com.google.analytics.data.v1alpha.DimensionExpression getDimensionExpression() { - if (dimensionExpressionBuilder_ == null) { - return dimensionExpression_ == null - ? com.google.analytics.data.v1alpha.DimensionExpression.getDefaultInstance() - : dimensionExpression_; - } else { - return dimensionExpressionBuilder_.getMessage(); - } - } - /** - * - * - *
-     * One dimension can be the result of an expression of multiple dimensions.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - */ - public Builder setDimensionExpression( - com.google.analytics.data.v1alpha.DimensionExpression value) { - if (dimensionExpressionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dimensionExpression_ = value; - onChanged(); - } else { - dimensionExpressionBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * One dimension can be the result of an expression of multiple dimensions.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - */ - public Builder setDimensionExpression( - com.google.analytics.data.v1alpha.DimensionExpression.Builder builderForValue) { - if (dimensionExpressionBuilder_ == null) { - dimensionExpression_ = builderForValue.build(); - onChanged(); - } else { - dimensionExpressionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * One dimension can be the result of an expression of multiple dimensions.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - */ - public Builder mergeDimensionExpression( - com.google.analytics.data.v1alpha.DimensionExpression value) { - if (dimensionExpressionBuilder_ == null) { - if (dimensionExpression_ != null) { - dimensionExpression_ = - com.google.analytics.data.v1alpha.DimensionExpression.newBuilder(dimensionExpression_) - .mergeFrom(value) - .buildPartial(); - } else { - dimensionExpression_ = value; - } - onChanged(); - } else { - dimensionExpressionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * One dimension can be the result of an expression of multiple dimensions.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - */ - public Builder clearDimensionExpression() { - if (dimensionExpressionBuilder_ == null) { - dimensionExpression_ = null; - onChanged(); - } else { - dimensionExpression_ = null; - dimensionExpressionBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * One dimension can be the result of an expression of multiple dimensions.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - */ - public com.google.analytics.data.v1alpha.DimensionExpression.Builder - getDimensionExpressionBuilder() { - - onChanged(); - return getDimensionExpressionFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * One dimension can be the result of an expression of multiple dimensions.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - */ - public com.google.analytics.data.v1alpha.DimensionExpressionOrBuilder - getDimensionExpressionOrBuilder() { - if (dimensionExpressionBuilder_ != null) { - return dimensionExpressionBuilder_.getMessageOrBuilder(); - } else { - return dimensionExpression_ == null - ? com.google.analytics.data.v1alpha.DimensionExpression.getDefaultInstance() - : dimensionExpression_; - } - } - /** - * - * - *
-     * One dimension can be the result of an expression of multiple dimensions.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression, - com.google.analytics.data.v1alpha.DimensionExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpressionOrBuilder> - getDimensionExpressionFieldBuilder() { - if (dimensionExpressionBuilder_ == null) { - dimensionExpressionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression, - com.google.analytics.data.v1alpha.DimensionExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpressionOrBuilder>( - getDimensionExpression(), getParentForChildren(), isClean()); - dimensionExpression_ = null; - } - return dimensionExpressionBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Dimension) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Dimension) - private static final com.google.analytics.data.v1alpha.Dimension DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Dimension(); - } - - public static com.google.analytics.data.v1alpha.Dimension getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Dimension parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Dimension(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Dimension getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionExpression.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionExpression.java deleted file mode 100644 index 75f82454..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionExpression.java +++ /dev/null @@ -1,3346 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Used to express a dimension which is the result of a formula of multiple
- * dimensions. Example usages:
- * 1) lower_case(dimension)
- * 2) concatenate(dimension1, symbol, dimension2).
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionExpression} - */ -public final class DimensionExpression extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.DimensionExpression) - DimensionExpressionOrBuilder { - private static final long serialVersionUID = 0L; - // Use DimensionExpression.newBuilder() to construct. - private DimensionExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DimensionExpression() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DimensionExpression(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private DimensionExpression( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 34: - { - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder - subBuilder = null; - if (oneExpressionCase_ == 4) { - subBuilder = - ((com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_) - .toBuilder(); - } - oneExpression_ = - input.readMessage( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_); - oneExpression_ = subBuilder.buildPartial(); - } - oneExpressionCase_ = 4; - break; - } - case 42: - { - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder - subBuilder = null; - if (oneExpressionCase_ == 5) { - subBuilder = - ((com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_) - .toBuilder(); - } - oneExpression_ = - input.readMessage( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_); - oneExpression_ = subBuilder.buildPartial(); - } - oneExpressionCase_ = 5; - break; - } - case 50: - { - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.Builder - subBuilder = null; - if (oneExpressionCase_ == 6) { - subBuilder = - ((com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - oneExpression_) - .toBuilder(); - } - oneExpression_ = - input.readMessage( - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - oneExpression_); - oneExpression_ = subBuilder.buildPartial(); - } - oneExpressionCase_ = 6; - 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionExpression.class, - com.google.analytics.data.v1alpha.DimensionExpression.Builder.class); - } - - public interface CaseExpressionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * Name of a dimension. The name must refer back to a name in dimensions
-     * field of the request.
-     * 
- * - * string dimension_name = 1; - * - * @return The dimensionName. - */ - java.lang.String getDimensionName(); - /** - * - * - *
-     * Name of a dimension. The name must refer back to a name in dimensions
-     * field of the request.
-     * 
- * - * string dimension_name = 1; - * - * @return The bytes for dimensionName. - */ - com.google.protobuf.ByteString getDimensionNameBytes(); - } - /** - * - * - *
-   * Used to convert a dimension value to a single case.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionExpression.CaseExpression} - */ - public static final class CaseExpression extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - CaseExpressionOrBuilder { - private static final long serialVersionUID = 0L; - // Use CaseExpression.newBuilder() to construct. - private CaseExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CaseExpression() { - dimensionName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CaseExpression(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CaseExpression( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - dimensionName_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_CaseExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_CaseExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.class, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder.class); - } - - public static final int DIMENSION_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object dimensionName_; - /** - * - * - *
-     * Name of a dimension. The name must refer back to a name in dimensions
-     * field of the request.
-     * 
- * - * string dimension_name = 1; - * - * @return The dimensionName. - */ - @java.lang.Override - public java.lang.String getDimensionName() { - java.lang.Object ref = dimensionName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dimensionName_ = s; - return s; - } - } - /** - * - * - *
-     * Name of a dimension. The name must refer back to a name in dimensions
-     * field of the request.
-     * 
- * - * string dimension_name = 1; - * - * @return The bytes for dimensionName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDimensionNameBytes() { - java.lang.Object ref = dimensionName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dimensionName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getDimensionNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getDimensionNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dimensionName_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression other = - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) obj; - - if (!getDimensionName().equals(other.getDimensionName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DIMENSION_NAME_FIELD_NUMBER; - hash = (53 * hash) + getDimensionName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Used to convert a dimension value to a single case.
-     * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionExpression.CaseExpression} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_CaseExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_CaseExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.class, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder.class); - } - - // Construct using - // com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - dimensionName_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_CaseExpression_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression build() { - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression buildPartial() { - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression result = - new com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression(this); - result.dimensionName_ = dimensionName_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) { - return mergeFrom( - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression other) { - if (other - == com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance()) return this; - if (!other.getDimensionName().isEmpty()) { - dimensionName_ = other.dimensionName_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object dimensionName_ = ""; - /** - * - * - *
-       * Name of a dimension. The name must refer back to a name in dimensions
-       * field of the request.
-       * 
- * - * string dimension_name = 1; - * - * @return The dimensionName. - */ - public java.lang.String getDimensionName() { - java.lang.Object ref = dimensionName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dimensionName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Name of a dimension. The name must refer back to a name in dimensions
-       * field of the request.
-       * 
- * - * string dimension_name = 1; - * - * @return The bytes for dimensionName. - */ - public com.google.protobuf.ByteString getDimensionNameBytes() { - java.lang.Object ref = dimensionName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dimensionName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Name of a dimension. The name must refer back to a name in dimensions
-       * field of the request.
-       * 
- * - * string dimension_name = 1; - * - * @param value The dimensionName to set. - * @return This builder for chaining. - */ - public Builder setDimensionName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - dimensionName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Name of a dimension. The name must refer back to a name in dimensions
-       * field of the request.
-       * 
- * - * string dimension_name = 1; - * - * @return This builder for chaining. - */ - public Builder clearDimensionName() { - - dimensionName_ = getDefaultInstance().getDimensionName(); - onChanged(); - return this; - } - /** - * - * - *
-       * Name of a dimension. The name must refer back to a name in dimensions
-       * field of the request.
-       * 
- * - * string dimension_name = 1; - * - * @param value The bytes for dimensionName to set. - * @return This builder for chaining. - */ - public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - dimensionName_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - private static final com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression(); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CaseExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CaseExpression(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface ConcatenateExpressionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * Names of dimensions. The names must refer back to names in the dimensions
-     * field of the request.
-     * 
- * - * repeated string dimension_names = 1; - * - * @return A list containing the dimensionNames. - */ - java.util.List getDimensionNamesList(); - /** - * - * - *
-     * Names of dimensions. The names must refer back to names in the dimensions
-     * field of the request.
-     * 
- * - * repeated string dimension_names = 1; - * - * @return The count of dimensionNames. - */ - int getDimensionNamesCount(); - /** - * - * - *
-     * Names of dimensions. The names must refer back to names in the dimensions
-     * field of the request.
-     * 
- * - * repeated string dimension_names = 1; - * - * @param index The index of the element to return. - * @return The dimensionNames at the given index. - */ - java.lang.String getDimensionNames(int index); - /** - * - * - *
-     * Names of dimensions. The names must refer back to names in the dimensions
-     * field of the request.
-     * 
- * - * repeated string dimension_names = 1; - * - * @param index The index of the value to return. - * @return The bytes of the dimensionNames at the given index. - */ - com.google.protobuf.ByteString getDimensionNamesBytes(int index); - - /** - * - * - *
-     * The delimiter placed between dimension names.
-     * Delimiters are often single characters such as "|" or "," but can be
-     * longer strings. If a dimension value contains the delimiter, both will be
-     * present in response with no distinction. For example if dimension 1 value
-     * = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
-     * response will contain "US,FR,JP".
-     * 
- * - * string delimiter = 2; - * - * @return The delimiter. - */ - java.lang.String getDelimiter(); - /** - * - * - *
-     * The delimiter placed between dimension names.
-     * Delimiters are often single characters such as "|" or "," but can be
-     * longer strings. If a dimension value contains the delimiter, both will be
-     * present in response with no distinction. For example if dimension 1 value
-     * = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
-     * response will contain "US,FR,JP".
-     * 
- * - * string delimiter = 2; - * - * @return The bytes for delimiter. - */ - com.google.protobuf.ByteString getDelimiterBytes(); - } - /** - * - * - *
-   * Used to combine dimension values to a single dimension.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression} - */ - public static final class ConcatenateExpression extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - ConcatenateExpressionOrBuilder { - private static final long serialVersionUID = 0L; - // Use ConcatenateExpression.newBuilder() to construct. - private ConcatenateExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ConcatenateExpression() { - dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - delimiter_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ConcatenateExpression(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ConcatenateExpression( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensionNames_.add(s); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - delimiter_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionNames_ = dimensionNames_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_ConcatenateExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_ConcatenateExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.class, - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.Builder - .class); - } - - public static final int DIMENSION_NAMES_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList dimensionNames_; - /** - * - * - *
-     * Names of dimensions. The names must refer back to names in the dimensions
-     * field of the request.
-     * 
- * - * repeated string dimension_names = 1; - * - * @return A list containing the dimensionNames. - */ - public com.google.protobuf.ProtocolStringList getDimensionNamesList() { - return dimensionNames_; - } - /** - * - * - *
-     * Names of dimensions. The names must refer back to names in the dimensions
-     * field of the request.
-     * 
- * - * repeated string dimension_names = 1; - * - * @return The count of dimensionNames. - */ - public int getDimensionNamesCount() { - return dimensionNames_.size(); - } - /** - * - * - *
-     * Names of dimensions. The names must refer back to names in the dimensions
-     * field of the request.
-     * 
- * - * repeated string dimension_names = 1; - * - * @param index The index of the element to return. - * @return The dimensionNames at the given index. - */ - public java.lang.String getDimensionNames(int index) { - return dimensionNames_.get(index); - } - /** - * - * - *
-     * Names of dimensions. The names must refer back to names in the dimensions
-     * field of the request.
-     * 
- * - * repeated string dimension_names = 1; - * - * @param index The index of the value to return. - * @return The bytes of the dimensionNames at the given index. - */ - public com.google.protobuf.ByteString getDimensionNamesBytes(int index) { - return dimensionNames_.getByteString(index); - } - - public static final int DELIMITER_FIELD_NUMBER = 2; - private volatile java.lang.Object delimiter_; - /** - * - * - *
-     * The delimiter placed between dimension names.
-     * Delimiters are often single characters such as "|" or "," but can be
-     * longer strings. If a dimension value contains the delimiter, both will be
-     * present in response with no distinction. For example if dimension 1 value
-     * = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
-     * response will contain "US,FR,JP".
-     * 
- * - * string delimiter = 2; - * - * @return The delimiter. - */ - @java.lang.Override - public java.lang.String getDelimiter() { - java.lang.Object ref = delimiter_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - delimiter_ = s; - return s; - } - } - /** - * - * - *
-     * The delimiter placed between dimension names.
-     * Delimiters are often single characters such as "|" or "," but can be
-     * longer strings. If a dimension value contains the delimiter, both will be
-     * present in response with no distinction. For example if dimension 1 value
-     * = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
-     * response will contain "US,FR,JP".
-     * 
- * - * string delimiter = 2; - * - * @return The bytes for delimiter. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDelimiterBytes() { - java.lang.Object ref = delimiter_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - delimiter_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < dimensionNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionNames_.getRaw(i)); - } - if (!getDelimiterBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, delimiter_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < dimensionNames_.size(); i++) { - dataSize += computeStringSizeNoTag(dimensionNames_.getRaw(i)); - } - size += dataSize; - size += 1 * getDimensionNamesList().size(); - } - if (!getDelimiterBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, delimiter_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression other = - (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) obj; - - if (!getDimensionNamesList().equals(other.getDimensionNamesList())) return false; - if (!getDelimiter().equals(other.getDelimiter())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getDimensionNamesCount() > 0) { - hash = (37 * hash) + DIMENSION_NAMES_FIELD_NUMBER; - hash = (53 * hash) + getDimensionNamesList().hashCode(); - } - hash = (37 * hash) + DELIMITER_FIELD_NUMBER; - hash = (53 * hash) + getDelimiter().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Used to combine dimension values to a single dimension.
-     * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_ConcatenateExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_ConcatenateExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.class, - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.Builder - .class); - } - - // Construct using - // com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - delimiter_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_ConcatenateExpression_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression build() { - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - buildPartial() { - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression result = - new com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - dimensionNames_ = dimensionNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dimensionNames_ = dimensionNames_; - result.delimiter_ = delimiter_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) { - return mergeFrom( - (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression other) { - if (other - == com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .getDefaultInstance()) return this; - if (!other.dimensionNames_.isEmpty()) { - if (dimensionNames_.isEmpty()) { - dimensionNames_ = other.dimensionNames_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDimensionNamesIsMutable(); - dimensionNames_.addAll(other.dimensionNames_); - } - onChanged(); - } - if (!other.getDelimiter().isEmpty()) { - delimiter_ = other.delimiter_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression parsedMessage = - null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList dimensionNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureDimensionNamesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - dimensionNames_ = new com.google.protobuf.LazyStringArrayList(dimensionNames_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
-       * Names of dimensions. The names must refer back to names in the dimensions
-       * field of the request.
-       * 
- * - * repeated string dimension_names = 1; - * - * @return A list containing the dimensionNames. - */ - public com.google.protobuf.ProtocolStringList getDimensionNamesList() { - return dimensionNames_.getUnmodifiableView(); - } - /** - * - * - *
-       * Names of dimensions. The names must refer back to names in the dimensions
-       * field of the request.
-       * 
- * - * repeated string dimension_names = 1; - * - * @return The count of dimensionNames. - */ - public int getDimensionNamesCount() { - return dimensionNames_.size(); - } - /** - * - * - *
-       * Names of dimensions. The names must refer back to names in the dimensions
-       * field of the request.
-       * 
- * - * repeated string dimension_names = 1; - * - * @param index The index of the element to return. - * @return The dimensionNames at the given index. - */ - public java.lang.String getDimensionNames(int index) { - return dimensionNames_.get(index); - } - /** - * - * - *
-       * Names of dimensions. The names must refer back to names in the dimensions
-       * field of the request.
-       * 
- * - * repeated string dimension_names = 1; - * - * @param index The index of the value to return. - * @return The bytes of the dimensionNames at the given index. - */ - public com.google.protobuf.ByteString getDimensionNamesBytes(int index) { - return dimensionNames_.getByteString(index); - } - /** - * - * - *
-       * Names of dimensions. The names must refer back to names in the dimensions
-       * field of the request.
-       * 
- * - * repeated string dimension_names = 1; - * - * @param index The index to set the value at. - * @param value The dimensionNames to set. - * @return This builder for chaining. - */ - public Builder setDimensionNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionNamesIsMutable(); - dimensionNames_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
-       * Names of dimensions. The names must refer back to names in the dimensions
-       * field of the request.
-       * 
- * - * repeated string dimension_names = 1; - * - * @param value The dimensionNames to add. - * @return This builder for chaining. - */ - public Builder addDimensionNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionNamesIsMutable(); - dimensionNames_.add(value); - onChanged(); - return this; - } - /** - * - * - *
-       * Names of dimensions. The names must refer back to names in the dimensions
-       * field of the request.
-       * 
- * - * repeated string dimension_names = 1; - * - * @param values The dimensionNames to add. - * @return This builder for chaining. - */ - public Builder addAllDimensionNames(java.lang.Iterable values) { - ensureDimensionNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionNames_); - onChanged(); - return this; - } - /** - * - * - *
-       * Names of dimensions. The names must refer back to names in the dimensions
-       * field of the request.
-       * 
- * - * repeated string dimension_names = 1; - * - * @return This builder for chaining. - */ - public Builder clearDimensionNames() { - dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-       * Names of dimensions. The names must refer back to names in the dimensions
-       * field of the request.
-       * 
- * - * repeated string dimension_names = 1; - * - * @param value The bytes of the dimensionNames to add. - * @return This builder for chaining. - */ - public Builder addDimensionNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDimensionNamesIsMutable(); - dimensionNames_.add(value); - onChanged(); - return this; - } - - private java.lang.Object delimiter_ = ""; - /** - * - * - *
-       * The delimiter placed between dimension names.
-       * Delimiters are often single characters such as "|" or "," but can be
-       * longer strings. If a dimension value contains the delimiter, both will be
-       * present in response with no distinction. For example if dimension 1 value
-       * = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
-       * response will contain "US,FR,JP".
-       * 
- * - * string delimiter = 2; - * - * @return The delimiter. - */ - public java.lang.String getDelimiter() { - java.lang.Object ref = delimiter_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - delimiter_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * The delimiter placed between dimension names.
-       * Delimiters are often single characters such as "|" or "," but can be
-       * longer strings. If a dimension value contains the delimiter, both will be
-       * present in response with no distinction. For example if dimension 1 value
-       * = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
-       * response will contain "US,FR,JP".
-       * 
- * - * string delimiter = 2; - * - * @return The bytes for delimiter. - */ - public com.google.protobuf.ByteString getDelimiterBytes() { - java.lang.Object ref = delimiter_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - delimiter_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * The delimiter placed between dimension names.
-       * Delimiters are often single characters such as "|" or "," but can be
-       * longer strings. If a dimension value contains the delimiter, both will be
-       * present in response with no distinction. For example if dimension 1 value
-       * = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
-       * response will contain "US,FR,JP".
-       * 
- * - * string delimiter = 2; - * - * @param value The delimiter to set. - * @return This builder for chaining. - */ - public Builder setDelimiter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - delimiter_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * The delimiter placed between dimension names.
-       * Delimiters are often single characters such as "|" or "," but can be
-       * longer strings. If a dimension value contains the delimiter, both will be
-       * present in response with no distinction. For example if dimension 1 value
-       * = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
-       * response will contain "US,FR,JP".
-       * 
- * - * string delimiter = 2; - * - * @return This builder for chaining. - */ - public Builder clearDelimiter() { - - delimiter_ = getDefaultInstance().getDelimiter(); - onChanged(); - return this; - } - /** - * - * - *
-       * The delimiter placed between dimension names.
-       * Delimiters are often single characters such as "|" or "," but can be
-       * longer strings. If a dimension value contains the delimiter, both will be
-       * present in response with no distinction. For example if dimension 1 value
-       * = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
-       * response will contain "US,FR,JP".
-       * 
- * - * string delimiter = 2; - * - * @param value The bytes for delimiter to set. - * @return This builder for chaining. - */ - public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - delimiter_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - private static final com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression(); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConcatenateExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConcatenateExpression(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - private int oneExpressionCase_ = 0; - private java.lang.Object oneExpression_; - - public enum OneExpressionCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - LOWER_CASE(4), - UPPER_CASE(5), - CONCATENATE(6), - ONEEXPRESSION_NOT_SET(0); - private final int value; - - private OneExpressionCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OneExpressionCase valueOf(int value) { - return forNumber(value); - } - - public static OneExpressionCase forNumber(int value) { - switch (value) { - case 4: - return LOWER_CASE; - case 5: - return UPPER_CASE; - case 6: - return CONCATENATE; - case 0: - return ONEEXPRESSION_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public OneExpressionCase getOneExpressionCase() { - return OneExpressionCase.forNumber(oneExpressionCase_); - } - - public static final int LOWER_CASE_FIELD_NUMBER = 4; - /** - * - * - *
-   * Used to convert a dimension value to lower case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - * @return Whether the lowerCase field is set. - */ - @java.lang.Override - public boolean hasLowerCase() { - return oneExpressionCase_ == 4; - } - /** - * - * - *
-   * Used to convert a dimension value to lower case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - * @return The lowerCase. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression getLowerCase() { - if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - /** - * - * - *
-   * Used to convert a dimension value to lower case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder - getLowerCaseOrBuilder() { - if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - - public static final int UPPER_CASE_FIELD_NUMBER = 5; - /** - * - * - *
-   * Used to convert a dimension value to upper case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - * @return Whether the upperCase field is set. - */ - @java.lang.Override - public boolean hasUpperCase() { - return oneExpressionCase_ == 5; - } - /** - * - * - *
-   * Used to convert a dimension value to upper case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - * @return The upperCase. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression getUpperCase() { - if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - /** - * - * - *
-   * Used to convert a dimension value to upper case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder - getUpperCaseOrBuilder() { - if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - - public static final int CONCATENATE_FIELD_NUMBER = 6; - /** - * - * - *
-   * Used to combine dimension values to a single dimension.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * - * @return Whether the concatenate field is set. - */ - @java.lang.Override - public boolean hasConcatenate() { - return oneExpressionCase_ == 6; - } - /** - * - * - *
-   * Used to combine dimension values to a single dimension.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * - * @return The concatenate. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - getConcatenate() { - if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); - } - /** - * - * - *
-   * Used to combine dimension values to a single dimension.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpressionOrBuilder - getConcatenateOrBuilder() { - if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (oneExpressionCase_ == 4) { - output.writeMessage( - 4, (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) oneExpression_); - } - if (oneExpressionCase_ == 5) { - output.writeMessage( - 5, (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) oneExpression_); - } - if (oneExpressionCase_ == 6) { - output.writeMessage( - 6, - (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - oneExpression_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (oneExpressionCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_); - } - if (oneExpressionCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_); - } - if (oneExpressionCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, - (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - oneExpression_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.DimensionExpression)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.DimensionExpression other = - (com.google.analytics.data.v1alpha.DimensionExpression) obj; - - if (!getOneExpressionCase().equals(other.getOneExpressionCase())) return false; - switch (oneExpressionCase_) { - case 4: - if (!getLowerCase().equals(other.getLowerCase())) return false; - break; - case 5: - if (!getUpperCase().equals(other.getUpperCase())) return false; - break; - case 6: - if (!getConcatenate().equals(other.getConcatenate())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (oneExpressionCase_) { - case 4: - hash = (37 * hash) + LOWER_CASE_FIELD_NUMBER; - hash = (53 * hash) + getLowerCase().hashCode(); - break; - case 5: - hash = (37 * hash) + UPPER_CASE_FIELD_NUMBER; - hash = (53 * hash) + getUpperCase().hashCode(); - break; - case 6: - hash = (37 * hash) + CONCATENATE_FIELD_NUMBER; - hash = (53 * hash) + getConcatenate().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.DimensionExpression prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Used to express a dimension which is the result of a formula of multiple
-   * dimensions. Example usages:
-   * 1) lower_case(dimension)
-   * 2) concatenate(dimension1, symbol, dimension2).
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionExpression} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.DimensionExpression) - com.google.analytics.data.v1alpha.DimensionExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionExpression.class, - com.google.analytics.data.v1alpha.DimensionExpression.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.DimensionExpression.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - oneExpressionCase_ = 0; - oneExpression_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionExpression_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.DimensionExpression.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression build() { - com.google.analytics.data.v1alpha.DimensionExpression result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression buildPartial() { - com.google.analytics.data.v1alpha.DimensionExpression result = - new com.google.analytics.data.v1alpha.DimensionExpression(this); - if (oneExpressionCase_ == 4) { - if (lowerCaseBuilder_ == null) { - result.oneExpression_ = oneExpression_; - } else { - result.oneExpression_ = lowerCaseBuilder_.build(); - } - } - if (oneExpressionCase_ == 5) { - if (upperCaseBuilder_ == null) { - result.oneExpression_ = oneExpression_; - } else { - result.oneExpression_ = upperCaseBuilder_.build(); - } - } - if (oneExpressionCase_ == 6) { - if (concatenateBuilder_ == null) { - result.oneExpression_ = oneExpression_; - } else { - result.oneExpression_ = concatenateBuilder_.build(); - } - } - result.oneExpressionCase_ = oneExpressionCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.DimensionExpression) { - return mergeFrom((com.google.analytics.data.v1alpha.DimensionExpression) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.DimensionExpression other) { - if (other == com.google.analytics.data.v1alpha.DimensionExpression.getDefaultInstance()) - return this; - switch (other.getOneExpressionCase()) { - case LOWER_CASE: - { - mergeLowerCase(other.getLowerCase()); - break; - } - case UPPER_CASE: - { - mergeUpperCase(other.getUpperCase()); - break; - } - case CONCATENATE: - { - mergeConcatenate(other.getConcatenate()); - break; - } - case ONEEXPRESSION_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.DimensionExpression parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.DimensionExpression) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int oneExpressionCase_ = 0; - private java.lang.Object oneExpression_; - - public OneExpressionCase getOneExpressionCase() { - return OneExpressionCase.forNumber(oneExpressionCase_); - } - - public Builder clearOneExpression() { - oneExpressionCase_ = 0; - oneExpression_ = null; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder> - lowerCaseBuilder_; - /** - * - * - *
-     * Used to convert a dimension value to lower case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - * - * @return Whether the lowerCase field is set. - */ - @java.lang.Override - public boolean hasLowerCase() { - return oneExpressionCase_ == 4; - } - /** - * - * - *
-     * Used to convert a dimension value to lower case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - * - * @return The lowerCase. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression getLowerCase() { - if (lowerCaseBuilder_ == null) { - if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } else { - if (oneExpressionCase_ == 4) { - return lowerCaseBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Used to convert a dimension value to lower case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - */ - public Builder setLowerCase( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression value) { - if (lowerCaseBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oneExpression_ = value; - onChanged(); - } else { - lowerCaseBuilder_.setMessage(value); - } - oneExpressionCase_ = 4; - return this; - } - /** - * - * - *
-     * Used to convert a dimension value to lower case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - */ - public Builder setLowerCase( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder - builderForValue) { - if (lowerCaseBuilder_ == null) { - oneExpression_ = builderForValue.build(); - onChanged(); - } else { - lowerCaseBuilder_.setMessage(builderForValue.build()); - } - oneExpressionCase_ = 4; - return this; - } - /** - * - * - *
-     * Used to convert a dimension value to lower case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - */ - public Builder mergeLowerCase( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression value) { - if (lowerCaseBuilder_ == null) { - if (oneExpressionCase_ == 4 - && oneExpression_ - != com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance()) { - oneExpression_ = - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.newBuilder( - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_) - .mergeFrom(value) - .buildPartial(); - } else { - oneExpression_ = value; - } - onChanged(); - } else { - if (oneExpressionCase_ == 4) { - lowerCaseBuilder_.mergeFrom(value); - } - lowerCaseBuilder_.setMessage(value); - } - oneExpressionCase_ = 4; - return this; - } - /** - * - * - *
-     * Used to convert a dimension value to lower case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - */ - public Builder clearLowerCase() { - if (lowerCaseBuilder_ == null) { - if (oneExpressionCase_ == 4) { - oneExpressionCase_ = 0; - oneExpression_ = null; - onChanged(); - } - } else { - if (oneExpressionCase_ == 4) { - oneExpressionCase_ = 0; - oneExpression_ = null; - } - lowerCaseBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Used to convert a dimension value to lower case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - */ - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder - getLowerCaseBuilder() { - return getLowerCaseFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Used to convert a dimension value to lower case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder - getLowerCaseOrBuilder() { - if ((oneExpressionCase_ == 4) && (lowerCaseBuilder_ != null)) { - return lowerCaseBuilder_.getMessageOrBuilder(); - } else { - if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Used to convert a dimension value to lower case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder> - getLowerCaseFieldBuilder() { - if (lowerCaseBuilder_ == null) { - if (!(oneExpressionCase_ == 4)) { - oneExpression_ = - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - lowerCaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder>( - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_, - getParentForChildren(), - isClean()); - oneExpression_ = null; - } - oneExpressionCase_ = 4; - onChanged(); - ; - return lowerCaseBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder> - upperCaseBuilder_; - /** - * - * - *
-     * Used to convert a dimension value to upper case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - * - * @return Whether the upperCase field is set. - */ - @java.lang.Override - public boolean hasUpperCase() { - return oneExpressionCase_ == 5; - } - /** - * - * - *
-     * Used to convert a dimension value to upper case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - * - * @return The upperCase. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression getUpperCase() { - if (upperCaseBuilder_ == null) { - if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } else { - if (oneExpressionCase_ == 5) { - return upperCaseBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Used to convert a dimension value to upper case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - */ - public Builder setUpperCase( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression value) { - if (upperCaseBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oneExpression_ = value; - onChanged(); - } else { - upperCaseBuilder_.setMessage(value); - } - oneExpressionCase_ = 5; - return this; - } - /** - * - * - *
-     * Used to convert a dimension value to upper case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - */ - public Builder setUpperCase( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder - builderForValue) { - if (upperCaseBuilder_ == null) { - oneExpression_ = builderForValue.build(); - onChanged(); - } else { - upperCaseBuilder_.setMessage(builderForValue.build()); - } - oneExpressionCase_ = 5; - return this; - } - /** - * - * - *
-     * Used to convert a dimension value to upper case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - */ - public Builder mergeUpperCase( - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression value) { - if (upperCaseBuilder_ == null) { - if (oneExpressionCase_ == 5 - && oneExpression_ - != com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance()) { - oneExpression_ = - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.newBuilder( - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_) - .mergeFrom(value) - .buildPartial(); - } else { - oneExpression_ = value; - } - onChanged(); - } else { - if (oneExpressionCase_ == 5) { - upperCaseBuilder_.mergeFrom(value); - } - upperCaseBuilder_.setMessage(value); - } - oneExpressionCase_ = 5; - return this; - } - /** - * - * - *
-     * Used to convert a dimension value to upper case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - */ - public Builder clearUpperCase() { - if (upperCaseBuilder_ == null) { - if (oneExpressionCase_ == 5) { - oneExpressionCase_ = 0; - oneExpression_ = null; - onChanged(); - } - } else { - if (oneExpressionCase_ == 5) { - oneExpressionCase_ = 0; - oneExpression_ = null; - } - upperCaseBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Used to convert a dimension value to upper case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - */ - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder - getUpperCaseBuilder() { - return getUpperCaseFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Used to convert a dimension value to upper case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder - getUpperCaseOrBuilder() { - if ((oneExpressionCase_ == 5) && (upperCaseBuilder_ != null)) { - return upperCaseBuilder_.getMessageOrBuilder(); - } else { - if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Used to convert a dimension value to upper case.
-     * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder> - getUpperCaseFieldBuilder() { - if (upperCaseBuilder_ == null) { - if (!(oneExpressionCase_ == 5)) { - oneExpression_ = - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression - .getDefaultInstance(); - } - upperCaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder>( - (com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression) - oneExpression_, - getParentForChildren(), - isClean()); - oneExpression_ = null; - } - oneExpressionCase_ = 5; - onChanged(); - ; - return upperCaseBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression, - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpressionOrBuilder> - concatenateBuilder_; - /** - * - * - *
-     * Used to combine dimension values to a single dimension.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * - * @return Whether the concatenate field is set. - */ - @java.lang.Override - public boolean hasConcatenate() { - return oneExpressionCase_ == 6; - } - /** - * - * - *
-     * Used to combine dimension values to a single dimension.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * - * @return The concatenate. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - getConcatenate() { - if (concatenateBuilder_ == null) { - if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); - } else { - if (oneExpressionCase_ == 6) { - return concatenateBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Used to combine dimension values to a single dimension.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - */ - public Builder setConcatenate( - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression value) { - if (concatenateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oneExpression_ = value; - onChanged(); - } else { - concatenateBuilder_.setMessage(value); - } - oneExpressionCase_ = 6; - return this; - } - /** - * - * - *
-     * Used to combine dimension values to a single dimension.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - */ - public Builder setConcatenate( - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.Builder - builderForValue) { - if (concatenateBuilder_ == null) { - oneExpression_ = builderForValue.build(); - onChanged(); - } else { - concatenateBuilder_.setMessage(builderForValue.build()); - } - oneExpressionCase_ = 6; - return this; - } - /** - * - * - *
-     * Used to combine dimension values to a single dimension.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - */ - public Builder mergeConcatenate( - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression value) { - if (concatenateBuilder_ == null) { - if (oneExpressionCase_ == 6 - && oneExpression_ - != com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .getDefaultInstance()) { - oneExpression_ = - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .newBuilder( - (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - oneExpression_) - .mergeFrom(value) - .buildPartial(); - } else { - oneExpression_ = value; - } - onChanged(); - } else { - if (oneExpressionCase_ == 6) { - concatenateBuilder_.mergeFrom(value); - } - concatenateBuilder_.setMessage(value); - } - oneExpressionCase_ = 6; - return this; - } - /** - * - * - *
-     * Used to combine dimension values to a single dimension.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - */ - public Builder clearConcatenate() { - if (concatenateBuilder_ == null) { - if (oneExpressionCase_ == 6) { - oneExpressionCase_ = 0; - oneExpression_ = null; - onChanged(); - } - } else { - if (oneExpressionCase_ == 6) { - oneExpressionCase_ = 0; - oneExpression_ = null; - } - concatenateBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Used to combine dimension values to a single dimension.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - */ - public com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.Builder - getConcatenateBuilder() { - return getConcatenateFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Used to combine dimension values to a single dimension.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpressionOrBuilder - getConcatenateOrBuilder() { - if ((oneExpressionCase_ == 6) && (concatenateBuilder_ != null)) { - return concatenateBuilder_.getMessageOrBuilder(); - } else { - if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - oneExpression_; - } - return com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Used to combine dimension values to a single dimension.
-     * For example, dimension "country, city": concatenate(country, ", ", city).
-     * 
- * - * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression, - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpressionOrBuilder> - getConcatenateFieldBuilder() { - if (concatenateBuilder_ == null) { - if (!(oneExpressionCase_ == 6)) { - oneExpression_ = - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression - .getDefaultInstance(); - } - concatenateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression, - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression.Builder, - com.google.analytics.data.v1alpha.DimensionExpression - .ConcatenateExpressionOrBuilder>( - (com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression) - oneExpression_, - getParentForChildren(), - isClean()); - oneExpression_ = null; - } - oneExpressionCase_ = 6; - onChanged(); - ; - return concatenateBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.DimensionExpression) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.DimensionExpression) - private static final com.google.analytics.data.v1alpha.DimensionExpression DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.DimensionExpression(); - } - - public static com.google.analytics.data.v1alpha.DimensionExpression getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionExpression(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionExpression getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionExpressionOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionExpressionOrBuilder.java deleted file mode 100644 index 78304cc0..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionExpressionOrBuilder.java +++ /dev/null @@ -1,142 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface DimensionExpressionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.DimensionExpression) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Used to convert a dimension value to lower case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - * @return Whether the lowerCase field is set. - */ - boolean hasLowerCase(); - /** - * - * - *
-   * Used to convert a dimension value to lower case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - * - * @return The lowerCase. - */ - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression getLowerCase(); - /** - * - * - *
-   * Used to convert a dimension value to lower case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4; - */ - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder - getLowerCaseOrBuilder(); - - /** - * - * - *
-   * Used to convert a dimension value to upper case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - * @return Whether the upperCase field is set. - */ - boolean hasUpperCase(); - /** - * - * - *
-   * Used to convert a dimension value to upper case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - * - * @return The upperCase. - */ - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpression getUpperCase(); - /** - * - * - *
-   * Used to convert a dimension value to upper case.
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5; - */ - com.google.analytics.data.v1alpha.DimensionExpression.CaseExpressionOrBuilder - getUpperCaseOrBuilder(); - - /** - * - * - *
-   * Used to combine dimension values to a single dimension.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * - * @return Whether the concatenate field is set. - */ - boolean hasConcatenate(); - /** - * - * - *
-   * Used to combine dimension values to a single dimension.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - * - * @return The concatenate. - */ - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression getConcatenate(); - /** - * - * - *
-   * Used to combine dimension values to a single dimension.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6; - * - */ - com.google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpressionOrBuilder - getConcatenateOrBuilder(); - - public com.google.analytics.data.v1alpha.DimensionExpression.OneExpressionCase - getOneExpressionCase(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionHeader.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionHeader.java deleted file mode 100644 index 92100cd5..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionHeader.java +++ /dev/null @@ -1,642 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Describes a dimension column in the report. Dimensions requested in a report
- * produce column entries within rows and DimensionHeaders. However, dimensions
- * used exclusively within filters or expressions do not produce columns in a
- * report; correspondingly, those dimensions do not produce headers.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionHeader} - */ -public final class DimensionHeader extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.DimensionHeader) - DimensionHeaderOrBuilder { - private static final long serialVersionUID = 0L; - // Use DimensionHeader.newBuilder() to construct. - private DimensionHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DimensionHeader() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DimensionHeader(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private DimensionHeader( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionHeader_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionHeader_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionHeader.class, - com.google.analytics.data.v1alpha.DimensionHeader.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * The dimension's name.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * The dimension's name.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.DimensionHeader)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.DimensionHeader other = - (com.google.analytics.data.v1alpha.DimensionHeader) obj; - - if (!getName().equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.DimensionHeader prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Describes a dimension column in the report. Dimensions requested in a report
-   * produce column entries within rows and DimensionHeaders. However, dimensions
-   * used exclusively within filters or expressions do not produce columns in a
-   * report; correspondingly, those dimensions do not produce headers.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionHeader} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.DimensionHeader) - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionHeader_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionHeader_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionHeader.class, - com.google.analytics.data.v1alpha.DimensionHeader.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.DimensionHeader.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionHeader_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionHeader getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.DimensionHeader.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionHeader build() { - com.google.analytics.data.v1alpha.DimensionHeader result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionHeader buildPartial() { - com.google.analytics.data.v1alpha.DimensionHeader result = - new com.google.analytics.data.v1alpha.DimensionHeader(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.DimensionHeader) { - return mergeFrom((com.google.analytics.data.v1alpha.DimensionHeader) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.DimensionHeader other) { - if (other == com.google.analytics.data.v1alpha.DimensionHeader.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.DimensionHeader parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.DimensionHeader) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * The dimension's 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; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The dimension's name.
-     * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The dimension's name.
-     * 
- * - * string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The dimension's name.
-     * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * The dimension's 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) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.DimensionHeader) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.DimensionHeader) - private static final com.google.analytics.data.v1alpha.DimensionHeader DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.DimensionHeader(); - } - - public static com.google.analytics.data.v1alpha.DimensionHeader getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionHeader(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionHeader getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionHeaderOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionHeaderOrBuilder.java deleted file mode 100644 index e514389a..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionHeaderOrBuilder.java +++ /dev/null @@ -1,50 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface DimensionHeaderOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.DimensionHeader) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The dimension's name.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The dimension's name.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionMetadata.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionMetadata.java deleted file mode 100644 index 5a351094..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionMetadata.java +++ /dev/null @@ -1,1417 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Explains a dimension.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionMetadata} - */ -public final class DimensionMetadata extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.DimensionMetadata) - DimensionMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use DimensionMetadata.newBuilder() to construct. - private DimensionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DimensionMetadata() { - apiName_ = ""; - uiName_ = ""; - description_ = ""; - deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DimensionMetadata(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private DimensionMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - apiName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - uiName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - deprecatedApiNames_.add(s); - break; - } - case 40: - { - customDefinition_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = deprecatedApiNames_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionMetadata.class, - com.google.analytics.data.v1alpha.DimensionMetadata.Builder.class); - } - - public static final int API_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object apiName_; - /** - * - * - *
-   * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
-   * example, `eventName`.
-   * 
- * - * string api_name = 1; - * - * @return The apiName. - */ - @java.lang.Override - public java.lang.String getApiName() { - java.lang.Object ref = apiName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - apiName_ = s; - return s; - } - } - /** - * - * - *
-   * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
-   * example, `eventName`.
-   * 
- * - * string api_name = 1; - * - * @return The bytes for apiName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getApiNameBytes() { - java.lang.Object ref = apiName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - apiName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int UI_NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object uiName_; - /** - * - * - *
-   * This dimension's name within the Google Analytics user interface. For
-   * example, `Event name`.
-   * 
- * - * string ui_name = 2; - * - * @return The uiName. - */ - @java.lang.Override - public java.lang.String getUiName() { - java.lang.Object ref = uiName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uiName_ = s; - return s; - } - } - /** - * - * - *
-   * This dimension's name within the Google Analytics user interface. For
-   * example, `Event name`.
-   * 
- * - * string ui_name = 2; - * - * @return The bytes for uiName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getUiNameBytes() { - java.lang.Object ref = uiName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - uiName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCRIPTION_FIELD_NUMBER = 3; - private volatile java.lang.Object description_; - /** - * - * - *
-   * Description of how this dimension is used and calculated.
-   * 
- * - * string description = 3; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } - } - /** - * - * - *
-   * Description of how this dimension is used and calculated.
-   * 
- * - * string description = 3; - * - * @return The bytes for description. - */ - @java.lang.Override - 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); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DEPRECATED_API_NAMES_FIELD_NUMBER = 4; - private com.google.protobuf.LazyStringList deprecatedApiNames_; - /** - * - * - *
-   * Still usable but deprecated names for this dimension. If populated, this
-   * dimension is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the dimension will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @return A list containing the deprecatedApiNames. - */ - public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { - return deprecatedApiNames_; - } - /** - * - * - *
-   * Still usable but deprecated names for this dimension. If populated, this
-   * dimension is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the dimension will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @return The count of deprecatedApiNames. - */ - public int getDeprecatedApiNamesCount() { - return deprecatedApiNames_.size(); - } - /** - * - * - *
-   * Still usable but deprecated names for this dimension. If populated, this
-   * dimension is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the dimension will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the element to return. - * @return The deprecatedApiNames at the given index. - */ - public java.lang.String getDeprecatedApiNames(int index) { - return deprecatedApiNames_.get(index); - } - /** - * - * - *
-   * Still usable but deprecated names for this dimension. If populated, this
-   * dimension is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the dimension will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the value to return. - * @return The bytes of the deprecatedApiNames at the given index. - */ - public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { - return deprecatedApiNames_.getByteString(index); - } - - public static final int CUSTOM_DEFINITION_FIELD_NUMBER = 5; - private boolean customDefinition_; - /** - * - * - *
-   * True if the dimension is a custom dimension for this property.
-   * 
- * - * bool custom_definition = 5; - * - * @return The customDefinition. - */ - @java.lang.Override - public boolean getCustomDefinition() { - return customDefinition_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getApiNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apiName_); - } - if (!getUiNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uiName_); - } - if (!getDescriptionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); - } - for (int i = 0; i < deprecatedApiNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, deprecatedApiNames_.getRaw(i)); - } - if (customDefinition_ != false) { - output.writeBool(5, customDefinition_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getApiNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, apiName_); - } - if (!getUiNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uiName_); - } - if (!getDescriptionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); - } - { - int dataSize = 0; - for (int i = 0; i < deprecatedApiNames_.size(); i++) { - dataSize += computeStringSizeNoTag(deprecatedApiNames_.getRaw(i)); - } - size += dataSize; - size += 1 * getDeprecatedApiNamesList().size(); - } - if (customDefinition_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, customDefinition_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.DimensionMetadata)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.DimensionMetadata other = - (com.google.analytics.data.v1alpha.DimensionMetadata) obj; - - if (!getApiName().equals(other.getApiName())) return false; - if (!getUiName().equals(other.getUiName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getDeprecatedApiNamesList().equals(other.getDeprecatedApiNamesList())) return false; - if (getCustomDefinition() != other.getCustomDefinition()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + API_NAME_FIELD_NUMBER; - hash = (53 * hash) + getApiName().hashCode(); - hash = (37 * hash) + UI_NAME_FIELD_NUMBER; - hash = (53 * hash) + getUiName().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - if (getDeprecatedApiNamesCount() > 0) { - hash = (37 * hash) + DEPRECATED_API_NAMES_FIELD_NUMBER; - hash = (53 * hash) + getDeprecatedApiNamesList().hashCode(); - } - hash = (37 * hash) + CUSTOM_DEFINITION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustomDefinition()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.DimensionMetadata prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Explains a dimension.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionMetadata} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.DimensionMetadata) - com.google.analytics.data.v1alpha.DimensionMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionMetadata.class, - com.google.analytics.data.v1alpha.DimensionMetadata.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.DimensionMetadata.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - apiName_ = ""; - - uiName_ = ""; - - description_ = ""; - - deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - customDefinition_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionMetadata_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionMetadata getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.DimensionMetadata.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionMetadata build() { - com.google.analytics.data.v1alpha.DimensionMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionMetadata buildPartial() { - com.google.analytics.data.v1alpha.DimensionMetadata result = - new com.google.analytics.data.v1alpha.DimensionMetadata(this); - int from_bitField0_ = bitField0_; - result.apiName_ = apiName_; - result.uiName_ = uiName_; - result.description_ = description_; - if (((bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = deprecatedApiNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.deprecatedApiNames_ = deprecatedApiNames_; - result.customDefinition_ = customDefinition_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.DimensionMetadata) { - return mergeFrom((com.google.analytics.data.v1alpha.DimensionMetadata) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.DimensionMetadata other) { - if (other == com.google.analytics.data.v1alpha.DimensionMetadata.getDefaultInstance()) - return this; - if (!other.getApiName().isEmpty()) { - apiName_ = other.apiName_; - onChanged(); - } - if (!other.getUiName().isEmpty()) { - uiName_ = other.uiName_; - onChanged(); - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - onChanged(); - } - if (!other.deprecatedApiNames_.isEmpty()) { - if (deprecatedApiNames_.isEmpty()) { - deprecatedApiNames_ = other.deprecatedApiNames_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDeprecatedApiNamesIsMutable(); - deprecatedApiNames_.addAll(other.deprecatedApiNames_); - } - onChanged(); - } - if (other.getCustomDefinition() != false) { - setCustomDefinition(other.getCustomDefinition()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.DimensionMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.DimensionMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object apiName_ = ""; - /** - * - * - *
-     * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
-     * example, `eventName`.
-     * 
- * - * string api_name = 1; - * - * @return The apiName. - */ - public java.lang.String getApiName() { - java.lang.Object ref = apiName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - apiName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
-     * example, `eventName`.
-     * 
- * - * string api_name = 1; - * - * @return The bytes for apiName. - */ - public com.google.protobuf.ByteString getApiNameBytes() { - java.lang.Object ref = apiName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - apiName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
-     * example, `eventName`.
-     * 
- * - * string api_name = 1; - * - * @param value The apiName to set. - * @return This builder for chaining. - */ - public Builder setApiName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - apiName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
-     * example, `eventName`.
-     * 
- * - * string api_name = 1; - * - * @return This builder for chaining. - */ - public Builder clearApiName() { - - apiName_ = getDefaultInstance().getApiName(); - onChanged(); - return this; - } - /** - * - * - *
-     * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
-     * example, `eventName`.
-     * 
- * - * string api_name = 1; - * - * @param value The bytes for apiName to set. - * @return This builder for chaining. - */ - public Builder setApiNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - apiName_ = value; - onChanged(); - return this; - } - - private java.lang.Object uiName_ = ""; - /** - * - * - *
-     * This dimension's name within the Google Analytics user interface. For
-     * example, `Event name`.
-     * 
- * - * string ui_name = 2; - * - * @return The uiName. - */ - public java.lang.String getUiName() { - java.lang.Object ref = uiName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uiName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * This dimension's name within the Google Analytics user interface. For
-     * example, `Event name`.
-     * 
- * - * string ui_name = 2; - * - * @return The bytes for uiName. - */ - public com.google.protobuf.ByteString getUiNameBytes() { - java.lang.Object ref = uiName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - uiName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * This dimension's name within the Google Analytics user interface. For
-     * example, `Event name`.
-     * 
- * - * string ui_name = 2; - * - * @param value The uiName to set. - * @return This builder for chaining. - */ - public Builder setUiName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uiName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * This dimension's name within the Google Analytics user interface. For
-     * example, `Event name`.
-     * 
- * - * string ui_name = 2; - * - * @return This builder for chaining. - */ - public Builder clearUiName() { - - uiName_ = getDefaultInstance().getUiName(); - onChanged(); - return this; - } - /** - * - * - *
-     * This dimension's name within the Google Analytics user interface. For
-     * example, `Event name`.
-     * 
- * - * string ui_name = 2; - * - * @param value The bytes for uiName to set. - * @return This builder for chaining. - */ - public Builder setUiNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - uiName_ = value; - onChanged(); - return this; - } - - private java.lang.Object description_ = ""; - /** - * - * - *
-     * Description of how this dimension is used and calculated.
-     * 
- * - * 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; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Description of how this dimension is used and calculated.
-     * 
- * - * string description = 3; - * - * @return The bytes for description. - */ - 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); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Description of how this dimension is used and calculated.
-     * 
- * - * string description = 3; - * - * @param value The description to set. - * @return This builder for chaining. - */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - description_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Description of how this dimension is used and calculated.
-     * 
- * - * string description = 3; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - - description_ = getDefaultInstance().getDescription(); - onChanged(); - return this; - } - /** - * - * - *
-     * Description of how this dimension is used and calculated.
-     * 
- * - * string description = 3; - * - * @param value The bytes for description to set. - * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - description_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList deprecatedApiNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureDeprecatedApiNamesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(deprecatedApiNames_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
-     * Still usable but deprecated names for this dimension. If populated, this
-     * dimension is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the dimension will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @return A list containing the deprecatedApiNames. - */ - public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { - return deprecatedApiNames_.getUnmodifiableView(); - } - /** - * - * - *
-     * Still usable but deprecated names for this dimension. If populated, this
-     * dimension is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the dimension will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @return The count of deprecatedApiNames. - */ - public int getDeprecatedApiNamesCount() { - return deprecatedApiNames_.size(); - } - /** - * - * - *
-     * Still usable but deprecated names for this dimension. If populated, this
-     * dimension is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the dimension will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the element to return. - * @return The deprecatedApiNames at the given index. - */ - public java.lang.String getDeprecatedApiNames(int index) { - return deprecatedApiNames_.get(index); - } - /** - * - * - *
-     * Still usable but deprecated names for this dimension. If populated, this
-     * dimension is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the dimension will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the value to return. - * @return The bytes of the deprecatedApiNames at the given index. - */ - public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { - return deprecatedApiNames_.getByteString(index); - } - /** - * - * - *
-     * Still usable but deprecated names for this dimension. If populated, this
-     * dimension is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the dimension will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index to set the value at. - * @param value The deprecatedApiNames to set. - * @return This builder for chaining. - */ - public Builder setDeprecatedApiNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); - deprecatedApiNames_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
-     * Still usable but deprecated names for this dimension. If populated, this
-     * dimension is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the dimension will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param value The deprecatedApiNames to add. - * @return This builder for chaining. - */ - public Builder addDeprecatedApiNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); - deprecatedApiNames_.add(value); - onChanged(); - return this; - } - /** - * - * - *
-     * Still usable but deprecated names for this dimension. If populated, this
-     * dimension is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the dimension will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param values The deprecatedApiNames to add. - * @return This builder for chaining. - */ - public Builder addAllDeprecatedApiNames(java.lang.Iterable values) { - ensureDeprecatedApiNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deprecatedApiNames_); - onChanged(); - return this; - } - /** - * - * - *
-     * Still usable but deprecated names for this dimension. If populated, this
-     * dimension is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the dimension will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @return This builder for chaining. - */ - public Builder clearDeprecatedApiNames() { - deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-     * Still usable but deprecated names for this dimension. If populated, this
-     * dimension is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the dimension will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param value The bytes of the deprecatedApiNames to add. - * @return This builder for chaining. - */ - public Builder addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDeprecatedApiNamesIsMutable(); - deprecatedApiNames_.add(value); - onChanged(); - return this; - } - - private boolean customDefinition_; - /** - * - * - *
-     * True if the dimension is a custom dimension for this property.
-     * 
- * - * bool custom_definition = 5; - * - * @return The customDefinition. - */ - @java.lang.Override - public boolean getCustomDefinition() { - return customDefinition_; - } - /** - * - * - *
-     * True if the dimension is a custom dimension for this property.
-     * 
- * - * bool custom_definition = 5; - * - * @param value The customDefinition to set. - * @return This builder for chaining. - */ - public Builder setCustomDefinition(boolean value) { - - customDefinition_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * True if the dimension is a custom dimension for this property.
-     * 
- * - * bool custom_definition = 5; - * - * @return This builder for chaining. - */ - public Builder clearCustomDefinition() { - - customDefinition_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.DimensionMetadata) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.DimensionMetadata) - private static final com.google.analytics.data.v1alpha.DimensionMetadata DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.DimensionMetadata(); - } - - public static com.google.analytics.data.v1alpha.DimensionMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionMetadataOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionMetadataOrBuilder.java deleted file mode 100644 index eb97302b..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionMetadataOrBuilder.java +++ /dev/null @@ -1,180 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface DimensionMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.DimensionMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
-   * example, `eventName`.
-   * 
- * - * string api_name = 1; - * - * @return The apiName. - */ - java.lang.String getApiName(); - /** - * - * - *
-   * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
-   * example, `eventName`.
-   * 
- * - * string api_name = 1; - * - * @return The bytes for apiName. - */ - com.google.protobuf.ByteString getApiNameBytes(); - - /** - * - * - *
-   * This dimension's name within the Google Analytics user interface. For
-   * example, `Event name`.
-   * 
- * - * string ui_name = 2; - * - * @return The uiName. - */ - java.lang.String getUiName(); - /** - * - * - *
-   * This dimension's name within the Google Analytics user interface. For
-   * example, `Event name`.
-   * 
- * - * string ui_name = 2; - * - * @return The bytes for uiName. - */ - com.google.protobuf.ByteString getUiNameBytes(); - - /** - * - * - *
-   * Description of how this dimension is used and calculated.
-   * 
- * - * string description = 3; - * - * @return The description. - */ - java.lang.String getDescription(); - /** - * - * - *
-   * Description of how this dimension is used and calculated.
-   * 
- * - * string description = 3; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - /** - * - * - *
-   * Still usable but deprecated names for this dimension. If populated, this
-   * dimension is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the dimension will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @return A list containing the deprecatedApiNames. - */ - java.util.List getDeprecatedApiNamesList(); - /** - * - * - *
-   * Still usable but deprecated names for this dimension. If populated, this
-   * dimension is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the dimension will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @return The count of deprecatedApiNames. - */ - int getDeprecatedApiNamesCount(); - /** - * - * - *
-   * Still usable but deprecated names for this dimension. If populated, this
-   * dimension is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the dimension will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the element to return. - * @return The deprecatedApiNames at the given index. - */ - java.lang.String getDeprecatedApiNames(int index); - /** - * - * - *
-   * Still usable but deprecated names for this dimension. If populated, this
-   * dimension is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the dimension will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the value to return. - * @return The bytes of the deprecatedApiNames at the given index. - */ - com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index); - - /** - * - * - *
-   * True if the dimension is a custom dimension for this property.
-   * 
- * - * bool custom_definition = 5; - * - * @return The customDefinition. - */ - boolean getCustomDefinition(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionOrBuilder.java deleted file mode 100644 index 00b91969..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionOrBuilder.java +++ /dev/null @@ -1,102 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface DimensionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Dimension) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the dimension. See the [API
-   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
-   * for the list of dimension names.
-   * If `dimensionExpression` is specified, `name` can be any string that you
-   * would like. For example if a `dimensionExpression` concatenates `country`
-   * and `city`, you could call that dimension `countryAndCity`.
-   * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
-   * `dimensionExpression`, and `pivots`.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the dimension. See the [API
-   * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
-   * for the list of dimension names.
-   * If `dimensionExpression` is specified, `name` can be any string that you
-   * would like. For example if a `dimensionExpression` concatenates `country`
-   * and `city`, you could call that dimension `countryAndCity`.
-   * Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
-   * `dimensionExpression`, and `pivots`.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * One dimension can be the result of an expression of multiple dimensions.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - * - * @return Whether the dimensionExpression field is set. - */ - boolean hasDimensionExpression(); - /** - * - * - *
-   * One dimension can be the result of an expression of multiple dimensions.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - * - * @return The dimensionExpression. - */ - com.google.analytics.data.v1alpha.DimensionExpression getDimensionExpression(); - /** - * - * - *
-   * One dimension can be the result of an expression of multiple dimensions.
-   * For example, dimension "country, city": concatenate(country, ", ", city).
-   * 
- * - * .google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2; - */ - com.google.analytics.data.v1alpha.DimensionExpressionOrBuilder getDimensionExpressionOrBuilder(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionValue.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionValue.java deleted file mode 100644 index 6d3411e4..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionValue.java +++ /dev/null @@ -1,765 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The value of a dimension.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionValue} - */ -public final class DimensionValue extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.DimensionValue) - DimensionValueOrBuilder { - private static final long serialVersionUID = 0L; - // Use DimensionValue.newBuilder() to construct. - private DimensionValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DimensionValue() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DimensionValue(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private DimensionValue( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - oneValueCase_ = 1; - oneValue_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionValue_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionValue_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionValue.class, - com.google.analytics.data.v1alpha.DimensionValue.Builder.class); - } - - private int oneValueCase_ = 0; - private java.lang.Object oneValue_; - - public enum OneValueCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - VALUE(1), - ONEVALUE_NOT_SET(0); - private final int value; - - private OneValueCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OneValueCase valueOf(int value) { - return forNumber(value); - } - - public static OneValueCase forNumber(int value) { - switch (value) { - case 1: - return VALUE; - case 0: - return ONEVALUE_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); - } - - public static final int VALUE_FIELD_NUMBER = 1; - /** - * - * - *
-   * Value as a string if the dimension type is a string.
-   * 
- * - * string value = 1; - * - * @return Whether the value field is set. - */ - public boolean hasValue() { - return oneValueCase_ == 1; - } - /** - * - * - *
-   * Value as a string if the dimension type is a string.
-   * 
- * - * string value = 1; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = ""; - if (oneValueCase_ == 1) { - ref = oneValue_; - } - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (oneValueCase_ == 1) { - oneValue_ = s; - } - return s; - } - } - /** - * - * - *
-   * Value as a string if the dimension type is a string.
-   * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = ""; - if (oneValueCase_ == 1) { - ref = oneValue_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (oneValueCase_ == 1) { - oneValue_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (oneValueCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oneValue_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (oneValueCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, oneValue_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.DimensionValue)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.DimensionValue other = - (com.google.analytics.data.v1alpha.DimensionValue) obj; - - if (!getOneValueCase().equals(other.getOneValueCase())) return false; - switch (oneValueCase_) { - case 1: - if (!getValue().equals(other.getValue())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (oneValueCase_) { - case 1: - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.DimensionValue parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.DimensionValue prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The value of a dimension.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.DimensionValue} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.DimensionValue) - com.google.analytics.data.v1alpha.DimensionValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionValue_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionValue_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.DimensionValue.class, - com.google.analytics.data.v1alpha.DimensionValue.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.DimensionValue.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - oneValueCase_ = 0; - oneValue_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_DimensionValue_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionValue getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.DimensionValue.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionValue build() { - com.google.analytics.data.v1alpha.DimensionValue result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionValue buildPartial() { - com.google.analytics.data.v1alpha.DimensionValue result = - new com.google.analytics.data.v1alpha.DimensionValue(this); - if (oneValueCase_ == 1) { - result.oneValue_ = oneValue_; - } - result.oneValueCase_ = oneValueCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.DimensionValue) { - return mergeFrom((com.google.analytics.data.v1alpha.DimensionValue) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.DimensionValue other) { - if (other == com.google.analytics.data.v1alpha.DimensionValue.getDefaultInstance()) - return this; - switch (other.getOneValueCase()) { - case VALUE: - { - oneValueCase_ = 1; - oneValue_ = other.oneValue_; - onChanged(); - break; - } - case ONEVALUE_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.DimensionValue parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.DimensionValue) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int oneValueCase_ = 0; - private java.lang.Object oneValue_; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); - } - - public Builder clearOneValue() { - oneValueCase_ = 0; - oneValue_ = null; - onChanged(); - return this; - } - - /** - * - * - *
-     * Value as a string if the dimension type is a string.
-     * 
- * - * string value = 1; - * - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return oneValueCase_ == 1; - } - /** - * - * - *
-     * Value as a string if the dimension type is a string.
-     * 
- * - * string value = 1; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = ""; - if (oneValueCase_ == 1) { - ref = oneValue_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (oneValueCase_ == 1) { - oneValue_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Value as a string if the dimension type is a string.
-     * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = ""; - if (oneValueCase_ == 1) { - ref = oneValue_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (oneValueCase_ == 1) { - oneValue_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Value as a string if the dimension type is a string.
-     * 
- * - * string value = 1; - * - * @param value The value to set. - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - oneValueCase_ = 1; - oneValue_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Value as a string if the dimension type is a string.
-     * 
- * - * string value = 1; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - if (oneValueCase_ == 1) { - oneValueCase_ = 0; - oneValue_ = null; - onChanged(); - } - return this; - } - /** - * - * - *
-     * Value as a string if the dimension type is a string.
-     * 
- * - * string value = 1; - * - * @param value The bytes for value to set. - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - oneValueCase_ = 1; - oneValue_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.DimensionValue) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.DimensionValue) - private static final com.google.analytics.data.v1alpha.DimensionValue DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.DimensionValue(); - } - - public static com.google.analytics.data.v1alpha.DimensionValue getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionValue(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionValue getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionValueOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionValueOrBuilder.java deleted file mode 100644 index 2813f66c..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/DimensionValueOrBuilder.java +++ /dev/null @@ -1,64 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface DimensionValueOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.DimensionValue) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Value as a string if the dimension type is a string.
-   * 
- * - * string value = 1; - * - * @return Whether the value field is set. - */ - boolean hasValue(); - /** - * - * - *
-   * Value as a string if the dimension type is a string.
-   * 
- * - * string value = 1; - * - * @return The value. - */ - java.lang.String getValue(); - /** - * - * - *
-   * Value as a string if the dimension type is a string.
-   * 
- * - * string value = 1; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); - - public com.google.analytics.data.v1alpha.DimensionValue.OneValueCase getOneValueCase(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Entity.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Entity.java deleted file mode 100644 index 140111da..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Entity.java +++ /dev/null @@ -1,647 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The unique identifier of the property whose events are tracked.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Entity} - */ -public final class Entity extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Entity) - EntityOrBuilder { - private static final long serialVersionUID = 0L; - // Use Entity.newBuilder() to construct. - private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Entity() { - propertyId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Entity(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Entity( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - propertyId_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Entity_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Entity_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Entity.class, - com.google.analytics.data.v1alpha.Entity.Builder.class); - } - - public static final int PROPERTY_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object propertyId_; - /** - * - * - *
-   * A Google Analytics GA4 property id. To learn more, see [where to find your
-   * Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * 
- * - * string property_id = 1; - * - * @return The propertyId. - */ - @java.lang.Override - public java.lang.String getPropertyId() { - java.lang.Object ref = propertyId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - propertyId_ = s; - return s; - } - } - /** - * - * - *
-   * A Google Analytics GA4 property id. To learn more, see [where to find your
-   * Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * 
- * - * string property_id = 1; - * - * @return The bytes for propertyId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPropertyIdBytes() { - java.lang.Object ref = propertyId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - propertyId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getPropertyIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, propertyId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getPropertyIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, propertyId_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Entity)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Entity other = (com.google.analytics.data.v1alpha.Entity) obj; - - if (!getPropertyId().equals(other.getPropertyId())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROPERTY_ID_FIELD_NUMBER; - hash = (53 * hash) + getPropertyId().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Entity parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Entity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Entity parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Entity parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Entity parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Entity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Entity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Entity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Entity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Entity parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Entity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Entity parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.Entity prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The unique identifier of the property whose events are tracked.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Entity} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Entity) - com.google.analytics.data.v1alpha.EntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Entity_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Entity_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Entity.class, - com.google.analytics.data.v1alpha.Entity.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Entity.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - propertyId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Entity_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Entity getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Entity.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Entity build() { - com.google.analytics.data.v1alpha.Entity result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Entity buildPartial() { - com.google.analytics.data.v1alpha.Entity result = - new com.google.analytics.data.v1alpha.Entity(this); - result.propertyId_ = propertyId_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Entity) { - return mergeFrom((com.google.analytics.data.v1alpha.Entity) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Entity other) { - if (other == com.google.analytics.data.v1alpha.Entity.getDefaultInstance()) return this; - if (!other.getPropertyId().isEmpty()) { - propertyId_ = other.propertyId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Entity parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.Entity) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object propertyId_ = ""; - /** - * - * - *
-     * A Google Analytics GA4 property id. To learn more, see [where to find your
-     * Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * 
- * - * string property_id = 1; - * - * @return The propertyId. - */ - public java.lang.String getPropertyId() { - java.lang.Object ref = propertyId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - propertyId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * A Google Analytics GA4 property id. To learn more, see [where to find your
-     * Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * 
- * - * string property_id = 1; - * - * @return The bytes for propertyId. - */ - public com.google.protobuf.ByteString getPropertyIdBytes() { - java.lang.Object ref = propertyId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - propertyId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * A Google Analytics GA4 property id. To learn more, see [where to find your
-     * Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * 
- * - * string property_id = 1; - * - * @param value The propertyId to set. - * @return This builder for chaining. - */ - public Builder setPropertyId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - propertyId_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * A Google Analytics GA4 property id. To learn more, see [where to find your
-     * Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * 
- * - * string property_id = 1; - * - * @return This builder for chaining. - */ - public Builder clearPropertyId() { - - propertyId_ = getDefaultInstance().getPropertyId(); - onChanged(); - return this; - } - /** - * - * - *
-     * A Google Analytics GA4 property id. To learn more, see [where to find your
-     * Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * 
- * - * string property_id = 1; - * - * @param value The bytes for propertyId to set. - * @return This builder for chaining. - */ - public Builder setPropertyIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - propertyId_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Entity) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Entity) - private static final com.google.analytics.data.v1alpha.Entity DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Entity(); - } - - public static com.google.analytics.data.v1alpha.Entity getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Entity(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Entity getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/EntityOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/EntityOrBuilder.java deleted file mode 100644 index 4ac9335c..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/EntityOrBuilder.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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface EntityOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Entity) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A Google Analytics GA4 property id. To learn more, see [where to find your
-   * Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * 
- * - * string property_id = 1; - * - * @return The propertyId. - */ - java.lang.String getPropertyId(); - /** - * - * - *
-   * A Google Analytics GA4 property id. To learn more, see [where to find your
-   * Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * 
- * - * string property_id = 1; - * - * @return The bytes for propertyId. - */ - com.google.protobuf.ByteString getPropertyIdBytes(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Filter.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Filter.java deleted file mode 100644 index 208617e3..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Filter.java +++ /dev/null @@ -1,6453 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * An expression to filter dimension or metric values.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Filter} - */ -public final class Filter extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Filter) - FilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use Filter.newBuilder() to construct. - private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Filter() { - fieldName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Filter(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Filter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - fieldName_ = s; - break; - } - case 16: - { - oneFilterCase_ = 2; - oneFilter_ = input.readBool(); - break; - } - case 26: - { - com.google.analytics.data.v1alpha.Filter.StringFilter.Builder subBuilder = null; - if (oneFilterCase_ == 3) { - subBuilder = - ((com.google.analytics.data.v1alpha.Filter.StringFilter) oneFilter_) - .toBuilder(); - } - oneFilter_ = - input.readMessage( - com.google.analytics.data.v1alpha.Filter.StringFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.Filter.StringFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); - } - oneFilterCase_ = 3; - break; - } - case 34: - { - com.google.analytics.data.v1alpha.Filter.InListFilter.Builder subBuilder = null; - if (oneFilterCase_ == 4) { - subBuilder = - ((com.google.analytics.data.v1alpha.Filter.InListFilter) oneFilter_) - .toBuilder(); - } - oneFilter_ = - input.readMessage( - com.google.analytics.data.v1alpha.Filter.InListFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.Filter.InListFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); - } - oneFilterCase_ = 4; - break; - } - case 42: - { - com.google.analytics.data.v1alpha.Filter.NumericFilter.Builder subBuilder = null; - if (oneFilterCase_ == 5) { - subBuilder = - ((com.google.analytics.data.v1alpha.Filter.NumericFilter) oneFilter_) - .toBuilder(); - } - oneFilter_ = - input.readMessage( - com.google.analytics.data.v1alpha.Filter.NumericFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.Filter.NumericFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); - } - oneFilterCase_ = 5; - break; - } - case 50: - { - com.google.analytics.data.v1alpha.Filter.BetweenFilter.Builder subBuilder = null; - if (oneFilterCase_ == 6) { - subBuilder = - ((com.google.analytics.data.v1alpha.Filter.BetweenFilter) oneFilter_) - .toBuilder(); - } - oneFilter_ = - input.readMessage( - com.google.analytics.data.v1alpha.Filter.BetweenFilter.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.Filter.BetweenFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); - } - oneFilterCase_ = 6; - 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Filter.class, - com.google.analytics.data.v1alpha.Filter.Builder.class); - } - - public interface StringFilterOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Filter.StringFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * The match type for this filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter.MatchType match_type = 1; - * - * @return The enum numeric value on the wire for matchType. - */ - int getMatchTypeValue(); - /** - * - * - *
-     * The match type for this filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter.MatchType match_type = 1; - * - * @return The matchType. - */ - com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType getMatchType(); - - /** - * - * - *
-     * The string value used for the matching.
-     * 
- * - * string value = 2; - * - * @return The value. - */ - java.lang.String getValue(); - /** - * - * - *
-     * The string value used for the matching.
-     * 
- * - * string value = 2; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); - - /** - * - * - *
-     * If true, the string value is case sensitive.
-     * 
- * - * bool case_sensitive = 3; - * - * @return The caseSensitive. - */ - boolean getCaseSensitive(); - } - /** - * - * - *
-   * The filter for string
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Filter.StringFilter} - */ - public static final class StringFilter extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Filter.StringFilter) - StringFilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use StringFilter.newBuilder() to construct. - private StringFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private StringFilter() { - matchType_ = 0; - value_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new StringFilter(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private StringFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - matchType_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - value_ = s; - break; - } - case 24: - { - caseSensitive_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_StringFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_StringFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Filter.StringFilter.class, - com.google.analytics.data.v1alpha.Filter.StringFilter.Builder.class); - } - - /** - * - * - *
-     * The match type of a string filter
-     * 
- * - * Protobuf enum {@code google.analytics.data.v1alpha.Filter.StringFilter.MatchType} - */ - public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-       * Unspecified
-       * 
- * - * MATCH_TYPE_UNSPECIFIED = 0; - */ - MATCH_TYPE_UNSPECIFIED(0), - /** - * - * - *
-       * Exact match of the string value.
-       * 
- * - * EXACT = 1; - */ - EXACT(1), - /** - * - * - *
-       * Begins with the string value.
-       * 
- * - * BEGINS_WITH = 2; - */ - BEGINS_WITH(2), - /** - * - * - *
-       * Ends with the string value.
-       * 
- * - * ENDS_WITH = 3; - */ - ENDS_WITH(3), - /** - * - * - *
-       * Contains the string value.
-       * 
- * - * CONTAINS = 4; - */ - CONTAINS(4), - /** - * - * - *
-       * Full regular expression match with the string value.
-       * 
- * - * FULL_REGEXP = 5; - */ - FULL_REGEXP(5), - /** - * - * - *
-       * Partial regular expression match with the string value.
-       * 
- * - * PARTIAL_REGEXP = 6; - */ - PARTIAL_REGEXP(6), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-       * Unspecified
-       * 
- * - * MATCH_TYPE_UNSPECIFIED = 0; - */ - public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-       * Exact match of the string value.
-       * 
- * - * EXACT = 1; - */ - public static final int EXACT_VALUE = 1; - /** - * - * - *
-       * Begins with the string value.
-       * 
- * - * BEGINS_WITH = 2; - */ - public static final int BEGINS_WITH_VALUE = 2; - /** - * - * - *
-       * Ends with the string value.
-       * 
- * - * ENDS_WITH = 3; - */ - public static final int ENDS_WITH_VALUE = 3; - /** - * - * - *
-       * Contains the string value.
-       * 
- * - * CONTAINS = 4; - */ - public static final int CONTAINS_VALUE = 4; - /** - * - * - *
-       * Full regular expression match with the string value.
-       * 
- * - * FULL_REGEXP = 5; - */ - public static final int FULL_REGEXP_VALUE = 5; - /** - * - * - *
-       * Partial regular expression match with the string value.
-       * 
- * - * PARTIAL_REGEXP = 6; - */ - public static final int PARTIAL_REGEXP_VALUE = 6; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static MatchType valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static MatchType forNumber(int value) { - switch (value) { - case 0: - return MATCH_TYPE_UNSPECIFIED; - case 1: - return EXACT; - case 2: - return BEGINS_WITH; - case 3: - return ENDS_WITH; - case 4: - return CONTAINS; - case 5: - return FULL_REGEXP; - case 6: - return PARTIAL_REGEXP; - default: - return null; - } - } - - 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 MatchType findValueByNumber(int number) { - return MatchType.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() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.data.v1alpha.Filter.StringFilter.getDescriptor() - .getEnumTypes() - .get(0); - } - - private static final MatchType[] VALUES = values(); - - public static MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private MatchType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.analytics.data.v1alpha.Filter.StringFilter.MatchType) - } - - public static final int MATCH_TYPE_FIELD_NUMBER = 1; - private int matchType_; - /** - * - * - *
-     * The match type for this filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter.MatchType match_type = 1; - * - * @return The enum numeric value on the wire for matchType. - */ - @java.lang.Override - public int getMatchTypeValue() { - return matchType_; - } - /** - * - * - *
-     * The match type for this filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter.MatchType match_type = 1; - * - * @return The matchType. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType getMatchType() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType result = - com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType.valueOf(matchType_); - return result == null - ? com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType.UNRECOGNIZED - : result; - } - - public static final int VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object value_; - /** - * - * - *
-     * The string value used for the matching.
-     * 
- * - * string value = 2; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } - } - /** - * - * - *
-     * The string value used for the matching.
-     * 
- * - * string value = 2; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CASE_SENSITIVE_FIELD_NUMBER = 3; - private boolean caseSensitive_; - /** - * - * - *
-     * If true, the string value is case sensitive.
-     * 
- * - * bool case_sensitive = 3; - * - * @return The caseSensitive. - */ - @java.lang.Override - public boolean getCaseSensitive() { - return caseSensitive_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (matchType_ - != com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED - .getNumber()) { - output.writeEnum(1, matchType_); - } - if (!getValueBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); - } - if (caseSensitive_ != false) { - output.writeBool(3, caseSensitive_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (matchType_ - != com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, matchType_); - } - if (!getValueBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); - } - if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, caseSensitive_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Filter.StringFilter)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Filter.StringFilter other = - (com.google.analytics.data.v1alpha.Filter.StringFilter) obj; - - if (matchType_ != other.matchType_) return false; - if (!getValue().equals(other.getValue())) return false; - if (getCaseSensitive() != other.getCaseSensitive()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + MATCH_TYPE_FIELD_NUMBER; - hash = (53 * hash) + matchType_; - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.Filter.StringFilter prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * The filter for string
-     * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Filter.StringFilter} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Filter.StringFilter) - com.google.analytics.data.v1alpha.Filter.StringFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_StringFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_StringFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Filter.StringFilter.class, - com.google.analytics.data.v1alpha.Filter.StringFilter.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Filter.StringFilter.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - matchType_ = 0; - - value_ = ""; - - caseSensitive_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_StringFilter_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.StringFilter getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Filter.StringFilter.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.StringFilter build() { - com.google.analytics.data.v1alpha.Filter.StringFilter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.StringFilter buildPartial() { - com.google.analytics.data.v1alpha.Filter.StringFilter result = - new com.google.analytics.data.v1alpha.Filter.StringFilter(this); - result.matchType_ = matchType_; - result.value_ = value_; - result.caseSensitive_ = caseSensitive_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Filter.StringFilter) { - return mergeFrom((com.google.analytics.data.v1alpha.Filter.StringFilter) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Filter.StringFilter other) { - if (other == com.google.analytics.data.v1alpha.Filter.StringFilter.getDefaultInstance()) - return this; - if (other.matchType_ != 0) { - setMatchTypeValue(other.getMatchTypeValue()); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - onChanged(); - } - if (other.getCaseSensitive() != false) { - setCaseSensitive(other.getCaseSensitive()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Filter.StringFilter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.Filter.StringFilter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int matchType_ = 0; - /** - * - * - *
-       * The match type for this filter.
-       * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter.MatchType match_type = 1; - * - * @return The enum numeric value on the wire for matchType. - */ - @java.lang.Override - public int getMatchTypeValue() { - return matchType_; - } - /** - * - * - *
-       * The match type for this filter.
-       * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter.MatchType match_type = 1; - * - * @param value The enum numeric value on the wire for matchType to set. - * @return This builder for chaining. - */ - public Builder setMatchTypeValue(int value) { - - matchType_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * The match type for this filter.
-       * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter.MatchType match_type = 1; - * - * @return The matchType. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType getMatchType() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType result = - com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType.valueOf(matchType_); - return result == null - ? com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType.UNRECOGNIZED - : result; - } - /** - * - * - *
-       * The match type for this filter.
-       * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter.MatchType match_type = 1; - * - * @param value The matchType to set. - * @return This builder for chaining. - */ - public Builder setMatchType( - com.google.analytics.data.v1alpha.Filter.StringFilter.MatchType value) { - if (value == null) { - throw new NullPointerException(); - } - - matchType_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-       * The match type for this filter.
-       * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter.MatchType match_type = 1; - * - * @return This builder for chaining. - */ - public Builder clearMatchType() { - - matchType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object value_ = ""; - /** - * - * - *
-       * The string value used for the matching.
-       * 
- * - * string value = 2; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * The string value used for the matching.
-       * 
- * - * string value = 2; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * The string value used for the matching.
-       * 
- * - * string value = 2; - * - * @param value The value to set. - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - value_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * The string value used for the matching.
-       * 
- * - * string value = 2; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - /** - * - * - *
-       * The string value used for the matching.
-       * 
- * - * string value = 2; - * - * @param value The bytes for value to set. - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - value_ = value; - onChanged(); - return this; - } - - private boolean caseSensitive_; - /** - * - * - *
-       * If true, the string value is case sensitive.
-       * 
- * - * bool case_sensitive = 3; - * - * @return The caseSensitive. - */ - @java.lang.Override - public boolean getCaseSensitive() { - return caseSensitive_; - } - /** - * - * - *
-       * If true, the string value is case sensitive.
-       * 
- * - * bool case_sensitive = 3; - * - * @param value The caseSensitive to set. - * @return This builder for chaining. - */ - public Builder setCaseSensitive(boolean value) { - - caseSensitive_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * If true, the string value is case sensitive.
-       * 
- * - * bool case_sensitive = 3; - * - * @return This builder for chaining. - */ - public Builder clearCaseSensitive() { - - caseSensitive_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Filter.StringFilter) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Filter.StringFilter) - private static final com.google.analytics.data.v1alpha.Filter.StringFilter DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Filter.StringFilter(); - } - - public static com.google.analytics.data.v1alpha.Filter.StringFilter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StringFilter(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.StringFilter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface InListFilterOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Filter.InListFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * The list of string values.
-     * Must be non-empty.
-     * 
- * - * repeated string values = 1; - * - * @return A list containing the values. - */ - java.util.List getValuesList(); - /** - * - * - *
-     * The list of string values.
-     * Must be non-empty.
-     * 
- * - * repeated string values = 1; - * - * @return The count of values. - */ - int getValuesCount(); - /** - * - * - *
-     * The list of string values.
-     * Must be non-empty.
-     * 
- * - * repeated string values = 1; - * - * @param index The index of the element to return. - * @return The values at the given index. - */ - java.lang.String getValues(int index); - /** - * - * - *
-     * The list of string values.
-     * Must be non-empty.
-     * 
- * - * repeated string values = 1; - * - * @param index The index of the value to return. - * @return The bytes of the values at the given index. - */ - com.google.protobuf.ByteString getValuesBytes(int index); - - /** - * - * - *
-     * If true, the string value is case sensitive.
-     * 
- * - * bool case_sensitive = 2; - * - * @return The caseSensitive. - */ - boolean getCaseSensitive(); - } - /** - * - * - *
-   * The result needs to be in a list of string values.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Filter.InListFilter} - */ - public static final class InListFilter extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Filter.InListFilter) - InListFilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use InListFilter.newBuilder() to construct. - private InListFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private InListFilter() { - values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new InListFilter(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private InListFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - values_.add(s); - break; - } - case 16: - { - caseSensitive_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = values_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_InListFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_InListFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Filter.InListFilter.class, - com.google.analytics.data.v1alpha.Filter.InListFilter.Builder.class); - } - - public static final int VALUES_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList values_; - /** - * - * - *
-     * The list of string values.
-     * Must be non-empty.
-     * 
- * - * repeated string values = 1; - * - * @return A list containing the values. - */ - public com.google.protobuf.ProtocolStringList getValuesList() { - return values_; - } - /** - * - * - *
-     * The list of string values.
-     * Must be non-empty.
-     * 
- * - * repeated string values = 1; - * - * @return The count of values. - */ - public int getValuesCount() { - return values_.size(); - } - /** - * - * - *
-     * The list of string values.
-     * Must be non-empty.
-     * 
- * - * repeated string values = 1; - * - * @param index The index of the element to return. - * @return The values at the given index. - */ - public java.lang.String getValues(int index) { - return values_.get(index); - } - /** - * - * - *
-     * The list of string values.
-     * Must be non-empty.
-     * 
- * - * repeated string values = 1; - * - * @param index The index of the value to return. - * @return The bytes of the values at the given index. - */ - public com.google.protobuf.ByteString getValuesBytes(int index) { - return values_.getByteString(index); - } - - public static final int CASE_SENSITIVE_FIELD_NUMBER = 2; - private boolean caseSensitive_; - /** - * - * - *
-     * If true, the string value is case sensitive.
-     * 
- * - * bool case_sensitive = 2; - * - * @return The caseSensitive. - */ - @java.lang.Override - public boolean getCaseSensitive() { - return caseSensitive_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < values_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); - } - if (caseSensitive_ != false) { - output.writeBool(2, caseSensitive_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < values_.size(); i++) { - dataSize += computeStringSizeNoTag(values_.getRaw(i)); - } - size += dataSize; - size += 1 * getValuesList().size(); - } - if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, caseSensitive_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Filter.InListFilter)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Filter.InListFilter other = - (com.google.analytics.data.v1alpha.Filter.InListFilter) obj; - - if (!getValuesList().equals(other.getValuesList())) return false; - if (getCaseSensitive() != other.getCaseSensitive()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getValuesCount() > 0) { - hash = (37 * hash) + VALUES_FIELD_NUMBER; - hash = (53 * hash) + getValuesList().hashCode(); - } - hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.Filter.InListFilter prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * The result needs to be in a list of string values.
-     * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Filter.InListFilter} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Filter.InListFilter) - com.google.analytics.data.v1alpha.Filter.InListFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_InListFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_InListFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Filter.InListFilter.class, - com.google.analytics.data.v1alpha.Filter.InListFilter.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Filter.InListFilter.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - caseSensitive_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_InListFilter_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.InListFilter getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Filter.InListFilter.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.InListFilter build() { - com.google.analytics.data.v1alpha.Filter.InListFilter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.InListFilter buildPartial() { - com.google.analytics.data.v1alpha.Filter.InListFilter result = - new com.google.analytics.data.v1alpha.Filter.InListFilter(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - values_ = values_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.values_ = values_; - result.caseSensitive_ = caseSensitive_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Filter.InListFilter) { - return mergeFrom((com.google.analytics.data.v1alpha.Filter.InListFilter) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Filter.InListFilter other) { - if (other == com.google.analytics.data.v1alpha.Filter.InListFilter.getDefaultInstance()) - return this; - if (!other.values_.isEmpty()) { - if (values_.isEmpty()) { - values_ = other.values_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureValuesIsMutable(); - values_.addAll(other.values_); - } - onChanged(); - } - if (other.getCaseSensitive() != false) { - setCaseSensitive(other.getCaseSensitive()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Filter.InListFilter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.Filter.InListFilter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList values_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureValuesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - values_ = new com.google.protobuf.LazyStringArrayList(values_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
-       * The list of string values.
-       * Must be non-empty.
-       * 
- * - * repeated string values = 1; - * - * @return A list containing the values. - */ - public com.google.protobuf.ProtocolStringList getValuesList() { - return values_.getUnmodifiableView(); - } - /** - * - * - *
-       * The list of string values.
-       * Must be non-empty.
-       * 
- * - * repeated string values = 1; - * - * @return The count of values. - */ - public int getValuesCount() { - return values_.size(); - } - /** - * - * - *
-       * The list of string values.
-       * Must be non-empty.
-       * 
- * - * repeated string values = 1; - * - * @param index The index of the element to return. - * @return The values at the given index. - */ - public java.lang.String getValues(int index) { - return values_.get(index); - } - /** - * - * - *
-       * The list of string values.
-       * Must be non-empty.
-       * 
- * - * repeated string values = 1; - * - * @param index The index of the value to return. - * @return The bytes of the values at the given index. - */ - public com.google.protobuf.ByteString getValuesBytes(int index) { - return values_.getByteString(index); - } - /** - * - * - *
-       * The list of string values.
-       * Must be non-empty.
-       * 
- * - * repeated string values = 1; - * - * @param index The index to set the value at. - * @param value The values to set. - * @return This builder for chaining. - */ - public Builder setValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
-       * The list of string values.
-       * Must be non-empty.
-       * 
- * - * repeated string values = 1; - * - * @param value The values to add. - * @return This builder for chaining. - */ - public Builder addValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.add(value); - onChanged(); - return this; - } - /** - * - * - *
-       * The list of string values.
-       * Must be non-empty.
-       * 
- * - * repeated string values = 1; - * - * @param values The values to add. - * @return This builder for chaining. - */ - public Builder addAllValues(java.lang.Iterable values) { - ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); - onChanged(); - return this; - } - /** - * - * - *
-       * The list of string values.
-       * Must be non-empty.
-       * 
- * - * repeated string values = 1; - * - * @return This builder for chaining. - */ - public Builder clearValues() { - values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-       * The list of string values.
-       * Must be non-empty.
-       * 
- * - * repeated string values = 1; - * - * @param value The bytes of the values to add. - * @return This builder for chaining. - */ - public Builder addValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureValuesIsMutable(); - values_.add(value); - onChanged(); - return this; - } - - private boolean caseSensitive_; - /** - * - * - *
-       * If true, the string value is case sensitive.
-       * 
- * - * bool case_sensitive = 2; - * - * @return The caseSensitive. - */ - @java.lang.Override - public boolean getCaseSensitive() { - return caseSensitive_; - } - /** - * - * - *
-       * If true, the string value is case sensitive.
-       * 
- * - * bool case_sensitive = 2; - * - * @param value The caseSensitive to set. - * @return This builder for chaining. - */ - public Builder setCaseSensitive(boolean value) { - - caseSensitive_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * If true, the string value is case sensitive.
-       * 
- * - * bool case_sensitive = 2; - * - * @return This builder for chaining. - */ - public Builder clearCaseSensitive() { - - caseSensitive_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Filter.InListFilter) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Filter.InListFilter) - private static final com.google.analytics.data.v1alpha.Filter.InListFilter DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Filter.InListFilter(); - } - - public static com.google.analytics.data.v1alpha.Filter.InListFilter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InListFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InListFilter(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.InListFilter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface NumericFilterOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Filter.NumericFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * The operation type for this filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter.Operation operation = 1; - * - * @return The enum numeric value on the wire for operation. - */ - int getOperationValue(); - /** - * - * - *
-     * The operation type for this filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter.Operation operation = 1; - * - * @return The operation. - */ - com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation getOperation(); - - /** - * - * - *
-     * A numeric value or a date value.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - * - * @return Whether the value field is set. - */ - boolean hasValue(); - /** - * - * - *
-     * A numeric value or a date value.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - * - * @return The value. - */ - com.google.analytics.data.v1alpha.NumericValue getValue(); - /** - * - * - *
-     * A numeric value or a date value.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - */ - com.google.analytics.data.v1alpha.NumericValueOrBuilder getValueOrBuilder(); - } - /** - * - * - *
-   * Filters for numeric or date values.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Filter.NumericFilter} - */ - public static final class NumericFilter extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Filter.NumericFilter) - NumericFilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use NumericFilter.newBuilder() to construct. - private NumericFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private NumericFilter() { - operation_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new NumericFilter(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private NumericFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - operation_ = rawValue; - break; - } - case 18: - { - com.google.analytics.data.v1alpha.NumericValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = - input.readMessage( - com.google.analytics.data.v1alpha.NumericValue.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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_NumericFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_NumericFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Filter.NumericFilter.class, - com.google.analytics.data.v1alpha.Filter.NumericFilter.Builder.class); - } - - /** - * - * - *
-     * The operation applied to a numeric filter
-     * 
- * - * Protobuf enum {@code google.analytics.data.v1alpha.Filter.NumericFilter.Operation} - */ - public enum Operation implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-       * Unspecified.
-       * 
- * - * OPERATION_UNSPECIFIED = 0; - */ - OPERATION_UNSPECIFIED(0), - /** - * - * - *
-       * Equal
-       * 
- * - * EQUAL = 1; - */ - EQUAL(1), - /** - * - * - *
-       * Less than
-       * 
- * - * LESS_THAN = 2; - */ - LESS_THAN(2), - /** - * - * - *
-       * Less than or equal
-       * 
- * - * LESS_THAN_OR_EQUAL = 3; - */ - LESS_THAN_OR_EQUAL(3), - /** - * - * - *
-       * Greater than
-       * 
- * - * GREATER_THAN = 4; - */ - GREATER_THAN(4), - /** - * - * - *
-       * Greater than or equal
-       * 
- * - * GREATER_THAN_OR_EQUAL = 5; - */ - GREATER_THAN_OR_EQUAL(5), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-       * Unspecified.
-       * 
- * - * OPERATION_UNSPECIFIED = 0; - */ - public static final int OPERATION_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-       * Equal
-       * 
- * - * EQUAL = 1; - */ - public static final int EQUAL_VALUE = 1; - /** - * - * - *
-       * Less than
-       * 
- * - * LESS_THAN = 2; - */ - public static final int LESS_THAN_VALUE = 2; - /** - * - * - *
-       * Less than or equal
-       * 
- * - * LESS_THAN_OR_EQUAL = 3; - */ - public static final int LESS_THAN_OR_EQUAL_VALUE = 3; - /** - * - * - *
-       * Greater than
-       * 
- * - * GREATER_THAN = 4; - */ - public static final int GREATER_THAN_VALUE = 4; - /** - * - * - *
-       * Greater than or equal
-       * 
- * - * GREATER_THAN_OR_EQUAL = 5; - */ - public static final int GREATER_THAN_OR_EQUAL_VALUE = 5; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static Operation valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static Operation forNumber(int value) { - switch (value) { - case 0: - return OPERATION_UNSPECIFIED; - case 1: - return EQUAL; - case 2: - return LESS_THAN; - case 3: - return LESS_THAN_OR_EQUAL; - case 4: - return GREATER_THAN; - case 5: - return GREATER_THAN_OR_EQUAL; - default: - return null; - } - } - - 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 Operation findValueByNumber(int number) { - return Operation.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() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.data.v1alpha.Filter.NumericFilter.getDescriptor() - .getEnumTypes() - .get(0); - } - - private static final Operation[] VALUES = values(); - - public static Operation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Operation(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.analytics.data.v1alpha.Filter.NumericFilter.Operation) - } - - public static final int OPERATION_FIELD_NUMBER = 1; - private int operation_; - /** - * - * - *
-     * The operation type for this filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter.Operation operation = 1; - * - * @return The enum numeric value on the wire for operation. - */ - @java.lang.Override - public int getOperationValue() { - return operation_; - } - /** - * - * - *
-     * The operation type for this filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter.Operation operation = 1; - * - * @return The operation. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation getOperation() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation result = - com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation.valueOf(operation_); - return result == null - ? com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation.UNRECOGNIZED - : result; - } - - public static final int VALUE_FIELD_NUMBER = 2; - private com.google.analytics.data.v1alpha.NumericValue value_; - /** - * - * - *
-     * A numeric value or a date value.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - * - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return value_ != null; - } - /** - * - * - *
-     * A numeric value or a date value.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - * - * @return The value. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.NumericValue getValue() { - return value_ == null - ? com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance() - : value_; - } - /** - * - * - *
-     * A numeric value or a date value.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.NumericValueOrBuilder getValueOrBuilder() { - return getValue(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (operation_ - != com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation.OPERATION_UNSPECIFIED - .getNumber()) { - output.writeEnum(1, operation_); - } - if (value_ != null) { - output.writeMessage(2, getValue()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (operation_ - != com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation.OPERATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, operation_); - } - if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Filter.NumericFilter)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Filter.NumericFilter other = - (com.google.analytics.data.v1alpha.Filter.NumericFilter) obj; - - if (operation_ != other.operation_) return false; - if (hasValue() != other.hasValue()) return false; - if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + OPERATION_FIELD_NUMBER; - hash = (53 * hash) + operation_; - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.Filter.NumericFilter prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Filters for numeric or date values.
-     * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Filter.NumericFilter} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Filter.NumericFilter) - com.google.analytics.data.v1alpha.Filter.NumericFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_NumericFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_NumericFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Filter.NumericFilter.class, - com.google.analytics.data.v1alpha.Filter.NumericFilter.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Filter.NumericFilter.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - operation_ = 0; - - if (valueBuilder_ == null) { - value_ = null; - } else { - value_ = null; - valueBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_NumericFilter_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.NumericFilter getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Filter.NumericFilter.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.NumericFilter build() { - com.google.analytics.data.v1alpha.Filter.NumericFilter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.NumericFilter buildPartial() { - com.google.analytics.data.v1alpha.Filter.NumericFilter result = - new com.google.analytics.data.v1alpha.Filter.NumericFilter(this); - result.operation_ = operation_; - if (valueBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = valueBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Filter.NumericFilter) { - return mergeFrom((com.google.analytics.data.v1alpha.Filter.NumericFilter) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Filter.NumericFilter other) { - if (other == com.google.analytics.data.v1alpha.Filter.NumericFilter.getDefaultInstance()) - return this; - if (other.operation_ != 0) { - setOperationValue(other.getOperationValue()); - } - if (other.hasValue()) { - mergeValue(other.getValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Filter.NumericFilter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.Filter.NumericFilter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int operation_ = 0; - /** - * - * - *
-       * The operation type for this filter.
-       * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter.Operation operation = 1; - * - * @return The enum numeric value on the wire for operation. - */ - @java.lang.Override - public int getOperationValue() { - return operation_; - } - /** - * - * - *
-       * The operation type for this filter.
-       * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter.Operation operation = 1; - * - * @param value The enum numeric value on the wire for operation to set. - * @return This builder for chaining. - */ - public Builder setOperationValue(int value) { - - operation_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * The operation type for this filter.
-       * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter.Operation operation = 1; - * - * @return The operation. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation getOperation() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation result = - com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation.valueOf(operation_); - return result == null - ? com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation.UNRECOGNIZED - : result; - } - /** - * - * - *
-       * The operation type for this filter.
-       * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter.Operation operation = 1; - * - * @param value The operation to set. - * @return This builder for chaining. - */ - public Builder setOperation( - com.google.analytics.data.v1alpha.Filter.NumericFilter.Operation value) { - if (value == null) { - throw new NullPointerException(); - } - - operation_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-       * The operation type for this filter.
-       * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter.Operation operation = 1; - * - * @return This builder for chaining. - */ - public Builder clearOperation() { - - operation_ = 0; - onChanged(); - return this; - } - - private com.google.analytics.data.v1alpha.NumericValue value_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.NumericValue, - com.google.analytics.data.v1alpha.NumericValue.Builder, - com.google.analytics.data.v1alpha.NumericValueOrBuilder> - valueBuilder_; - /** - * - * - *
-       * A numeric value or a date value.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - * - * @return Whether the value field is set. - */ - public boolean hasValue() { - return valueBuilder_ != null || value_ != null; - } - /** - * - * - *
-       * A numeric value or a date value.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - * - * @return The value. - */ - public com.google.analytics.data.v1alpha.NumericValue getValue() { - if (valueBuilder_ == null) { - return value_ == null - ? com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance() - : value_; - } else { - return valueBuilder_.getMessage(); - } - } - /** - * - * - *
-       * A numeric value or a date value.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - */ - public Builder setValue(com.google.analytics.data.v1alpha.NumericValue value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - valueBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-       * A numeric value or a date value.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - */ - public Builder setValue( - com.google.analytics.data.v1alpha.NumericValue.Builder builderForValue) { - if (valueBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - valueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-       * A numeric value or a date value.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - */ - public Builder mergeValue(com.google.analytics.data.v1alpha.NumericValue value) { - if (valueBuilder_ == null) { - if (value_ != null) { - value_ = - com.google.analytics.data.v1alpha.NumericValue.newBuilder(value_) - .mergeFrom(value) - .buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - valueBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-       * A numeric value or a date value.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - */ - public Builder clearValue() { - if (valueBuilder_ == null) { - value_ = null; - onChanged(); - } else { - value_ = null; - valueBuilder_ = null; - } - - return this; - } - /** - * - * - *
-       * A numeric value or a date value.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - */ - public com.google.analytics.data.v1alpha.NumericValue.Builder getValueBuilder() { - - onChanged(); - return getValueFieldBuilder().getBuilder(); - } - /** - * - * - *
-       * A numeric value or a date value.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - */ - public com.google.analytics.data.v1alpha.NumericValueOrBuilder getValueOrBuilder() { - if (valueBuilder_ != null) { - return valueBuilder_.getMessageOrBuilder(); - } else { - return value_ == null - ? com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance() - : value_; - } - } - /** - * - * - *
-       * A numeric value or a date value.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue value = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.NumericValue, - com.google.analytics.data.v1alpha.NumericValue.Builder, - com.google.analytics.data.v1alpha.NumericValueOrBuilder> - getValueFieldBuilder() { - if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.NumericValue, - com.google.analytics.data.v1alpha.NumericValue.Builder, - com.google.analytics.data.v1alpha.NumericValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); - value_ = null; - } - return valueBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Filter.NumericFilter) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Filter.NumericFilter) - private static final com.google.analytics.data.v1alpha.Filter.NumericFilter DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Filter.NumericFilter(); - } - - public static com.google.analytics.data.v1alpha.Filter.NumericFilter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NumericFilter(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.NumericFilter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface BetweenFilterOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Filter.BetweenFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * Begins with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - * - * @return Whether the fromValue field is set. - */ - boolean hasFromValue(); - /** - * - * - *
-     * Begins with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - * - * @return The fromValue. - */ - com.google.analytics.data.v1alpha.NumericValue getFromValue(); - /** - * - * - *
-     * Begins with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - */ - com.google.analytics.data.v1alpha.NumericValueOrBuilder getFromValueOrBuilder(); - - /** - * - * - *
-     * Ends with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - * - * @return Whether the toValue field is set. - */ - boolean hasToValue(); - /** - * - * - *
-     * Ends with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - * - * @return The toValue. - */ - com.google.analytics.data.v1alpha.NumericValue getToValue(); - /** - * - * - *
-     * Ends with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - */ - com.google.analytics.data.v1alpha.NumericValueOrBuilder getToValueOrBuilder(); - } - /** - * - * - *
-   * To express that the result needs to be between two numbers (inclusive).
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Filter.BetweenFilter} - */ - public static final class BetweenFilter extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Filter.BetweenFilter) - BetweenFilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use BetweenFilter.newBuilder() to construct. - private BetweenFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private BetweenFilter() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BetweenFilter(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private BetweenFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.analytics.data.v1alpha.NumericValue.Builder subBuilder = null; - if (fromValue_ != null) { - subBuilder = fromValue_.toBuilder(); - } - fromValue_ = - input.readMessage( - com.google.analytics.data.v1alpha.NumericValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fromValue_); - fromValue_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - com.google.analytics.data.v1alpha.NumericValue.Builder subBuilder = null; - if (toValue_ != null) { - subBuilder = toValue_.toBuilder(); - } - toValue_ = - input.readMessage( - com.google.analytics.data.v1alpha.NumericValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(toValue_); - toValue_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_BetweenFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_BetweenFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Filter.BetweenFilter.class, - com.google.analytics.data.v1alpha.Filter.BetweenFilter.Builder.class); - } - - public static final int FROM_VALUE_FIELD_NUMBER = 1; - private com.google.analytics.data.v1alpha.NumericValue fromValue_; - /** - * - * - *
-     * Begins with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - * - * @return Whether the fromValue field is set. - */ - @java.lang.Override - public boolean hasFromValue() { - return fromValue_ != null; - } - /** - * - * - *
-     * Begins with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - * - * @return The fromValue. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.NumericValue getFromValue() { - return fromValue_ == null - ? com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance() - : fromValue_; - } - /** - * - * - *
-     * Begins with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.NumericValueOrBuilder getFromValueOrBuilder() { - return getFromValue(); - } - - public static final int TO_VALUE_FIELD_NUMBER = 2; - private com.google.analytics.data.v1alpha.NumericValue toValue_; - /** - * - * - *
-     * Ends with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - * - * @return Whether the toValue field is set. - */ - @java.lang.Override - public boolean hasToValue() { - return toValue_ != null; - } - /** - * - * - *
-     * Ends with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - * - * @return The toValue. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.NumericValue getToValue() { - return toValue_ == null - ? com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance() - : toValue_; - } - /** - * - * - *
-     * Ends with this number.
-     * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.NumericValueOrBuilder getToValueOrBuilder() { - return getToValue(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (fromValue_ != null) { - output.writeMessage(1, getFromValue()); - } - if (toValue_ != null) { - output.writeMessage(2, getToValue()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (fromValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFromValue()); - } - if (toValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getToValue()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Filter.BetweenFilter)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Filter.BetweenFilter other = - (com.google.analytics.data.v1alpha.Filter.BetweenFilter) obj; - - if (hasFromValue() != other.hasFromValue()) return false; - if (hasFromValue()) { - if (!getFromValue().equals(other.getFromValue())) return false; - } - if (hasToValue() != other.hasToValue()) return false; - if (hasToValue()) { - if (!getToValue().equals(other.getToValue())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasFromValue()) { - hash = (37 * hash) + FROM_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getFromValue().hashCode(); - } - if (hasToValue()) { - hash = (37 * hash) + TO_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getToValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.Filter.BetweenFilter prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * To express that the result needs to be between two numbers (inclusive).
-     * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Filter.BetweenFilter} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Filter.BetweenFilter) - com.google.analytics.data.v1alpha.Filter.BetweenFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_BetweenFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_BetweenFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Filter.BetweenFilter.class, - com.google.analytics.data.v1alpha.Filter.BetweenFilter.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Filter.BetweenFilter.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (fromValueBuilder_ == null) { - fromValue_ = null; - } else { - fromValue_ = null; - fromValueBuilder_ = null; - } - if (toValueBuilder_ == null) { - toValue_ = null; - } else { - toValue_ = null; - toValueBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_BetweenFilter_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.BetweenFilter getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Filter.BetweenFilter.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.BetweenFilter build() { - com.google.analytics.data.v1alpha.Filter.BetweenFilter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.BetweenFilter buildPartial() { - com.google.analytics.data.v1alpha.Filter.BetweenFilter result = - new com.google.analytics.data.v1alpha.Filter.BetweenFilter(this); - if (fromValueBuilder_ == null) { - result.fromValue_ = fromValue_; - } else { - result.fromValue_ = fromValueBuilder_.build(); - } - if (toValueBuilder_ == null) { - result.toValue_ = toValue_; - } else { - result.toValue_ = toValueBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Filter.BetweenFilter) { - return mergeFrom((com.google.analytics.data.v1alpha.Filter.BetweenFilter) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Filter.BetweenFilter other) { - if (other == com.google.analytics.data.v1alpha.Filter.BetweenFilter.getDefaultInstance()) - return this; - if (other.hasFromValue()) { - mergeFromValue(other.getFromValue()); - } - if (other.hasToValue()) { - mergeToValue(other.getToValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Filter.BetweenFilter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.Filter.BetweenFilter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private com.google.analytics.data.v1alpha.NumericValue fromValue_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.NumericValue, - com.google.analytics.data.v1alpha.NumericValue.Builder, - com.google.analytics.data.v1alpha.NumericValueOrBuilder> - fromValueBuilder_; - /** - * - * - *
-       * Begins with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - * - * @return Whether the fromValue field is set. - */ - public boolean hasFromValue() { - return fromValueBuilder_ != null || fromValue_ != null; - } - /** - * - * - *
-       * Begins with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - * - * @return The fromValue. - */ - public com.google.analytics.data.v1alpha.NumericValue getFromValue() { - if (fromValueBuilder_ == null) { - return fromValue_ == null - ? com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance() - : fromValue_; - } else { - return fromValueBuilder_.getMessage(); - } - } - /** - * - * - *
-       * Begins with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - */ - public Builder setFromValue(com.google.analytics.data.v1alpha.NumericValue value) { - if (fromValueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fromValue_ = value; - onChanged(); - } else { - fromValueBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-       * Begins with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - */ - public Builder setFromValue( - com.google.analytics.data.v1alpha.NumericValue.Builder builderForValue) { - if (fromValueBuilder_ == null) { - fromValue_ = builderForValue.build(); - onChanged(); - } else { - fromValueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-       * Begins with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - */ - public Builder mergeFromValue(com.google.analytics.data.v1alpha.NumericValue value) { - if (fromValueBuilder_ == null) { - if (fromValue_ != null) { - fromValue_ = - com.google.analytics.data.v1alpha.NumericValue.newBuilder(fromValue_) - .mergeFrom(value) - .buildPartial(); - } else { - fromValue_ = value; - } - onChanged(); - } else { - fromValueBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-       * Begins with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - */ - public Builder clearFromValue() { - if (fromValueBuilder_ == null) { - fromValue_ = null; - onChanged(); - } else { - fromValue_ = null; - fromValueBuilder_ = null; - } - - return this; - } - /** - * - * - *
-       * Begins with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - */ - public com.google.analytics.data.v1alpha.NumericValue.Builder getFromValueBuilder() { - - onChanged(); - return getFromValueFieldBuilder().getBuilder(); - } - /** - * - * - *
-       * Begins with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - */ - public com.google.analytics.data.v1alpha.NumericValueOrBuilder getFromValueOrBuilder() { - if (fromValueBuilder_ != null) { - return fromValueBuilder_.getMessageOrBuilder(); - } else { - return fromValue_ == null - ? com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance() - : fromValue_; - } - } - /** - * - * - *
-       * Begins with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue from_value = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.NumericValue, - com.google.analytics.data.v1alpha.NumericValue.Builder, - com.google.analytics.data.v1alpha.NumericValueOrBuilder> - getFromValueFieldBuilder() { - if (fromValueBuilder_ == null) { - fromValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.NumericValue, - com.google.analytics.data.v1alpha.NumericValue.Builder, - com.google.analytics.data.v1alpha.NumericValueOrBuilder>( - getFromValue(), getParentForChildren(), isClean()); - fromValue_ = null; - } - return fromValueBuilder_; - } - - private com.google.analytics.data.v1alpha.NumericValue toValue_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.NumericValue, - com.google.analytics.data.v1alpha.NumericValue.Builder, - com.google.analytics.data.v1alpha.NumericValueOrBuilder> - toValueBuilder_; - /** - * - * - *
-       * Ends with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - * - * @return Whether the toValue field is set. - */ - public boolean hasToValue() { - return toValueBuilder_ != null || toValue_ != null; - } - /** - * - * - *
-       * Ends with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - * - * @return The toValue. - */ - public com.google.analytics.data.v1alpha.NumericValue getToValue() { - if (toValueBuilder_ == null) { - return toValue_ == null - ? com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance() - : toValue_; - } else { - return toValueBuilder_.getMessage(); - } - } - /** - * - * - *
-       * Ends with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - */ - public Builder setToValue(com.google.analytics.data.v1alpha.NumericValue value) { - if (toValueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - toValue_ = value; - onChanged(); - } else { - toValueBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-       * Ends with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - */ - public Builder setToValue( - com.google.analytics.data.v1alpha.NumericValue.Builder builderForValue) { - if (toValueBuilder_ == null) { - toValue_ = builderForValue.build(); - onChanged(); - } else { - toValueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-       * Ends with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - */ - public Builder mergeToValue(com.google.analytics.data.v1alpha.NumericValue value) { - if (toValueBuilder_ == null) { - if (toValue_ != null) { - toValue_ = - com.google.analytics.data.v1alpha.NumericValue.newBuilder(toValue_) - .mergeFrom(value) - .buildPartial(); - } else { - toValue_ = value; - } - onChanged(); - } else { - toValueBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-       * Ends with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - */ - public Builder clearToValue() { - if (toValueBuilder_ == null) { - toValue_ = null; - onChanged(); - } else { - toValue_ = null; - toValueBuilder_ = null; - } - - return this; - } - /** - * - * - *
-       * Ends with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - */ - public com.google.analytics.data.v1alpha.NumericValue.Builder getToValueBuilder() { - - onChanged(); - return getToValueFieldBuilder().getBuilder(); - } - /** - * - * - *
-       * Ends with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - */ - public com.google.analytics.data.v1alpha.NumericValueOrBuilder getToValueOrBuilder() { - if (toValueBuilder_ != null) { - return toValueBuilder_.getMessageOrBuilder(); - } else { - return toValue_ == null - ? com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance() - : toValue_; - } - } - /** - * - * - *
-       * Ends with this number.
-       * 
- * - * .google.analytics.data.v1alpha.NumericValue to_value = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.NumericValue, - com.google.analytics.data.v1alpha.NumericValue.Builder, - com.google.analytics.data.v1alpha.NumericValueOrBuilder> - getToValueFieldBuilder() { - if (toValueBuilder_ == null) { - toValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.NumericValue, - com.google.analytics.data.v1alpha.NumericValue.Builder, - com.google.analytics.data.v1alpha.NumericValueOrBuilder>( - getToValue(), getParentForChildren(), isClean()); - toValue_ = null; - } - return toValueBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Filter.BetweenFilter) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Filter.BetweenFilter) - private static final com.google.analytics.data.v1alpha.Filter.BetweenFilter DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Filter.BetweenFilter(); - } - - public static com.google.analytics.data.v1alpha.Filter.BetweenFilter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BetweenFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BetweenFilter(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.BetweenFilter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - private int oneFilterCase_ = 0; - private java.lang.Object oneFilter_; - - public enum OneFilterCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - NULL_FILTER(2), - STRING_FILTER(3), - IN_LIST_FILTER(4), - NUMERIC_FILTER(5), - BETWEEN_FILTER(6), - ONEFILTER_NOT_SET(0); - private final int value; - - private OneFilterCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OneFilterCase valueOf(int value) { - return forNumber(value); - } - - public static OneFilterCase forNumber(int value) { - switch (value) { - case 2: - return NULL_FILTER; - case 3: - return STRING_FILTER; - case 4: - return IN_LIST_FILTER; - case 5: - return NUMERIC_FILTER; - case 6: - return BETWEEN_FILTER; - case 0: - return ONEFILTER_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public OneFilterCase getOneFilterCase() { - return OneFilterCase.forNumber(oneFilterCase_); - } - - public static final int FIELD_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object fieldName_; - /** - * - * - *
-   * The dimension name or metric name. Must be a name defined in dimensions
-   * or metrics.
-   * 
- * - * string field_name = 1; - * - * @return The fieldName. - */ - @java.lang.Override - public java.lang.String getFieldName() { - java.lang.Object ref = fieldName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - fieldName_ = s; - return s; - } - } - /** - * - * - *
-   * The dimension name or metric name. Must be a name defined in dimensions
-   * or metrics.
-   * 
- * - * string field_name = 1; - * - * @return The bytes for fieldName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFieldNameBytes() { - java.lang.Object ref = fieldName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - fieldName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NULL_FILTER_FIELD_NUMBER = 2; - /** - * - * - *
-   * A filter for null values. If True, a null dimension value is matched by
-   * this filter. Null filter is commonly used inside a NOT filter
-   * expression. For example, a NOT expression of a null filter removes rows
-   * when a dimension is null.
-   * 
- * - * bool null_filter = 2; - * - * @return Whether the nullFilter field is set. - */ - @java.lang.Override - public boolean hasNullFilter() { - return oneFilterCase_ == 2; - } - /** - * - * - *
-   * A filter for null values. If True, a null dimension value is matched by
-   * this filter. Null filter is commonly used inside a NOT filter
-   * expression. For example, a NOT expression of a null filter removes rows
-   * when a dimension is null.
-   * 
- * - * bool null_filter = 2; - * - * @return The nullFilter. - */ - @java.lang.Override - public boolean getNullFilter() { - if (oneFilterCase_ == 2) { - return (java.lang.Boolean) oneFilter_; - } - return false; - } - - public static final int STRING_FILTER_FIELD_NUMBER = 3; - /** - * - * - *
-   * Strings related filter.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - * - * @return Whether the stringFilter field is set. - */ - @java.lang.Override - public boolean hasStringFilter() { - return oneFilterCase_ == 3; - } - /** - * - * - *
-   * Strings related filter.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - * - * @return The stringFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.StringFilter getStringFilter() { - if (oneFilterCase_ == 3) { - return (com.google.analytics.data.v1alpha.Filter.StringFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.StringFilter.getDefaultInstance(); - } - /** - * - * - *
-   * Strings related filter.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.StringFilterOrBuilder getStringFilterOrBuilder() { - if (oneFilterCase_ == 3) { - return (com.google.analytics.data.v1alpha.Filter.StringFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.StringFilter.getDefaultInstance(); - } - - public static final int IN_LIST_FILTER_FIELD_NUMBER = 4; - /** - * - * - *
-   * A filter for in list values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - * - * @return Whether the inListFilter field is set. - */ - @java.lang.Override - public boolean hasInListFilter() { - return oneFilterCase_ == 4; - } - /** - * - * - *
-   * A filter for in list values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - * - * @return The inListFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.InListFilter getInListFilter() { - if (oneFilterCase_ == 4) { - return (com.google.analytics.data.v1alpha.Filter.InListFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.InListFilter.getDefaultInstance(); - } - /** - * - * - *
-   * A filter for in list values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.InListFilterOrBuilder getInListFilterOrBuilder() { - if (oneFilterCase_ == 4) { - return (com.google.analytics.data.v1alpha.Filter.InListFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.InListFilter.getDefaultInstance(); - } - - public static final int NUMERIC_FILTER_FIELD_NUMBER = 5; - /** - * - * - *
-   * A filter for numeric or date values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - * - * @return Whether the numericFilter field is set. - */ - @java.lang.Override - public boolean hasNumericFilter() { - return oneFilterCase_ == 5; - } - /** - * - * - *
-   * A filter for numeric or date values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - * - * @return The numericFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.NumericFilter getNumericFilter() { - if (oneFilterCase_ == 5) { - return (com.google.analytics.data.v1alpha.Filter.NumericFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.NumericFilter.getDefaultInstance(); - } - /** - * - * - *
-   * A filter for numeric or date values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.NumericFilterOrBuilder - getNumericFilterOrBuilder() { - if (oneFilterCase_ == 5) { - return (com.google.analytics.data.v1alpha.Filter.NumericFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.NumericFilter.getDefaultInstance(); - } - - public static final int BETWEEN_FILTER_FIELD_NUMBER = 6; - /** - * - * - *
-   * A filter for two values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - * - * @return Whether the betweenFilter field is set. - */ - @java.lang.Override - public boolean hasBetweenFilter() { - return oneFilterCase_ == 6; - } - /** - * - * - *
-   * A filter for two values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - * - * @return The betweenFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.BetweenFilter getBetweenFilter() { - if (oneFilterCase_ == 6) { - return (com.google.analytics.data.v1alpha.Filter.BetweenFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.BetweenFilter.getDefaultInstance(); - } - /** - * - * - *
-   * A filter for two values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.BetweenFilterOrBuilder - getBetweenFilterOrBuilder() { - if (oneFilterCase_ == 6) { - return (com.google.analytics.data.v1alpha.Filter.BetweenFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.BetweenFilter.getDefaultInstance(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getFieldNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_); - } - if (oneFilterCase_ == 2) { - output.writeBool(2, (boolean) ((java.lang.Boolean) oneFilter_)); - } - if (oneFilterCase_ == 3) { - output.writeMessage(3, (com.google.analytics.data.v1alpha.Filter.StringFilter) oneFilter_); - } - if (oneFilterCase_ == 4) { - output.writeMessage(4, (com.google.analytics.data.v1alpha.Filter.InListFilter) oneFilter_); - } - if (oneFilterCase_ == 5) { - output.writeMessage(5, (com.google.analytics.data.v1alpha.Filter.NumericFilter) oneFilter_); - } - if (oneFilterCase_ == 6) { - output.writeMessage(6, (com.google.analytics.data.v1alpha.Filter.BetweenFilter) oneFilter_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getFieldNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_); - } - if (oneFilterCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 2, (boolean) ((java.lang.Boolean) oneFilter_)); - } - if (oneFilterCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.analytics.data.v1alpha.Filter.StringFilter) oneFilter_); - } - if (oneFilterCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.analytics.data.v1alpha.Filter.InListFilter) oneFilter_); - } - if (oneFilterCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.analytics.data.v1alpha.Filter.NumericFilter) oneFilter_); - } - if (oneFilterCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.analytics.data.v1alpha.Filter.BetweenFilter) oneFilter_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Filter)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Filter other = (com.google.analytics.data.v1alpha.Filter) obj; - - if (!getFieldName().equals(other.getFieldName())) return false; - if (!getOneFilterCase().equals(other.getOneFilterCase())) return false; - switch (oneFilterCase_) { - case 2: - if (getNullFilter() != other.getNullFilter()) return false; - break; - case 3: - if (!getStringFilter().equals(other.getStringFilter())) return false; - break; - case 4: - if (!getInListFilter().equals(other.getInListFilter())) return false; - break; - case 5: - if (!getNumericFilter().equals(other.getNumericFilter())) return false; - break; - case 6: - if (!getBetweenFilter().equals(other.getBetweenFilter())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FIELD_NAME_FIELD_NUMBER; - hash = (53 * hash) + getFieldName().hashCode(); - switch (oneFilterCase_) { - case 2: - hash = (37 * hash) + NULL_FILTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNullFilter()); - break; - case 3: - hash = (37 * hash) + STRING_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getStringFilter().hashCode(); - break; - case 4: - hash = (37 * hash) + IN_LIST_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getInListFilter().hashCode(); - break; - case 5: - hash = (37 * hash) + NUMERIC_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getNumericFilter().hashCode(); - break; - case 6: - hash = (37 * hash) + BETWEEN_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getBetweenFilter().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Filter parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Filter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Filter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Filter parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.Filter prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * An expression to filter dimension or metric values.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Filter} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Filter) - com.google.analytics.data.v1alpha.FilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Filter.class, - com.google.analytics.data.v1alpha.Filter.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Filter.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - fieldName_ = ""; - - oneFilterCase_ = 0; - oneFilter_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Filter_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Filter.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter build() { - com.google.analytics.data.v1alpha.Filter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter buildPartial() { - com.google.analytics.data.v1alpha.Filter result = - new com.google.analytics.data.v1alpha.Filter(this); - result.fieldName_ = fieldName_; - if (oneFilterCase_ == 2) { - result.oneFilter_ = oneFilter_; - } - if (oneFilterCase_ == 3) { - if (stringFilterBuilder_ == null) { - result.oneFilter_ = oneFilter_; - } else { - result.oneFilter_ = stringFilterBuilder_.build(); - } - } - if (oneFilterCase_ == 4) { - if (inListFilterBuilder_ == null) { - result.oneFilter_ = oneFilter_; - } else { - result.oneFilter_ = inListFilterBuilder_.build(); - } - } - if (oneFilterCase_ == 5) { - if (numericFilterBuilder_ == null) { - result.oneFilter_ = oneFilter_; - } else { - result.oneFilter_ = numericFilterBuilder_.build(); - } - } - if (oneFilterCase_ == 6) { - if (betweenFilterBuilder_ == null) { - result.oneFilter_ = oneFilter_; - } else { - result.oneFilter_ = betweenFilterBuilder_.build(); - } - } - result.oneFilterCase_ = oneFilterCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Filter) { - return mergeFrom((com.google.analytics.data.v1alpha.Filter) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Filter other) { - if (other == com.google.analytics.data.v1alpha.Filter.getDefaultInstance()) return this; - if (!other.getFieldName().isEmpty()) { - fieldName_ = other.fieldName_; - onChanged(); - } - switch (other.getOneFilterCase()) { - case NULL_FILTER: - { - setNullFilter(other.getNullFilter()); - break; - } - case STRING_FILTER: - { - mergeStringFilter(other.getStringFilter()); - break; - } - case IN_LIST_FILTER: - { - mergeInListFilter(other.getInListFilter()); - break; - } - case NUMERIC_FILTER: - { - mergeNumericFilter(other.getNumericFilter()); - break; - } - case BETWEEN_FILTER: - { - mergeBetweenFilter(other.getBetweenFilter()); - break; - } - case ONEFILTER_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Filter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.Filter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int oneFilterCase_ = 0; - private java.lang.Object oneFilter_; - - public OneFilterCase getOneFilterCase() { - return OneFilterCase.forNumber(oneFilterCase_); - } - - public Builder clearOneFilter() { - oneFilterCase_ = 0; - oneFilter_ = null; - onChanged(); - return this; - } - - private java.lang.Object fieldName_ = ""; - /** - * - * - *
-     * The dimension name or metric name. Must be a name defined in dimensions
-     * or metrics.
-     * 
- * - * string field_name = 1; - * - * @return The fieldName. - */ - public java.lang.String getFieldName() { - java.lang.Object ref = fieldName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - fieldName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The dimension name or metric name. Must be a name defined in dimensions
-     * or metrics.
-     * 
- * - * string field_name = 1; - * - * @return The bytes for fieldName. - */ - public com.google.protobuf.ByteString getFieldNameBytes() { - java.lang.Object ref = fieldName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - fieldName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The dimension name or metric name. Must be a name defined in dimensions
-     * or metrics.
-     * 
- * - * string field_name = 1; - * - * @param value The fieldName to set. - * @return This builder for chaining. - */ - public Builder setFieldName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - fieldName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The dimension name or metric name. Must be a name defined in dimensions
-     * or metrics.
-     * 
- * - * string field_name = 1; - * - * @return This builder for chaining. - */ - public Builder clearFieldName() { - - fieldName_ = getDefaultInstance().getFieldName(); - onChanged(); - return this; - } - /** - * - * - *
-     * The dimension name or metric name. Must be a name defined in dimensions
-     * or metrics.
-     * 
- * - * string field_name = 1; - * - * @param value The bytes for fieldName to set. - * @return This builder for chaining. - */ - public Builder setFieldNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - fieldName_ = value; - onChanged(); - return this; - } - - /** - * - * - *
-     * A filter for null values. If True, a null dimension value is matched by
-     * this filter. Null filter is commonly used inside a NOT filter
-     * expression. For example, a NOT expression of a null filter removes rows
-     * when a dimension is null.
-     * 
- * - * bool null_filter = 2; - * - * @return Whether the nullFilter field is set. - */ - public boolean hasNullFilter() { - return oneFilterCase_ == 2; - } - /** - * - * - *
-     * A filter for null values. If True, a null dimension value is matched by
-     * this filter. Null filter is commonly used inside a NOT filter
-     * expression. For example, a NOT expression of a null filter removes rows
-     * when a dimension is null.
-     * 
- * - * bool null_filter = 2; - * - * @return The nullFilter. - */ - public boolean getNullFilter() { - if (oneFilterCase_ == 2) { - return (java.lang.Boolean) oneFilter_; - } - return false; - } - /** - * - * - *
-     * A filter for null values. If True, a null dimension value is matched by
-     * this filter. Null filter is commonly used inside a NOT filter
-     * expression. For example, a NOT expression of a null filter removes rows
-     * when a dimension is null.
-     * 
- * - * bool null_filter = 2; - * - * @param value The nullFilter to set. - * @return This builder for chaining. - */ - public Builder setNullFilter(boolean value) { - oneFilterCase_ = 2; - oneFilter_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * A filter for null values. If True, a null dimension value is matched by
-     * this filter. Null filter is commonly used inside a NOT filter
-     * expression. For example, a NOT expression of a null filter removes rows
-     * when a dimension is null.
-     * 
- * - * bool null_filter = 2; - * - * @return This builder for chaining. - */ - public Builder clearNullFilter() { - if (oneFilterCase_ == 2) { - oneFilterCase_ = 0; - oneFilter_ = null; - onChanged(); - } - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.StringFilter, - com.google.analytics.data.v1alpha.Filter.StringFilter.Builder, - com.google.analytics.data.v1alpha.Filter.StringFilterOrBuilder> - stringFilterBuilder_; - /** - * - * - *
-     * Strings related filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - * - * @return Whether the stringFilter field is set. - */ - @java.lang.Override - public boolean hasStringFilter() { - return oneFilterCase_ == 3; - } - /** - * - * - *
-     * Strings related filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - * - * @return The stringFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.StringFilter getStringFilter() { - if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 3) { - return (com.google.analytics.data.v1alpha.Filter.StringFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.StringFilter.getDefaultInstance(); - } else { - if (oneFilterCase_ == 3) { - return stringFilterBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.Filter.StringFilter.getDefaultInstance(); - } - } - /** - * - * - *
-     * Strings related filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - */ - public Builder setStringFilter(com.google.analytics.data.v1alpha.Filter.StringFilter value) { - if (stringFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oneFilter_ = value; - onChanged(); - } else { - stringFilterBuilder_.setMessage(value); - } - oneFilterCase_ = 3; - return this; - } - /** - * - * - *
-     * Strings related filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - */ - public Builder setStringFilter( - com.google.analytics.data.v1alpha.Filter.StringFilter.Builder builderForValue) { - if (stringFilterBuilder_ == null) { - oneFilter_ = builderForValue.build(); - onChanged(); - } else { - stringFilterBuilder_.setMessage(builderForValue.build()); - } - oneFilterCase_ = 3; - return this; - } - /** - * - * - *
-     * Strings related filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - */ - public Builder mergeStringFilter(com.google.analytics.data.v1alpha.Filter.StringFilter value) { - if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 3 - && oneFilter_ - != com.google.analytics.data.v1alpha.Filter.StringFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.data.v1alpha.Filter.StringFilter.newBuilder( - (com.google.analytics.data.v1alpha.Filter.StringFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); - } else { - oneFilter_ = value; - } - onChanged(); - } else { - if (oneFilterCase_ == 3) { - stringFilterBuilder_.mergeFrom(value); - } - stringFilterBuilder_.setMessage(value); - } - oneFilterCase_ = 3; - return this; - } - /** - * - * - *
-     * Strings related filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - */ - public Builder clearStringFilter() { - if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 3) { - oneFilterCase_ = 0; - oneFilter_ = null; - onChanged(); - } - } else { - if (oneFilterCase_ == 3) { - oneFilterCase_ = 0; - oneFilter_ = null; - } - stringFilterBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Strings related filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - */ - public com.google.analytics.data.v1alpha.Filter.StringFilter.Builder getStringFilterBuilder() { - return getStringFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Strings related filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.StringFilterOrBuilder - getStringFilterOrBuilder() { - if ((oneFilterCase_ == 3) && (stringFilterBuilder_ != null)) { - return stringFilterBuilder_.getMessageOrBuilder(); - } else { - if (oneFilterCase_ == 3) { - return (com.google.analytics.data.v1alpha.Filter.StringFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.StringFilter.getDefaultInstance(); - } - } - /** - * - * - *
-     * Strings related filter.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.StringFilter, - com.google.analytics.data.v1alpha.Filter.StringFilter.Builder, - com.google.analytics.data.v1alpha.Filter.StringFilterOrBuilder> - getStringFilterFieldBuilder() { - if (stringFilterBuilder_ == null) { - if (!(oneFilterCase_ == 3)) { - oneFilter_ = com.google.analytics.data.v1alpha.Filter.StringFilter.getDefaultInstance(); - } - stringFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.StringFilter, - com.google.analytics.data.v1alpha.Filter.StringFilter.Builder, - com.google.analytics.data.v1alpha.Filter.StringFilterOrBuilder>( - (com.google.analytics.data.v1alpha.Filter.StringFilter) oneFilter_, - getParentForChildren(), - isClean()); - oneFilter_ = null; - } - oneFilterCase_ = 3; - onChanged(); - ; - return stringFilterBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.InListFilter, - com.google.analytics.data.v1alpha.Filter.InListFilter.Builder, - com.google.analytics.data.v1alpha.Filter.InListFilterOrBuilder> - inListFilterBuilder_; - /** - * - * - *
-     * A filter for in list values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - * - * @return Whether the inListFilter field is set. - */ - @java.lang.Override - public boolean hasInListFilter() { - return oneFilterCase_ == 4; - } - /** - * - * - *
-     * A filter for in list values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - * - * @return The inListFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.InListFilter getInListFilter() { - if (inListFilterBuilder_ == null) { - if (oneFilterCase_ == 4) { - return (com.google.analytics.data.v1alpha.Filter.InListFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.InListFilter.getDefaultInstance(); - } else { - if (oneFilterCase_ == 4) { - return inListFilterBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.Filter.InListFilter.getDefaultInstance(); - } - } - /** - * - * - *
-     * A filter for in list values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - */ - public Builder setInListFilter(com.google.analytics.data.v1alpha.Filter.InListFilter value) { - if (inListFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oneFilter_ = value; - onChanged(); - } else { - inListFilterBuilder_.setMessage(value); - } - oneFilterCase_ = 4; - return this; - } - /** - * - * - *
-     * A filter for in list values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - */ - public Builder setInListFilter( - com.google.analytics.data.v1alpha.Filter.InListFilter.Builder builderForValue) { - if (inListFilterBuilder_ == null) { - oneFilter_ = builderForValue.build(); - onChanged(); - } else { - inListFilterBuilder_.setMessage(builderForValue.build()); - } - oneFilterCase_ = 4; - return this; - } - /** - * - * - *
-     * A filter for in list values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - */ - public Builder mergeInListFilter(com.google.analytics.data.v1alpha.Filter.InListFilter value) { - if (inListFilterBuilder_ == null) { - if (oneFilterCase_ == 4 - && oneFilter_ - != com.google.analytics.data.v1alpha.Filter.InListFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.data.v1alpha.Filter.InListFilter.newBuilder( - (com.google.analytics.data.v1alpha.Filter.InListFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); - } else { - oneFilter_ = value; - } - onChanged(); - } else { - if (oneFilterCase_ == 4) { - inListFilterBuilder_.mergeFrom(value); - } - inListFilterBuilder_.setMessage(value); - } - oneFilterCase_ = 4; - return this; - } - /** - * - * - *
-     * A filter for in list values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - */ - public Builder clearInListFilter() { - if (inListFilterBuilder_ == null) { - if (oneFilterCase_ == 4) { - oneFilterCase_ = 0; - oneFilter_ = null; - onChanged(); - } - } else { - if (oneFilterCase_ == 4) { - oneFilterCase_ = 0; - oneFilter_ = null; - } - inListFilterBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * A filter for in list values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - */ - public com.google.analytics.data.v1alpha.Filter.InListFilter.Builder getInListFilterBuilder() { - return getInListFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * A filter for in list values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.InListFilterOrBuilder - getInListFilterOrBuilder() { - if ((oneFilterCase_ == 4) && (inListFilterBuilder_ != null)) { - return inListFilterBuilder_.getMessageOrBuilder(); - } else { - if (oneFilterCase_ == 4) { - return (com.google.analytics.data.v1alpha.Filter.InListFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.InListFilter.getDefaultInstance(); - } - } - /** - * - * - *
-     * A filter for in list values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.InListFilter, - com.google.analytics.data.v1alpha.Filter.InListFilter.Builder, - com.google.analytics.data.v1alpha.Filter.InListFilterOrBuilder> - getInListFilterFieldBuilder() { - if (inListFilterBuilder_ == null) { - if (!(oneFilterCase_ == 4)) { - oneFilter_ = com.google.analytics.data.v1alpha.Filter.InListFilter.getDefaultInstance(); - } - inListFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.InListFilter, - com.google.analytics.data.v1alpha.Filter.InListFilter.Builder, - com.google.analytics.data.v1alpha.Filter.InListFilterOrBuilder>( - (com.google.analytics.data.v1alpha.Filter.InListFilter) oneFilter_, - getParentForChildren(), - isClean()); - oneFilter_ = null; - } - oneFilterCase_ = 4; - onChanged(); - ; - return inListFilterBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.NumericFilter, - com.google.analytics.data.v1alpha.Filter.NumericFilter.Builder, - com.google.analytics.data.v1alpha.Filter.NumericFilterOrBuilder> - numericFilterBuilder_; - /** - * - * - *
-     * A filter for numeric or date values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - * - * @return Whether the numericFilter field is set. - */ - @java.lang.Override - public boolean hasNumericFilter() { - return oneFilterCase_ == 5; - } - /** - * - * - *
-     * A filter for numeric or date values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - * - * @return The numericFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.NumericFilter getNumericFilter() { - if (numericFilterBuilder_ == null) { - if (oneFilterCase_ == 5) { - return (com.google.analytics.data.v1alpha.Filter.NumericFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.NumericFilter.getDefaultInstance(); - } else { - if (oneFilterCase_ == 5) { - return numericFilterBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.Filter.NumericFilter.getDefaultInstance(); - } - } - /** - * - * - *
-     * A filter for numeric or date values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - */ - public Builder setNumericFilter(com.google.analytics.data.v1alpha.Filter.NumericFilter value) { - if (numericFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oneFilter_ = value; - onChanged(); - } else { - numericFilterBuilder_.setMessage(value); - } - oneFilterCase_ = 5; - return this; - } - /** - * - * - *
-     * A filter for numeric or date values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - */ - public Builder setNumericFilter( - com.google.analytics.data.v1alpha.Filter.NumericFilter.Builder builderForValue) { - if (numericFilterBuilder_ == null) { - oneFilter_ = builderForValue.build(); - onChanged(); - } else { - numericFilterBuilder_.setMessage(builderForValue.build()); - } - oneFilterCase_ = 5; - return this; - } - /** - * - * - *
-     * A filter for numeric or date values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - */ - public Builder mergeNumericFilter( - com.google.analytics.data.v1alpha.Filter.NumericFilter value) { - if (numericFilterBuilder_ == null) { - if (oneFilterCase_ == 5 - && oneFilter_ - != com.google.analytics.data.v1alpha.Filter.NumericFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.data.v1alpha.Filter.NumericFilter.newBuilder( - (com.google.analytics.data.v1alpha.Filter.NumericFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); - } else { - oneFilter_ = value; - } - onChanged(); - } else { - if (oneFilterCase_ == 5) { - numericFilterBuilder_.mergeFrom(value); - } - numericFilterBuilder_.setMessage(value); - } - oneFilterCase_ = 5; - return this; - } - /** - * - * - *
-     * A filter for numeric or date values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - */ - public Builder clearNumericFilter() { - if (numericFilterBuilder_ == null) { - if (oneFilterCase_ == 5) { - oneFilterCase_ = 0; - oneFilter_ = null; - onChanged(); - } - } else { - if (oneFilterCase_ == 5) { - oneFilterCase_ = 0; - oneFilter_ = null; - } - numericFilterBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * A filter for numeric or date values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - */ - public com.google.analytics.data.v1alpha.Filter.NumericFilter.Builder - getNumericFilterBuilder() { - return getNumericFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * A filter for numeric or date values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.NumericFilterOrBuilder - getNumericFilterOrBuilder() { - if ((oneFilterCase_ == 5) && (numericFilterBuilder_ != null)) { - return numericFilterBuilder_.getMessageOrBuilder(); - } else { - if (oneFilterCase_ == 5) { - return (com.google.analytics.data.v1alpha.Filter.NumericFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.NumericFilter.getDefaultInstance(); - } - } - /** - * - * - *
-     * A filter for numeric or date values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.NumericFilter, - com.google.analytics.data.v1alpha.Filter.NumericFilter.Builder, - com.google.analytics.data.v1alpha.Filter.NumericFilterOrBuilder> - getNumericFilterFieldBuilder() { - if (numericFilterBuilder_ == null) { - if (!(oneFilterCase_ == 5)) { - oneFilter_ = com.google.analytics.data.v1alpha.Filter.NumericFilter.getDefaultInstance(); - } - numericFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.NumericFilter, - com.google.analytics.data.v1alpha.Filter.NumericFilter.Builder, - com.google.analytics.data.v1alpha.Filter.NumericFilterOrBuilder>( - (com.google.analytics.data.v1alpha.Filter.NumericFilter) oneFilter_, - getParentForChildren(), - isClean()); - oneFilter_ = null; - } - oneFilterCase_ = 5; - onChanged(); - ; - return numericFilterBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.BetweenFilter, - com.google.analytics.data.v1alpha.Filter.BetweenFilter.Builder, - com.google.analytics.data.v1alpha.Filter.BetweenFilterOrBuilder> - betweenFilterBuilder_; - /** - * - * - *
-     * A filter for two values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - * - * @return Whether the betweenFilter field is set. - */ - @java.lang.Override - public boolean hasBetweenFilter() { - return oneFilterCase_ == 6; - } - /** - * - * - *
-     * A filter for two values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - * - * @return The betweenFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.BetweenFilter getBetweenFilter() { - if (betweenFilterBuilder_ == null) { - if (oneFilterCase_ == 6) { - return (com.google.analytics.data.v1alpha.Filter.BetweenFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.BetweenFilter.getDefaultInstance(); - } else { - if (oneFilterCase_ == 6) { - return betweenFilterBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.Filter.BetweenFilter.getDefaultInstance(); - } - } - /** - * - * - *
-     * A filter for two values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - */ - public Builder setBetweenFilter(com.google.analytics.data.v1alpha.Filter.BetweenFilter value) { - if (betweenFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oneFilter_ = value; - onChanged(); - } else { - betweenFilterBuilder_.setMessage(value); - } - oneFilterCase_ = 6; - return this; - } - /** - * - * - *
-     * A filter for two values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - */ - public Builder setBetweenFilter( - com.google.analytics.data.v1alpha.Filter.BetweenFilter.Builder builderForValue) { - if (betweenFilterBuilder_ == null) { - oneFilter_ = builderForValue.build(); - onChanged(); - } else { - betweenFilterBuilder_.setMessage(builderForValue.build()); - } - oneFilterCase_ = 6; - return this; - } - /** - * - * - *
-     * A filter for two values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - */ - public Builder mergeBetweenFilter( - com.google.analytics.data.v1alpha.Filter.BetweenFilter value) { - if (betweenFilterBuilder_ == null) { - if (oneFilterCase_ == 6 - && oneFilter_ - != com.google.analytics.data.v1alpha.Filter.BetweenFilter.getDefaultInstance()) { - oneFilter_ = - com.google.analytics.data.v1alpha.Filter.BetweenFilter.newBuilder( - (com.google.analytics.data.v1alpha.Filter.BetweenFilter) oneFilter_) - .mergeFrom(value) - .buildPartial(); - } else { - oneFilter_ = value; - } - onChanged(); - } else { - if (oneFilterCase_ == 6) { - betweenFilterBuilder_.mergeFrom(value); - } - betweenFilterBuilder_.setMessage(value); - } - oneFilterCase_ = 6; - return this; - } - /** - * - * - *
-     * A filter for two values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - */ - public Builder clearBetweenFilter() { - if (betweenFilterBuilder_ == null) { - if (oneFilterCase_ == 6) { - oneFilterCase_ = 0; - oneFilter_ = null; - onChanged(); - } - } else { - if (oneFilterCase_ == 6) { - oneFilterCase_ = 0; - oneFilter_ = null; - } - betweenFilterBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * A filter for two values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - */ - public com.google.analytics.data.v1alpha.Filter.BetweenFilter.Builder - getBetweenFilterBuilder() { - return getBetweenFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * A filter for two values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter.BetweenFilterOrBuilder - getBetweenFilterOrBuilder() { - if ((oneFilterCase_ == 6) && (betweenFilterBuilder_ != null)) { - return betweenFilterBuilder_.getMessageOrBuilder(); - } else { - if (oneFilterCase_ == 6) { - return (com.google.analytics.data.v1alpha.Filter.BetweenFilter) oneFilter_; - } - return com.google.analytics.data.v1alpha.Filter.BetweenFilter.getDefaultInstance(); - } - } - /** - * - * - *
-     * A filter for two values.
-     * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.BetweenFilter, - com.google.analytics.data.v1alpha.Filter.BetweenFilter.Builder, - com.google.analytics.data.v1alpha.Filter.BetweenFilterOrBuilder> - getBetweenFilterFieldBuilder() { - if (betweenFilterBuilder_ == null) { - if (!(oneFilterCase_ == 6)) { - oneFilter_ = com.google.analytics.data.v1alpha.Filter.BetweenFilter.getDefaultInstance(); - } - betweenFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter.BetweenFilter, - com.google.analytics.data.v1alpha.Filter.BetweenFilter.Builder, - com.google.analytics.data.v1alpha.Filter.BetweenFilterOrBuilder>( - (com.google.analytics.data.v1alpha.Filter.BetweenFilter) oneFilter_, - getParentForChildren(), - isClean()); - oneFilter_ = null; - } - oneFilterCase_ = 6; - onChanged(); - ; - return betweenFilterBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Filter) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Filter) - private static final com.google.analytics.data.v1alpha.Filter DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Filter(); - } - - public static com.google.analytics.data.v1alpha.Filter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Filter(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpression.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpression.java deleted file mode 100644 index 66ee959f..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpression.java +++ /dev/null @@ -1,1790 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * To express dimension or metric filters.
- * The fields in the same FilterExpression need to be either all dimensions or
- * all metrics.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.FilterExpression} - */ -public final class FilterExpression extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.FilterExpression) - FilterExpressionOrBuilder { - private static final long serialVersionUID = 0L; - // Use FilterExpression.newBuilder() to construct. - private FilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private FilterExpression() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new FilterExpression(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private FilterExpression( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.analytics.data.v1alpha.FilterExpressionList.Builder subBuilder = null; - if (exprCase_ == 1) { - subBuilder = - ((com.google.analytics.data.v1alpha.FilterExpressionList) expr_).toBuilder(); - } - expr_ = - input.readMessage( - com.google.analytics.data.v1alpha.FilterExpressionList.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.FilterExpressionList) expr_); - expr_ = subBuilder.buildPartial(); - } - exprCase_ = 1; - break; - } - case 18: - { - com.google.analytics.data.v1alpha.FilterExpressionList.Builder subBuilder = null; - if (exprCase_ == 2) { - subBuilder = - ((com.google.analytics.data.v1alpha.FilterExpressionList) expr_).toBuilder(); - } - expr_ = - input.readMessage( - com.google.analytics.data.v1alpha.FilterExpressionList.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.FilterExpressionList) expr_); - expr_ = subBuilder.buildPartial(); - } - exprCase_ = 2; - break; - } - case 26: - { - com.google.analytics.data.v1alpha.FilterExpression.Builder subBuilder = null; - if (exprCase_ == 3) { - subBuilder = - ((com.google.analytics.data.v1alpha.FilterExpression) expr_).toBuilder(); - } - expr_ = - input.readMessage( - com.google.analytics.data.v1alpha.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.data.v1alpha.FilterExpression) expr_); - expr_ = subBuilder.buildPartial(); - } - exprCase_ = 3; - break; - } - case 34: - { - com.google.analytics.data.v1alpha.Filter.Builder subBuilder = null; - if (exprCase_ == 4) { - subBuilder = ((com.google.analytics.data.v1alpha.Filter) expr_).toBuilder(); - } - expr_ = - input.readMessage( - com.google.analytics.data.v1alpha.Filter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.data.v1alpha.Filter) expr_); - expr_ = subBuilder.buildPartial(); - } - exprCase_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_FilterExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_FilterExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.FilterExpression.class, - com.google.analytics.data.v1alpha.FilterExpression.Builder.class); - } - - private int exprCase_ = 0; - private java.lang.Object expr_; - - public enum ExprCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - AND_GROUP(1), - OR_GROUP(2), - NOT_EXPRESSION(3), - FILTER(4), - EXPR_NOT_SET(0); - private final int value; - - private ExprCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ExprCase valueOf(int value) { - return forNumber(value); - } - - public static ExprCase forNumber(int value) { - switch (value) { - case 1: - return AND_GROUP; - case 2: - return OR_GROUP; - case 3: - return NOT_EXPRESSION; - case 4: - return FILTER; - case 0: - return EXPR_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public ExprCase getExprCase() { - return ExprCase.forNumber(exprCase_); - } - - public static final int AND_GROUP_FIELD_NUMBER = 1; - /** - * - * - *
-   * The FilterExpressions in and_group have an AND relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - * - * @return Whether the andGroup field is set. - */ - @java.lang.Override - public boolean hasAndGroup() { - return exprCase_ == 1; - } - /** - * - * - *
-   * The FilterExpressions in and_group have an AND relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - * - * @return The andGroup. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionList getAndGroup() { - if (exprCase_ == 1) { - return (com.google.analytics.data.v1alpha.FilterExpressionList) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - /** - * - * - *
-   * The FilterExpressions in and_group have an AND relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder getAndGroupOrBuilder() { - if (exprCase_ == 1) { - return (com.google.analytics.data.v1alpha.FilterExpressionList) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - - public static final int OR_GROUP_FIELD_NUMBER = 2; - /** - * - * - *
-   * The FilterExpressions in or_group have an OR relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - * - * @return Whether the orGroup field is set. - */ - @java.lang.Override - public boolean hasOrGroup() { - return exprCase_ == 2; - } - /** - * - * - *
-   * The FilterExpressions in or_group have an OR relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - * - * @return The orGroup. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionList getOrGroup() { - if (exprCase_ == 2) { - return (com.google.analytics.data.v1alpha.FilterExpressionList) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - /** - * - * - *
-   * The FilterExpressions in or_group have an OR relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder getOrGroupOrBuilder() { - if (exprCase_ == 2) { - return (com.google.analytics.data.v1alpha.FilterExpressionList) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - - public static final int NOT_EXPRESSION_FIELD_NUMBER = 3; - /** - * - * - *
-   * The FilterExpression is NOT of not_expression.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - * - * @return Whether the notExpression field is set. - */ - @java.lang.Override - public boolean hasNotExpression() { - return exprCase_ == 3; - } - /** - * - * - *
-   * The FilterExpression is NOT of not_expression.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - * - * @return The notExpression. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getNotExpression() { - if (exprCase_ == 3) { - return (com.google.analytics.data.v1alpha.FilterExpression) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance(); - } - /** - * - * - *
-   * The FilterExpression is NOT of not_expression.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getNotExpressionOrBuilder() { - if (exprCase_ == 3) { - return (com.google.analytics.data.v1alpha.FilterExpression) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance(); - } - - public static final int FILTER_FIELD_NUMBER = 4; - /** - * - * - *
-   * A primitive filter.
-   * All fields in filter in same FilterExpression needs to be either all
-   * dimensions or metrics.
-   * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - * - * @return Whether the filter field is set. - */ - @java.lang.Override - public boolean hasFilter() { - return exprCase_ == 4; - } - /** - * - * - *
-   * A primitive filter.
-   * All fields in filter in same FilterExpression needs to be either all
-   * dimensions or metrics.
-   * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - * - * @return The filter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter getFilter() { - if (exprCase_ == 4) { - return (com.google.analytics.data.v1alpha.Filter) expr_; - } - return com.google.analytics.data.v1alpha.Filter.getDefaultInstance(); - } - /** - * - * - *
-   * A primitive filter.
-   * All fields in filter in same FilterExpression needs to be either all
-   * dimensions or metrics.
-   * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterOrBuilder getFilterOrBuilder() { - if (exprCase_ == 4) { - return (com.google.analytics.data.v1alpha.Filter) expr_; - } - return com.google.analytics.data.v1alpha.Filter.getDefaultInstance(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (exprCase_ == 1) { - output.writeMessage(1, (com.google.analytics.data.v1alpha.FilterExpressionList) expr_); - } - if (exprCase_ == 2) { - output.writeMessage(2, (com.google.analytics.data.v1alpha.FilterExpressionList) expr_); - } - if (exprCase_ == 3) { - output.writeMessage(3, (com.google.analytics.data.v1alpha.FilterExpression) expr_); - } - if (exprCase_ == 4) { - output.writeMessage(4, (com.google.analytics.data.v1alpha.Filter) expr_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (exprCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.analytics.data.v1alpha.FilterExpressionList) expr_); - } - if (exprCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.analytics.data.v1alpha.FilterExpressionList) expr_); - } - if (exprCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.analytics.data.v1alpha.FilterExpression) expr_); - } - if (exprCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.analytics.data.v1alpha.Filter) expr_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.FilterExpression)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.FilterExpression other = - (com.google.analytics.data.v1alpha.FilterExpression) obj; - - if (!getExprCase().equals(other.getExprCase())) return false; - switch (exprCase_) { - case 1: - if (!getAndGroup().equals(other.getAndGroup())) return false; - break; - case 2: - if (!getOrGroup().equals(other.getOrGroup())) return false; - break; - case 3: - if (!getNotExpression().equals(other.getNotExpression())) return false; - break; - case 4: - if (!getFilter().equals(other.getFilter())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (exprCase_) { - case 1: - hash = (37 * hash) + AND_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getAndGroup().hashCode(); - break; - case 2: - hash = (37 * hash) + OR_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getOrGroup().hashCode(); - break; - case 3: - hash = (37 * hash) + NOT_EXPRESSION_FIELD_NUMBER; - hash = (53 * hash) + getNotExpression().hashCode(); - break; - case 4: - hash = (37 * hash) + FILTER_FIELD_NUMBER; - hash = (53 * hash) + getFilter().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.FilterExpression parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.FilterExpression prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * To express dimension or metric filters.
-   * The fields in the same FilterExpression need to be either all dimensions or
-   * all metrics.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.FilterExpression} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.FilterExpression) - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_FilterExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_FilterExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.FilterExpression.class, - com.google.analytics.data.v1alpha.FilterExpression.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.FilterExpression.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - exprCase_ = 0; - expr_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_FilterExpression_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression build() { - com.google.analytics.data.v1alpha.FilterExpression result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression buildPartial() { - com.google.analytics.data.v1alpha.FilterExpression result = - new com.google.analytics.data.v1alpha.FilterExpression(this); - if (exprCase_ == 1) { - if (andGroupBuilder_ == null) { - result.expr_ = expr_; - } else { - result.expr_ = andGroupBuilder_.build(); - } - } - if (exprCase_ == 2) { - if (orGroupBuilder_ == null) { - result.expr_ = expr_; - } else { - result.expr_ = orGroupBuilder_.build(); - } - } - if (exprCase_ == 3) { - if (notExpressionBuilder_ == null) { - result.expr_ = expr_; - } else { - result.expr_ = notExpressionBuilder_.build(); - } - } - if (exprCase_ == 4) { - if (filterBuilder_ == null) { - result.expr_ = expr_; - } else { - result.expr_ = filterBuilder_.build(); - } - } - result.exprCase_ = exprCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.FilterExpression) { - return mergeFrom((com.google.analytics.data.v1alpha.FilterExpression) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.FilterExpression other) { - if (other == com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance()) - return this; - switch (other.getExprCase()) { - case AND_GROUP: - { - mergeAndGroup(other.getAndGroup()); - break; - } - case OR_GROUP: - { - mergeOrGroup(other.getOrGroup()); - break; - } - case NOT_EXPRESSION: - { - mergeNotExpression(other.getNotExpression()); - break; - } - case FILTER: - { - mergeFilter(other.getFilter()); - break; - } - case EXPR_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.FilterExpression parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.FilterExpression) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int exprCase_ = 0; - private java.lang.Object expr_; - - public ExprCase getExprCase() { - return ExprCase.forNumber(exprCase_); - } - - public Builder clearExpr() { - exprCase_ = 0; - expr_ = null; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpressionList, - com.google.analytics.data.v1alpha.FilterExpressionList.Builder, - com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder> - andGroupBuilder_; - /** - * - * - *
-     * The FilterExpressions in and_group have an AND relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - * - * @return Whether the andGroup field is set. - */ - @java.lang.Override - public boolean hasAndGroup() { - return exprCase_ == 1; - } - /** - * - * - *
-     * The FilterExpressions in and_group have an AND relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - * - * @return The andGroup. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionList getAndGroup() { - if (andGroupBuilder_ == null) { - if (exprCase_ == 1) { - return (com.google.analytics.data.v1alpha.FilterExpressionList) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } else { - if (exprCase_ == 1) { - return andGroupBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - } - /** - * - * - *
-     * The FilterExpressions in and_group have an AND relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - */ - public Builder setAndGroup(com.google.analytics.data.v1alpha.FilterExpressionList value) { - if (andGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expr_ = value; - onChanged(); - } else { - andGroupBuilder_.setMessage(value); - } - exprCase_ = 1; - return this; - } - /** - * - * - *
-     * The FilterExpressions in and_group have an AND relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - */ - public Builder setAndGroup( - com.google.analytics.data.v1alpha.FilterExpressionList.Builder builderForValue) { - if (andGroupBuilder_ == null) { - expr_ = builderForValue.build(); - onChanged(); - } else { - andGroupBuilder_.setMessage(builderForValue.build()); - } - exprCase_ = 1; - return this; - } - /** - * - * - *
-     * The FilterExpressions in and_group have an AND relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - */ - public Builder mergeAndGroup(com.google.analytics.data.v1alpha.FilterExpressionList value) { - if (andGroupBuilder_ == null) { - if (exprCase_ == 1 - && expr_ - != com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance()) { - expr_ = - com.google.analytics.data.v1alpha.FilterExpressionList.newBuilder( - (com.google.analytics.data.v1alpha.FilterExpressionList) expr_) - .mergeFrom(value) - .buildPartial(); - } else { - expr_ = value; - } - onChanged(); - } else { - if (exprCase_ == 1) { - andGroupBuilder_.mergeFrom(value); - } - andGroupBuilder_.setMessage(value); - } - exprCase_ = 1; - return this; - } - /** - * - * - *
-     * The FilterExpressions in and_group have an AND relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - */ - public Builder clearAndGroup() { - if (andGroupBuilder_ == null) { - if (exprCase_ == 1) { - exprCase_ = 0; - expr_ = null; - onChanged(); - } - } else { - if (exprCase_ == 1) { - exprCase_ = 0; - expr_ = null; - } - andGroupBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The FilterExpressions in and_group have an AND relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - */ - public com.google.analytics.data.v1alpha.FilterExpressionList.Builder getAndGroupBuilder() { - return getAndGroupFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The FilterExpressions in and_group have an AND relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder getAndGroupOrBuilder() { - if ((exprCase_ == 1) && (andGroupBuilder_ != null)) { - return andGroupBuilder_.getMessageOrBuilder(); - } else { - if (exprCase_ == 1) { - return (com.google.analytics.data.v1alpha.FilterExpressionList) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - } - /** - * - * - *
-     * The FilterExpressions in and_group have an AND relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpressionList, - com.google.analytics.data.v1alpha.FilterExpressionList.Builder, - com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder> - getAndGroupFieldBuilder() { - if (andGroupBuilder_ == null) { - if (!(exprCase_ == 1)) { - expr_ = com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - andGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpressionList, - com.google.analytics.data.v1alpha.FilterExpressionList.Builder, - com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder>( - (com.google.analytics.data.v1alpha.FilterExpressionList) expr_, - getParentForChildren(), - isClean()); - expr_ = null; - } - exprCase_ = 1; - onChanged(); - ; - return andGroupBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpressionList, - com.google.analytics.data.v1alpha.FilterExpressionList.Builder, - com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder> - orGroupBuilder_; - /** - * - * - *
-     * The FilterExpressions in or_group have an OR relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - * - * @return Whether the orGroup field is set. - */ - @java.lang.Override - public boolean hasOrGroup() { - return exprCase_ == 2; - } - /** - * - * - *
-     * The FilterExpressions in or_group have an OR relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - * - * @return The orGroup. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionList getOrGroup() { - if (orGroupBuilder_ == null) { - if (exprCase_ == 2) { - return (com.google.analytics.data.v1alpha.FilterExpressionList) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } else { - if (exprCase_ == 2) { - return orGroupBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - } - /** - * - * - *
-     * The FilterExpressions in or_group have an OR relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - */ - public Builder setOrGroup(com.google.analytics.data.v1alpha.FilterExpressionList value) { - if (orGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expr_ = value; - onChanged(); - } else { - orGroupBuilder_.setMessage(value); - } - exprCase_ = 2; - return this; - } - /** - * - * - *
-     * The FilterExpressions in or_group have an OR relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - */ - public Builder setOrGroup( - com.google.analytics.data.v1alpha.FilterExpressionList.Builder builderForValue) { - if (orGroupBuilder_ == null) { - expr_ = builderForValue.build(); - onChanged(); - } else { - orGroupBuilder_.setMessage(builderForValue.build()); - } - exprCase_ = 2; - return this; - } - /** - * - * - *
-     * The FilterExpressions in or_group have an OR relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - */ - public Builder mergeOrGroup(com.google.analytics.data.v1alpha.FilterExpressionList value) { - if (orGroupBuilder_ == null) { - if (exprCase_ == 2 - && expr_ - != com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance()) { - expr_ = - com.google.analytics.data.v1alpha.FilterExpressionList.newBuilder( - (com.google.analytics.data.v1alpha.FilterExpressionList) expr_) - .mergeFrom(value) - .buildPartial(); - } else { - expr_ = value; - } - onChanged(); - } else { - if (exprCase_ == 2) { - orGroupBuilder_.mergeFrom(value); - } - orGroupBuilder_.setMessage(value); - } - exprCase_ = 2; - return this; - } - /** - * - * - *
-     * The FilterExpressions in or_group have an OR relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - */ - public Builder clearOrGroup() { - if (orGroupBuilder_ == null) { - if (exprCase_ == 2) { - exprCase_ = 0; - expr_ = null; - onChanged(); - } - } else { - if (exprCase_ == 2) { - exprCase_ = 0; - expr_ = null; - } - orGroupBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The FilterExpressions in or_group have an OR relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - */ - public com.google.analytics.data.v1alpha.FilterExpressionList.Builder getOrGroupBuilder() { - return getOrGroupFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The FilterExpressions in or_group have an OR relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder getOrGroupOrBuilder() { - if ((exprCase_ == 2) && (orGroupBuilder_ != null)) { - return orGroupBuilder_.getMessageOrBuilder(); - } else { - if (exprCase_ == 2) { - return (com.google.analytics.data.v1alpha.FilterExpressionList) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - } - /** - * - * - *
-     * The FilterExpressions in or_group have an OR relationship.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpressionList, - com.google.analytics.data.v1alpha.FilterExpressionList.Builder, - com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder> - getOrGroupFieldBuilder() { - if (orGroupBuilder_ == null) { - if (!(exprCase_ == 2)) { - expr_ = com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - orGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpressionList, - com.google.analytics.data.v1alpha.FilterExpressionList.Builder, - com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder>( - (com.google.analytics.data.v1alpha.FilterExpressionList) expr_, - getParentForChildren(), - isClean()); - expr_ = null; - } - exprCase_ = 2; - onChanged(); - ; - return orGroupBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - notExpressionBuilder_; - /** - * - * - *
-     * The FilterExpression is NOT of not_expression.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - * - * @return Whether the notExpression field is set. - */ - @java.lang.Override - public boolean hasNotExpression() { - return exprCase_ == 3; - } - /** - * - * - *
-     * The FilterExpression is NOT of not_expression.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - * - * @return The notExpression. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getNotExpression() { - if (notExpressionBuilder_ == null) { - if (exprCase_ == 3) { - return (com.google.analytics.data.v1alpha.FilterExpression) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance(); - } else { - if (exprCase_ == 3) { - return notExpressionBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance(); - } - } - /** - * - * - *
-     * The FilterExpression is NOT of not_expression.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - */ - public Builder setNotExpression(com.google.analytics.data.v1alpha.FilterExpression value) { - if (notExpressionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expr_ = value; - onChanged(); - } else { - notExpressionBuilder_.setMessage(value); - } - exprCase_ = 3; - return this; - } - /** - * - * - *
-     * The FilterExpression is NOT of not_expression.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - */ - public Builder setNotExpression( - com.google.analytics.data.v1alpha.FilterExpression.Builder builderForValue) { - if (notExpressionBuilder_ == null) { - expr_ = builderForValue.build(); - onChanged(); - } else { - notExpressionBuilder_.setMessage(builderForValue.build()); - } - exprCase_ = 3; - return this; - } - /** - * - * - *
-     * The FilterExpression is NOT of not_expression.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - */ - public Builder mergeNotExpression(com.google.analytics.data.v1alpha.FilterExpression value) { - if (notExpressionBuilder_ == null) { - if (exprCase_ == 3 - && expr_ != com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance()) { - expr_ = - com.google.analytics.data.v1alpha.FilterExpression.newBuilder( - (com.google.analytics.data.v1alpha.FilterExpression) expr_) - .mergeFrom(value) - .buildPartial(); - } else { - expr_ = value; - } - onChanged(); - } else { - if (exprCase_ == 3) { - notExpressionBuilder_.mergeFrom(value); - } - notExpressionBuilder_.setMessage(value); - } - exprCase_ = 3; - return this; - } - /** - * - * - *
-     * The FilterExpression is NOT of not_expression.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - */ - public Builder clearNotExpression() { - if (notExpressionBuilder_ == null) { - if (exprCase_ == 3) { - exprCase_ = 0; - expr_ = null; - onChanged(); - } - } else { - if (exprCase_ == 3) { - exprCase_ = 0; - expr_ = null; - } - notExpressionBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The FilterExpression is NOT of not_expression.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - */ - public com.google.analytics.data.v1alpha.FilterExpression.Builder getNotExpressionBuilder() { - return getNotExpressionFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The FilterExpression is NOT of not_expression.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getNotExpressionOrBuilder() { - if ((exprCase_ == 3) && (notExpressionBuilder_ != null)) { - return notExpressionBuilder_.getMessageOrBuilder(); - } else { - if (exprCase_ == 3) { - return (com.google.analytics.data.v1alpha.FilterExpression) expr_; - } - return com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance(); - } - } - /** - * - * - *
-     * The FilterExpression is NOT of not_expression.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - getNotExpressionFieldBuilder() { - if (notExpressionBuilder_ == null) { - if (!(exprCase_ == 3)) { - expr_ = com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance(); - } - notExpressionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder>( - (com.google.analytics.data.v1alpha.FilterExpression) expr_, - getParentForChildren(), - isClean()); - expr_ = null; - } - exprCase_ = 3; - onChanged(); - ; - return notExpressionBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter, - com.google.analytics.data.v1alpha.Filter.Builder, - com.google.analytics.data.v1alpha.FilterOrBuilder> - filterBuilder_; - /** - * - * - *
-     * A primitive filter.
-     * All fields in filter in same FilterExpression needs to be either all
-     * dimensions or metrics.
-     * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - * - * @return Whether the filter field is set. - */ - @java.lang.Override - public boolean hasFilter() { - return exprCase_ == 4; - } - /** - * - * - *
-     * A primitive filter.
-     * All fields in filter in same FilterExpression needs to be either all
-     * dimensions or metrics.
-     * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - * - * @return The filter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Filter getFilter() { - if (filterBuilder_ == null) { - if (exprCase_ == 4) { - return (com.google.analytics.data.v1alpha.Filter) expr_; - } - return com.google.analytics.data.v1alpha.Filter.getDefaultInstance(); - } else { - if (exprCase_ == 4) { - return filterBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.Filter.getDefaultInstance(); - } - } - /** - * - * - *
-     * A primitive filter.
-     * All fields in filter in same FilterExpression needs to be either all
-     * dimensions or metrics.
-     * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - */ - public Builder setFilter(com.google.analytics.data.v1alpha.Filter value) { - if (filterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expr_ = value; - onChanged(); - } else { - filterBuilder_.setMessage(value); - } - exprCase_ = 4; - return this; - } - /** - * - * - *
-     * A primitive filter.
-     * All fields in filter in same FilterExpression needs to be either all
-     * dimensions or metrics.
-     * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - */ - public Builder setFilter(com.google.analytics.data.v1alpha.Filter.Builder builderForValue) { - if (filterBuilder_ == null) { - expr_ = builderForValue.build(); - onChanged(); - } else { - filterBuilder_.setMessage(builderForValue.build()); - } - exprCase_ = 4; - return this; - } - /** - * - * - *
-     * A primitive filter.
-     * All fields in filter in same FilterExpression needs to be either all
-     * dimensions or metrics.
-     * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - */ - public Builder mergeFilter(com.google.analytics.data.v1alpha.Filter value) { - if (filterBuilder_ == null) { - if (exprCase_ == 4 - && expr_ != com.google.analytics.data.v1alpha.Filter.getDefaultInstance()) { - expr_ = - com.google.analytics.data.v1alpha.Filter.newBuilder( - (com.google.analytics.data.v1alpha.Filter) expr_) - .mergeFrom(value) - .buildPartial(); - } else { - expr_ = value; - } - onChanged(); - } else { - if (exprCase_ == 4) { - filterBuilder_.mergeFrom(value); - } - filterBuilder_.setMessage(value); - } - exprCase_ = 4; - return this; - } - /** - * - * - *
-     * A primitive filter.
-     * All fields in filter in same FilterExpression needs to be either all
-     * dimensions or metrics.
-     * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - */ - public Builder clearFilter() { - if (filterBuilder_ == null) { - if (exprCase_ == 4) { - exprCase_ = 0; - expr_ = null; - onChanged(); - } - } else { - if (exprCase_ == 4) { - exprCase_ = 0; - expr_ = null; - } - filterBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * A primitive filter.
-     * All fields in filter in same FilterExpression needs to be either all
-     * dimensions or metrics.
-     * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - */ - public com.google.analytics.data.v1alpha.Filter.Builder getFilterBuilder() { - return getFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * A primitive filter.
-     * All fields in filter in same FilterExpression needs to be either all
-     * dimensions or metrics.
-     * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterOrBuilder getFilterOrBuilder() { - if ((exprCase_ == 4) && (filterBuilder_ != null)) { - return filterBuilder_.getMessageOrBuilder(); - } else { - if (exprCase_ == 4) { - return (com.google.analytics.data.v1alpha.Filter) expr_; - } - return com.google.analytics.data.v1alpha.Filter.getDefaultInstance(); - } - } - /** - * - * - *
-     * A primitive filter.
-     * All fields in filter in same FilterExpression needs to be either all
-     * dimensions or metrics.
-     * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter, - com.google.analytics.data.v1alpha.Filter.Builder, - com.google.analytics.data.v1alpha.FilterOrBuilder> - getFilterFieldBuilder() { - if (filterBuilder_ == null) { - if (!(exprCase_ == 4)) { - expr_ = com.google.analytics.data.v1alpha.Filter.getDefaultInstance(); - } - filterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Filter, - com.google.analytics.data.v1alpha.Filter.Builder, - com.google.analytics.data.v1alpha.FilterOrBuilder>( - (com.google.analytics.data.v1alpha.Filter) expr_, - getParentForChildren(), - isClean()); - expr_ = null; - } - exprCase_ = 4; - onChanged(); - ; - return filterBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.FilterExpression) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.FilterExpression) - private static final com.google.analytics.data.v1alpha.FilterExpression DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.FilterExpression(); - } - - public static com.google.analytics.data.v1alpha.FilterExpression getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FilterExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FilterExpression(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionList.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionList.java deleted file mode 100644 index 6dc1dd3e..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionList.java +++ /dev/null @@ -1,962 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * A list of filter expressions.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.FilterExpressionList} - */ -public final class FilterExpressionList extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.FilterExpressionList) - FilterExpressionListOrBuilder { - private static final long serialVersionUID = 0L; - // Use FilterExpressionList.newBuilder() to construct. - private FilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private FilterExpressionList() { - expressions_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new FilterExpressionList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private FilterExpressionList( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - expressions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - expressions_.add( - input.readMessage( - com.google.analytics.data.v1alpha.FilterExpression.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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - expressions_ = java.util.Collections.unmodifiableList(expressions_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_FilterExpressionList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_FilterExpressionList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.FilterExpressionList.class, - com.google.analytics.data.v1alpha.FilterExpressionList.Builder.class); - } - - public static final int EXPRESSIONS_FIELD_NUMBER = 1; - private java.util.List expressions_; - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - @java.lang.Override - public java.util.List getExpressionsList() { - return expressions_; - } - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - @java.lang.Override - public java.util.List - getExpressionsOrBuilderList() { - return expressions_; - } - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - @java.lang.Override - public int getExpressionsCount() { - return expressions_.size(); - } - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getExpressions(int index) { - return expressions_.get(index); - } - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getExpressionsOrBuilder( - int index) { - return expressions_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < expressions_.size(); i++) { - output.writeMessage(1, expressions_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < expressions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, expressions_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.FilterExpressionList)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.FilterExpressionList other = - (com.google.analytics.data.v1alpha.FilterExpressionList) obj; - - if (!getExpressionsList().equals(other.getExpressionsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getExpressionsCount() > 0) { - hash = (37 * hash) + EXPRESSIONS_FIELD_NUMBER; - hash = (53 * hash) + getExpressionsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.FilterExpressionList prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.FilterExpressionList} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.FilterExpressionList) - com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_FilterExpressionList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_FilterExpressionList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.FilterExpressionList.class, - com.google.analytics.data.v1alpha.FilterExpressionList.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.FilterExpressionList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getExpressionsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (expressionsBuilder_ == null) { - expressions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - expressionsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_FilterExpressionList_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionList getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionList build() { - com.google.analytics.data.v1alpha.FilterExpressionList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionList buildPartial() { - com.google.analytics.data.v1alpha.FilterExpressionList result = - new com.google.analytics.data.v1alpha.FilterExpressionList(this); - int from_bitField0_ = bitField0_; - if (expressionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - expressions_ = java.util.Collections.unmodifiableList(expressions_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.expressions_ = expressions_; - } else { - result.expressions_ = expressionsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.FilterExpressionList) { - return mergeFrom((com.google.analytics.data.v1alpha.FilterExpressionList) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.FilterExpressionList other) { - if (other == com.google.analytics.data.v1alpha.FilterExpressionList.getDefaultInstance()) - return this; - if (expressionsBuilder_ == null) { - if (!other.expressions_.isEmpty()) { - if (expressions_.isEmpty()) { - expressions_ = other.expressions_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureExpressionsIsMutable(); - expressions_.addAll(other.expressions_); - } - onChanged(); - } - } else { - if (!other.expressions_.isEmpty()) { - if (expressionsBuilder_.isEmpty()) { - expressionsBuilder_.dispose(); - expressionsBuilder_ = null; - expressions_ = other.expressions_; - bitField0_ = (bitField0_ & ~0x00000001); - expressionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExpressionsFieldBuilder() - : null; - } else { - expressionsBuilder_.addAllMessages(other.expressions_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.FilterExpressionList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.FilterExpressionList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List expressions_ = - java.util.Collections.emptyList(); - - private void ensureExpressionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - expressions_ = - new java.util.ArrayList( - expressions_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - expressionsBuilder_; - - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public java.util.List getExpressionsList() { - if (expressionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(expressions_); - } else { - return expressionsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public int getExpressionsCount() { - if (expressionsBuilder_ == null) { - return expressions_.size(); - } else { - return expressionsBuilder_.getCount(); - } - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public com.google.analytics.data.v1alpha.FilterExpression getExpressions(int index) { - if (expressionsBuilder_ == null) { - return expressions_.get(index); - } else { - return expressionsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public Builder setExpressions( - int index, com.google.analytics.data.v1alpha.FilterExpression value) { - if (expressionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExpressionsIsMutable(); - expressions_.set(index, value); - onChanged(); - } else { - expressionsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public Builder setExpressions( - int index, com.google.analytics.data.v1alpha.FilterExpression.Builder builderForValue) { - if (expressionsBuilder_ == null) { - ensureExpressionsIsMutable(); - expressions_.set(index, builderForValue.build()); - onChanged(); - } else { - expressionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public Builder addExpressions(com.google.analytics.data.v1alpha.FilterExpression value) { - if (expressionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExpressionsIsMutable(); - expressions_.add(value); - onChanged(); - } else { - expressionsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public Builder addExpressions( - int index, com.google.analytics.data.v1alpha.FilterExpression value) { - if (expressionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExpressionsIsMutable(); - expressions_.add(index, value); - onChanged(); - } else { - expressionsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public Builder addExpressions( - com.google.analytics.data.v1alpha.FilterExpression.Builder builderForValue) { - if (expressionsBuilder_ == null) { - ensureExpressionsIsMutable(); - expressions_.add(builderForValue.build()); - onChanged(); - } else { - expressionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public Builder addExpressions( - int index, com.google.analytics.data.v1alpha.FilterExpression.Builder builderForValue) { - if (expressionsBuilder_ == null) { - ensureExpressionsIsMutable(); - expressions_.add(index, builderForValue.build()); - onChanged(); - } else { - expressionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public Builder addAllExpressions( - java.lang.Iterable values) { - if (expressionsBuilder_ == null) { - ensureExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, expressions_); - onChanged(); - } else { - expressionsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public Builder clearExpressions() { - if (expressionsBuilder_ == null) { - expressions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - expressionsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public Builder removeExpressions(int index) { - if (expressionsBuilder_ == null) { - ensureExpressionsIsMutable(); - expressions_.remove(index); - onChanged(); - } else { - expressionsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public com.google.analytics.data.v1alpha.FilterExpression.Builder getExpressionsBuilder( - int index) { - return getExpressionsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getExpressionsOrBuilder( - int index) { - if (expressionsBuilder_ == null) { - return expressions_.get(index); - } else { - return expressionsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public java.util.List - getExpressionsOrBuilderList() { - if (expressionsBuilder_ != null) { - return expressionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(expressions_); - } - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public com.google.analytics.data.v1alpha.FilterExpression.Builder addExpressionsBuilder() { - return getExpressionsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance()); - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public com.google.analytics.data.v1alpha.FilterExpression.Builder addExpressionsBuilder( - int index) { - return getExpressionsFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance()); - } - /** - * - * - *
-     * A list of filter expressions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - public java.util.List - getExpressionsBuilderList() { - return getExpressionsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - getExpressionsFieldBuilder() { - if (expressionsBuilder_ == null) { - expressionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder>( - expressions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - expressions_ = null; - } - return expressionsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.FilterExpressionList) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.FilterExpressionList) - private static final com.google.analytics.data.v1alpha.FilterExpressionList DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.FilterExpressionList(); - } - - public static com.google.analytics.data.v1alpha.FilterExpressionList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FilterExpressionList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FilterExpressionList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionListOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionListOrBuilder.java deleted file mode 100644 index e8c0264e..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionListOrBuilder.java +++ /dev/null @@ -1,77 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface FilterExpressionListOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.FilterExpressionList) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - java.util.List getExpressionsList(); - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - com.google.analytics.data.v1alpha.FilterExpression getExpressions(int index); - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - int getExpressionsCount(); - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - java.util.List - getExpressionsOrBuilderList(); - /** - * - * - *
-   * A list of filter expressions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.FilterExpression expressions = 1; - */ - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getExpressionsOrBuilder(int index); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionOrBuilder.java deleted file mode 100644 index b9db4572..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterExpressionOrBuilder.java +++ /dev/null @@ -1,173 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface FilterExpressionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.FilterExpression) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The FilterExpressions in and_group have an AND relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - * - * @return Whether the andGroup field is set. - */ - boolean hasAndGroup(); - /** - * - * - *
-   * The FilterExpressions in and_group have an AND relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - * - * @return The andGroup. - */ - com.google.analytics.data.v1alpha.FilterExpressionList getAndGroup(); - /** - * - * - *
-   * The FilterExpressions in and_group have an AND relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList and_group = 1; - */ - com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder getAndGroupOrBuilder(); - - /** - * - * - *
-   * The FilterExpressions in or_group have an OR relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - * - * @return Whether the orGroup field is set. - */ - boolean hasOrGroup(); - /** - * - * - *
-   * The FilterExpressions in or_group have an OR relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - * - * @return The orGroup. - */ - com.google.analytics.data.v1alpha.FilterExpressionList getOrGroup(); - /** - * - * - *
-   * The FilterExpressions in or_group have an OR relationship.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpressionList or_group = 2; - */ - com.google.analytics.data.v1alpha.FilterExpressionListOrBuilder getOrGroupOrBuilder(); - - /** - * - * - *
-   * The FilterExpression is NOT of not_expression.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - * - * @return Whether the notExpression field is set. - */ - boolean hasNotExpression(); - /** - * - * - *
-   * The FilterExpression is NOT of not_expression.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - * - * @return The notExpression. - */ - com.google.analytics.data.v1alpha.FilterExpression getNotExpression(); - /** - * - * - *
-   * The FilterExpression is NOT of not_expression.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression not_expression = 3; - */ - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getNotExpressionOrBuilder(); - - /** - * - * - *
-   * A primitive filter.
-   * All fields in filter in same FilterExpression needs to be either all
-   * dimensions or metrics.
-   * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - * - * @return Whether the filter field is set. - */ - boolean hasFilter(); - /** - * - * - *
-   * A primitive filter.
-   * All fields in filter in same FilterExpression needs to be either all
-   * dimensions or metrics.
-   * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - * - * @return The filter. - */ - com.google.analytics.data.v1alpha.Filter getFilter(); - /** - * - * - *
-   * A primitive filter.
-   * All fields in filter in same FilterExpression needs to be either all
-   * dimensions or metrics.
-   * 
- * - * .google.analytics.data.v1alpha.Filter filter = 4; - */ - com.google.analytics.data.v1alpha.FilterOrBuilder getFilterOrBuilder(); - - public com.google.analytics.data.v1alpha.FilterExpression.ExprCase getExprCase(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterOrBuilder.java deleted file mode 100644 index b076385d..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/FilterOrBuilder.java +++ /dev/null @@ -1,225 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface FilterOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Filter) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The dimension name or metric name. Must be a name defined in dimensions
-   * or metrics.
-   * 
- * - * string field_name = 1; - * - * @return The fieldName. - */ - java.lang.String getFieldName(); - /** - * - * - *
-   * The dimension name or metric name. Must be a name defined in dimensions
-   * or metrics.
-   * 
- * - * string field_name = 1; - * - * @return The bytes for fieldName. - */ - com.google.protobuf.ByteString getFieldNameBytes(); - - /** - * - * - *
-   * A filter for null values. If True, a null dimension value is matched by
-   * this filter. Null filter is commonly used inside a NOT filter
-   * expression. For example, a NOT expression of a null filter removes rows
-   * when a dimension is null.
-   * 
- * - * bool null_filter = 2; - * - * @return Whether the nullFilter field is set. - */ - boolean hasNullFilter(); - /** - * - * - *
-   * A filter for null values. If True, a null dimension value is matched by
-   * this filter. Null filter is commonly used inside a NOT filter
-   * expression. For example, a NOT expression of a null filter removes rows
-   * when a dimension is null.
-   * 
- * - * bool null_filter = 2; - * - * @return The nullFilter. - */ - boolean getNullFilter(); - - /** - * - * - *
-   * Strings related filter.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - * - * @return Whether the stringFilter field is set. - */ - boolean hasStringFilter(); - /** - * - * - *
-   * Strings related filter.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - * - * @return The stringFilter. - */ - com.google.analytics.data.v1alpha.Filter.StringFilter getStringFilter(); - /** - * - * - *
-   * Strings related filter.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.StringFilter string_filter = 3; - */ - com.google.analytics.data.v1alpha.Filter.StringFilterOrBuilder getStringFilterOrBuilder(); - - /** - * - * - *
-   * A filter for in list values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - * - * @return Whether the inListFilter field is set. - */ - boolean hasInListFilter(); - /** - * - * - *
-   * A filter for in list values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - * - * @return The inListFilter. - */ - com.google.analytics.data.v1alpha.Filter.InListFilter getInListFilter(); - /** - * - * - *
-   * A filter for in list values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.InListFilter in_list_filter = 4; - */ - com.google.analytics.data.v1alpha.Filter.InListFilterOrBuilder getInListFilterOrBuilder(); - - /** - * - * - *
-   * A filter for numeric or date values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - * - * @return Whether the numericFilter field is set. - */ - boolean hasNumericFilter(); - /** - * - * - *
-   * A filter for numeric or date values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - * - * @return The numericFilter. - */ - com.google.analytics.data.v1alpha.Filter.NumericFilter getNumericFilter(); - /** - * - * - *
-   * A filter for numeric or date values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.NumericFilter numeric_filter = 5; - */ - com.google.analytics.data.v1alpha.Filter.NumericFilterOrBuilder getNumericFilterOrBuilder(); - - /** - * - * - *
-   * A filter for two values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - * - * @return Whether the betweenFilter field is set. - */ - boolean hasBetweenFilter(); - /** - * - * - *
-   * A filter for two values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - * - * @return The betweenFilter. - */ - com.google.analytics.data.v1alpha.Filter.BetweenFilter getBetweenFilter(); - /** - * - * - *
-   * A filter for two values.
-   * 
- * - * .google.analytics.data.v1alpha.Filter.BetweenFilter between_filter = 6; - */ - com.google.analytics.data.v1alpha.Filter.BetweenFilterOrBuilder getBetweenFilterOrBuilder(); - - public com.google.analytics.data.v1alpha.Filter.OneFilterCase getOneFilterCase(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetMetadataRequest.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetMetadataRequest.java deleted file mode 100644 index 5770e13b..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetMetadataRequest.java +++ /dev/null @@ -1,706 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Request for a property's dimension and metric metadata.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.GetMetadataRequest} - */ -public final class GetMetadataRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.GetMetadataRequest) - GetMetadataRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetMetadataRequest.newBuilder() to construct. - private GetMetadataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private GetMetadataRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetMetadataRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private GetMetadataRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_GetMetadataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_GetMetadataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.GetMetadataRequest.class, - com.google.analytics.data.v1alpha.GetMetadataRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * Required. The resource name of the metadata to retrieve. This name field is
-   * specified in the URL path and not URL parameters. Property is a numeric
-   * Google Analytics GA4 Property identifier. To learn more, see [where to find
-   * your Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * Example: properties/1234/metadata
-   * Set the Property ID to 0 for dimensions and metrics common to all
-   * properties. In this special mode, this method will not return custom
-   * dimensions and metrics.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * Required. The resource name of the metadata to retrieve. This name field is
-   * specified in the URL path and not URL parameters. Property is a numeric
-   * Google Analytics GA4 Property identifier. To learn more, see [where to find
-   * your Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * Example: properties/1234/metadata
-   * Set the Property ID to 0 for dimensions and metrics common to all
-   * properties. In this special mode, this method will not return custom
-   * dimensions and metrics.
-   * 
- * - * - * 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() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.GetMetadataRequest)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.GetMetadataRequest other = - (com.google.analytics.data.v1alpha.GetMetadataRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.GetMetadataRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Request for a property's dimension and metric metadata.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.GetMetadataRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.GetMetadataRequest) - com.google.analytics.data.v1alpha.GetMetadataRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_GetMetadataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_GetMetadataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.GetMetadataRequest.class, - com.google.analytics.data.v1alpha.GetMetadataRequest.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.GetMetadataRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_GetMetadataRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.GetMetadataRequest getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.GetMetadataRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.GetMetadataRequest build() { - com.google.analytics.data.v1alpha.GetMetadataRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.GetMetadataRequest buildPartial() { - com.google.analytics.data.v1alpha.GetMetadataRequest result = - new com.google.analytics.data.v1alpha.GetMetadataRequest(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.GetMetadataRequest) { - return mergeFrom((com.google.analytics.data.v1alpha.GetMetadataRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.GetMetadataRequest other) { - if (other == com.google.analytics.data.v1alpha.GetMetadataRequest.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.GetMetadataRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.GetMetadataRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * Required. The resource name of the metadata to retrieve. This name field is
-     * specified in the URL path and not URL parameters. Property is a numeric
-     * Google Analytics GA4 Property identifier. To learn more, see [where to find
-     * your Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * Example: properties/1234/metadata
-     * Set the Property ID to 0 for dimensions and metrics common to all
-     * properties. In this special mode, this method will not return custom
-     * dimensions and metrics.
-     * 
- * - * - * 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; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Required. The resource name of the metadata to retrieve. This name field is
-     * specified in the URL path and not URL parameters. Property is a numeric
-     * Google Analytics GA4 Property identifier. To learn more, see [where to find
-     * your Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * Example: properties/1234/metadata
-     * Set the Property ID to 0 for dimensions and metrics common to all
-     * properties. In this special mode, this method will not return custom
-     * dimensions and metrics.
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Required. The resource name of the metadata to retrieve. This name field is
-     * specified in the URL path and not URL parameters. Property is a numeric
-     * Google Analytics GA4 Property identifier. To learn more, see [where to find
-     * your Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * Example: properties/1234/metadata
-     * Set the Property ID to 0 for dimensions and metrics common to all
-     * properties. In this special mode, this method will not return custom
-     * dimensions and metrics.
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The resource name of the metadata to retrieve. This name field is
-     * specified in the URL path and not URL parameters. Property is a numeric
-     * Google Analytics GA4 Property identifier. To learn more, see [where to find
-     * your Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * Example: properties/1234/metadata
-     * Set the Property ID to 0 for dimensions and metrics common to all
-     * properties. In this special mode, this method will not return custom
-     * dimensions and metrics.
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The resource name of the metadata to retrieve. This name field is
-     * specified in the URL path and not URL parameters. Property is a numeric
-     * Google Analytics GA4 Property identifier. To learn more, see [where to find
-     * your Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * Example: properties/1234/metadata
-     * Set the Property ID to 0 for dimensions and metrics common to all
-     * properties. In this special mode, this method will not return custom
-     * dimensions and metrics.
-     * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.GetMetadataRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.GetMetadataRequest) - private static final com.google.analytics.data.v1alpha.GetMetadataRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.GetMetadataRequest(); - } - - public static com.google.analytics.data.v1alpha.GetMetadataRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMetadataRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMetadataRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.GetMetadataRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetMetadataRequestOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetMetadataRequestOrBuilder.java deleted file mode 100644 index e2e088a3..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetMetadataRequestOrBuilder.java +++ /dev/null @@ -1,70 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface GetMetadataRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.GetMetadataRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the metadata to retrieve. This name field is
-   * specified in the URL path and not URL parameters. Property is a numeric
-   * Google Analytics GA4 Property identifier. To learn more, see [where to find
-   * your Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * Example: properties/1234/metadata
-   * Set the Property ID to 0 for dimensions and metrics common to all
-   * properties. In this special mode, this method will not return custom
-   * dimensions and metrics.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the metadata to retrieve. This name field is
-   * specified in the URL path and not URL parameters. Property is a numeric
-   * Google Analytics GA4 Property identifier. To learn more, see [where to find
-   * your Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * Example: properties/1234/metadata
-   * Set the Property ID to 0 for dimensions and metrics common to all
-   * properties. In this special mode, this method will not return custom
-   * dimensions and metrics.
-   * 
- * - * - * 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-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Metadata.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Metadata.java deleted file mode 100644 index fcaf371b..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Metadata.java +++ /dev/null @@ -1,1630 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The dimensions and metrics currently accepted in reporting methods.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Metadata} - */ -public final class Metadata extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Metadata) - MetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use Metadata.newBuilder() to construct. - private Metadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Metadata() { - name_ = ""; - dimensions_ = java.util.Collections.emptyList(); - metrics_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Metadata(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Metadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensions_.add( - input.readMessage( - com.google.analytics.data.v1alpha.DimensionMetadata.parser(), - extensionRegistry)); - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metrics_.add( - input.readMessage( - com.google.analytics.data.v1alpha.MetricMetadata.parser(), - extensionRegistry)); - 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = java.util.Collections.unmodifiableList(dimensions_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = java.util.Collections.unmodifiableList(metrics_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_Metadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_Metadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Metadata.class, - com.google.analytics.data.v1alpha.Metadata.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - /** - * - * - *
-   * Resource name of this metadata.
-   * 
- * - * string name = 3; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * Resource name of this metadata.
-   * 
- * - * string name = 3; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DIMENSIONS_FIELD_NUMBER = 1; - private java.util.List dimensions_; - /** - * - * - *
-   * The dimension descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - @java.lang.Override - public java.util.List getDimensionsList() { - return dimensions_; - } - /** - * - * - *
-   * The dimension descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - @java.lang.Override - public java.util.List - getDimensionsOrBuilderList() { - return dimensions_; - } - /** - * - * - *
-   * The dimension descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - @java.lang.Override - public int getDimensionsCount() { - return dimensions_.size(); - } - /** - * - * - *
-   * The dimension descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionMetadata getDimensions(int index) { - return dimensions_.get(index); - } - /** - * - * - *
-   * The dimension descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionMetadataOrBuilder getDimensionsOrBuilder( - int index) { - return dimensions_.get(index); - } - - public static final int METRICS_FIELD_NUMBER = 2; - private java.util.List metrics_; - /** - * - * - *
-   * The metric descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - @java.lang.Override - public java.util.List getMetricsList() { - return metrics_; - } - /** - * - * - *
-   * The metric descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - @java.lang.Override - public java.util.List - getMetricsOrBuilderList() { - return metrics_; - } - /** - * - * - *
-   * The metric descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - @java.lang.Override - public int getMetricsCount() { - return metrics_.size(); - } - /** - * - * - *
-   * The metric descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricMetadata getMetrics(int index) { - return metrics_.get(index); - } - /** - * - * - *
-   * The metric descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricMetadataOrBuilder getMetricsOrBuilder(int index) { - return metrics_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < dimensions_.size(); i++) { - output.writeMessage(1, dimensions_.get(i)); - } - for (int i = 0; i < metrics_.size(); i++) { - output.writeMessage(2, metrics_.get(i)); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensions_.get(i)); - } - for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metrics_.get(i)); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Metadata)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Metadata other = - (com.google.analytics.data.v1alpha.Metadata) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDimensionsList().equals(other.getDimensionsList())) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (getDimensionsCount() > 0) { - hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; - hash = (53 * hash) + getDimensionsList().hashCode(); - } - if (getMetricsCount() > 0) { - hash = (37 * hash) + METRICS_FIELD_NUMBER; - hash = (53 * hash) + getMetricsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Metadata parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Metadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Metadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Metadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Metadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Metadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Metadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Metadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Metadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Metadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Metadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Metadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.Metadata prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The dimensions and metrics currently accepted in reporting methods.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Metadata} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Metadata) - com.google.analytics.data.v1alpha.MetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_Metadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_Metadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Metadata.class, - com.google.analytics.data.v1alpha.Metadata.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Metadata.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getDimensionsFieldBuilder(); - getMetricsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - if (dimensionsBuilder_ == null) { - dimensions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - dimensionsBuilder_.clear(); - } - if (metricsBuilder_ == null) { - metrics_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - metricsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_Metadata_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Metadata getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Metadata.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Metadata build() { - com.google.analytics.data.v1alpha.Metadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Metadata buildPartial() { - com.google.analytics.data.v1alpha.Metadata result = - new com.google.analytics.data.v1alpha.Metadata(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - if (dimensionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - dimensions_ = java.util.Collections.unmodifiableList(dimensions_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dimensions_ = dimensions_; - } else { - result.dimensions_ = dimensionsBuilder_.build(); - } - if (metricsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - metrics_ = java.util.Collections.unmodifiableList(metrics_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.metrics_ = metrics_; - } else { - result.metrics_ = metricsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Metadata) { - return mergeFrom((com.google.analytics.data.v1alpha.Metadata) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Metadata other) { - if (other == com.google.analytics.data.v1alpha.Metadata.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (dimensionsBuilder_ == null) { - if (!other.dimensions_.isEmpty()) { - if (dimensions_.isEmpty()) { - dimensions_ = other.dimensions_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDimensionsIsMutable(); - dimensions_.addAll(other.dimensions_); - } - onChanged(); - } - } else { - if (!other.dimensions_.isEmpty()) { - if (dimensionsBuilder_.isEmpty()) { - dimensionsBuilder_.dispose(); - dimensionsBuilder_ = null; - dimensions_ = other.dimensions_; - bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionsFieldBuilder() - : null; - } else { - dimensionsBuilder_.addAllMessages(other.dimensions_); - } - } - } - if (metricsBuilder_ == null) { - if (!other.metrics_.isEmpty()) { - if (metrics_.isEmpty()) { - metrics_ = other.metrics_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureMetricsIsMutable(); - metrics_.addAll(other.metrics_); - } - onChanged(); - } - } else { - if (!other.metrics_.isEmpty()) { - if (metricsBuilder_.isEmpty()) { - metricsBuilder_.dispose(); - metricsBuilder_ = null; - metrics_ = other.metrics_; - bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; - } else { - metricsBuilder_.addAllMessages(other.metrics_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Metadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.Metadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * Resource name of this metadata.
-     * 
- * - * string name = 3; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Resource name of this metadata.
-     * 
- * - * string name = 3; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Resource name of this metadata.
-     * 
- * - * string name = 3; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Resource name of this metadata.
-     * 
- * - * string name = 3; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * Resource name of this metadata.
-     * 
- * - * string name = 3; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.util.List dimensions_ = - java.util.Collections.emptyList(); - - private void ensureDimensionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList( - dimensions_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionMetadata, - com.google.analytics.data.v1alpha.DimensionMetadata.Builder, - com.google.analytics.data.v1alpha.DimensionMetadataOrBuilder> - dimensionsBuilder_; - - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public java.util.List getDimensionsList() { - if (dimensionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(dimensions_); - } else { - return dimensionsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public int getDimensionsCount() { - if (dimensionsBuilder_ == null) { - return dimensions_.size(); - } else { - return dimensionsBuilder_.getCount(); - } - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public com.google.analytics.data.v1alpha.DimensionMetadata getDimensions(int index) { - if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { - return dimensionsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public Builder setDimensions( - int index, com.google.analytics.data.v1alpha.DimensionMetadata value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.set(index, value); - onChanged(); - } else { - dimensionsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public Builder setDimensions( - int index, com.google.analytics.data.v1alpha.DimensionMetadata.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.set(index, builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public Builder addDimensions(com.google.analytics.data.v1alpha.DimensionMetadata value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.add(value); - onChanged(); - } else { - dimensionsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public Builder addDimensions( - int index, com.google.analytics.data.v1alpha.DimensionMetadata value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.add(index, value); - onChanged(); - } else { - dimensionsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public Builder addDimensions( - com.google.analytics.data.v1alpha.DimensionMetadata.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public Builder addDimensions( - int index, com.google.analytics.data.v1alpha.DimensionMetadata.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(index, builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public Builder addAllDimensions( - java.lang.Iterable values) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); - onChanged(); - } else { - dimensionsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public Builder clearDimensions() { - if (dimensionsBuilder_ == null) { - dimensions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - dimensionsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public Builder removeDimensions(int index) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.remove(index); - onChanged(); - } else { - dimensionsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public com.google.analytics.data.v1alpha.DimensionMetadata.Builder getDimensionsBuilder( - int index) { - return getDimensionsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public com.google.analytics.data.v1alpha.DimensionMetadataOrBuilder getDimensionsOrBuilder( - int index) { - if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { - return dimensionsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public java.util.List - getDimensionsOrBuilderList() { - if (dimensionsBuilder_ != null) { - return dimensionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dimensions_); - } - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public com.google.analytics.data.v1alpha.DimensionMetadata.Builder addDimensionsBuilder() { - return getDimensionsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.DimensionMetadata.getDefaultInstance()); - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public com.google.analytics.data.v1alpha.DimensionMetadata.Builder addDimensionsBuilder( - int index) { - return getDimensionsFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1alpha.DimensionMetadata.getDefaultInstance()); - } - /** - * - * - *
-     * The dimension descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - public java.util.List - getDimensionsBuilderList() { - return getDimensionsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionMetadata, - com.google.analytics.data.v1alpha.DimensionMetadata.Builder, - com.google.analytics.data.v1alpha.DimensionMetadataOrBuilder> - getDimensionsFieldBuilder() { - if (dimensionsBuilder_ == null) { - dimensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionMetadata, - com.google.analytics.data.v1alpha.DimensionMetadata.Builder, - com.google.analytics.data.v1alpha.DimensionMetadataOrBuilder>( - dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - dimensions_ = null; - } - return dimensionsBuilder_; - } - - private java.util.List metrics_ = - java.util.Collections.emptyList(); - - private void ensureMetricsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - metrics_ = - new java.util.ArrayList(metrics_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricMetadata, - com.google.analytics.data.v1alpha.MetricMetadata.Builder, - com.google.analytics.data.v1alpha.MetricMetadataOrBuilder> - metricsBuilder_; - - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public java.util.List getMetricsList() { - if (metricsBuilder_ == null) { - return java.util.Collections.unmodifiableList(metrics_); - } else { - return metricsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public int getMetricsCount() { - if (metricsBuilder_ == null) { - return metrics_.size(); - } else { - return metricsBuilder_.getCount(); - } - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public com.google.analytics.data.v1alpha.MetricMetadata getMetrics(int index) { - if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { - return metricsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public Builder setMetrics(int index, com.google.analytics.data.v1alpha.MetricMetadata value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.set(index, value); - onChanged(); - } else { - metricsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public Builder setMetrics( - int index, com.google.analytics.data.v1alpha.MetricMetadata.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.set(index, builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public Builder addMetrics(com.google.analytics.data.v1alpha.MetricMetadata value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.add(value); - onChanged(); - } else { - metricsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public Builder addMetrics(int index, com.google.analytics.data.v1alpha.MetricMetadata value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.add(index, value); - onChanged(); - } else { - metricsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public Builder addMetrics( - com.google.analytics.data.v1alpha.MetricMetadata.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public Builder addMetrics( - int index, com.google.analytics.data.v1alpha.MetricMetadata.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(index, builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public Builder addAllMetrics( - java.lang.Iterable values) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); - onChanged(); - } else { - metricsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public Builder clearMetrics() { - if (metricsBuilder_ == null) { - metrics_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - metricsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public Builder removeMetrics(int index) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.remove(index); - onChanged(); - } else { - metricsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public com.google.analytics.data.v1alpha.MetricMetadata.Builder getMetricsBuilder(int index) { - return getMetricsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public com.google.analytics.data.v1alpha.MetricMetadataOrBuilder getMetricsOrBuilder( - int index) { - if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { - return metricsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public java.util.List - getMetricsOrBuilderList() { - if (metricsBuilder_ != null) { - return metricsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(metrics_); - } - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public com.google.analytics.data.v1alpha.MetricMetadata.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.MetricMetadata.getDefaultInstance()); - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public com.google.analytics.data.v1alpha.MetricMetadata.Builder addMetricsBuilder(int index) { - return getMetricsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.MetricMetadata.getDefaultInstance()); - } - /** - * - * - *
-     * The metric descriptions.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - public java.util.List - getMetricsBuilderList() { - return getMetricsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricMetadata, - com.google.analytics.data.v1alpha.MetricMetadata.Builder, - com.google.analytics.data.v1alpha.MetricMetadataOrBuilder> - getMetricsFieldBuilder() { - if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricMetadata, - com.google.analytics.data.v1alpha.MetricMetadata.Builder, - com.google.analytics.data.v1alpha.MetricMetadataOrBuilder>( - metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - metrics_ = null; - } - return metricsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Metadata) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Metadata) - private static final com.google.analytics.data.v1alpha.Metadata DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Metadata(); - } - - public static com.google.analytics.data.v1alpha.Metadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Metadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Metadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetadataName.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetadataName.java deleted file mode 100644 index 167cd0d4..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetadataName.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.analytics.data.v1alpha; - -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class MetadataName implements ResourceName { - private static final PathTemplate PROPERTY = - PathTemplate.createWithoutUrlEncoding("properties/{property}/metadata"); - private volatile Map fieldValuesMap; - private final String property; - - @Deprecated - protected MetadataName() { - property = null; - } - - private MetadataName(Builder builder) { - property = Preconditions.checkNotNull(builder.getProperty()); - } - - public String getProperty() { - return property; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static MetadataName of(String property) { - return newBuilder().setProperty(property).build(); - } - - public static String format(String property) { - return newBuilder().setProperty(property).build().toString(); - } - - public static MetadataName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - PROPERTY.validatedMatch( - formattedString, "MetadataName.parse: formattedString not in valid format"); - return of(matchMap.get("property")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (MetadataName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROPERTY.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (property != null) { - fieldMapBuilder.put("property", property); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return PROPERTY.instantiate("property", property); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null || getClass() == o.getClass()) { - MetadataName that = ((MetadataName) o); - return Objects.equals(this.property, that.property); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(property); - return h; - } - - /** Builder for properties/{property}/metadata. */ - public static class Builder { - private String property; - - protected Builder() {} - - public String getProperty() { - return property; - } - - public Builder setProperty(String property) { - this.property = property; - return this; - } - - private Builder(MetadataName metadataName) { - this.property = metadataName.property; - } - - public MetadataName build() { - return new MetadataName(this); - } - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetadataOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetadataOrBuilder.java deleted file mode 100644 index 7eef362b..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetadataOrBuilder.java +++ /dev/null @@ -1,154 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface MetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Metadata) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Resource name of this metadata.
-   * 
- * - * string name = 3; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Resource name of this metadata.
-   * 
- * - * string name = 3; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * The dimension descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - java.util.List getDimensionsList(); - /** - * - * - *
-   * The dimension descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - com.google.analytics.data.v1alpha.DimensionMetadata getDimensions(int index); - /** - * - * - *
-   * The dimension descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - int getDimensionsCount(); - /** - * - * - *
-   * The dimension descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - java.util.List - getDimensionsOrBuilderList(); - /** - * - * - *
-   * The dimension descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1; - */ - com.google.analytics.data.v1alpha.DimensionMetadataOrBuilder getDimensionsOrBuilder(int index); - - /** - * - * - *
-   * The metric descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - java.util.List getMetricsList(); - /** - * - * - *
-   * The metric descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - com.google.analytics.data.v1alpha.MetricMetadata getMetrics(int index); - /** - * - * - *
-   * The metric descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - int getMetricsCount(); - /** - * - * - *
-   * The metric descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - java.util.List - getMetricsOrBuilderList(); - /** - * - * - *
-   * The metric descriptions.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2; - */ - com.google.analytics.data.v1alpha.MetricMetadataOrBuilder getMetricsOrBuilder(int index); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Metric.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Metric.java deleted file mode 100644 index 8a5d0f6e..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Metric.java +++ /dev/null @@ -1,970 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The quantitative measurements of a report. For example, the metric
- * `eventCount` is the total number of events. Requests are allowed up to 10
- * metrics.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Metric} - */ -public final class Metric extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Metric) - MetricOrBuilder { - private static final long serialVersionUID = 0L; - // Use Metric.newBuilder() to construct. - private Metric(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Metric() { - name_ = ""; - expression_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Metric(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Metric( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - expression_ = s; - break; - } - case 24: - { - invisible_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Metric_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Metric_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Metric.class, - com.google.analytics.data.v1alpha.Metric.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * The name of the metric. See the [API
-   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
-   * for the list of metric names.
-   * If `expression` is specified, `name` can be any string that you would like.
-   * For example if `expression` is `screenPageViews/sessions`, you could call
-   * that metric's name = `viewsPerSession`.
-   * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
-   * `expression`.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * The name of the metric. See the [API
-   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
-   * for the list of metric names.
-   * If `expression` is specified, `name` can be any string that you would like.
-   * For example if `expression` is `screenPageViews/sessions`, you could call
-   * that metric's name = `viewsPerSession`.
-   * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
-   * `expression`.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXPRESSION_FIELD_NUMBER = 2; - private volatile java.lang.Object expression_; - /** - * - * - *
-   * A mathematical expression for derived metrics. For example, the metric
-   * Event count per user is `eventCount/totalUsers`.
-   * 
- * - * string expression = 2; - * - * @return The expression. - */ - @java.lang.Override - public java.lang.String getExpression() { - java.lang.Object ref = expression_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - expression_ = s; - return s; - } - } - /** - * - * - *
-   * A mathematical expression for derived metrics. For example, the metric
-   * Event count per user is `eventCount/totalUsers`.
-   * 
- * - * string expression = 2; - * - * @return The bytes for expression. - */ - @java.lang.Override - public com.google.protobuf.ByteString getExpressionBytes() { - java.lang.Object ref = expression_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - expression_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int INVISIBLE_FIELD_NUMBER = 3; - private boolean invisible_; - /** - * - * - *
-   * Indicates if a metric is invisible in the report response. If a metric is
-   * invisible, the metric will not produce a column in the response, but can be
-   * used in `metricFilter`, `orderBys`, or a metric `expression`.
-   * 
- * - * bool invisible = 3; - * - * @return The invisible. - */ - @java.lang.Override - public boolean getInvisible() { - return invisible_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!getExpressionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, expression_); - } - if (invisible_ != false) { - output.writeBool(3, invisible_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!getExpressionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, expression_); - } - if (invisible_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, invisible_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Metric)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Metric other = (com.google.analytics.data.v1alpha.Metric) obj; - - if (!getName().equals(other.getName())) return false; - if (!getExpression().equals(other.getExpression())) return false; - if (getInvisible() != other.getInvisible()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + EXPRESSION_FIELD_NUMBER; - hash = (53 * hash) + getExpression().hashCode(); - hash = (37 * hash) + INVISIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInvisible()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Metric parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Metric parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Metric parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Metric parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Metric parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Metric parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Metric parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Metric parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Metric parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Metric parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Metric parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Metric parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.Metric prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The quantitative measurements of a report. For example, the metric
-   * `eventCount` is the total number of events. Requests are allowed up to 10
-   * metrics.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Metric} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Metric) - com.google.analytics.data.v1alpha.MetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Metric_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Metric_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Metric.class, - com.google.analytics.data.v1alpha.Metric.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Metric.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - expression_ = ""; - - invisible_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Metric_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Metric getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Metric.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Metric build() { - com.google.analytics.data.v1alpha.Metric result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Metric buildPartial() { - com.google.analytics.data.v1alpha.Metric result = - new com.google.analytics.data.v1alpha.Metric(this); - result.name_ = name_; - result.expression_ = expression_; - result.invisible_ = invisible_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Metric) { - return mergeFrom((com.google.analytics.data.v1alpha.Metric) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Metric other) { - if (other == com.google.analytics.data.v1alpha.Metric.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getExpression().isEmpty()) { - expression_ = other.expression_; - onChanged(); - } - if (other.getInvisible() != false) { - setInvisible(other.getInvisible()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Metric parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.Metric) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * The name of the metric. See the [API
-     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
-     * for the list of metric names.
-     * If `expression` is specified, `name` can be any string that you would like.
-     * For example if `expression` is `screenPageViews/sessions`, you could call
-     * that metric's name = `viewsPerSession`.
-     * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
-     * `expression`.
-     * 
- * - * string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The name of the metric. See the [API
-     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
-     * for the list of metric names.
-     * If `expression` is specified, `name` can be any string that you would like.
-     * For example if `expression` is `screenPageViews/sessions`, you could call
-     * that metric's name = `viewsPerSession`.
-     * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
-     * `expression`.
-     * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The name of the metric. See the [API
-     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
-     * for the list of metric names.
-     * If `expression` is specified, `name` can be any string that you would like.
-     * For example if `expression` is `screenPageViews/sessions`, you could call
-     * that metric's name = `viewsPerSession`.
-     * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
-     * `expression`.
-     * 
- * - * string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The name of the metric. See the [API
-     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
-     * for the list of metric names.
-     * If `expression` is specified, `name` can be any string that you would like.
-     * For example if `expression` is `screenPageViews/sessions`, you could call
-     * that metric's name = `viewsPerSession`.
-     * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
-     * `expression`.
-     * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * The name of the metric. See the [API
-     * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
-     * for the list of metric names.
-     * If `expression` is specified, `name` can be any string that you would like.
-     * For example if `expression` is `screenPageViews/sessions`, you could call
-     * that metric's name = `viewsPerSession`.
-     * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
-     * `expression`.
-     * 
- * - * string name = 1; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object expression_ = ""; - /** - * - * - *
-     * A mathematical expression for derived metrics. For example, the metric
-     * Event count per user is `eventCount/totalUsers`.
-     * 
- * - * string expression = 2; - * - * @return The expression. - */ - public java.lang.String getExpression() { - java.lang.Object ref = expression_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - expression_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * A mathematical expression for derived metrics. For example, the metric
-     * Event count per user is `eventCount/totalUsers`.
-     * 
- * - * string expression = 2; - * - * @return The bytes for expression. - */ - public com.google.protobuf.ByteString getExpressionBytes() { - java.lang.Object ref = expression_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - expression_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * A mathematical expression for derived metrics. For example, the metric
-     * Event count per user is `eventCount/totalUsers`.
-     * 
- * - * string expression = 2; - * - * @param value The expression to set. - * @return This builder for chaining. - */ - public Builder setExpression(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - expression_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * A mathematical expression for derived metrics. For example, the metric
-     * Event count per user is `eventCount/totalUsers`.
-     * 
- * - * string expression = 2; - * - * @return This builder for chaining. - */ - public Builder clearExpression() { - - expression_ = getDefaultInstance().getExpression(); - onChanged(); - return this; - } - /** - * - * - *
-     * A mathematical expression for derived metrics. For example, the metric
-     * Event count per user is `eventCount/totalUsers`.
-     * 
- * - * string expression = 2; - * - * @param value The bytes for expression to set. - * @return This builder for chaining. - */ - public Builder setExpressionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - expression_ = value; - onChanged(); - return this; - } - - private boolean invisible_; - /** - * - * - *
-     * Indicates if a metric is invisible in the report response. If a metric is
-     * invisible, the metric will not produce a column in the response, but can be
-     * used in `metricFilter`, `orderBys`, or a metric `expression`.
-     * 
- * - * bool invisible = 3; - * - * @return The invisible. - */ - @java.lang.Override - public boolean getInvisible() { - return invisible_; - } - /** - * - * - *
-     * Indicates if a metric is invisible in the report response. If a metric is
-     * invisible, the metric will not produce a column in the response, but can be
-     * used in `metricFilter`, `orderBys`, or a metric `expression`.
-     * 
- * - * bool invisible = 3; - * - * @param value The invisible to set. - * @return This builder for chaining. - */ - public Builder setInvisible(boolean value) { - - invisible_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Indicates if a metric is invisible in the report response. If a metric is
-     * invisible, the metric will not produce a column in the response, but can be
-     * used in `metricFilter`, `orderBys`, or a metric `expression`.
-     * 
- * - * bool invisible = 3; - * - * @return This builder for chaining. - */ - public Builder clearInvisible() { - - invisible_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Metric) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Metric) - private static final com.google.analytics.data.v1alpha.Metric DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Metric(); - } - - public static com.google.analytics.data.v1alpha.Metric getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metric parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Metric(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Metric getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricAggregation.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricAggregation.java deleted file mode 100644 index ea43dff7..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricAggregation.java +++ /dev/null @@ -1,224 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Represents aggregation of metrics.
- * 
- * - * Protobuf enum {@code google.analytics.data.v1alpha.MetricAggregation} - */ -public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-   * Unspecified operator.
-   * 
- * - * METRIC_AGGREGATION_UNSPECIFIED = 0; - */ - METRIC_AGGREGATION_UNSPECIFIED(0), - /** - * - * - *
-   * SUM operator.
-   * 
- * - * TOTAL = 1; - */ - TOTAL(1), - /** - * - * - *
-   * Minimum operator.
-   * 
- * - * MINIMUM = 5; - */ - MINIMUM(5), - /** - * - * - *
-   * Maximum operator.
-   * 
- * - * MAXIMUM = 6; - */ - MAXIMUM(6), - /** - * - * - *
-   * Count operator.
-   * 
- * - * COUNT = 4; - */ - COUNT(4), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-   * Unspecified operator.
-   * 
- * - * METRIC_AGGREGATION_UNSPECIFIED = 0; - */ - public static final int METRIC_AGGREGATION_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-   * SUM operator.
-   * 
- * - * TOTAL = 1; - */ - public static final int TOTAL_VALUE = 1; - /** - * - * - *
-   * Minimum operator.
-   * 
- * - * MINIMUM = 5; - */ - public static final int MINIMUM_VALUE = 5; - /** - * - * - *
-   * Maximum operator.
-   * 
- * - * MAXIMUM = 6; - */ - public static final int MAXIMUM_VALUE = 6; - /** - * - * - *
-   * Count operator.
-   * 
- * - * COUNT = 4; - */ - public static final int COUNT_VALUE = 4; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static MetricAggregation valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static MetricAggregation forNumber(int value) { - switch (value) { - case 0: - return METRIC_AGGREGATION_UNSPECIFIED; - case 1: - return TOTAL; - case 5: - return MINIMUM; - case 6: - return MAXIMUM; - case 4: - return COUNT; - default: - return null; - } - } - - 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 MetricAggregation findValueByNumber(int number) { - return MetricAggregation.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() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto.getDescriptor() - .getEnumTypes() - .get(0); - } - - private static final MetricAggregation[] VALUES = values(); - - public static MetricAggregation valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private MetricAggregation(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.analytics.data.v1alpha.MetricAggregation) -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricHeader.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricHeader.java deleted file mode 100644 index 9812dfc2..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricHeader.java +++ /dev/null @@ -1,790 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Describes a metric column in the report. Visible metrics requested in a
- * report produce column entries within rows and MetricHeaders. However,
- * metrics used exclusively within filters or expressions do not produce columns
- * in a report; correspondingly, those metrics do not produce headers.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.MetricHeader} - */ -public final class MetricHeader extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.MetricHeader) - MetricHeaderOrBuilder { - private static final long serialVersionUID = 0L; - // Use MetricHeader.newBuilder() to construct. - private MetricHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private MetricHeader() { - name_ = ""; - type_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MetricHeader(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private MetricHeader( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); - - type_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricHeader_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricHeader_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.MetricHeader.class, - com.google.analytics.data.v1alpha.MetricHeader.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * The metric's name.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * The metric's name.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TYPE_FIELD_NUMBER = 2; - private int type_; - /** - * - * - *
-   * The metric's data type.
-   * 
- * - * .google.analytics.data.v1alpha.MetricType type = 2; - * - * @return The enum numeric value on the wire for type. - */ - @java.lang.Override - public int getTypeValue() { - return type_; - } - /** - * - * - *
-   * The metric's data type.
-   * 
- * - * .google.analytics.data.v1alpha.MetricType type = 2; - * - * @return The type. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricType getType() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.MetricType result = - com.google.analytics.data.v1alpha.MetricType.valueOf(type_); - return result == null ? com.google.analytics.data.v1alpha.MetricType.UNRECOGNIZED : result; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (type_ != com.google.analytics.data.v1alpha.MetricType.METRIC_TYPE_UNSPECIFIED.getNumber()) { - output.writeEnum(2, type_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (type_ != com.google.analytics.data.v1alpha.MetricType.METRIC_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.MetricHeader)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.MetricHeader other = - (com.google.analytics.data.v1alpha.MetricHeader) obj; - - if (!getName().equals(other.getName())) return false; - if (type_ != other.type_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.MetricHeader parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.MetricHeader prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Describes a metric column in the report. Visible metrics requested in a
-   * report produce column entries within rows and MetricHeaders. However,
-   * metrics used exclusively within filters or expressions do not produce columns
-   * in a report; correspondingly, those metrics do not produce headers.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.MetricHeader} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.MetricHeader) - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricHeader_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricHeader_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.MetricHeader.class, - com.google.analytics.data.v1alpha.MetricHeader.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.MetricHeader.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - type_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricHeader_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricHeader getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.MetricHeader.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricHeader build() { - com.google.analytics.data.v1alpha.MetricHeader result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricHeader buildPartial() { - com.google.analytics.data.v1alpha.MetricHeader result = - new com.google.analytics.data.v1alpha.MetricHeader(this); - result.name_ = name_; - result.type_ = type_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.MetricHeader) { - return mergeFrom((com.google.analytics.data.v1alpha.MetricHeader) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.MetricHeader other) { - if (other == com.google.analytics.data.v1alpha.MetricHeader.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.type_ != 0) { - setTypeValue(other.getTypeValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.MetricHeader parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.MetricHeader) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * The metric's 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; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The metric's name.
-     * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The metric's name.
-     * 
- * - * string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The metric's name.
-     * 
- * - * string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * The metric's 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) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private int type_ = 0; - /** - * - * - *
-     * The metric's data type.
-     * 
- * - * .google.analytics.data.v1alpha.MetricType type = 2; - * - * @return The enum numeric value on the wire for type. - */ - @java.lang.Override - public int getTypeValue() { - return type_; - } - /** - * - * - *
-     * The metric's data type.
-     * 
- * - * .google.analytics.data.v1alpha.MetricType type = 2; - * - * @param value The enum numeric value on the wire for type to set. - * @return This builder for chaining. - */ - public Builder setTypeValue(int value) { - - type_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The metric's data type.
-     * 
- * - * .google.analytics.data.v1alpha.MetricType type = 2; - * - * @return The type. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricType getType() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.MetricType result = - com.google.analytics.data.v1alpha.MetricType.valueOf(type_); - return result == null ? com.google.analytics.data.v1alpha.MetricType.UNRECOGNIZED : result; - } - /** - * - * - *
-     * The metric's data type.
-     * 
- * - * .google.analytics.data.v1alpha.MetricType type = 2; - * - * @param value The type to set. - * @return This builder for chaining. - */ - public Builder setType(com.google.analytics.data.v1alpha.MetricType value) { - if (value == null) { - throw new NullPointerException(); - } - - type_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-     * The metric's data type.
-     * 
- * - * .google.analytics.data.v1alpha.MetricType type = 2; - * - * @return This builder for chaining. - */ - public Builder clearType() { - - type_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.MetricHeader) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.MetricHeader) - private static final com.google.analytics.data.v1alpha.MetricHeader DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.MetricHeader(); - } - - public static com.google.analytics.data.v1alpha.MetricHeader getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricHeader(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricHeader getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricHeaderOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricHeaderOrBuilder.java deleted file mode 100644 index afb74089..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricHeaderOrBuilder.java +++ /dev/null @@ -1,75 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface MetricHeaderOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.MetricHeader) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The metric's name.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The metric's name.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * The metric's data type.
-   * 
- * - * .google.analytics.data.v1alpha.MetricType type = 2; - * - * @return The enum numeric value on the wire for type. - */ - int getTypeValue(); - /** - * - * - *
-   * The metric's data type.
-   * 
- * - * .google.analytics.data.v1alpha.MetricType type = 2; - * - * @return The type. - */ - com.google.analytics.data.v1alpha.MetricType getType(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricMetadata.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricMetadata.java deleted file mode 100644 index 439bdaae..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricMetadata.java +++ /dev/null @@ -1,1759 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Explains a metric.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.MetricMetadata} - */ -public final class MetricMetadata extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.MetricMetadata) - MetricMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use MetricMetadata.newBuilder() to construct. - private MetricMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private MetricMetadata() { - apiName_ = ""; - uiName_ = ""; - description_ = ""; - deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - type_ = 0; - expression_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MetricMetadata(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private MetricMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - apiName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - uiName_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - deprecatedApiNames_.add(s); - break; - } - case 40: - { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - expression_ = s; - break; - } - case 56: - { - customDefinition_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = deprecatedApiNames_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.MetricMetadata.class, - com.google.analytics.data.v1alpha.MetricMetadata.Builder.class); - } - - public static final int API_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object apiName_; - /** - * - * - *
-   * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
-   * `eventCount`.
-   * 
- * - * string api_name = 1; - * - * @return The apiName. - */ - @java.lang.Override - public java.lang.String getApiName() { - java.lang.Object ref = apiName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - apiName_ = s; - return s; - } - } - /** - * - * - *
-   * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
-   * `eventCount`.
-   * 
- * - * string api_name = 1; - * - * @return The bytes for apiName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getApiNameBytes() { - java.lang.Object ref = apiName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - apiName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int UI_NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object uiName_; - /** - * - * - *
-   * This metric's name within the Google Analytics user interface. For example,
-   * `Event count`.
-   * 
- * - * string ui_name = 2; - * - * @return The uiName. - */ - @java.lang.Override - public java.lang.String getUiName() { - java.lang.Object ref = uiName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uiName_ = s; - return s; - } - } - /** - * - * - *
-   * This metric's name within the Google Analytics user interface. For example,
-   * `Event count`.
-   * 
- * - * string ui_name = 2; - * - * @return The bytes for uiName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getUiNameBytes() { - java.lang.Object ref = uiName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - uiName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCRIPTION_FIELD_NUMBER = 3; - private volatile java.lang.Object description_; - /** - * - * - *
-   * Description of how this metric is used and calculated.
-   * 
- * - * string description = 3; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } - } - /** - * - * - *
-   * Description of how this metric is used and calculated.
-   * 
- * - * string description = 3; - * - * @return The bytes for description. - */ - @java.lang.Override - 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); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DEPRECATED_API_NAMES_FIELD_NUMBER = 4; - private com.google.protobuf.LazyStringList deprecatedApiNames_; - /** - * - * - *
-   * Still usable but deprecated names for this metric. If populated, this
-   * metric is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the metric will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @return A list containing the deprecatedApiNames. - */ - public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { - return deprecatedApiNames_; - } - /** - * - * - *
-   * Still usable but deprecated names for this metric. If populated, this
-   * metric is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the metric will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @return The count of deprecatedApiNames. - */ - public int getDeprecatedApiNamesCount() { - return deprecatedApiNames_.size(); - } - /** - * - * - *
-   * Still usable but deprecated names for this metric. If populated, this
-   * metric is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the metric will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the element to return. - * @return The deprecatedApiNames at the given index. - */ - public java.lang.String getDeprecatedApiNames(int index) { - return deprecatedApiNames_.get(index); - } - /** - * - * - *
-   * Still usable but deprecated names for this metric. If populated, this
-   * metric is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the metric will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the value to return. - * @return The bytes of the deprecatedApiNames at the given index. - */ - public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { - return deprecatedApiNames_.getByteString(index); - } - - public static final int TYPE_FIELD_NUMBER = 5; - private int type_; - /** - * - * - *
-   * The type of this metric.
-   * 
- * - * .google.analytics.data.v1alpha.MetricType type = 5; - * - * @return The enum numeric value on the wire for type. - */ - @java.lang.Override - public int getTypeValue() { - return type_; - } - /** - * - * - *
-   * The type of this metric.
-   * 
- * - * .google.analytics.data.v1alpha.MetricType type = 5; - * - * @return The type. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricType getType() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.MetricType result = - com.google.analytics.data.v1alpha.MetricType.valueOf(type_); - return result == null ? com.google.analytics.data.v1alpha.MetricType.UNRECOGNIZED : result; - } - - public static final int EXPRESSION_FIELD_NUMBER = 6; - private volatile java.lang.Object expression_; - /** - * - * - *
-   * The mathematical expression for this derived metric. Can be used in
-   * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
-   * are not expressions, and for non-expressions, this field is empty.
-   * 
- * - * string expression = 6; - * - * @return The expression. - */ - @java.lang.Override - public java.lang.String getExpression() { - java.lang.Object ref = expression_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - expression_ = s; - return s; - } - } - /** - * - * - *
-   * The mathematical expression for this derived metric. Can be used in
-   * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
-   * are not expressions, and for non-expressions, this field is empty.
-   * 
- * - * string expression = 6; - * - * @return The bytes for expression. - */ - @java.lang.Override - public com.google.protobuf.ByteString getExpressionBytes() { - java.lang.Object ref = expression_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - expression_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CUSTOM_DEFINITION_FIELD_NUMBER = 7; - private boolean customDefinition_; - /** - * - * - *
-   * True if the metric is a custom metric for this property.
-   * 
- * - * bool custom_definition = 7; - * - * @return The customDefinition. - */ - @java.lang.Override - public boolean getCustomDefinition() { - return customDefinition_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getApiNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apiName_); - } - if (!getUiNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uiName_); - } - if (!getDescriptionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); - } - for (int i = 0; i < deprecatedApiNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, deprecatedApiNames_.getRaw(i)); - } - if (type_ != com.google.analytics.data.v1alpha.MetricType.METRIC_TYPE_UNSPECIFIED.getNumber()) { - output.writeEnum(5, type_); - } - if (!getExpressionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, expression_); - } - if (customDefinition_ != false) { - output.writeBool(7, customDefinition_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getApiNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, apiName_); - } - if (!getUiNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uiName_); - } - if (!getDescriptionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); - } - { - int dataSize = 0; - for (int i = 0; i < deprecatedApiNames_.size(); i++) { - dataSize += computeStringSizeNoTag(deprecatedApiNames_.getRaw(i)); - } - size += dataSize; - size += 1 * getDeprecatedApiNamesList().size(); - } - if (type_ != com.google.analytics.data.v1alpha.MetricType.METRIC_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); - } - if (!getExpressionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, expression_); - } - if (customDefinition_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, customDefinition_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.MetricMetadata)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.MetricMetadata other = - (com.google.analytics.data.v1alpha.MetricMetadata) obj; - - if (!getApiName().equals(other.getApiName())) return false; - if (!getUiName().equals(other.getUiName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getDeprecatedApiNamesList().equals(other.getDeprecatedApiNamesList())) return false; - if (type_ != other.type_) return false; - if (!getExpression().equals(other.getExpression())) return false; - if (getCustomDefinition() != other.getCustomDefinition()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + API_NAME_FIELD_NUMBER; - hash = (53 * hash) + getApiName().hashCode(); - hash = (37 * hash) + UI_NAME_FIELD_NUMBER; - hash = (53 * hash) + getUiName().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - if (getDeprecatedApiNamesCount() > 0) { - hash = (37 * hash) + DEPRECATED_API_NAMES_FIELD_NUMBER; - hash = (53 * hash) + getDeprecatedApiNamesList().hashCode(); - } - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - hash = (37 * hash) + EXPRESSION_FIELD_NUMBER; - hash = (53 * hash) + getExpression().hashCode(); - hash = (37 * hash) + CUSTOM_DEFINITION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustomDefinition()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.MetricMetadata prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Explains a metric.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.MetricMetadata} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.MetricMetadata) - com.google.analytics.data.v1alpha.MetricMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.MetricMetadata.class, - com.google.analytics.data.v1alpha.MetricMetadata.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.MetricMetadata.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - apiName_ = ""; - - uiName_ = ""; - - description_ = ""; - - deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - type_ = 0; - - expression_ = ""; - - customDefinition_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricMetadata_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricMetadata getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.MetricMetadata.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricMetadata build() { - com.google.analytics.data.v1alpha.MetricMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricMetadata buildPartial() { - com.google.analytics.data.v1alpha.MetricMetadata result = - new com.google.analytics.data.v1alpha.MetricMetadata(this); - int from_bitField0_ = bitField0_; - result.apiName_ = apiName_; - result.uiName_ = uiName_; - result.description_ = description_; - if (((bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = deprecatedApiNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.deprecatedApiNames_ = deprecatedApiNames_; - result.type_ = type_; - result.expression_ = expression_; - result.customDefinition_ = customDefinition_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.MetricMetadata) { - return mergeFrom((com.google.analytics.data.v1alpha.MetricMetadata) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.MetricMetadata other) { - if (other == com.google.analytics.data.v1alpha.MetricMetadata.getDefaultInstance()) - return this; - if (!other.getApiName().isEmpty()) { - apiName_ = other.apiName_; - onChanged(); - } - if (!other.getUiName().isEmpty()) { - uiName_ = other.uiName_; - onChanged(); - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - onChanged(); - } - if (!other.deprecatedApiNames_.isEmpty()) { - if (deprecatedApiNames_.isEmpty()) { - deprecatedApiNames_ = other.deprecatedApiNames_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDeprecatedApiNamesIsMutable(); - deprecatedApiNames_.addAll(other.deprecatedApiNames_); - } - onChanged(); - } - if (other.type_ != 0) { - setTypeValue(other.getTypeValue()); - } - if (!other.getExpression().isEmpty()) { - expression_ = other.expression_; - onChanged(); - } - if (other.getCustomDefinition() != false) { - setCustomDefinition(other.getCustomDefinition()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.MetricMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.MetricMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object apiName_ = ""; - /** - * - * - *
-     * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
-     * `eventCount`.
-     * 
- * - * string api_name = 1; - * - * @return The apiName. - */ - public java.lang.String getApiName() { - java.lang.Object ref = apiName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - apiName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
-     * `eventCount`.
-     * 
- * - * string api_name = 1; - * - * @return The bytes for apiName. - */ - public com.google.protobuf.ByteString getApiNameBytes() { - java.lang.Object ref = apiName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - apiName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
-     * `eventCount`.
-     * 
- * - * string api_name = 1; - * - * @param value The apiName to set. - * @return This builder for chaining. - */ - public Builder setApiName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - apiName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
-     * `eventCount`.
-     * 
- * - * string api_name = 1; - * - * @return This builder for chaining. - */ - public Builder clearApiName() { - - apiName_ = getDefaultInstance().getApiName(); - onChanged(); - return this; - } - /** - * - * - *
-     * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
-     * `eventCount`.
-     * 
- * - * string api_name = 1; - * - * @param value The bytes for apiName to set. - * @return This builder for chaining. - */ - public Builder setApiNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - apiName_ = value; - onChanged(); - return this; - } - - private java.lang.Object uiName_ = ""; - /** - * - * - *
-     * This metric's name within the Google Analytics user interface. For example,
-     * `Event count`.
-     * 
- * - * string ui_name = 2; - * - * @return The uiName. - */ - public java.lang.String getUiName() { - java.lang.Object ref = uiName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uiName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * This metric's name within the Google Analytics user interface. For example,
-     * `Event count`.
-     * 
- * - * string ui_name = 2; - * - * @return The bytes for uiName. - */ - public com.google.protobuf.ByteString getUiNameBytes() { - java.lang.Object ref = uiName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - uiName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * This metric's name within the Google Analytics user interface. For example,
-     * `Event count`.
-     * 
- * - * string ui_name = 2; - * - * @param value The uiName to set. - * @return This builder for chaining. - */ - public Builder setUiName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uiName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * This metric's name within the Google Analytics user interface. For example,
-     * `Event count`.
-     * 
- * - * string ui_name = 2; - * - * @return This builder for chaining. - */ - public Builder clearUiName() { - - uiName_ = getDefaultInstance().getUiName(); - onChanged(); - return this; - } - /** - * - * - *
-     * This metric's name within the Google Analytics user interface. For example,
-     * `Event count`.
-     * 
- * - * string ui_name = 2; - * - * @param value The bytes for uiName to set. - * @return This builder for chaining. - */ - public Builder setUiNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - uiName_ = value; - onChanged(); - return this; - } - - private java.lang.Object description_ = ""; - /** - * - * - *
-     * Description of how this metric is used and calculated.
-     * 
- * - * 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; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Description of how this metric is used and calculated.
-     * 
- * - * string description = 3; - * - * @return The bytes for description. - */ - 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); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Description of how this metric is used and calculated.
-     * 
- * - * string description = 3; - * - * @param value The description to set. - * @return This builder for chaining. - */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - description_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Description of how this metric is used and calculated.
-     * 
- * - * string description = 3; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - - description_ = getDefaultInstance().getDescription(); - onChanged(); - return this; - } - /** - * - * - *
-     * Description of how this metric is used and calculated.
-     * 
- * - * string description = 3; - * - * @param value The bytes for description to set. - * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - description_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList deprecatedApiNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureDeprecatedApiNamesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(deprecatedApiNames_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
-     * Still usable but deprecated names for this metric. If populated, this
-     * metric is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the metric will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @return A list containing the deprecatedApiNames. - */ - public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { - return deprecatedApiNames_.getUnmodifiableView(); - } - /** - * - * - *
-     * Still usable but deprecated names for this metric. If populated, this
-     * metric is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the metric will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @return The count of deprecatedApiNames. - */ - public int getDeprecatedApiNamesCount() { - return deprecatedApiNames_.size(); - } - /** - * - * - *
-     * Still usable but deprecated names for this metric. If populated, this
-     * metric is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the metric will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the element to return. - * @return The deprecatedApiNames at the given index. - */ - public java.lang.String getDeprecatedApiNames(int index) { - return deprecatedApiNames_.get(index); - } - /** - * - * - *
-     * Still usable but deprecated names for this metric. If populated, this
-     * metric is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the metric will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the value to return. - * @return The bytes of the deprecatedApiNames at the given index. - */ - public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { - return deprecatedApiNames_.getByteString(index); - } - /** - * - * - *
-     * Still usable but deprecated names for this metric. If populated, this
-     * metric is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the metric will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index to set the value at. - * @param value The deprecatedApiNames to set. - * @return This builder for chaining. - */ - public Builder setDeprecatedApiNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); - deprecatedApiNames_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
-     * Still usable but deprecated names for this metric. If populated, this
-     * metric is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the metric will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param value The deprecatedApiNames to add. - * @return This builder for chaining. - */ - public Builder addDeprecatedApiNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); - deprecatedApiNames_.add(value); - onChanged(); - return this; - } - /** - * - * - *
-     * Still usable but deprecated names for this metric. If populated, this
-     * metric is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the metric will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param values The deprecatedApiNames to add. - * @return This builder for chaining. - */ - public Builder addAllDeprecatedApiNames(java.lang.Iterable values) { - ensureDeprecatedApiNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deprecatedApiNames_); - onChanged(); - return this; - } - /** - * - * - *
-     * Still usable but deprecated names for this metric. If populated, this
-     * metric is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the metric will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @return This builder for chaining. - */ - public Builder clearDeprecatedApiNames() { - deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-     * Still usable but deprecated names for this metric. If populated, this
-     * metric is available by either `apiName` or one of `deprecatedApiNames`
-     * for a period of time. After the deprecation period, the metric will be
-     * available only by `apiName`.
-     * 
- * - * repeated string deprecated_api_names = 4; - * - * @param value The bytes of the deprecatedApiNames to add. - * @return This builder for chaining. - */ - public Builder addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDeprecatedApiNamesIsMutable(); - deprecatedApiNames_.add(value); - onChanged(); - return this; - } - - private int type_ = 0; - /** - * - * - *
-     * The type of this metric.
-     * 
- * - * .google.analytics.data.v1alpha.MetricType type = 5; - * - * @return The enum numeric value on the wire for type. - */ - @java.lang.Override - public int getTypeValue() { - return type_; - } - /** - * - * - *
-     * The type of this metric.
-     * 
- * - * .google.analytics.data.v1alpha.MetricType type = 5; - * - * @param value The enum numeric value on the wire for type to set. - * @return This builder for chaining. - */ - public Builder setTypeValue(int value) { - - type_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The type of this metric.
-     * 
- * - * .google.analytics.data.v1alpha.MetricType type = 5; - * - * @return The type. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricType getType() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.MetricType result = - com.google.analytics.data.v1alpha.MetricType.valueOf(type_); - return result == null ? com.google.analytics.data.v1alpha.MetricType.UNRECOGNIZED : result; - } - /** - * - * - *
-     * The type of this metric.
-     * 
- * - * .google.analytics.data.v1alpha.MetricType type = 5; - * - * @param value The type to set. - * @return This builder for chaining. - */ - public Builder setType(com.google.analytics.data.v1alpha.MetricType value) { - if (value == null) { - throw new NullPointerException(); - } - - type_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-     * The type of this metric.
-     * 
- * - * .google.analytics.data.v1alpha.MetricType type = 5; - * - * @return This builder for chaining. - */ - public Builder clearType() { - - type_ = 0; - onChanged(); - return this; - } - - private java.lang.Object expression_ = ""; - /** - * - * - *
-     * The mathematical expression for this derived metric. Can be used in
-     * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
-     * are not expressions, and for non-expressions, this field is empty.
-     * 
- * - * string expression = 6; - * - * @return The expression. - */ - public java.lang.String getExpression() { - java.lang.Object ref = expression_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - expression_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The mathematical expression for this derived metric. Can be used in
-     * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
-     * are not expressions, and for non-expressions, this field is empty.
-     * 
- * - * string expression = 6; - * - * @return The bytes for expression. - */ - public com.google.protobuf.ByteString getExpressionBytes() { - java.lang.Object ref = expression_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - expression_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The mathematical expression for this derived metric. Can be used in
-     * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
-     * are not expressions, and for non-expressions, this field is empty.
-     * 
- * - * string expression = 6; - * - * @param value The expression to set. - * @return This builder for chaining. - */ - public Builder setExpression(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - expression_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The mathematical expression for this derived metric. Can be used in
-     * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
-     * are not expressions, and for non-expressions, this field is empty.
-     * 
- * - * string expression = 6; - * - * @return This builder for chaining. - */ - public Builder clearExpression() { - - expression_ = getDefaultInstance().getExpression(); - onChanged(); - return this; - } - /** - * - * - *
-     * The mathematical expression for this derived metric. Can be used in
-     * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
-     * are not expressions, and for non-expressions, this field is empty.
-     * 
- * - * string expression = 6; - * - * @param value The bytes for expression to set. - * @return This builder for chaining. - */ - public Builder setExpressionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - expression_ = value; - onChanged(); - return this; - } - - private boolean customDefinition_; - /** - * - * - *
-     * True if the metric is a custom metric for this property.
-     * 
- * - * bool custom_definition = 7; - * - * @return The customDefinition. - */ - @java.lang.Override - public boolean getCustomDefinition() { - return customDefinition_; - } - /** - * - * - *
-     * True if the metric is a custom metric for this property.
-     * 
- * - * bool custom_definition = 7; - * - * @param value The customDefinition to set. - * @return This builder for chaining. - */ - public Builder setCustomDefinition(boolean value) { - - customDefinition_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * True if the metric is a custom metric for this property.
-     * 
- * - * bool custom_definition = 7; - * - * @return This builder for chaining. - */ - public Builder clearCustomDefinition() { - - customDefinition_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.MetricMetadata) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.MetricMetadata) - private static final com.google.analytics.data.v1alpha.MetricMetadata DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.MetricMetadata(); - } - - public static com.google.analytics.data.v1alpha.MetricMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricMetadataOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricMetadataOrBuilder.java deleted file mode 100644 index d1a21c7d..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricMetadataOrBuilder.java +++ /dev/null @@ -1,234 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface MetricMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.MetricMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
-   * `eventCount`.
-   * 
- * - * string api_name = 1; - * - * @return The apiName. - */ - java.lang.String getApiName(); - /** - * - * - *
-   * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
-   * `eventCount`.
-   * 
- * - * string api_name = 1; - * - * @return The bytes for apiName. - */ - com.google.protobuf.ByteString getApiNameBytes(); - - /** - * - * - *
-   * This metric's name within the Google Analytics user interface. For example,
-   * `Event count`.
-   * 
- * - * string ui_name = 2; - * - * @return The uiName. - */ - java.lang.String getUiName(); - /** - * - * - *
-   * This metric's name within the Google Analytics user interface. For example,
-   * `Event count`.
-   * 
- * - * string ui_name = 2; - * - * @return The bytes for uiName. - */ - com.google.protobuf.ByteString getUiNameBytes(); - - /** - * - * - *
-   * Description of how this metric is used and calculated.
-   * 
- * - * string description = 3; - * - * @return The description. - */ - java.lang.String getDescription(); - /** - * - * - *
-   * Description of how this metric is used and calculated.
-   * 
- * - * string description = 3; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - /** - * - * - *
-   * Still usable but deprecated names for this metric. If populated, this
-   * metric is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the metric will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @return A list containing the deprecatedApiNames. - */ - java.util.List getDeprecatedApiNamesList(); - /** - * - * - *
-   * Still usable but deprecated names for this metric. If populated, this
-   * metric is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the metric will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @return The count of deprecatedApiNames. - */ - int getDeprecatedApiNamesCount(); - /** - * - * - *
-   * Still usable but deprecated names for this metric. If populated, this
-   * metric is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the metric will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the element to return. - * @return The deprecatedApiNames at the given index. - */ - java.lang.String getDeprecatedApiNames(int index); - /** - * - * - *
-   * Still usable but deprecated names for this metric. If populated, this
-   * metric is available by either `apiName` or one of `deprecatedApiNames`
-   * for a period of time. After the deprecation period, the metric will be
-   * available only by `apiName`.
-   * 
- * - * repeated string deprecated_api_names = 4; - * - * @param index The index of the value to return. - * @return The bytes of the deprecatedApiNames at the given index. - */ - com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index); - - /** - * - * - *
-   * The type of this metric.
-   * 
- * - * .google.analytics.data.v1alpha.MetricType type = 5; - * - * @return The enum numeric value on the wire for type. - */ - int getTypeValue(); - /** - * - * - *
-   * The type of this metric.
-   * 
- * - * .google.analytics.data.v1alpha.MetricType type = 5; - * - * @return The type. - */ - com.google.analytics.data.v1alpha.MetricType getType(); - - /** - * - * - *
-   * The mathematical expression for this derived metric. Can be used in
-   * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
-   * are not expressions, and for non-expressions, this field is empty.
-   * 
- * - * string expression = 6; - * - * @return The expression. - */ - java.lang.String getExpression(); - /** - * - * - *
-   * The mathematical expression for this derived metric. Can be used in
-   * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
-   * are not expressions, and for non-expressions, this field is empty.
-   * 
- * - * string expression = 6; - * - * @return The bytes for expression. - */ - com.google.protobuf.ByteString getExpressionBytes(); - - /** - * - * - *
-   * True if the metric is a custom metric for this property.
-   * 
- * - * bool custom_definition = 7; - * - * @return The customDefinition. - */ - boolean getCustomDefinition(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricOrBuilder.java deleted file mode 100644 index 2d108c94..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricOrBuilder.java +++ /dev/null @@ -1,106 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface MetricOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Metric) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the metric. See the [API
-   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
-   * for the list of metric names.
-   * If `expression` is specified, `name` can be any string that you would like.
-   * For example if `expression` is `screenPageViews/sessions`, you could call
-   * that metric's name = `viewsPerSession`.
-   * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
-   * `expression`.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the metric. See the [API
-   * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
-   * for the list of metric names.
-   * If `expression` is specified, `name` can be any string that you would like.
-   * For example if `expression` is `screenPageViews/sessions`, you could call
-   * that metric's name = `viewsPerSession`.
-   * Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
-   * `expression`.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * A mathematical expression for derived metrics. For example, the metric
-   * Event count per user is `eventCount/totalUsers`.
-   * 
- * - * string expression = 2; - * - * @return The expression. - */ - java.lang.String getExpression(); - /** - * - * - *
-   * A mathematical expression for derived metrics. For example, the metric
-   * Event count per user is `eventCount/totalUsers`.
-   * 
- * - * string expression = 2; - * - * @return The bytes for expression. - */ - com.google.protobuf.ByteString getExpressionBytes(); - - /** - * - * - *
-   * Indicates if a metric is invisible in the report response. If a metric is
-   * invisible, the metric will not produce a column in the response, but can be
-   * used in `metricFilter`, `orderBys`, or a metric `expression`.
-   * 
- * - * bool invisible = 3; - * - * @return The invisible. - */ - boolean getInvisible(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricType.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricType.java deleted file mode 100644 index f62cfdf0..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricType.java +++ /dev/null @@ -1,398 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * A metric's value type.
- * 
- * - * Protobuf enum {@code google.analytics.data.v1alpha.MetricType} - */ -public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-   * Unspecified type.
-   * 
- * - * METRIC_TYPE_UNSPECIFIED = 0; - */ - METRIC_TYPE_UNSPECIFIED(0), - /** - * - * - *
-   * Integer type.
-   * 
- * - * TYPE_INTEGER = 1; - */ - TYPE_INTEGER(1), - /** - * - * - *
-   * Floating point type.
-   * 
- * - * TYPE_FLOAT = 2; - */ - TYPE_FLOAT(2), - /** - * - * - *
-   * A duration of seconds; a special floating point type.
-   * 
- * - * TYPE_SECONDS = 4; - */ - TYPE_SECONDS(4), - /** - * - * - *
-   * A duration in milliseconds; a special floating point type.
-   * 
- * - * TYPE_MILLISECONDS = 5; - */ - TYPE_MILLISECONDS(5), - /** - * - * - *
-   * A duration in minutes; a special floating point type.
-   * 
- * - * TYPE_MINUTES = 6; - */ - TYPE_MINUTES(6), - /** - * - * - *
-   * A duration in hours; a special floating point type.
-   * 
- * - * TYPE_HOURS = 7; - */ - TYPE_HOURS(7), - /** - * - * - *
-   * A custom metric of standard type; a special floating point type.
-   * 
- * - * TYPE_STANDARD = 8; - */ - TYPE_STANDARD(8), - /** - * - * - *
-   * An amount of money; a special floating point type.
-   * 
- * - * TYPE_CURRENCY = 9; - */ - TYPE_CURRENCY(9), - /** - * - * - *
-   * A length in feet; a special floating point type.
-   * 
- * - * TYPE_FEET = 10; - */ - TYPE_FEET(10), - /** - * - * - *
-   * A length in miles; a special floating point type.
-   * 
- * - * TYPE_MILES = 11; - */ - TYPE_MILES(11), - /** - * - * - *
-   * A length in meters; a special floating point type.
-   * 
- * - * TYPE_METERS = 12; - */ - TYPE_METERS(12), - /** - * - * - *
-   * A length in kilometers; a special floating point type.
-   * 
- * - * TYPE_KILOMETERS = 13; - */ - TYPE_KILOMETERS(13), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-   * Unspecified type.
-   * 
- * - * METRIC_TYPE_UNSPECIFIED = 0; - */ - public static final int METRIC_TYPE_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-   * Integer type.
-   * 
- * - * TYPE_INTEGER = 1; - */ - public static final int TYPE_INTEGER_VALUE = 1; - /** - * - * - *
-   * Floating point type.
-   * 
- * - * TYPE_FLOAT = 2; - */ - public static final int TYPE_FLOAT_VALUE = 2; - /** - * - * - *
-   * A duration of seconds; a special floating point type.
-   * 
- * - * TYPE_SECONDS = 4; - */ - public static final int TYPE_SECONDS_VALUE = 4; - /** - * - * - *
-   * A duration in milliseconds; a special floating point type.
-   * 
- * - * TYPE_MILLISECONDS = 5; - */ - public static final int TYPE_MILLISECONDS_VALUE = 5; - /** - * - * - *
-   * A duration in minutes; a special floating point type.
-   * 
- * - * TYPE_MINUTES = 6; - */ - public static final int TYPE_MINUTES_VALUE = 6; - /** - * - * - *
-   * A duration in hours; a special floating point type.
-   * 
- * - * TYPE_HOURS = 7; - */ - public static final int TYPE_HOURS_VALUE = 7; - /** - * - * - *
-   * A custom metric of standard type; a special floating point type.
-   * 
- * - * TYPE_STANDARD = 8; - */ - public static final int TYPE_STANDARD_VALUE = 8; - /** - * - * - *
-   * An amount of money; a special floating point type.
-   * 
- * - * TYPE_CURRENCY = 9; - */ - public static final int TYPE_CURRENCY_VALUE = 9; - /** - * - * - *
-   * A length in feet; a special floating point type.
-   * 
- * - * TYPE_FEET = 10; - */ - public static final int TYPE_FEET_VALUE = 10; - /** - * - * - *
-   * A length in miles; a special floating point type.
-   * 
- * - * TYPE_MILES = 11; - */ - public static final int TYPE_MILES_VALUE = 11; - /** - * - * - *
-   * A length in meters; a special floating point type.
-   * 
- * - * TYPE_METERS = 12; - */ - public static final int TYPE_METERS_VALUE = 12; - /** - * - * - *
-   * A length in kilometers; a special floating point type.
-   * 
- * - * TYPE_KILOMETERS = 13; - */ - public static final int TYPE_KILOMETERS_VALUE = 13; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static MetricType valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static MetricType forNumber(int value) { - switch (value) { - case 0: - return METRIC_TYPE_UNSPECIFIED; - case 1: - return TYPE_INTEGER; - case 2: - return TYPE_FLOAT; - case 4: - return TYPE_SECONDS; - case 5: - return TYPE_MILLISECONDS; - case 6: - return TYPE_MINUTES; - case 7: - return TYPE_HOURS; - case 8: - return TYPE_STANDARD; - case 9: - return TYPE_CURRENCY; - case 10: - return TYPE_FEET; - case 11: - return TYPE_MILES; - case 12: - return TYPE_METERS; - case 13: - return TYPE_KILOMETERS; - default: - return null; - } - } - - 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 MetricType findValueByNumber(int number) { - return MetricType.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() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto.getDescriptor() - .getEnumTypes() - .get(1); - } - - private static final MetricType[] VALUES = values(); - - public static MetricType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private MetricType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.analytics.data.v1alpha.MetricType) -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricValue.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricValue.java deleted file mode 100644 index 8552269e..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricValue.java +++ /dev/null @@ -1,764 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The value of a metric.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.MetricValue} - */ -public final class MetricValue extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.MetricValue) - MetricValueOrBuilder { - private static final long serialVersionUID = 0L; - // Use MetricValue.newBuilder() to construct. - private MetricValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private MetricValue() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MetricValue(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private MetricValue( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - oneValueCase_ = 4; - oneValue_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricValue_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricValue_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.MetricValue.class, - com.google.analytics.data.v1alpha.MetricValue.Builder.class); - } - - private int oneValueCase_ = 0; - private java.lang.Object oneValue_; - - public enum OneValueCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - VALUE(4), - ONEVALUE_NOT_SET(0); - private final int value; - - private OneValueCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OneValueCase valueOf(int value) { - return forNumber(value); - } - - public static OneValueCase forNumber(int value) { - switch (value) { - case 4: - return VALUE; - case 0: - return ONEVALUE_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); - } - - public static final int VALUE_FIELD_NUMBER = 4; - /** - * - * - *
-   * Measurement value. See MetricHeader for type.
-   * 
- * - * string value = 4; - * - * @return Whether the value field is set. - */ - public boolean hasValue() { - return oneValueCase_ == 4; - } - /** - * - * - *
-   * Measurement value. See MetricHeader for type.
-   * 
- * - * string value = 4; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = ""; - if (oneValueCase_ == 4) { - ref = oneValue_; - } - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (oneValueCase_ == 4) { - oneValue_ = s; - } - return s; - } - } - /** - * - * - *
-   * Measurement value. See MetricHeader for type.
-   * 
- * - * string value = 4; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = ""; - if (oneValueCase_ == 4) { - ref = oneValue_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (oneValueCase_ == 4) { - oneValue_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (oneValueCase_ == 4) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, oneValue_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (oneValueCase_ == 4) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, oneValue_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.MetricValue)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.MetricValue other = - (com.google.analytics.data.v1alpha.MetricValue) obj; - - if (!getOneValueCase().equals(other.getOneValueCase())) return false; - switch (oneValueCase_) { - case 4: - if (!getValue().equals(other.getValue())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (oneValueCase_) { - case 4: - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.MetricValue parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.MetricValue parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.MetricValue prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The value of a metric.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.MetricValue} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.MetricValue) - com.google.analytics.data.v1alpha.MetricValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricValue_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricValue_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.MetricValue.class, - com.google.analytics.data.v1alpha.MetricValue.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.MetricValue.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - oneValueCase_ = 0; - oneValue_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_MetricValue_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricValue getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.MetricValue.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricValue build() { - com.google.analytics.data.v1alpha.MetricValue result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricValue buildPartial() { - com.google.analytics.data.v1alpha.MetricValue result = - new com.google.analytics.data.v1alpha.MetricValue(this); - if (oneValueCase_ == 4) { - result.oneValue_ = oneValue_; - } - result.oneValueCase_ = oneValueCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.MetricValue) { - return mergeFrom((com.google.analytics.data.v1alpha.MetricValue) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.MetricValue other) { - if (other == com.google.analytics.data.v1alpha.MetricValue.getDefaultInstance()) return this; - switch (other.getOneValueCase()) { - case VALUE: - { - oneValueCase_ = 4; - oneValue_ = other.oneValue_; - onChanged(); - break; - } - case ONEVALUE_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.MetricValue parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.MetricValue) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int oneValueCase_ = 0; - private java.lang.Object oneValue_; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); - } - - public Builder clearOneValue() { - oneValueCase_ = 0; - oneValue_ = null; - onChanged(); - return this; - } - - /** - * - * - *
-     * Measurement value. See MetricHeader for type.
-     * 
- * - * string value = 4; - * - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return oneValueCase_ == 4; - } - /** - * - * - *
-     * Measurement value. See MetricHeader for type.
-     * 
- * - * string value = 4; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = ""; - if (oneValueCase_ == 4) { - ref = oneValue_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (oneValueCase_ == 4) { - oneValue_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Measurement value. See MetricHeader for type.
-     * 
- * - * string value = 4; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = ""; - if (oneValueCase_ == 4) { - ref = oneValue_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (oneValueCase_ == 4) { - oneValue_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Measurement value. See MetricHeader for type.
-     * 
- * - * string value = 4; - * - * @param value The value to set. - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - oneValueCase_ = 4; - oneValue_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Measurement value. See MetricHeader for type.
-     * 
- * - * string value = 4; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - if (oneValueCase_ == 4) { - oneValueCase_ = 0; - oneValue_ = null; - onChanged(); - } - return this; - } - /** - * - * - *
-     * Measurement value. See MetricHeader for type.
-     * 
- * - * string value = 4; - * - * @param value The bytes for value to set. - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - oneValueCase_ = 4; - oneValue_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.MetricValue) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.MetricValue) - private static final com.google.analytics.data.v1alpha.MetricValue DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.MetricValue(); - } - - public static com.google.analytics.data.v1alpha.MetricValue getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricValue(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricValue getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricValueOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricValueOrBuilder.java deleted file mode 100644 index b5a984e9..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/MetricValueOrBuilder.java +++ /dev/null @@ -1,64 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface MetricValueOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.MetricValue) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Measurement value. See MetricHeader for type.
-   * 
- * - * string value = 4; - * - * @return Whether the value field is set. - */ - boolean hasValue(); - /** - * - * - *
-   * Measurement value. See MetricHeader for type.
-   * 
- * - * string value = 4; - * - * @return The value. - */ - java.lang.String getValue(); - /** - * - * - *
-   * Measurement value. See MetricHeader for type.
-   * 
- * - * string value = 4; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); - - public com.google.analytics.data.v1alpha.MetricValue.OneValueCase getOneValueCase(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/NumericValue.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/NumericValue.java deleted file mode 100644 index 761d75ab..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/NumericValue.java +++ /dev/null @@ -1,803 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * To represent a number.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.NumericValue} - */ -public final class NumericValue extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.NumericValue) - NumericValueOrBuilder { - private static final long serialVersionUID = 0L; - // Use NumericValue.newBuilder() to construct. - private NumericValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private NumericValue() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new NumericValue(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private NumericValue( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - oneValueCase_ = 1; - oneValue_ = input.readInt64(); - break; - } - case 17: - { - oneValueCase_ = 2; - oneValue_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_NumericValue_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_NumericValue_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.NumericValue.class, - com.google.analytics.data.v1alpha.NumericValue.Builder.class); - } - - private int oneValueCase_ = 0; - private java.lang.Object oneValue_; - - public enum OneValueCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - INT64_VALUE(1), - DOUBLE_VALUE(2), - ONEVALUE_NOT_SET(0); - private final int value; - - private OneValueCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OneValueCase valueOf(int value) { - return forNumber(value); - } - - public static OneValueCase forNumber(int value) { - switch (value) { - case 1: - return INT64_VALUE; - case 2: - return DOUBLE_VALUE; - case 0: - return ONEVALUE_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); - } - - public static final int INT64_VALUE_FIELD_NUMBER = 1; - /** - * - * - *
-   * Integer value
-   * 
- * - * int64 int64_value = 1; - * - * @return Whether the int64Value field is set. - */ - @java.lang.Override - public boolean hasInt64Value() { - return oneValueCase_ == 1; - } - /** - * - * - *
-   * Integer value
-   * 
- * - * int64 int64_value = 1; - * - * @return The int64Value. - */ - @java.lang.Override - public long getInt64Value() { - if (oneValueCase_ == 1) { - return (java.lang.Long) oneValue_; - } - return 0L; - } - - public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; - /** - * - * - *
-   * Double value
-   * 
- * - * double double_value = 2; - * - * @return Whether the doubleValue field is set. - */ - @java.lang.Override - public boolean hasDoubleValue() { - return oneValueCase_ == 2; - } - /** - * - * - *
-   * Double value
-   * 
- * - * double double_value = 2; - * - * @return The doubleValue. - */ - @java.lang.Override - public double getDoubleValue() { - if (oneValueCase_ == 2) { - return (java.lang.Double) oneValue_; - } - return 0D; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (oneValueCase_ == 1) { - output.writeInt64(1, (long) ((java.lang.Long) oneValue_)); - } - if (oneValueCase_ == 2) { - output.writeDouble(2, (double) ((java.lang.Double) oneValue_)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (oneValueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 1, (long) ((java.lang.Long) oneValue_)); - } - if (oneValueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 2, (double) ((java.lang.Double) oneValue_)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.NumericValue)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.NumericValue other = - (com.google.analytics.data.v1alpha.NumericValue) obj; - - if (!getOneValueCase().equals(other.getOneValueCase())) return false; - switch (oneValueCase_) { - case 1: - if (getInt64Value() != other.getInt64Value()) return false; - break; - case 2: - if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (oneValueCase_) { - case 1: - hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); - break; - case 2: - hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.NumericValue parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.NumericValue parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.NumericValue prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * To represent a number.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.NumericValue} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.NumericValue) - com.google.analytics.data.v1alpha.NumericValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_NumericValue_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_NumericValue_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.NumericValue.class, - com.google.analytics.data.v1alpha.NumericValue.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.NumericValue.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - oneValueCase_ = 0; - oneValue_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_NumericValue_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.NumericValue getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.NumericValue build() { - com.google.analytics.data.v1alpha.NumericValue result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.NumericValue buildPartial() { - com.google.analytics.data.v1alpha.NumericValue result = - new com.google.analytics.data.v1alpha.NumericValue(this); - if (oneValueCase_ == 1) { - result.oneValue_ = oneValue_; - } - if (oneValueCase_ == 2) { - result.oneValue_ = oneValue_; - } - result.oneValueCase_ = oneValueCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.NumericValue) { - return mergeFrom((com.google.analytics.data.v1alpha.NumericValue) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.NumericValue other) { - if (other == com.google.analytics.data.v1alpha.NumericValue.getDefaultInstance()) return this; - switch (other.getOneValueCase()) { - case INT64_VALUE: - { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case ONEVALUE_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.NumericValue parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.NumericValue) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int oneValueCase_ = 0; - private java.lang.Object oneValue_; - - public OneValueCase getOneValueCase() { - return OneValueCase.forNumber(oneValueCase_); - } - - public Builder clearOneValue() { - oneValueCase_ = 0; - oneValue_ = null; - onChanged(); - return this; - } - - /** - * - * - *
-     * Integer value
-     * 
- * - * int64 int64_value = 1; - * - * @return Whether the int64Value field is set. - */ - public boolean hasInt64Value() { - return oneValueCase_ == 1; - } - /** - * - * - *
-     * Integer value
-     * 
- * - * int64 int64_value = 1; - * - * @return The int64Value. - */ - public long getInt64Value() { - if (oneValueCase_ == 1) { - return (java.lang.Long) oneValue_; - } - return 0L; - } - /** - * - * - *
-     * Integer value
-     * 
- * - * int64 int64_value = 1; - * - * @param value The int64Value to set. - * @return This builder for chaining. - */ - public Builder setInt64Value(long value) { - oneValueCase_ = 1; - oneValue_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Integer value
-     * 
- * - * int64 int64_value = 1; - * - * @return This builder for chaining. - */ - public Builder clearInt64Value() { - if (oneValueCase_ == 1) { - oneValueCase_ = 0; - oneValue_ = null; - onChanged(); - } - return this; - } - - /** - * - * - *
-     * Double value
-     * 
- * - * double double_value = 2; - * - * @return Whether the doubleValue field is set. - */ - public boolean hasDoubleValue() { - return oneValueCase_ == 2; - } - /** - * - * - *
-     * Double value
-     * 
- * - * double double_value = 2; - * - * @return The doubleValue. - */ - public double getDoubleValue() { - if (oneValueCase_ == 2) { - return (java.lang.Double) oneValue_; - } - return 0D; - } - /** - * - * - *
-     * Double value
-     * 
- * - * double double_value = 2; - * - * @param value The doubleValue to set. - * @return This builder for chaining. - */ - public Builder setDoubleValue(double value) { - oneValueCase_ = 2; - oneValue_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Double value
-     * 
- * - * double double_value = 2; - * - * @return This builder for chaining. - */ - public Builder clearDoubleValue() { - if (oneValueCase_ == 2) { - oneValueCase_ = 0; - oneValue_ = null; - onChanged(); - } - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.NumericValue) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.NumericValue) - private static final com.google.analytics.data.v1alpha.NumericValue DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.NumericValue(); - } - - public static com.google.analytics.data.v1alpha.NumericValue getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NumericValue(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.NumericValue getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/NumericValueOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/NumericValueOrBuilder.java deleted file mode 100644 index fa7ace8c..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/NumericValueOrBuilder.java +++ /dev/null @@ -1,77 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface NumericValueOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.NumericValue) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Integer value
-   * 
- * - * int64 int64_value = 1; - * - * @return Whether the int64Value field is set. - */ - boolean hasInt64Value(); - /** - * - * - *
-   * Integer value
-   * 
- * - * int64 int64_value = 1; - * - * @return The int64Value. - */ - long getInt64Value(); - - /** - * - * - *
-   * Double value
-   * 
- * - * double double_value = 2; - * - * @return Whether the doubleValue field is set. - */ - boolean hasDoubleValue(); - /** - * - * - *
-   * Double value
-   * 
- * - * double double_value = 2; - * - * @return The doubleValue. - */ - double getDoubleValue(); - - public com.google.analytics.data.v1alpha.NumericValue.OneValueCase getOneValueCase(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/OrderBy.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/OrderBy.java deleted file mode 100644 index cc682e69..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/OrderBy.java +++ /dev/null @@ -1,5551 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The sort options.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.OrderBy} - */ -public final class OrderBy extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.OrderBy) - OrderByOrBuilder { - private static final long serialVersionUID = 0L; - // Use OrderBy.newBuilder() to construct. - private OrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private OrderBy() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OrderBy(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private OrderBy( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.Builder subBuilder = null; - if (oneOrderByCase_ == 1) { - subBuilder = - ((com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) oneOrderBy_) - .toBuilder(); - } - oneOrderBy_ = - input.readMessage( - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) oneOrderBy_); - oneOrderBy_ = subBuilder.buildPartial(); - } - oneOrderByCase_ = 1; - break; - } - case 18: - { - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.Builder subBuilder = null; - if (oneOrderByCase_ == 2) { - subBuilder = - ((com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) oneOrderBy_) - .toBuilder(); - } - oneOrderBy_ = - input.readMessage( - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) oneOrderBy_); - oneOrderBy_ = subBuilder.buildPartial(); - } - oneOrderByCase_ = 2; - break; - } - case 26: - { - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.Builder subBuilder = null; - if (oneOrderByCase_ == 3) { - subBuilder = - ((com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) oneOrderBy_) - .toBuilder(); - } - oneOrderBy_ = - input.readMessage( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) oneOrderBy_); - oneOrderBy_ = subBuilder.buildPartial(); - } - oneOrderByCase_ = 3; - break; - } - case 32: - { - desc_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.OrderBy.class, - com.google.analytics.data.v1alpha.OrderBy.Builder.class); - } - - public interface MetricOrderByOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.OrderBy.MetricOrderBy) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * A metric name in the request to order by.
-     * 
- * - * string metric_name = 1; - * - * @return The metricName. - */ - java.lang.String getMetricName(); - /** - * - * - *
-     * A metric name in the request to order by.
-     * 
- * - * string metric_name = 1; - * - * @return The bytes for metricName. - */ - com.google.protobuf.ByteString getMetricNameBytes(); - } - /** - * - * - *
-   * Sorts by metric values.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.OrderBy.MetricOrderBy} - */ - public static final class MetricOrderBy extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.OrderBy.MetricOrderBy) - MetricOrderByOrBuilder { - private static final long serialVersionUID = 0L; - // Use MetricOrderBy.newBuilder() to construct. - private MetricOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private MetricOrderBy() { - metricName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MetricOrderBy(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private MetricOrderBy( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - metricName_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_MetricOrderBy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_MetricOrderBy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.class, - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.Builder.class); - } - - public static final int METRIC_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object metricName_; - /** - * - * - *
-     * A metric name in the request to order by.
-     * 
- * - * string metric_name = 1; - * - * @return The metricName. - */ - @java.lang.Override - public java.lang.String getMetricName() { - java.lang.Object ref = metricName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - metricName_ = s; - return s; - } - } - /** - * - * - *
-     * A metric name in the request to order by.
-     * 
- * - * string metric_name = 1; - * - * @return The bytes for metricName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getMetricNameBytes() { - java.lang.Object ref = metricName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - metricName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getMetricNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getMetricNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy other = - (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) obj; - - if (!getMetricName().equals(other.getMetricName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + METRIC_NAME_FIELD_NUMBER; - hash = (53 * hash) + getMetricName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Sorts by metric values.
-     * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.OrderBy.MetricOrderBy} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.OrderBy.MetricOrderBy) - com.google.analytics.data.v1alpha.OrderBy.MetricOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_MetricOrderBy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_MetricOrderBy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.class, - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - metricName_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_MetricOrderBy_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy build() { - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy buildPartial() { - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy result = - new com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy(this); - result.metricName_ = metricName_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) { - return mergeFrom((com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy other) { - if (other == com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.getDefaultInstance()) - return this; - if (!other.getMetricName().isEmpty()) { - metricName_ = other.metricName_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object metricName_ = ""; - /** - * - * - *
-       * A metric name in the request to order by.
-       * 
- * - * string metric_name = 1; - * - * @return The metricName. - */ - public java.lang.String getMetricName() { - java.lang.Object ref = metricName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - metricName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * A metric name in the request to order by.
-       * 
- * - * string metric_name = 1; - * - * @return The bytes for metricName. - */ - public com.google.protobuf.ByteString getMetricNameBytes() { - java.lang.Object ref = metricName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - metricName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * A metric name in the request to order by.
-       * 
- * - * string metric_name = 1; - * - * @param value The metricName to set. - * @return This builder for chaining. - */ - public Builder setMetricName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - metricName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * A metric name in the request to order by.
-       * 
- * - * string metric_name = 1; - * - * @return This builder for chaining. - */ - public Builder clearMetricName() { - - metricName_ = getDefaultInstance().getMetricName(); - onChanged(); - return this; - } - /** - * - * - *
-       * A metric name in the request to order by.
-       * 
- * - * string metric_name = 1; - * - * @param value The bytes for metricName to set. - * @return This builder for chaining. - */ - public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - metricName_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.OrderBy.MetricOrderBy) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.OrderBy.MetricOrderBy) - private static final com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy(); - } - - public static com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricOrderBy(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface DimensionOrderByOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * A dimension name in the request to order by.
-     * 
- * - * string dimension_name = 1; - * - * @return The dimensionName. - */ - java.lang.String getDimensionName(); - /** - * - * - *
-     * A dimension name in the request to order by.
-     * 
- * - * string dimension_name = 1; - * - * @return The bytes for dimensionName. - */ - com.google.protobuf.ByteString getDimensionNameBytes(); - - /** - * - * - *
-     * Controls the rule for dimension value ordering.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * - * @return The enum numeric value on the wire for orderType. - */ - int getOrderTypeValue(); - /** - * - * - *
-     * Controls the rule for dimension value ordering.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * - * @return The orderType. - */ - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType getOrderType(); - } - /** - * - * - *
-   * Sorts by dimension values.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.OrderBy.DimensionOrderBy} - */ - public static final class DimensionOrderBy extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) - DimensionOrderByOrBuilder { - private static final long serialVersionUID = 0L; - // Use DimensionOrderBy.newBuilder() to construct. - private DimensionOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DimensionOrderBy() { - dimensionName_ = ""; - orderType_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DimensionOrderBy(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private DimensionOrderBy( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - dimensionName_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); - - orderType_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_DimensionOrderBy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_DimensionOrderBy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.class, - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.Builder.class); - } - - /** - * - * - *
-     * Rule to order the string dimension values by.
-     * 
- * - * Protobuf enum {@code google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType} - */ - public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-       * Unspecified.
-       * 
- * - * ORDER_TYPE_UNSPECIFIED = 0; - */ - ORDER_TYPE_UNSPECIFIED(0), - /** - * - * - *
-       * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
-       * "b" < "z".
-       * 
- * - * ALPHANUMERIC = 1; - */ - ALPHANUMERIC(1), - /** - * - * - *
-       * Case insensitive alphanumeric sort by lower case Unicode code point.
-       * For example, "2" < "A" < "b" < "X" < "z".
-       * 
- * - * CASE_INSENSITIVE_ALPHANUMERIC = 2; - */ - CASE_INSENSITIVE_ALPHANUMERIC(2), - /** - * - * - *
-       * Dimension values are converted to numbers before sorting. For example
-       * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
-       * "25". Non-numeric dimension values all have equal ordering value below
-       * all numeric values.
-       * 
- * - * NUMERIC = 3; - */ - NUMERIC(3), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-       * Unspecified.
-       * 
- * - * ORDER_TYPE_UNSPECIFIED = 0; - */ - public static final int ORDER_TYPE_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-       * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
-       * "b" < "z".
-       * 
- * - * ALPHANUMERIC = 1; - */ - public static final int ALPHANUMERIC_VALUE = 1; - /** - * - * - *
-       * Case insensitive alphanumeric sort by lower case Unicode code point.
-       * For example, "2" < "A" < "b" < "X" < "z".
-       * 
- * - * CASE_INSENSITIVE_ALPHANUMERIC = 2; - */ - public static final int CASE_INSENSITIVE_ALPHANUMERIC_VALUE = 2; - /** - * - * - *
-       * Dimension values are converted to numbers before sorting. For example
-       * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
-       * "25". Non-numeric dimension values all have equal ordering value below
-       * all numeric values.
-       * 
- * - * NUMERIC = 3; - */ - public static final int NUMERIC_VALUE = 3; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OrderType valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static OrderType forNumber(int value) { - switch (value) { - case 0: - return ORDER_TYPE_UNSPECIFIED; - case 1: - return ALPHANUMERIC; - case 2: - return CASE_INSENSITIVE_ALPHANUMERIC; - case 3: - return NUMERIC; - default: - return null; - } - } - - 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 OrderType findValueByNumber(int number) { - return OrderType.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() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.getDescriptor() - .getEnumTypes() - .get(0); - } - - private static final OrderType[] VALUES = values(); - - public static OrderType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private OrderType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType) - } - - public static final int DIMENSION_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object dimensionName_; - /** - * - * - *
-     * A dimension name in the request to order by.
-     * 
- * - * string dimension_name = 1; - * - * @return The dimensionName. - */ - @java.lang.Override - public java.lang.String getDimensionName() { - java.lang.Object ref = dimensionName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dimensionName_ = s; - return s; - } - } - /** - * - * - *
-     * A dimension name in the request to order by.
-     * 
- * - * string dimension_name = 1; - * - * @return The bytes for dimensionName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDimensionNameBytes() { - java.lang.Object ref = dimensionName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dimensionName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ORDER_TYPE_FIELD_NUMBER = 2; - private int orderType_; - /** - * - * - *
-     * Controls the rule for dimension value ordering.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * - * @return The enum numeric value on the wire for orderType. - */ - @java.lang.Override - public int getOrderTypeValue() { - return orderType_; - } - /** - * - * - *
-     * Controls the rule for dimension value ordering.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * - * @return The orderType. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType getOrderType() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType result = - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType.valueOf(orderType_); - return result == null - ? com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED - : result; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getDimensionNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); - } - if (orderType_ - != com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType - .ORDER_TYPE_UNSPECIFIED - .getNumber()) { - output.writeEnum(2, orderType_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getDimensionNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dimensionName_); - } - if (orderType_ - != com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType - .ORDER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, orderType_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy other = - (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) obj; - - if (!getDimensionName().equals(other.getDimensionName())) return false; - if (orderType_ != other.orderType_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DIMENSION_NAME_FIELD_NUMBER; - hash = (53 * hash) + getDimensionName().hashCode(); - hash = (37 * hash) + ORDER_TYPE_FIELD_NUMBER; - hash = (53 * hash) + orderType_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Sorts by dimension values.
-     * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.OrderBy.DimensionOrderBy} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_DimensionOrderBy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_DimensionOrderBy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.class, - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - dimensionName_ = ""; - - orderType_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_DimensionOrderBy_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy - getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy build() { - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy buildPartial() { - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy result = - new com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy(this); - result.dimensionName_ = dimensionName_; - result.orderType_ = orderType_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) { - return mergeFrom((com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy other) { - if (other - == com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.getDefaultInstance()) - return this; - if (!other.getDimensionName().isEmpty()) { - dimensionName_ = other.dimensionName_; - onChanged(); - } - if (other.orderType_ != 0) { - setOrderTypeValue(other.getOrderTypeValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object dimensionName_ = ""; - /** - * - * - *
-       * A dimension name in the request to order by.
-       * 
- * - * string dimension_name = 1; - * - * @return The dimensionName. - */ - public java.lang.String getDimensionName() { - java.lang.Object ref = dimensionName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dimensionName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * A dimension name in the request to order by.
-       * 
- * - * string dimension_name = 1; - * - * @return The bytes for dimensionName. - */ - public com.google.protobuf.ByteString getDimensionNameBytes() { - java.lang.Object ref = dimensionName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dimensionName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * A dimension name in the request to order by.
-       * 
- * - * string dimension_name = 1; - * - * @param value The dimensionName to set. - * @return This builder for chaining. - */ - public Builder setDimensionName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - dimensionName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * A dimension name in the request to order by.
-       * 
- * - * string dimension_name = 1; - * - * @return This builder for chaining. - */ - public Builder clearDimensionName() { - - dimensionName_ = getDefaultInstance().getDimensionName(); - onChanged(); - return this; - } - /** - * - * - *
-       * A dimension name in the request to order by.
-       * 
- * - * string dimension_name = 1; - * - * @param value The bytes for dimensionName to set. - * @return This builder for chaining. - */ - public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - dimensionName_ = value; - onChanged(); - return this; - } - - private int orderType_ = 0; - /** - * - * - *
-       * Controls the rule for dimension value ordering.
-       * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * - * @return The enum numeric value on the wire for orderType. - */ - @java.lang.Override - public int getOrderTypeValue() { - return orderType_; - } - /** - * - * - *
-       * Controls the rule for dimension value ordering.
-       * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * - * @param value The enum numeric value on the wire for orderType to set. - * @return This builder for chaining. - */ - public Builder setOrderTypeValue(int value) { - - orderType_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Controls the rule for dimension value ordering.
-       * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * - * @return The orderType. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType getOrderType() { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType result = - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType.valueOf( - orderType_); - return result == null - ? com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED - : result; - } - /** - * - * - *
-       * Controls the rule for dimension value ordering.
-       * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * - * @param value The orderType to set. - * @return This builder for chaining. - */ - public Builder setOrderType( - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType value) { - if (value == null) { - throw new NullPointerException(); - } - - orderType_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-       * Controls the rule for dimension value ordering.
-       * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.OrderType order_type = 2; - * - * - * @return This builder for chaining. - */ - public Builder clearOrderType() { - - orderType_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) - private static final com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy(); - } - - public static com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionOrderBy(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface PivotOrderByOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.OrderBy.PivotOrderBy) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * In the response to order by, order rows by this column. Must be a metric
-     * name from the request.
-     * 
- * - * string metric_name = 1; - * - * @return The metricName. - */ - java.lang.String getMetricName(); - /** - * - * - *
-     * In the response to order by, order rows by this column. Must be a metric
-     * name from the request.
-     * 
- * - * string metric_name = 1; - * - * @return The bytes for metricName. - */ - com.google.protobuf.ByteString getMetricNameBytes(); - - /** - * - * - *
-     * Used to select a dimension name and value pivot. If multiple pivot
-     * selections are given, the sort occurs on rows where all pivot selection
-     * dimension name and value pairs match the row's dimension name and value
-     * pair.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - java.util.List - getPivotSelectionsList(); - /** - * - * - *
-     * Used to select a dimension name and value pivot. If multiple pivot
-     * selections are given, the sort occurs on rows where all pivot selection
-     * dimension name and value pairs match the row's dimension name and value
-     * pair.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection getPivotSelections( - int index); - /** - * - * - *
-     * Used to select a dimension name and value pivot. If multiple pivot
-     * selections are given, the sort occurs on rows where all pivot selection
-     * dimension name and value pairs match the row's dimension name and value
-     * pair.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - int getPivotSelectionsCount(); - /** - * - * - *
-     * Used to select a dimension name and value pivot. If multiple pivot
-     * selections are given, the sort occurs on rows where all pivot selection
-     * dimension name and value pairs match the row's dimension name and value
-     * pair.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - java.util.List< - ? extends - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> - getPivotSelectionsOrBuilderList(); - /** - * - * - *
-     * Used to select a dimension name and value pivot. If multiple pivot
-     * selections are given, the sort occurs on rows where all pivot selection
-     * dimension name and value pairs match the row's dimension name and value
-     * pair.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelectionOrBuilder - getPivotSelectionsOrBuilder(int index); - } - /** - * - * - *
-   * Sorts by a pivot column group.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.OrderBy.PivotOrderBy} - */ - public static final class PivotOrderBy extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.OrderBy.PivotOrderBy) - PivotOrderByOrBuilder { - private static final long serialVersionUID = 0L; - // Use PivotOrderBy.newBuilder() to construct. - private PivotOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PivotOrderBy() { - metricName_ = ""; - pivotSelections_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PivotOrderBy(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private PivotOrderBy( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - metricName_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotSelections_ = - new java.util.ArrayList< - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection>(); - mutable_bitField0_ |= 0x00000001; - } - pivotSelections_.add( - input.readMessage( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - .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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - pivotSelections_ = java.util.Collections.unmodifiableList(pivotSelections_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.class, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.Builder.class); - } - - public interface PivotSelectionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-       * Must be a dimension name from the request.
-       * 
- * - * string dimension_name = 1; - * - * @return The dimensionName. - */ - java.lang.String getDimensionName(); - /** - * - * - *
-       * Must be a dimension name from the request.
-       * 
- * - * string dimension_name = 1; - * - * @return The bytes for dimensionName. - */ - com.google.protobuf.ByteString getDimensionNameBytes(); - - /** - * - * - *
-       * Order by only when the named dimension is this value.
-       * 
- * - * string dimension_value = 2; - * - * @return The dimensionValue. - */ - java.lang.String getDimensionValue(); - /** - * - * - *
-       * Order by only when the named dimension is this value.
-       * 
- * - * string dimension_value = 2; - * - * @return The bytes for dimensionValue. - */ - com.google.protobuf.ByteString getDimensionValueBytes(); - } - /** - * - * - *
-     * A pair of dimension names and values. Rows with this dimension pivot pair
-     * are ordered by the metric's value.
-     * For example if pivots = {{"browser", "Chrome"}} and
-     * metric_name = "Sessions",
-     * then the rows will be sorted based on Sessions in Chrome.
-     *     ---------|----------|----------------|----------|----------------
-     *              |  Chrome  |    Chrome      |  Safari  |     Safari
-     *     ---------|----------|----------------|----------|----------------
-     *      Country | Sessions | Pages/Sessions | Sessions | Pages/Sessions
-     *     ---------|----------|----------------|----------|----------------
-     *         US   |    2     |       2        |     3    |        1
-     *     ---------|----------|----------------|----------|----------------
-     *       Canada |    3     |       1        |     4    |        1
-     *     ---------|----------|----------------|----------|----------------
-     * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection} - */ - public static final class PivotSelection extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection) - PivotSelectionOrBuilder { - private static final long serialVersionUID = 0L; - // Use PivotSelection.newBuilder() to construct. - private PivotSelection(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PivotSelection() { - dimensionName_ = ""; - dimensionValue_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PivotSelection(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private PivotSelection( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - dimensionName_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - dimensionValue_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_PivotSelection_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.class, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder - .class); - } - - public static final int DIMENSION_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object dimensionName_; - /** - * - * - *
-       * Must be a dimension name from the request.
-       * 
- * - * string dimension_name = 1; - * - * @return The dimensionName. - */ - @java.lang.Override - public java.lang.String getDimensionName() { - java.lang.Object ref = dimensionName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dimensionName_ = s; - return s; - } - } - /** - * - * - *
-       * Must be a dimension name from the request.
-       * 
- * - * string dimension_name = 1; - * - * @return The bytes for dimensionName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDimensionNameBytes() { - java.lang.Object ref = dimensionName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dimensionName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DIMENSION_VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object dimensionValue_; - /** - * - * - *
-       * Order by only when the named dimension is this value.
-       * 
- * - * string dimension_value = 2; - * - * @return The dimensionValue. - */ - @java.lang.Override - public java.lang.String getDimensionValue() { - java.lang.Object ref = dimensionValue_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dimensionValue_ = s; - return s; - } - } - /** - * - * - *
-       * Order by only when the named dimension is this value.
-       * 
- * - * string dimension_value = 2; - * - * @return The bytes for dimensionValue. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDimensionValueBytes() { - java.lang.Object ref = dimensionValue_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dimensionValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getDimensionNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); - } - if (!getDimensionValueBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dimensionValue_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getDimensionNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dimensionName_); - } - if (!getDimensionValueBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dimensionValue_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection other = - (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection) obj; - - if (!getDimensionName().equals(other.getDimensionName())) return false; - if (!getDimensionValue().equals(other.getDimensionValue())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DIMENSION_NAME_FIELD_NUMBER; - hash = (53 * hash) + getDimensionName().hashCode(); - hash = (37 * hash) + DIMENSION_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getDimensionValue().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-       * A pair of dimension names and values. Rows with this dimension pivot pair
-       * are ordered by the metric's value.
-       * For example if pivots = {{"browser", "Chrome"}} and
-       * metric_name = "Sessions",
-       * then the rows will be sorted based on Sessions in Chrome.
-       *     ---------|----------|----------------|----------|----------------
-       *              |  Chrome  |    Chrome      |  Safari  |     Safari
-       *     ---------|----------|----------------|----------|----------------
-       *      Country | Sessions | Pages/Sessions | Sessions | Pages/Sessions
-       *     ---------|----------|----------------|----------|----------------
-       *         US   |    2     |       2        |     3    |        1
-       *     ---------|----------|----------------|----------|----------------
-       *       Canada |    3     |       1        |     4    |        1
-       *     ---------|----------|----------------|----------|----------------
-       * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection) - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_PivotSelection_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.class, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder - .class); - } - - // Construct using - // com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - dimensionName_ = ""; - - dimensionValue_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_PivotSelection_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection build() { - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - buildPartial() { - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection result = - new com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection(this); - result.dimensionName_ = dimensionName_; - result.dimensionValue_ = dimensionValue_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection) { - return mergeFrom( - (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection other) { - if (other - == com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - .getDefaultInstance()) return this; - if (!other.getDimensionName().isEmpty()) { - dimensionName_ = other.dimensionName_; - onChanged(); - } - if (!other.getDimensionValue().isEmpty()) { - dimensionValue_ = other.dimensionValue_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection parsedMessage = - null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object dimensionName_ = ""; - /** - * - * - *
-         * Must be a dimension name from the request.
-         * 
- * - * string dimension_name = 1; - * - * @return The dimensionName. - */ - public java.lang.String getDimensionName() { - java.lang.Object ref = dimensionName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dimensionName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-         * Must be a dimension name from the request.
-         * 
- * - * string dimension_name = 1; - * - * @return The bytes for dimensionName. - */ - public com.google.protobuf.ByteString getDimensionNameBytes() { - java.lang.Object ref = dimensionName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dimensionName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-         * Must be a dimension name from the request.
-         * 
- * - * string dimension_name = 1; - * - * @param value The dimensionName to set. - * @return This builder for chaining. - */ - public Builder setDimensionName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - dimensionName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-         * Must be a dimension name from the request.
-         * 
- * - * string dimension_name = 1; - * - * @return This builder for chaining. - */ - public Builder clearDimensionName() { - - dimensionName_ = getDefaultInstance().getDimensionName(); - onChanged(); - return this; - } - /** - * - * - *
-         * Must be a dimension name from the request.
-         * 
- * - * string dimension_name = 1; - * - * @param value The bytes for dimensionName to set. - * @return This builder for chaining. - */ - public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - dimensionName_ = value; - onChanged(); - return this; - } - - private java.lang.Object dimensionValue_ = ""; - /** - * - * - *
-         * Order by only when the named dimension is this value.
-         * 
- * - * string dimension_value = 2; - * - * @return The dimensionValue. - */ - public java.lang.String getDimensionValue() { - java.lang.Object ref = dimensionValue_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dimensionValue_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-         * Order by only when the named dimension is this value.
-         * 
- * - * string dimension_value = 2; - * - * @return The bytes for dimensionValue. - */ - public com.google.protobuf.ByteString getDimensionValueBytes() { - java.lang.Object ref = dimensionValue_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dimensionValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-         * Order by only when the named dimension is this value.
-         * 
- * - * string dimension_value = 2; - * - * @param value The dimensionValue to set. - * @return This builder for chaining. - */ - public Builder setDimensionValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - dimensionValue_ = value; - onChanged(); - return this; - } - /** - * - * - *
-         * Order by only when the named dimension is this value.
-         * 
- * - * string dimension_value = 2; - * - * @return This builder for chaining. - */ - public Builder clearDimensionValue() { - - dimensionValue_ = getDefaultInstance().getDimensionValue(); - onChanged(); - return this; - } - /** - * - * - *
-         * Order by only when the named dimension is this value.
-         * 
- * - * string dimension_value = 2; - * - * @param value The bytes for dimensionValue to set. - * @return This builder for chaining. - */ - public Builder setDimensionValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - dimensionValue_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection) - private static final com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection(); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotSelection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotSelection(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public static final int METRIC_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object metricName_; - /** - * - * - *
-     * In the response to order by, order rows by this column. Must be a metric
-     * name from the request.
-     * 
- * - * string metric_name = 1; - * - * @return The metricName. - */ - @java.lang.Override - public java.lang.String getMetricName() { - java.lang.Object ref = metricName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - metricName_ = s; - return s; - } - } - /** - * - * - *
-     * In the response to order by, order rows by this column. Must be a metric
-     * name from the request.
-     * 
- * - * string metric_name = 1; - * - * @return The bytes for metricName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getMetricNameBytes() { - java.lang.Object ref = metricName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - metricName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PIVOT_SELECTIONS_FIELD_NUMBER = 2; - private java.util.List - pivotSelections_; - /** - * - * - *
-     * Used to select a dimension name and value pivot. If multiple pivot
-     * selections are given, the sort occurs on rows where all pivot selection
-     * dimension name and value pairs match the row's dimension name and value
-     * pair.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - @java.lang.Override - public java.util.List - getPivotSelectionsList() { - return pivotSelections_; - } - /** - * - * - *
-     * Used to select a dimension name and value pivot. If multiple pivot
-     * selections are given, the sort occurs on rows where all pivot selection
-     * dimension name and value pairs match the row's dimension name and value
-     * pair.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - @java.lang.Override - public java.util.List< - ? extends - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> - getPivotSelectionsOrBuilderList() { - return pivotSelections_; - } - /** - * - * - *
-     * Used to select a dimension name and value pivot. If multiple pivot
-     * selections are given, the sort occurs on rows where all pivot selection
-     * dimension name and value pairs match the row's dimension name and value
-     * pair.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - @java.lang.Override - public int getPivotSelectionsCount() { - return pivotSelections_.size(); - } - /** - * - * - *
-     * Used to select a dimension name and value pivot. If multiple pivot
-     * selections are given, the sort occurs on rows where all pivot selection
-     * dimension name and value pairs match the row's dimension name and value
-     * pair.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection getPivotSelections( - int index) { - return pivotSelections_.get(index); - } - /** - * - * - *
-     * Used to select a dimension name and value pivot. If multiple pivot
-     * selections are given, the sort occurs on rows where all pivot selection
-     * dimension name and value pairs match the row's dimension name and value
-     * pair.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelectionOrBuilder - getPivotSelectionsOrBuilder(int index) { - return pivotSelections_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getMetricNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); - } - for (int i = 0; i < pivotSelections_.size(); i++) { - output.writeMessage(2, pivotSelections_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getMetricNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_); - } - for (int i = 0; i < pivotSelections_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, pivotSelections_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy other = - (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) obj; - - if (!getMetricName().equals(other.getMetricName())) return false; - if (!getPivotSelectionsList().equals(other.getPivotSelectionsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + METRIC_NAME_FIELD_NUMBER; - hash = (53 * hash) + getMetricName().hashCode(); - if (getPivotSelectionsCount() > 0) { - hash = (37 * hash) + PIVOT_SELECTIONS_FIELD_NUMBER; - hash = (53 * hash) + getPivotSelectionsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Sorts by a pivot column group.
-     * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.OrderBy.PivotOrderBy} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.OrderBy.PivotOrderBy) - com.google.analytics.data.v1alpha.OrderBy.PivotOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.class, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPivotSelectionsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - metricName_ = ""; - - if (pivotSelectionsBuilder_ == null) { - pivotSelections_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - pivotSelectionsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy build() { - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy buildPartial() { - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy result = - new com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy(this); - int from_bitField0_ = bitField0_; - result.metricName_ = metricName_; - if (pivotSelectionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - pivotSelections_ = java.util.Collections.unmodifiableList(pivotSelections_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.pivotSelections_ = pivotSelections_; - } else { - result.pivotSelections_ = pivotSelectionsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) { - return mergeFrom((com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy other) { - if (other == com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.getDefaultInstance()) - return this; - if (!other.getMetricName().isEmpty()) { - metricName_ = other.metricName_; - onChanged(); - } - if (pivotSelectionsBuilder_ == null) { - if (!other.pivotSelections_.isEmpty()) { - if (pivotSelections_.isEmpty()) { - pivotSelections_ = other.pivotSelections_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePivotSelectionsIsMutable(); - pivotSelections_.addAll(other.pivotSelections_); - } - onChanged(); - } - } else { - if (!other.pivotSelections_.isEmpty()) { - if (pivotSelectionsBuilder_.isEmpty()) { - pivotSelectionsBuilder_.dispose(); - pivotSelectionsBuilder_ = null; - pivotSelections_ = other.pivotSelections_; - bitField0_ = (bitField0_ & ~0x00000001); - pivotSelectionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPivotSelectionsFieldBuilder() - : null; - } else { - pivotSelectionsBuilder_.addAllMessages(other.pivotSelections_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object metricName_ = ""; - /** - * - * - *
-       * In the response to order by, order rows by this column. Must be a metric
-       * name from the request.
-       * 
- * - * string metric_name = 1; - * - * @return The metricName. - */ - public java.lang.String getMetricName() { - java.lang.Object ref = metricName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - metricName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * In the response to order by, order rows by this column. Must be a metric
-       * name from the request.
-       * 
- * - * string metric_name = 1; - * - * @return The bytes for metricName. - */ - public com.google.protobuf.ByteString getMetricNameBytes() { - java.lang.Object ref = metricName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - metricName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * In the response to order by, order rows by this column. Must be a metric
-       * name from the request.
-       * 
- * - * string metric_name = 1; - * - * @param value The metricName to set. - * @return This builder for chaining. - */ - public Builder setMetricName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - metricName_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * In the response to order by, order rows by this column. Must be a metric
-       * name from the request.
-       * 
- * - * string metric_name = 1; - * - * @return This builder for chaining. - */ - public Builder clearMetricName() { - - metricName_ = getDefaultInstance().getMetricName(); - onChanged(); - return this; - } - /** - * - * - *
-       * In the response to order by, order rows by this column. Must be a metric
-       * name from the request.
-       * 
- * - * string metric_name = 1; - * - * @param value The bytes for metricName to set. - * @return This builder for chaining. - */ - public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - metricName_ = value; - onChanged(); - return this; - } - - private java.util.List - pivotSelections_ = java.util.Collections.emptyList(); - - private void ensurePivotSelectionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - pivotSelections_ = - new java.util.ArrayList< - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection>( - pivotSelections_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> - pivotSelectionsBuilder_; - - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public java.util.List - getPivotSelectionsList() { - if (pivotSelectionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(pivotSelections_); - } else { - return pivotSelectionsBuilder_.getMessageList(); - } - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public int getPivotSelectionsCount() { - if (pivotSelectionsBuilder_ == null) { - return pivotSelections_.size(); - } else { - return pivotSelectionsBuilder_.getCount(); - } - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - getPivotSelections(int index) { - if (pivotSelectionsBuilder_ == null) { - return pivotSelections_.get(index); - } else { - return pivotSelectionsBuilder_.getMessage(index); - } - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public Builder setPivotSelections( - int index, com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection value) { - if (pivotSelectionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotSelectionsIsMutable(); - pivotSelections_.set(index, value); - onChanged(); - } else { - pivotSelectionsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public Builder setPivotSelections( - int index, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder - builderForValue) { - if (pivotSelectionsBuilder_ == null) { - ensurePivotSelectionsIsMutable(); - pivotSelections_.set(index, builderForValue.build()); - onChanged(); - } else { - pivotSelectionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public Builder addPivotSelections( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection value) { - if (pivotSelectionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotSelectionsIsMutable(); - pivotSelections_.add(value); - onChanged(); - } else { - pivotSelectionsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public Builder addPivotSelections( - int index, com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection value) { - if (pivotSelectionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotSelectionsIsMutable(); - pivotSelections_.add(index, value); - onChanged(); - } else { - pivotSelectionsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public Builder addPivotSelections( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder - builderForValue) { - if (pivotSelectionsBuilder_ == null) { - ensurePivotSelectionsIsMutable(); - pivotSelections_.add(builderForValue.build()); - onChanged(); - } else { - pivotSelectionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public Builder addPivotSelections( - int index, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder - builderForValue) { - if (pivotSelectionsBuilder_ == null) { - ensurePivotSelectionsIsMutable(); - pivotSelections_.add(index, builderForValue.build()); - onChanged(); - } else { - pivotSelectionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public Builder addAllPivotSelections( - java.lang.Iterable< - ? extends com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection> - values) { - if (pivotSelectionsBuilder_ == null) { - ensurePivotSelectionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotSelections_); - onChanged(); - } else { - pivotSelectionsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public Builder clearPivotSelections() { - if (pivotSelectionsBuilder_ == null) { - pivotSelections_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - pivotSelectionsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public Builder removePivotSelections(int index) { - if (pivotSelectionsBuilder_ == null) { - ensurePivotSelectionsIsMutable(); - pivotSelections_.remove(index); - onChanged(); - } else { - pivotSelectionsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder - getPivotSelectionsBuilder(int index) { - return getPivotSelectionsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelectionOrBuilder - getPivotSelectionsOrBuilder(int index) { - if (pivotSelectionsBuilder_ == null) { - return pivotSelections_.get(index); - } else { - return pivotSelectionsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public java.util.List< - ? extends - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> - getPivotSelectionsOrBuilderList() { - if (pivotSelectionsBuilder_ != null) { - return pivotSelectionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(pivotSelections_); - } - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder - addPivotSelectionsBuilder() { - return getPivotSelectionsFieldBuilder() - .addBuilder( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - .getDefaultInstance()); - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder - addPivotSelectionsBuilder(int index) { - return getPivotSelectionsFieldBuilder() - .addBuilder( - index, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection - .getDefaultInstance()); - } - /** - * - * - *
-       * Used to select a dimension name and value pivot. If multiple pivot
-       * selections are given, the sort occurs on rows where all pivot selection
-       * dimension name and value pairs match the row's dimension name and value
-       * pair.
-       * 
- * - * - * repeated .google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; - * - */ - public java.util.List< - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder> - getPivotSelectionsBuilderList() { - return getPivotSelectionsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> - getPivotSelectionsFieldBuilder() { - if (pivotSelectionsBuilder_ == null) { - pivotSelectionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelection.Builder, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.PivotSelectionOrBuilder>( - pivotSelections_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - pivotSelections_ = null; - } - return pivotSelectionsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.OrderBy.PivotOrderBy) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.OrderBy.PivotOrderBy) - private static final com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy(); - } - - public static com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotOrderBy(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - private int oneOrderByCase_ = 0; - private java.lang.Object oneOrderBy_; - - public enum OneOrderByCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - METRIC(1), - DIMENSION(2), - PIVOT(3), - ONEORDERBY_NOT_SET(0); - private final int value; - - private OneOrderByCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OneOrderByCase valueOf(int value) { - return forNumber(value); - } - - public static OneOrderByCase forNumber(int value) { - switch (value) { - case 1: - return METRIC; - case 2: - return DIMENSION; - case 3: - return PIVOT; - case 0: - return ONEORDERBY_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public OneOrderByCase getOneOrderByCase() { - return OneOrderByCase.forNumber(oneOrderByCase_); - } - - public static final int METRIC_FIELD_NUMBER = 1; - /** - * - * - *
-   * Sorts results by a metric's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - * - * @return Whether the metric field is set. - */ - @java.lang.Override - public boolean hasMetric() { - return oneOrderByCase_ == 1; - } - /** - * - * - *
-   * Sorts results by a metric's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - * - * @return The metric. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy getMetric() { - if (oneOrderByCase_ == 1) { - return (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.getDefaultInstance(); - } - /** - * - * - *
-   * Sorts results by a metric's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.MetricOrderByOrBuilder getMetricOrBuilder() { - if (oneOrderByCase_ == 1) { - return (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.getDefaultInstance(); - } - - public static final int DIMENSION_FIELD_NUMBER = 2; - /** - * - * - *
-   * Sorts results by a dimension's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - * - * @return Whether the dimension field is set. - */ - @java.lang.Override - public boolean hasDimension() { - return oneOrderByCase_ == 2; - } - /** - * - * - *
-   * Sorts results by a dimension's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - * - * @return The dimension. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy getDimension() { - if (oneOrderByCase_ == 2) { - return (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.getDefaultInstance(); - } - /** - * - * - *
-   * Sorts results by a dimension's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderByOrBuilder - getDimensionOrBuilder() { - if (oneOrderByCase_ == 2) { - return (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.getDefaultInstance(); - } - - public static final int PIVOT_FIELD_NUMBER = 3; - /** - * - * - *
-   * Sorts results by a metric's values within a pivot column group.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - * - * @return Whether the pivot field is set. - */ - @java.lang.Override - public boolean hasPivot() { - return oneOrderByCase_ == 3; - } - /** - * - * - *
-   * Sorts results by a metric's values within a pivot column group.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - * - * @return The pivot. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy getPivot() { - if (oneOrderByCase_ == 3) { - return (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.getDefaultInstance(); - } - /** - * - * - *
-   * Sorts results by a metric's values within a pivot column group.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderByOrBuilder getPivotOrBuilder() { - if (oneOrderByCase_ == 3) { - return (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.getDefaultInstance(); - } - - public static final int DESC_FIELD_NUMBER = 4; - private boolean desc_; - /** - * - * - *
-   * If true, sorts by descending order.
-   * 
- * - * bool desc = 4; - * - * @return The desc. - */ - @java.lang.Override - public boolean getDesc() { - return desc_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (oneOrderByCase_ == 1) { - output.writeMessage(1, (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) oneOrderBy_); - } - if (oneOrderByCase_ == 2) { - output.writeMessage( - 2, (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) oneOrderBy_); - } - if (oneOrderByCase_ == 3) { - output.writeMessage(3, (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) oneOrderBy_); - } - if (desc_ != false) { - output.writeBool(4, desc_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (oneOrderByCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) oneOrderBy_); - } - if (oneOrderByCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) oneOrderBy_); - } - if (oneOrderByCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) oneOrderBy_); - } - if (desc_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, desc_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.OrderBy)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.OrderBy other = - (com.google.analytics.data.v1alpha.OrderBy) obj; - - if (getDesc() != other.getDesc()) return false; - if (!getOneOrderByCase().equals(other.getOneOrderByCase())) return false; - switch (oneOrderByCase_) { - case 1: - if (!getMetric().equals(other.getMetric())) return false; - break; - case 2: - if (!getDimension().equals(other.getDimension())) return false; - break; - case 3: - if (!getPivot().equals(other.getPivot())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DESC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesc()); - switch (oneOrderByCase_) { - case 1: - hash = (37 * hash) + METRIC_FIELD_NUMBER; - hash = (53 * hash) + getMetric().hashCode(); - break; - case 2: - hash = (37 * hash) + DIMENSION_FIELD_NUMBER; - hash = (53 * hash) + getDimension().hashCode(); - break; - case 3: - hash = (37 * hash) + PIVOT_FIELD_NUMBER; - hash = (53 * hash) + getPivot().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.OrderBy parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.OrderBy parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.OrderBy prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The sort options.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.OrderBy} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.OrderBy) - com.google.analytics.data.v1alpha.OrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.OrderBy.class, - com.google.analytics.data.v1alpha.OrderBy.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.OrderBy.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - desc_ = false; - - oneOrderByCase_ = 0; - oneOrderBy_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_OrderBy_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.OrderBy.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy build() { - com.google.analytics.data.v1alpha.OrderBy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy buildPartial() { - com.google.analytics.data.v1alpha.OrderBy result = - new com.google.analytics.data.v1alpha.OrderBy(this); - if (oneOrderByCase_ == 1) { - if (metricBuilder_ == null) { - result.oneOrderBy_ = oneOrderBy_; - } else { - result.oneOrderBy_ = metricBuilder_.build(); - } - } - if (oneOrderByCase_ == 2) { - if (dimensionBuilder_ == null) { - result.oneOrderBy_ = oneOrderBy_; - } else { - result.oneOrderBy_ = dimensionBuilder_.build(); - } - } - if (oneOrderByCase_ == 3) { - if (pivotBuilder_ == null) { - result.oneOrderBy_ = oneOrderBy_; - } else { - result.oneOrderBy_ = pivotBuilder_.build(); - } - } - result.desc_ = desc_; - result.oneOrderByCase_ = oneOrderByCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.OrderBy) { - return mergeFrom((com.google.analytics.data.v1alpha.OrderBy) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.OrderBy other) { - if (other == com.google.analytics.data.v1alpha.OrderBy.getDefaultInstance()) return this; - if (other.getDesc() != false) { - setDesc(other.getDesc()); - } - switch (other.getOneOrderByCase()) { - case METRIC: - { - mergeMetric(other.getMetric()); - break; - } - case DIMENSION: - { - mergeDimension(other.getDimension()); - break; - } - case PIVOT: - { - mergePivot(other.getPivot()); - break; - } - case ONEORDERBY_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.OrderBy parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.OrderBy) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int oneOrderByCase_ = 0; - private java.lang.Object oneOrderBy_; - - public OneOrderByCase getOneOrderByCase() { - return OneOrderByCase.forNumber(oneOrderByCase_); - } - - public Builder clearOneOrderBy() { - oneOrderByCase_ = 0; - oneOrderBy_ = null; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy, - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.Builder, - com.google.analytics.data.v1alpha.OrderBy.MetricOrderByOrBuilder> - metricBuilder_; - /** - * - * - *
-     * Sorts results by a metric's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - * - * @return Whether the metric field is set. - */ - @java.lang.Override - public boolean hasMetric() { - return oneOrderByCase_ == 1; - } - /** - * - * - *
-     * Sorts results by a metric's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - * - * @return The metric. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy getMetric() { - if (metricBuilder_ == null) { - if (oneOrderByCase_ == 1) { - return (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.getDefaultInstance(); - } else { - if (oneOrderByCase_ == 1) { - return metricBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.getDefaultInstance(); - } - } - /** - * - * - *
-     * Sorts results by a metric's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - */ - public Builder setMetric(com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy value) { - if (metricBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oneOrderBy_ = value; - onChanged(); - } else { - metricBuilder_.setMessage(value); - } - oneOrderByCase_ = 1; - return this; - } - /** - * - * - *
-     * Sorts results by a metric's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - */ - public Builder setMetric( - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.Builder builderForValue) { - if (metricBuilder_ == null) { - oneOrderBy_ = builderForValue.build(); - onChanged(); - } else { - metricBuilder_.setMessage(builderForValue.build()); - } - oneOrderByCase_ = 1; - return this; - } - /** - * - * - *
-     * Sorts results by a metric's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - */ - public Builder mergeMetric(com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy value) { - if (metricBuilder_ == null) { - if (oneOrderByCase_ == 1 - && oneOrderBy_ - != com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.getDefaultInstance()) { - oneOrderBy_ = - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.newBuilder( - (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) oneOrderBy_) - .mergeFrom(value) - .buildPartial(); - } else { - oneOrderBy_ = value; - } - onChanged(); - } else { - if (oneOrderByCase_ == 1) { - metricBuilder_.mergeFrom(value); - } - metricBuilder_.setMessage(value); - } - oneOrderByCase_ = 1; - return this; - } - /** - * - * - *
-     * Sorts results by a metric's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - */ - public Builder clearMetric() { - if (metricBuilder_ == null) { - if (oneOrderByCase_ == 1) { - oneOrderByCase_ = 0; - oneOrderBy_ = null; - onChanged(); - } - } else { - if (oneOrderByCase_ == 1) { - oneOrderByCase_ = 0; - oneOrderBy_ = null; - } - metricBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Sorts results by a metric's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - */ - public com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.Builder getMetricBuilder() { - return getMetricFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Sorts results by a metric's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.MetricOrderByOrBuilder getMetricOrBuilder() { - if ((oneOrderByCase_ == 1) && (metricBuilder_ != null)) { - return metricBuilder_.getMessageOrBuilder(); - } else { - if (oneOrderByCase_ == 1) { - return (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.getDefaultInstance(); - } - } - /** - * - * - *
-     * Sorts results by a metric's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy, - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.Builder, - com.google.analytics.data.v1alpha.OrderBy.MetricOrderByOrBuilder> - getMetricFieldBuilder() { - if (metricBuilder_ == null) { - if (!(oneOrderByCase_ == 1)) { - oneOrderBy_ = - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.getDefaultInstance(); - } - metricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy, - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy.Builder, - com.google.analytics.data.v1alpha.OrderBy.MetricOrderByOrBuilder>( - (com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy) oneOrderBy_, - getParentForChildren(), - isClean()); - oneOrderBy_ = null; - } - oneOrderByCase_ = 1; - onChanged(); - ; - return metricBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy, - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.Builder, - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderByOrBuilder> - dimensionBuilder_; - /** - * - * - *
-     * Sorts results by a dimension's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - * - * @return Whether the dimension field is set. - */ - @java.lang.Override - public boolean hasDimension() { - return oneOrderByCase_ == 2; - } - /** - * - * - *
-     * Sorts results by a dimension's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - * - * @return The dimension. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy getDimension() { - if (dimensionBuilder_ == null) { - if (oneOrderByCase_ == 2) { - return (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.getDefaultInstance(); - } else { - if (oneOrderByCase_ == 2) { - return dimensionBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.getDefaultInstance(); - } - } - /** - * - * - *
-     * Sorts results by a dimension's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - */ - public Builder setDimension(com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy value) { - if (dimensionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oneOrderBy_ = value; - onChanged(); - } else { - dimensionBuilder_.setMessage(value); - } - oneOrderByCase_ = 2; - return this; - } - /** - * - * - *
-     * Sorts results by a dimension's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - */ - public Builder setDimension( - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.Builder builderForValue) { - if (dimensionBuilder_ == null) { - oneOrderBy_ = builderForValue.build(); - onChanged(); - } else { - dimensionBuilder_.setMessage(builderForValue.build()); - } - oneOrderByCase_ = 2; - return this; - } - /** - * - * - *
-     * Sorts results by a dimension's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - */ - public Builder mergeDimension( - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy value) { - if (dimensionBuilder_ == null) { - if (oneOrderByCase_ == 2 - && oneOrderBy_ - != com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy - .getDefaultInstance()) { - oneOrderBy_ = - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.newBuilder( - (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) oneOrderBy_) - .mergeFrom(value) - .buildPartial(); - } else { - oneOrderBy_ = value; - } - onChanged(); - } else { - if (oneOrderByCase_ == 2) { - dimensionBuilder_.mergeFrom(value); - } - dimensionBuilder_.setMessage(value); - } - oneOrderByCase_ = 2; - return this; - } - /** - * - * - *
-     * Sorts results by a dimension's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - */ - public Builder clearDimension() { - if (dimensionBuilder_ == null) { - if (oneOrderByCase_ == 2) { - oneOrderByCase_ = 0; - oneOrderBy_ = null; - onChanged(); - } - } else { - if (oneOrderByCase_ == 2) { - oneOrderByCase_ = 0; - oneOrderBy_ = null; - } - dimensionBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Sorts results by a dimension's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - */ - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.Builder - getDimensionBuilder() { - return getDimensionFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Sorts results by a dimension's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.DimensionOrderByOrBuilder - getDimensionOrBuilder() { - if ((oneOrderByCase_ == 2) && (dimensionBuilder_ != null)) { - return dimensionBuilder_.getMessageOrBuilder(); - } else { - if (oneOrderByCase_ == 2) { - return (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.getDefaultInstance(); - } - } - /** - * - * - *
-     * Sorts results by a dimension's values.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy, - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.Builder, - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderByOrBuilder> - getDimensionFieldBuilder() { - if (dimensionBuilder_ == null) { - if (!(oneOrderByCase_ == 2)) { - oneOrderBy_ = - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.getDefaultInstance(); - } - dimensionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy, - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy.Builder, - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderByOrBuilder>( - (com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy) oneOrderBy_, - getParentForChildren(), - isClean()); - oneOrderBy_ = null; - } - oneOrderByCase_ = 2; - onChanged(); - ; - return dimensionBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.Builder, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderByOrBuilder> - pivotBuilder_; - /** - * - * - *
-     * Sorts results by a metric's values within a pivot column group.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - * - * @return Whether the pivot field is set. - */ - @java.lang.Override - public boolean hasPivot() { - return oneOrderByCase_ == 3; - } - /** - * - * - *
-     * Sorts results by a metric's values within a pivot column group.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - * - * @return The pivot. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy getPivot() { - if (pivotBuilder_ == null) { - if (oneOrderByCase_ == 3) { - return (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.getDefaultInstance(); - } else { - if (oneOrderByCase_ == 3) { - return pivotBuilder_.getMessage(); - } - return com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.getDefaultInstance(); - } - } - /** - * - * - *
-     * Sorts results by a metric's values within a pivot column group.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - */ - public Builder setPivot(com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy value) { - if (pivotBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oneOrderBy_ = value; - onChanged(); - } else { - pivotBuilder_.setMessage(value); - } - oneOrderByCase_ = 3; - return this; - } - /** - * - * - *
-     * Sorts results by a metric's values within a pivot column group.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - */ - public Builder setPivot( - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.Builder builderForValue) { - if (pivotBuilder_ == null) { - oneOrderBy_ = builderForValue.build(); - onChanged(); - } else { - pivotBuilder_.setMessage(builderForValue.build()); - } - oneOrderByCase_ = 3; - return this; - } - /** - * - * - *
-     * Sorts results by a metric's values within a pivot column group.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - */ - public Builder mergePivot(com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy value) { - if (pivotBuilder_ == null) { - if (oneOrderByCase_ == 3 - && oneOrderBy_ - != com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.getDefaultInstance()) { - oneOrderBy_ = - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.newBuilder( - (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) oneOrderBy_) - .mergeFrom(value) - .buildPartial(); - } else { - oneOrderBy_ = value; - } - onChanged(); - } else { - if (oneOrderByCase_ == 3) { - pivotBuilder_.mergeFrom(value); - } - pivotBuilder_.setMessage(value); - } - oneOrderByCase_ = 3; - return this; - } - /** - * - * - *
-     * Sorts results by a metric's values within a pivot column group.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - */ - public Builder clearPivot() { - if (pivotBuilder_ == null) { - if (oneOrderByCase_ == 3) { - oneOrderByCase_ = 0; - oneOrderBy_ = null; - onChanged(); - } - } else { - if (oneOrderByCase_ == 3) { - oneOrderByCase_ = 0; - oneOrderBy_ = null; - } - pivotBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Sorts results by a metric's values within a pivot column group.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - */ - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.Builder getPivotBuilder() { - return getPivotFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Sorts results by a metric's values within a pivot column group.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy.PivotOrderByOrBuilder getPivotOrBuilder() { - if ((oneOrderByCase_ == 3) && (pivotBuilder_ != null)) { - return pivotBuilder_.getMessageOrBuilder(); - } else { - if (oneOrderByCase_ == 3) { - return (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) oneOrderBy_; - } - return com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.getDefaultInstance(); - } - } - /** - * - * - *
-     * Sorts results by a metric's values within a pivot column group.
-     * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.Builder, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderByOrBuilder> - getPivotFieldBuilder() { - if (pivotBuilder_ == null) { - if (!(oneOrderByCase_ == 3)) { - oneOrderBy_ = com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.getDefaultInstance(); - } - pivotBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy.Builder, - com.google.analytics.data.v1alpha.OrderBy.PivotOrderByOrBuilder>( - (com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy) oneOrderBy_, - getParentForChildren(), - isClean()); - oneOrderBy_ = null; - } - oneOrderByCase_ = 3; - onChanged(); - ; - return pivotBuilder_; - } - - private boolean desc_; - /** - * - * - *
-     * If true, sorts by descending order.
-     * 
- * - * bool desc = 4; - * - * @return The desc. - */ - @java.lang.Override - public boolean getDesc() { - return desc_; - } - /** - * - * - *
-     * If true, sorts by descending order.
-     * 
- * - * bool desc = 4; - * - * @param value The desc to set. - * @return This builder for chaining. - */ - public Builder setDesc(boolean value) { - - desc_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * If true, sorts by descending order.
-     * 
- * - * bool desc = 4; - * - * @return This builder for chaining. - */ - public Builder clearDesc() { - - desc_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.OrderBy) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.OrderBy) - private static final com.google.analytics.data.v1alpha.OrderBy DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.OrderBy(); - } - - public static com.google.analytics.data.v1alpha.OrderBy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OrderBy(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/OrderByOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/OrderByOrBuilder.java deleted file mode 100644 index c3d3050c..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/OrderByOrBuilder.java +++ /dev/null @@ -1,145 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface OrderByOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.OrderBy) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Sorts results by a metric's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - * - * @return Whether the metric field is set. - */ - boolean hasMetric(); - /** - * - * - *
-   * Sorts results by a metric's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - * - * @return The metric. - */ - com.google.analytics.data.v1alpha.OrderBy.MetricOrderBy getMetric(); - /** - * - * - *
-   * Sorts results by a metric's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.MetricOrderBy metric = 1; - */ - com.google.analytics.data.v1alpha.OrderBy.MetricOrderByOrBuilder getMetricOrBuilder(); - - /** - * - * - *
-   * Sorts results by a dimension's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - * - * @return Whether the dimension field is set. - */ - boolean hasDimension(); - /** - * - * - *
-   * Sorts results by a dimension's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - * - * @return The dimension. - */ - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderBy getDimension(); - /** - * - * - *
-   * Sorts results by a dimension's values.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.DimensionOrderBy dimension = 2; - */ - com.google.analytics.data.v1alpha.OrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder(); - - /** - * - * - *
-   * Sorts results by a metric's values within a pivot column group.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - * - * @return Whether the pivot field is set. - */ - boolean hasPivot(); - /** - * - * - *
-   * Sorts results by a metric's values within a pivot column group.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - * - * @return The pivot. - */ - com.google.analytics.data.v1alpha.OrderBy.PivotOrderBy getPivot(); - /** - * - * - *
-   * Sorts results by a metric's values within a pivot column group.
-   * 
- * - * .google.analytics.data.v1alpha.OrderBy.PivotOrderBy pivot = 3; - */ - com.google.analytics.data.v1alpha.OrderBy.PivotOrderByOrBuilder getPivotOrBuilder(); - - /** - * - * - *
-   * If true, sorts by descending order.
-   * 
- * - * bool desc = 4; - * - * @return The desc. - */ - boolean getDesc(); - - public com.google.analytics.data.v1alpha.OrderBy.OneOrderByCase getOneOrderByCase(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Pivot.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Pivot.java deleted file mode 100644 index caec7ab7..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Pivot.java +++ /dev/null @@ -1,1963 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Describes the visible dimension columns and rows in the report response.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Pivot} - */ -public final class Pivot extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Pivot) - PivotOrBuilder { - private static final long serialVersionUID = 0L; - // Use Pivot.newBuilder() to construct. - private Pivot(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Pivot() { - fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - orderBys_ = java.util.Collections.emptyList(); - metricAggregations_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Pivot(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Pivot( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fieldNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - fieldNames_.add(s); - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - orderBys_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - orderBys_.add( - input.readMessage( - com.google.analytics.data.v1alpha.OrderBy.parser(), extensionRegistry)); - break; - } - case 24: - { - offset_ = input.readInt64(); - break; - } - case 32: - { - limit_ = input.readInt64(); - break; - } - case 40: - { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - metricAggregations_.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_ & 0x00000004) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - metricAggregations_.add(rawValue); - } - input.popLimit(oldLimit); - 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - fieldNames_ = fieldNames_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - orderBys_ = java.util.Collections.unmodifiableList(orderBys_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = java.util.Collections.unmodifiableList(metricAggregations_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Pivot_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Pivot_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Pivot.class, - com.google.analytics.data.v1alpha.Pivot.Builder.class); - } - - public static final int FIELD_NAMES_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList fieldNames_; - /** - * - * - *
-   * Dimension names for visible columns in the report response. Including
-   * "dateRange" produces a date range column; for each row in the response,
-   * dimension values in the date range column will indicate the corresponding
-   * date range from the request.
-   * 
- * - * repeated string field_names = 1; - * - * @return A list containing the fieldNames. - */ - public com.google.protobuf.ProtocolStringList getFieldNamesList() { - return fieldNames_; - } - /** - * - * - *
-   * Dimension names for visible columns in the report response. Including
-   * "dateRange" produces a date range column; for each row in the response,
-   * dimension values in the date range column will indicate the corresponding
-   * date range from the request.
-   * 
- * - * repeated string field_names = 1; - * - * @return The count of fieldNames. - */ - public int getFieldNamesCount() { - return fieldNames_.size(); - } - /** - * - * - *
-   * Dimension names for visible columns in the report response. Including
-   * "dateRange" produces a date range column; for each row in the response,
-   * dimension values in the date range column will indicate the corresponding
-   * date range from the request.
-   * 
- * - * repeated string field_names = 1; - * - * @param index The index of the element to return. - * @return The fieldNames at the given index. - */ - public java.lang.String getFieldNames(int index) { - return fieldNames_.get(index); - } - /** - * - * - *
-   * Dimension names for visible columns in the report response. Including
-   * "dateRange" produces a date range column; for each row in the response,
-   * dimension values in the date range column will indicate the corresponding
-   * date range from the request.
-   * 
- * - * repeated string field_names = 1; - * - * @param index The index of the value to return. - * @return The bytes of the fieldNames at the given index. - */ - public com.google.protobuf.ByteString getFieldNamesBytes(int index) { - return fieldNames_.getByteString(index); - } - - public static final int ORDER_BYS_FIELD_NUMBER = 2; - private java.util.List orderBys_; - /** - * - * - *
-   * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-   * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-   * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-   * Dimensions specified in these OrderBys must be a subset of
-   * Pivot.field_names.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - @java.lang.Override - public java.util.List getOrderBysList() { - return orderBys_; - } - /** - * - * - *
-   * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-   * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-   * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-   * Dimensions specified in these OrderBys must be a subset of
-   * Pivot.field_names.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - @java.lang.Override - public java.util.List - getOrderBysOrBuilderList() { - return orderBys_; - } - /** - * - * - *
-   * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-   * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-   * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-   * Dimensions specified in these OrderBys must be a subset of
-   * Pivot.field_names.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - @java.lang.Override - public int getOrderBysCount() { - return orderBys_.size(); - } - /** - * - * - *
-   * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-   * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-   * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-   * Dimensions specified in these OrderBys must be a subset of
-   * Pivot.field_names.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy getOrderBys(int index) { - return orderBys_.get(index); - } - /** - * - * - *
-   * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-   * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-   * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-   * Dimensions specified in these OrderBys must be a subset of
-   * Pivot.field_names.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderByOrBuilder getOrderBysOrBuilder(int index) { - return orderBys_.get(index); - } - - public static final int OFFSET_FIELD_NUMBER = 3; - private long offset_; - /** - * - * - *
-   * The row count of the start row. The first row is counted as row 0.
-   * 
- * - * int64 offset = 3; - * - * @return The offset. - */ - @java.lang.Override - public long getOffset() { - return offset_; - } - - public static final int LIMIT_FIELD_NUMBER = 4; - private long limit_; - /** - * - * - *
-   * The number of rows to return in this pivot. If unspecified, 10 rows are
-   * returned. If -1, all rows are returned.
-   * 
- * - * int64 limit = 4; - * - * @return The limit. - */ - @java.lang.Override - public long getLimit() { - return limit_; - } - - public static final int METRIC_AGGREGATIONS_FIELD_NUMBER = 5; - private java.util.List metricAggregations_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation> - metricAggregations_converter_ = - new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation>() { - public com.google.analytics.data.v1alpha.MetricAggregation convert( - java.lang.Integer from) { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.MetricAggregation result = - com.google.analytics.data.v1alpha.MetricAggregation.valueOf(from); - return result == null - ? com.google.analytics.data.v1alpha.MetricAggregation.UNRECOGNIZED - : result; - } - }; - /** - * - * - *
-   * Aggregate the metrics by dimensions in this pivot using the specified
-   * metric_aggregations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * @return A list containing the metricAggregations. - */ - @java.lang.Override - public java.util.List - getMetricAggregationsList() { - return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); - } - /** - * - * - *
-   * Aggregate the metrics by dimensions in this pivot using the specified
-   * metric_aggregations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * @return The count of metricAggregations. - */ - @java.lang.Override - public int getMetricAggregationsCount() { - return metricAggregations_.size(); - } - /** - * - * - *
-   * Aggregate the metrics by dimensions in this pivot using the specified
-   * metric_aggregations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * @param index The index of the element to return. - * @return The metricAggregations at the given index. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricAggregation getMetricAggregations(int index) { - return metricAggregations_converter_.convert(metricAggregations_.get(index)); - } - /** - * - * - *
-   * Aggregate the metrics by dimensions in this pivot using the specified
-   * metric_aggregations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * @return A list containing the enum numeric values on the wire for metricAggregations. - */ - @java.lang.Override - public java.util.List getMetricAggregationsValueList() { - return metricAggregations_; - } - /** - * - * - *
-   * Aggregate the metrics by dimensions in this pivot using the specified
-   * metric_aggregations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - */ - @java.lang.Override - public int getMetricAggregationsValue(int index) { - return metricAggregations_.get(index); - } - - private int metricAggregationsMemoizedSerializedSize; - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - for (int i = 0; i < fieldNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldNames_.getRaw(i)); - } - for (int i = 0; i < orderBys_.size(); i++) { - output.writeMessage(2, orderBys_.get(i)); - } - if (offset_ != 0L) { - output.writeInt64(3, offset_); - } - if (limit_ != 0L) { - output.writeInt64(4, limit_); - } - if (getMetricAggregationsList().size() > 0) { - output.writeUInt32NoTag(42); - output.writeUInt32NoTag(metricAggregationsMemoizedSerializedSize); - } - for (int i = 0; i < metricAggregations_.size(); i++) { - output.writeEnumNoTag(metricAggregations_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < fieldNames_.size(); i++) { - dataSize += computeStringSizeNoTag(fieldNames_.getRaw(i)); - } - size += dataSize; - size += 1 * getFieldNamesList().size(); - } - for (int i = 0; i < orderBys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, orderBys_.get(i)); - } - if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, offset_); - } - if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, limit_); - } - { - int dataSize = 0; - for (int i = 0; i < metricAggregations_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(metricAggregations_.get(i)); - } - size += dataSize; - if (!getMetricAggregationsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - metricAggregationsMemoizedSerializedSize = dataSize; - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Pivot)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Pivot other = (com.google.analytics.data.v1alpha.Pivot) obj; - - if (!getFieldNamesList().equals(other.getFieldNamesList())) return false; - if (!getOrderBysList().equals(other.getOrderBysList())) return false; - if (getOffset() != other.getOffset()) return false; - if (getLimit() != other.getLimit()) return false; - if (!metricAggregations_.equals(other.metricAggregations_)) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getFieldNamesCount() > 0) { - hash = (37 * hash) + FIELD_NAMES_FIELD_NUMBER; - hash = (53 * hash) + getFieldNamesList().hashCode(); - } - if (getOrderBysCount() > 0) { - hash = (37 * hash) + ORDER_BYS_FIELD_NUMBER; - hash = (53 * hash) + getOrderBysList().hashCode(); - } - hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); - if (getMetricAggregationsCount() > 0) { - hash = (37 * hash) + METRIC_AGGREGATIONS_FIELD_NUMBER; - hash = (53 * hash) + metricAggregations_.hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Pivot parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Pivot parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Pivot parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Pivot parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Pivot parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Pivot parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Pivot parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Pivot parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Pivot parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Pivot parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Pivot parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Pivot parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.Pivot prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Describes the visible dimension columns and rows in the report response.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Pivot} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Pivot) - com.google.analytics.data.v1alpha.PivotOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Pivot_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Pivot_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Pivot.class, - com.google.analytics.data.v1alpha.Pivot.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Pivot.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getOrderBysFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - if (orderBysBuilder_ == null) { - orderBys_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - orderBysBuilder_.clear(); - } - offset_ = 0L; - - limit_ = 0L; - - metricAggregations_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Pivot_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Pivot getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Pivot.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Pivot build() { - com.google.analytics.data.v1alpha.Pivot result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Pivot buildPartial() { - com.google.analytics.data.v1alpha.Pivot result = - new com.google.analytics.data.v1alpha.Pivot(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - fieldNames_ = fieldNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.fieldNames_ = fieldNames_; - if (orderBysBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - orderBys_ = java.util.Collections.unmodifiableList(orderBys_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.orderBys_ = orderBys_; - } else { - result.orderBys_ = orderBysBuilder_.build(); - } - result.offset_ = offset_; - result.limit_ = limit_; - if (((bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = java.util.Collections.unmodifiableList(metricAggregations_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.metricAggregations_ = metricAggregations_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Pivot) { - return mergeFrom((com.google.analytics.data.v1alpha.Pivot) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Pivot other) { - if (other == com.google.analytics.data.v1alpha.Pivot.getDefaultInstance()) return this; - if (!other.fieldNames_.isEmpty()) { - if (fieldNames_.isEmpty()) { - fieldNames_ = other.fieldNames_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureFieldNamesIsMutable(); - fieldNames_.addAll(other.fieldNames_); - } - onChanged(); - } - if (orderBysBuilder_ == null) { - if (!other.orderBys_.isEmpty()) { - if (orderBys_.isEmpty()) { - orderBys_ = other.orderBys_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureOrderBysIsMutable(); - orderBys_.addAll(other.orderBys_); - } - onChanged(); - } - } else { - if (!other.orderBys_.isEmpty()) { - if (orderBysBuilder_.isEmpty()) { - orderBysBuilder_.dispose(); - orderBysBuilder_ = null; - orderBys_ = other.orderBys_; - bitField0_ = (bitField0_ & ~0x00000002); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOrderBysFieldBuilder() - : null; - } else { - orderBysBuilder_.addAllMessages(other.orderBys_); - } - } - } - if (other.getOffset() != 0L) { - setOffset(other.getOffset()); - } - if (other.getLimit() != 0L) { - setLimit(other.getLimit()); - } - if (!other.metricAggregations_.isEmpty()) { - if (metricAggregations_.isEmpty()) { - metricAggregations_ = other.metricAggregations_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureMetricAggregationsIsMutable(); - metricAggregations_.addAll(other.metricAggregations_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Pivot parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.Pivot) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList fieldNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureFieldNamesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - fieldNames_ = new com.google.protobuf.LazyStringArrayList(fieldNames_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
-     * Dimension names for visible columns in the report response. Including
-     * "dateRange" produces a date range column; for each row in the response,
-     * dimension values in the date range column will indicate the corresponding
-     * date range from the request.
-     * 
- * - * repeated string field_names = 1; - * - * @return A list containing the fieldNames. - */ - public com.google.protobuf.ProtocolStringList getFieldNamesList() { - return fieldNames_.getUnmodifiableView(); - } - /** - * - * - *
-     * Dimension names for visible columns in the report response. Including
-     * "dateRange" produces a date range column; for each row in the response,
-     * dimension values in the date range column will indicate the corresponding
-     * date range from the request.
-     * 
- * - * repeated string field_names = 1; - * - * @return The count of fieldNames. - */ - public int getFieldNamesCount() { - return fieldNames_.size(); - } - /** - * - * - *
-     * Dimension names for visible columns in the report response. Including
-     * "dateRange" produces a date range column; for each row in the response,
-     * dimension values in the date range column will indicate the corresponding
-     * date range from the request.
-     * 
- * - * repeated string field_names = 1; - * - * @param index The index of the element to return. - * @return The fieldNames at the given index. - */ - public java.lang.String getFieldNames(int index) { - return fieldNames_.get(index); - } - /** - * - * - *
-     * Dimension names for visible columns in the report response. Including
-     * "dateRange" produces a date range column; for each row in the response,
-     * dimension values in the date range column will indicate the corresponding
-     * date range from the request.
-     * 
- * - * repeated string field_names = 1; - * - * @param index The index of the value to return. - * @return The bytes of the fieldNames at the given index. - */ - public com.google.protobuf.ByteString getFieldNamesBytes(int index) { - return fieldNames_.getByteString(index); - } - /** - * - * - *
-     * Dimension names for visible columns in the report response. Including
-     * "dateRange" produces a date range column; for each row in the response,
-     * dimension values in the date range column will indicate the corresponding
-     * date range from the request.
-     * 
- * - * repeated string field_names = 1; - * - * @param index The index to set the value at. - * @param value The fieldNames to set. - * @return This builder for chaining. - */ - public Builder setFieldNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFieldNamesIsMutable(); - fieldNames_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
-     * Dimension names for visible columns in the report response. Including
-     * "dateRange" produces a date range column; for each row in the response,
-     * dimension values in the date range column will indicate the corresponding
-     * date range from the request.
-     * 
- * - * repeated string field_names = 1; - * - * @param value The fieldNames to add. - * @return This builder for chaining. - */ - public Builder addFieldNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureFieldNamesIsMutable(); - fieldNames_.add(value); - onChanged(); - return this; - } - /** - * - * - *
-     * Dimension names for visible columns in the report response. Including
-     * "dateRange" produces a date range column; for each row in the response,
-     * dimension values in the date range column will indicate the corresponding
-     * date range from the request.
-     * 
- * - * repeated string field_names = 1; - * - * @param values The fieldNames to add. - * @return This builder for chaining. - */ - public Builder addAllFieldNames(java.lang.Iterable values) { - ensureFieldNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldNames_); - onChanged(); - return this; - } - /** - * - * - *
-     * Dimension names for visible columns in the report response. Including
-     * "dateRange" produces a date range column; for each row in the response,
-     * dimension values in the date range column will indicate the corresponding
-     * date range from the request.
-     * 
- * - * repeated string field_names = 1; - * - * @return This builder for chaining. - */ - public Builder clearFieldNames() { - fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-     * Dimension names for visible columns in the report response. Including
-     * "dateRange" produces a date range column; for each row in the response,
-     * dimension values in the date range column will indicate the corresponding
-     * date range from the request.
-     * 
- * - * repeated string field_names = 1; - * - * @param value The bytes of the fieldNames to add. - * @return This builder for chaining. - */ - public Builder addFieldNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureFieldNamesIsMutable(); - fieldNames_.add(value); - onChanged(); - return this; - } - - private java.util.List orderBys_ = - java.util.Collections.emptyList(); - - private void ensureOrderBysIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - orderBys_ = new java.util.ArrayList(orderBys_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy, - com.google.analytics.data.v1alpha.OrderBy.Builder, - com.google.analytics.data.v1alpha.OrderByOrBuilder> - orderBysBuilder_; - - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public java.util.List getOrderBysList() { - if (orderBysBuilder_ == null) { - return java.util.Collections.unmodifiableList(orderBys_); - } else { - return orderBysBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public int getOrderBysCount() { - if (orderBysBuilder_ == null) { - return orderBys_.size(); - } else { - return orderBysBuilder_.getCount(); - } - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public com.google.analytics.data.v1alpha.OrderBy getOrderBys(int index) { - if (orderBysBuilder_ == null) { - return orderBys_.get(index); - } else { - return orderBysBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public Builder setOrderBys(int index, com.google.analytics.data.v1alpha.OrderBy value) { - if (orderBysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOrderBysIsMutable(); - orderBys_.set(index, value); - onChanged(); - } else { - orderBysBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public Builder setOrderBys( - int index, com.google.analytics.data.v1alpha.OrderBy.Builder builderForValue) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.set(index, builderForValue.build()); - onChanged(); - } else { - orderBysBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public Builder addOrderBys(com.google.analytics.data.v1alpha.OrderBy value) { - if (orderBysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOrderBysIsMutable(); - orderBys_.add(value); - onChanged(); - } else { - orderBysBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public Builder addOrderBys(int index, com.google.analytics.data.v1alpha.OrderBy value) { - if (orderBysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOrderBysIsMutable(); - orderBys_.add(index, value); - onChanged(); - } else { - orderBysBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public Builder addOrderBys(com.google.analytics.data.v1alpha.OrderBy.Builder builderForValue) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.add(builderForValue.build()); - onChanged(); - } else { - orderBysBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public Builder addOrderBys( - int index, com.google.analytics.data.v1alpha.OrderBy.Builder builderForValue) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.add(index, builderForValue.build()); - onChanged(); - } else { - orderBysBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public Builder addAllOrderBys( - java.lang.Iterable values) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_); - onChanged(); - } else { - orderBysBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public Builder clearOrderBys() { - if (orderBysBuilder_ == null) { - orderBys_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - orderBysBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public Builder removeOrderBys(int index) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.remove(index); - onChanged(); - } else { - orderBysBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public com.google.analytics.data.v1alpha.OrderBy.Builder getOrderBysBuilder(int index) { - return getOrderBysFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public com.google.analytics.data.v1alpha.OrderByOrBuilder getOrderBysOrBuilder(int index) { - if (orderBysBuilder_ == null) { - return orderBys_.get(index); - } else { - return orderBysBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public java.util.List - getOrderBysOrBuilderList() { - if (orderBysBuilder_ != null) { - return orderBysBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(orderBys_); - } - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public com.google.analytics.data.v1alpha.OrderBy.Builder addOrderBysBuilder() { - return getOrderBysFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.OrderBy.getDefaultInstance()); - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public com.google.analytics.data.v1alpha.OrderBy.Builder addOrderBysBuilder(int index) { - return getOrderBysFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.OrderBy.getDefaultInstance()); - } - /** - * - * - *
-     * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-     * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-     * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-     * Dimensions specified in these OrderBys must be a subset of
-     * Pivot.field_names.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - public java.util.List - getOrderBysBuilderList() { - return getOrderBysFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy, - com.google.analytics.data.v1alpha.OrderBy.Builder, - com.google.analytics.data.v1alpha.OrderByOrBuilder> - getOrderBysFieldBuilder() { - if (orderBysBuilder_ == null) { - orderBysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy, - com.google.analytics.data.v1alpha.OrderBy.Builder, - com.google.analytics.data.v1alpha.OrderByOrBuilder>( - orderBys_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - orderBys_ = null; - } - return orderBysBuilder_; - } - - private long offset_; - /** - * - * - *
-     * The row count of the start row. The first row is counted as row 0.
-     * 
- * - * int64 offset = 3; - * - * @return The offset. - */ - @java.lang.Override - public long getOffset() { - return offset_; - } - /** - * - * - *
-     * The row count of the start row. The first row is counted as row 0.
-     * 
- * - * int64 offset = 3; - * - * @param value The offset to set. - * @return This builder for chaining. - */ - public Builder setOffset(long value) { - - offset_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The row count of the start row. The first row is counted as row 0.
-     * 
- * - * int64 offset = 3; - * - * @return This builder for chaining. - */ - public Builder clearOffset() { - - offset_ = 0L; - onChanged(); - return this; - } - - private long limit_; - /** - * - * - *
-     * The number of rows to return in this pivot. If unspecified, 10 rows are
-     * returned. If -1, all rows are returned.
-     * 
- * - * int64 limit = 4; - * - * @return The limit. - */ - @java.lang.Override - public long getLimit() { - return limit_; - } - /** - * - * - *
-     * The number of rows to return in this pivot. If unspecified, 10 rows are
-     * returned. If -1, all rows are returned.
-     * 
- * - * int64 limit = 4; - * - * @param value The limit to set. - * @return This builder for chaining. - */ - public Builder setLimit(long value) { - - limit_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The number of rows to return in this pivot. If unspecified, 10 rows are
-     * returned. If -1, all rows are returned.
-     * 
- * - * int64 limit = 4; - * - * @return This builder for chaining. - */ - public Builder clearLimit() { - - limit_ = 0L; - onChanged(); - return this; - } - - private java.util.List metricAggregations_ = - java.util.Collections.emptyList(); - - private void ensureMetricAggregationsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = new java.util.ArrayList(metricAggregations_); - bitField0_ |= 0x00000004; - } - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @return A list containing the metricAggregations. - */ - public java.util.List - getMetricAggregationsList() { - return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @return The count of metricAggregations. - */ - public int getMetricAggregationsCount() { - return metricAggregations_.size(); - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @param index The index of the element to return. - * @return The metricAggregations at the given index. - */ - public com.google.analytics.data.v1alpha.MetricAggregation getMetricAggregations(int index) { - return metricAggregations_converter_.convert(metricAggregations_.get(index)); - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @param index The index to set the value at. - * @param value The metricAggregations to set. - * @return This builder for chaining. - */ - public Builder setMetricAggregations( - int index, com.google.analytics.data.v1alpha.MetricAggregation value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricAggregationsIsMutable(); - metricAggregations_.set(index, value.getNumber()); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @param value The metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addMetricAggregations( - com.google.analytics.data.v1alpha.MetricAggregation value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricAggregationsIsMutable(); - metricAggregations_.add(value.getNumber()); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @param values The metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addAllMetricAggregations( - java.lang.Iterable values) { - ensureMetricAggregationsIsMutable(); - for (com.google.analytics.data.v1alpha.MetricAggregation value : values) { - metricAggregations_.add(value.getNumber()); - } - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @return This builder for chaining. - */ - public Builder clearMetricAggregations() { - metricAggregations_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @return A list containing the enum numeric values on the wire for metricAggregations. - */ - public java.util.List getMetricAggregationsValueList() { - return java.util.Collections.unmodifiableList(metricAggregations_); - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - */ - public int getMetricAggregationsValue(int index) { - return metricAggregations_.get(index); - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - * @return This builder for chaining. - */ - public Builder setMetricAggregationsValue(int index, int value) { - ensureMetricAggregationsIsMutable(); - metricAggregations_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @param value The enum numeric value on the wire for metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addMetricAggregationsValue(int value) { - ensureMetricAggregationsIsMutable(); - metricAggregations_.add(value); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregate the metrics by dimensions in this pivot using the specified
-     * metric_aggregations.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * - * @param values The enum numeric values on the wire for metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addAllMetricAggregationsValue(java.lang.Iterable values) { - ensureMetricAggregationsIsMutable(); - for (int value : values) { - metricAggregations_.add(value); - } - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Pivot) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Pivot) - private static final com.google.analytics.data.v1alpha.Pivot DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Pivot(); - } - - public static com.google.analytics.data.v1alpha.Pivot getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Pivot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Pivot(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Pivot getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotDimensionHeader.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotDimensionHeader.java deleted file mode 100644 index ff406ded..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotDimensionHeader.java +++ /dev/null @@ -1,965 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Summarizes dimension values from a row for this pivot.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.PivotDimensionHeader} - */ -public final class PivotDimensionHeader extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.PivotDimensionHeader) - PivotDimensionHeaderOrBuilder { - private static final long serialVersionUID = 0L; - // Use PivotDimensionHeader.newBuilder() to construct. - private PivotDimensionHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PivotDimensionHeader() { - dimensionValues_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PivotDimensionHeader(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private PivotDimensionHeader( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensionValues_.add( - input.readMessage( - com.google.analytics.data.v1alpha.DimensionValue.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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = java.util.Collections.unmodifiableList(dimensionValues_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PivotDimensionHeader_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PivotDimensionHeader_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.PivotDimensionHeader.class, - com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder.class); - } - - public static final int DIMENSION_VALUES_FIELD_NUMBER = 1; - private java.util.List dimensionValues_; - /** - * - * - *
-   * Values of multiple dimensions in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - @java.lang.Override - public java.util.List getDimensionValuesList() { - return dimensionValues_; - } - /** - * - * - *
-   * Values of multiple dimensions in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - @java.lang.Override - public java.util.List - getDimensionValuesOrBuilderList() { - return dimensionValues_; - } - /** - * - * - *
-   * Values of multiple dimensions in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - @java.lang.Override - public int getDimensionValuesCount() { - return dimensionValues_.size(); - } - /** - * - * - *
-   * Values of multiple dimensions in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionValue getDimensionValues(int index) { - return dimensionValues_.get(index); - } - /** - * - * - *
-   * Values of multiple dimensions in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionValueOrBuilder getDimensionValuesOrBuilder( - int index) { - return dimensionValues_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < dimensionValues_.size(); i++) { - output.writeMessage(1, dimensionValues_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < dimensionValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionValues_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.PivotDimensionHeader)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.PivotDimensionHeader other = - (com.google.analytics.data.v1alpha.PivotDimensionHeader) obj; - - if (!getDimensionValuesList().equals(other.getDimensionValuesList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getDimensionValuesCount() > 0) { - hash = (37 * hash) + DIMENSION_VALUES_FIELD_NUMBER; - hash = (53 * hash) + getDimensionValuesList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.PivotDimensionHeader prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Summarizes dimension values from a row for this pivot.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.PivotDimensionHeader} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.PivotDimensionHeader) - com.google.analytics.data.v1alpha.PivotDimensionHeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PivotDimensionHeader_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PivotDimensionHeader_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.PivotDimensionHeader.class, - com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.PivotDimensionHeader.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getDimensionValuesFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (dimensionValuesBuilder_ == null) { - dimensionValues_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - dimensionValuesBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PivotDimensionHeader_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotDimensionHeader getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.PivotDimensionHeader.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotDimensionHeader build() { - com.google.analytics.data.v1alpha.PivotDimensionHeader result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotDimensionHeader buildPartial() { - com.google.analytics.data.v1alpha.PivotDimensionHeader result = - new com.google.analytics.data.v1alpha.PivotDimensionHeader(this); - int from_bitField0_ = bitField0_; - if (dimensionValuesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = java.util.Collections.unmodifiableList(dimensionValues_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dimensionValues_ = dimensionValues_; - } else { - result.dimensionValues_ = dimensionValuesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.PivotDimensionHeader) { - return mergeFrom((com.google.analytics.data.v1alpha.PivotDimensionHeader) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.PivotDimensionHeader other) { - if (other == com.google.analytics.data.v1alpha.PivotDimensionHeader.getDefaultInstance()) - return this; - if (dimensionValuesBuilder_ == null) { - if (!other.dimensionValues_.isEmpty()) { - if (dimensionValues_.isEmpty()) { - dimensionValues_ = other.dimensionValues_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDimensionValuesIsMutable(); - dimensionValues_.addAll(other.dimensionValues_); - } - onChanged(); - } - } else { - if (!other.dimensionValues_.isEmpty()) { - if (dimensionValuesBuilder_.isEmpty()) { - dimensionValuesBuilder_.dispose(); - dimensionValuesBuilder_ = null; - dimensionValues_ = other.dimensionValues_; - bitField0_ = (bitField0_ & ~0x00000001); - dimensionValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionValuesFieldBuilder() - : null; - } else { - dimensionValuesBuilder_.addAllMessages(other.dimensionValues_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.PivotDimensionHeader parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.PivotDimensionHeader) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List dimensionValues_ = - java.util.Collections.emptyList(); - - private void ensureDimensionValuesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = - new java.util.ArrayList( - dimensionValues_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionValue, - com.google.analytics.data.v1alpha.DimensionValue.Builder, - com.google.analytics.data.v1alpha.DimensionValueOrBuilder> - dimensionValuesBuilder_; - - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public java.util.List - getDimensionValuesList() { - if (dimensionValuesBuilder_ == null) { - return java.util.Collections.unmodifiableList(dimensionValues_); - } else { - return dimensionValuesBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public int getDimensionValuesCount() { - if (dimensionValuesBuilder_ == null) { - return dimensionValues_.size(); - } else { - return dimensionValuesBuilder_.getCount(); - } - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public com.google.analytics.data.v1alpha.DimensionValue getDimensionValues(int index) { - if (dimensionValuesBuilder_ == null) { - return dimensionValues_.get(index); - } else { - return dimensionValuesBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder setDimensionValues( - int index, com.google.analytics.data.v1alpha.DimensionValue value) { - if (dimensionValuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionValuesIsMutable(); - dimensionValues_.set(index, value); - onChanged(); - } else { - dimensionValuesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder setDimensionValues( - int index, com.google.analytics.data.v1alpha.DimensionValue.Builder builderForValue) { - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.set(index, builderForValue.build()); - onChanged(); - } else { - dimensionValuesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder addDimensionValues(com.google.analytics.data.v1alpha.DimensionValue value) { - if (dimensionValuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionValuesIsMutable(); - dimensionValues_.add(value); - onChanged(); - } else { - dimensionValuesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder addDimensionValues( - int index, com.google.analytics.data.v1alpha.DimensionValue value) { - if (dimensionValuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionValuesIsMutable(); - dimensionValues_.add(index, value); - onChanged(); - } else { - dimensionValuesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder addDimensionValues( - com.google.analytics.data.v1alpha.DimensionValue.Builder builderForValue) { - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.add(builderForValue.build()); - onChanged(); - } else { - dimensionValuesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder addDimensionValues( - int index, com.google.analytics.data.v1alpha.DimensionValue.Builder builderForValue) { - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.add(index, builderForValue.build()); - onChanged(); - } else { - dimensionValuesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder addAllDimensionValues( - java.lang.Iterable values) { - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionValues_); - onChanged(); - } else { - dimensionValuesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder clearDimensionValues() { - if (dimensionValuesBuilder_ == null) { - dimensionValues_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - dimensionValuesBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder removeDimensionValues(int index) { - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.remove(index); - onChanged(); - } else { - dimensionValuesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public com.google.analytics.data.v1alpha.DimensionValue.Builder getDimensionValuesBuilder( - int index) { - return getDimensionValuesFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public com.google.analytics.data.v1alpha.DimensionValueOrBuilder getDimensionValuesOrBuilder( - int index) { - if (dimensionValuesBuilder_ == null) { - return dimensionValues_.get(index); - } else { - return dimensionValuesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public java.util.List - getDimensionValuesOrBuilderList() { - if (dimensionValuesBuilder_ != null) { - return dimensionValuesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dimensionValues_); - } - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public com.google.analytics.data.v1alpha.DimensionValue.Builder addDimensionValuesBuilder() { - return getDimensionValuesFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.DimensionValue.getDefaultInstance()); - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public com.google.analytics.data.v1alpha.DimensionValue.Builder addDimensionValuesBuilder( - int index) { - return getDimensionValuesFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.DimensionValue.getDefaultInstance()); - } - /** - * - * - *
-     * Values of multiple dimensions in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public java.util.List - getDimensionValuesBuilderList() { - return getDimensionValuesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionValue, - com.google.analytics.data.v1alpha.DimensionValue.Builder, - com.google.analytics.data.v1alpha.DimensionValueOrBuilder> - getDimensionValuesFieldBuilder() { - if (dimensionValuesBuilder_ == null) { - dimensionValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionValue, - com.google.analytics.data.v1alpha.DimensionValue.Builder, - com.google.analytics.data.v1alpha.DimensionValueOrBuilder>( - dimensionValues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - dimensionValues_ = null; - } - return dimensionValuesBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.PivotDimensionHeader) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.PivotDimensionHeader) - private static final com.google.analytics.data.v1alpha.PivotDimensionHeader DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.PivotDimensionHeader(); - } - - public static com.google.analytics.data.v1alpha.PivotDimensionHeader getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotDimensionHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotDimensionHeader(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotDimensionHeader getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotDimensionHeaderOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotDimensionHeaderOrBuilder.java deleted file mode 100644 index f838ba89..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotDimensionHeaderOrBuilder.java +++ /dev/null @@ -1,77 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface PivotDimensionHeaderOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.PivotDimensionHeader) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Values of multiple dimensions in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - java.util.List getDimensionValuesList(); - /** - * - * - *
-   * Values of multiple dimensions in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - com.google.analytics.data.v1alpha.DimensionValue getDimensionValues(int index); - /** - * - * - *
-   * Values of multiple dimensions in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - int getDimensionValuesCount(); - /** - * - * - *
-   * Values of multiple dimensions in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - java.util.List - getDimensionValuesOrBuilderList(); - /** - * - * - *
-   * Values of multiple dimensions in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - com.google.analytics.data.v1alpha.DimensionValueOrBuilder getDimensionValuesOrBuilder(int index); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotHeader.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotHeader.java deleted file mode 100644 index 536dc93a..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotHeader.java +++ /dev/null @@ -1,1135 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Dimensions' values in a single pivot.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.PivotHeader} - */ -public final class PivotHeader extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.PivotHeader) - PivotHeaderOrBuilder { - private static final long serialVersionUID = 0L; - // Use PivotHeader.newBuilder() to construct. - private PivotHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PivotHeader() { - pivotDimensionHeaders_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PivotHeader(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private PivotHeader( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotDimensionHeaders_ = - new java.util.ArrayList< - com.google.analytics.data.v1alpha.PivotDimensionHeader>(); - mutable_bitField0_ |= 0x00000001; - } - pivotDimensionHeaders_.add( - input.readMessage( - com.google.analytics.data.v1alpha.PivotDimensionHeader.parser(), - extensionRegistry)); - break; - } - case 16: - { - rowCount_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - pivotDimensionHeaders_ = java.util.Collections.unmodifiableList(pivotDimensionHeaders_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PivotHeader_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PivotHeader_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.PivotHeader.class, - com.google.analytics.data.v1alpha.PivotHeader.Builder.class); - } - - public static final int PIVOT_DIMENSION_HEADERS_FIELD_NUMBER = 1; - private java.util.List - pivotDimensionHeaders_; - /** - * - * - *
-   * The size is the same as the cardinality of the corresponding dimension
-   * combinations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - @java.lang.Override - public java.util.List - getPivotDimensionHeadersList() { - return pivotDimensionHeaders_; - } - /** - * - * - *
-   * The size is the same as the cardinality of the corresponding dimension
-   * combinations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - @java.lang.Override - public java.util.List - getPivotDimensionHeadersOrBuilderList() { - return pivotDimensionHeaders_; - } - /** - * - * - *
-   * The size is the same as the cardinality of the corresponding dimension
-   * combinations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - @java.lang.Override - public int getPivotDimensionHeadersCount() { - return pivotDimensionHeaders_.size(); - } - /** - * - * - *
-   * The size is the same as the cardinality of the corresponding dimension
-   * combinations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotDimensionHeader getPivotDimensionHeaders( - int index) { - return pivotDimensionHeaders_.get(index); - } - /** - * - * - *
-   * The size is the same as the cardinality of the corresponding dimension
-   * combinations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotDimensionHeaderOrBuilder - getPivotDimensionHeadersOrBuilder(int index) { - return pivotDimensionHeaders_.get(index); - } - - public static final int ROW_COUNT_FIELD_NUMBER = 2; - private int rowCount_; - /** - * - * - *
-   * The cardinality of the pivot as if offset = 0 and limit = -1. The total
-   * number of rows for this pivot's fields regardless of how the parameters
-   * offset and limit are specified in the request.
-   * 
- * - * int32 row_count = 2; - * - * @return The rowCount. - */ - @java.lang.Override - public int getRowCount() { - return rowCount_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < pivotDimensionHeaders_.size(); i++) { - output.writeMessage(1, pivotDimensionHeaders_.get(i)); - } - if (rowCount_ != 0) { - output.writeInt32(2, rowCount_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < pivotDimensionHeaders_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, pivotDimensionHeaders_.get(i)); - } - if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, rowCount_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.PivotHeader)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.PivotHeader other = - (com.google.analytics.data.v1alpha.PivotHeader) obj; - - if (!getPivotDimensionHeadersList().equals(other.getPivotDimensionHeadersList())) return false; - if (getRowCount() != other.getRowCount()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPivotDimensionHeadersCount() > 0) { - hash = (37 * hash) + PIVOT_DIMENSION_HEADERS_FIELD_NUMBER; - hash = (53 * hash) + getPivotDimensionHeadersList().hashCode(); - } - hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + getRowCount(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.PivotHeader parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.PivotHeader prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Dimensions' values in a single pivot.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.PivotHeader} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.PivotHeader) - com.google.analytics.data.v1alpha.PivotHeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PivotHeader_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PivotHeader_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.PivotHeader.class, - com.google.analytics.data.v1alpha.PivotHeader.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.PivotHeader.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPivotDimensionHeadersFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (pivotDimensionHeadersBuilder_ == null) { - pivotDimensionHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - pivotDimensionHeadersBuilder_.clear(); - } - rowCount_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PivotHeader_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotHeader getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.PivotHeader.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotHeader build() { - com.google.analytics.data.v1alpha.PivotHeader result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotHeader buildPartial() { - com.google.analytics.data.v1alpha.PivotHeader result = - new com.google.analytics.data.v1alpha.PivotHeader(this); - int from_bitField0_ = bitField0_; - if (pivotDimensionHeadersBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - pivotDimensionHeaders_ = java.util.Collections.unmodifiableList(pivotDimensionHeaders_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.pivotDimensionHeaders_ = pivotDimensionHeaders_; - } else { - result.pivotDimensionHeaders_ = pivotDimensionHeadersBuilder_.build(); - } - result.rowCount_ = rowCount_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.PivotHeader) { - return mergeFrom((com.google.analytics.data.v1alpha.PivotHeader) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.PivotHeader other) { - if (other == com.google.analytics.data.v1alpha.PivotHeader.getDefaultInstance()) return this; - if (pivotDimensionHeadersBuilder_ == null) { - if (!other.pivotDimensionHeaders_.isEmpty()) { - if (pivotDimensionHeaders_.isEmpty()) { - pivotDimensionHeaders_ = other.pivotDimensionHeaders_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePivotDimensionHeadersIsMutable(); - pivotDimensionHeaders_.addAll(other.pivotDimensionHeaders_); - } - onChanged(); - } - } else { - if (!other.pivotDimensionHeaders_.isEmpty()) { - if (pivotDimensionHeadersBuilder_.isEmpty()) { - pivotDimensionHeadersBuilder_.dispose(); - pivotDimensionHeadersBuilder_ = null; - pivotDimensionHeaders_ = other.pivotDimensionHeaders_; - bitField0_ = (bitField0_ & ~0x00000001); - pivotDimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPivotDimensionHeadersFieldBuilder() - : null; - } else { - pivotDimensionHeadersBuilder_.addAllMessages(other.pivotDimensionHeaders_); - } - } - } - if (other.getRowCount() != 0) { - setRowCount(other.getRowCount()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.PivotHeader parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.PivotHeader) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List - pivotDimensionHeaders_ = java.util.Collections.emptyList(); - - private void ensurePivotDimensionHeadersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - pivotDimensionHeaders_ = - new java.util.ArrayList( - pivotDimensionHeaders_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.PivotDimensionHeader, - com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder, - com.google.analytics.data.v1alpha.PivotDimensionHeaderOrBuilder> - pivotDimensionHeadersBuilder_; - - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public java.util.List - getPivotDimensionHeadersList() { - if (pivotDimensionHeadersBuilder_ == null) { - return java.util.Collections.unmodifiableList(pivotDimensionHeaders_); - } else { - return pivotDimensionHeadersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public int getPivotDimensionHeadersCount() { - if (pivotDimensionHeadersBuilder_ == null) { - return pivotDimensionHeaders_.size(); - } else { - return pivotDimensionHeadersBuilder_.getCount(); - } - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public com.google.analytics.data.v1alpha.PivotDimensionHeader getPivotDimensionHeaders( - int index) { - if (pivotDimensionHeadersBuilder_ == null) { - return pivotDimensionHeaders_.get(index); - } else { - return pivotDimensionHeadersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public Builder setPivotDimensionHeaders( - int index, com.google.analytics.data.v1alpha.PivotDimensionHeader value) { - if (pivotDimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotDimensionHeadersIsMutable(); - pivotDimensionHeaders_.set(index, value); - onChanged(); - } else { - pivotDimensionHeadersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public Builder setPivotDimensionHeaders( - int index, com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder builderForValue) { - if (pivotDimensionHeadersBuilder_ == null) { - ensurePivotDimensionHeadersIsMutable(); - pivotDimensionHeaders_.set(index, builderForValue.build()); - onChanged(); - } else { - pivotDimensionHeadersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public Builder addPivotDimensionHeaders( - com.google.analytics.data.v1alpha.PivotDimensionHeader value) { - if (pivotDimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotDimensionHeadersIsMutable(); - pivotDimensionHeaders_.add(value); - onChanged(); - } else { - pivotDimensionHeadersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public Builder addPivotDimensionHeaders( - int index, com.google.analytics.data.v1alpha.PivotDimensionHeader value) { - if (pivotDimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotDimensionHeadersIsMutable(); - pivotDimensionHeaders_.add(index, value); - onChanged(); - } else { - pivotDimensionHeadersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public Builder addPivotDimensionHeaders( - com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder builderForValue) { - if (pivotDimensionHeadersBuilder_ == null) { - ensurePivotDimensionHeadersIsMutable(); - pivotDimensionHeaders_.add(builderForValue.build()); - onChanged(); - } else { - pivotDimensionHeadersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public Builder addPivotDimensionHeaders( - int index, com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder builderForValue) { - if (pivotDimensionHeadersBuilder_ == null) { - ensurePivotDimensionHeadersIsMutable(); - pivotDimensionHeaders_.add(index, builderForValue.build()); - onChanged(); - } else { - pivotDimensionHeadersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public Builder addAllPivotDimensionHeaders( - java.lang.Iterable - values) { - if (pivotDimensionHeadersBuilder_ == null) { - ensurePivotDimensionHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotDimensionHeaders_); - onChanged(); - } else { - pivotDimensionHeadersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public Builder clearPivotDimensionHeaders() { - if (pivotDimensionHeadersBuilder_ == null) { - pivotDimensionHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - pivotDimensionHeadersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public Builder removePivotDimensionHeaders(int index) { - if (pivotDimensionHeadersBuilder_ == null) { - ensurePivotDimensionHeadersIsMutable(); - pivotDimensionHeaders_.remove(index); - onChanged(); - } else { - pivotDimensionHeadersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder - getPivotDimensionHeadersBuilder(int index) { - return getPivotDimensionHeadersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public com.google.analytics.data.v1alpha.PivotDimensionHeaderOrBuilder - getPivotDimensionHeadersOrBuilder(int index) { - if (pivotDimensionHeadersBuilder_ == null) { - return pivotDimensionHeaders_.get(index); - } else { - return pivotDimensionHeadersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public java.util.List - getPivotDimensionHeadersOrBuilderList() { - if (pivotDimensionHeadersBuilder_ != null) { - return pivotDimensionHeadersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(pivotDimensionHeaders_); - } - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder - addPivotDimensionHeadersBuilder() { - return getPivotDimensionHeadersFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.PivotDimensionHeader.getDefaultInstance()); - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder - addPivotDimensionHeadersBuilder(int index) { - return getPivotDimensionHeadersFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1alpha.PivotDimensionHeader.getDefaultInstance()); - } - /** - * - * - *
-     * The size is the same as the cardinality of the corresponding dimension
-     * combinations.
-     * 
- * - * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - public java.util.List - getPivotDimensionHeadersBuilderList() { - return getPivotDimensionHeadersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.PivotDimensionHeader, - com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder, - com.google.analytics.data.v1alpha.PivotDimensionHeaderOrBuilder> - getPivotDimensionHeadersFieldBuilder() { - if (pivotDimensionHeadersBuilder_ == null) { - pivotDimensionHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.PivotDimensionHeader, - com.google.analytics.data.v1alpha.PivotDimensionHeader.Builder, - com.google.analytics.data.v1alpha.PivotDimensionHeaderOrBuilder>( - pivotDimensionHeaders_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - pivotDimensionHeaders_ = null; - } - return pivotDimensionHeadersBuilder_; - } - - private int rowCount_; - /** - * - * - *
-     * The cardinality of the pivot as if offset = 0 and limit = -1. The total
-     * number of rows for this pivot's fields regardless of how the parameters
-     * offset and limit are specified in the request.
-     * 
- * - * int32 row_count = 2; - * - * @return The rowCount. - */ - @java.lang.Override - public int getRowCount() { - return rowCount_; - } - /** - * - * - *
-     * The cardinality of the pivot as if offset = 0 and limit = -1. The total
-     * number of rows for this pivot's fields regardless of how the parameters
-     * offset and limit are specified in the request.
-     * 
- * - * int32 row_count = 2; - * - * @param value The rowCount to set. - * @return This builder for chaining. - */ - public Builder setRowCount(int value) { - - rowCount_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The cardinality of the pivot as if offset = 0 and limit = -1. The total
-     * number of rows for this pivot's fields regardless of how the parameters
-     * offset and limit are specified in the request.
-     * 
- * - * int32 row_count = 2; - * - * @return This builder for chaining. - */ - public Builder clearRowCount() { - - rowCount_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.PivotHeader) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.PivotHeader) - private static final com.google.analytics.data.v1alpha.PivotHeader DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.PivotHeader(); - } - - public static com.google.analytics.data.v1alpha.PivotHeader getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotHeader(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotHeader getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotHeaderOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotHeaderOrBuilder.java deleted file mode 100644 index a6cbb2fb..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotHeaderOrBuilder.java +++ /dev/null @@ -1,104 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface PivotHeaderOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.PivotHeader) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The size is the same as the cardinality of the corresponding dimension
-   * combinations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - java.util.List - getPivotDimensionHeadersList(); - /** - * - * - *
-   * The size is the same as the cardinality of the corresponding dimension
-   * combinations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - com.google.analytics.data.v1alpha.PivotDimensionHeader getPivotDimensionHeaders(int index); - /** - * - * - *
-   * The size is the same as the cardinality of the corresponding dimension
-   * combinations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - int getPivotDimensionHeadersCount(); - /** - * - * - *
-   * The size is the same as the cardinality of the corresponding dimension
-   * combinations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - java.util.List - getPivotDimensionHeadersOrBuilderList(); - /** - * - * - *
-   * The size is the same as the cardinality of the corresponding dimension
-   * combinations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotDimensionHeader pivot_dimension_headers = 1; - * - */ - com.google.analytics.data.v1alpha.PivotDimensionHeaderOrBuilder getPivotDimensionHeadersOrBuilder( - int index); - - /** - * - * - *
-   * The cardinality of the pivot as if offset = 0 and limit = -1. The total
-   * number of rows for this pivot's fields regardless of how the parameters
-   * offset and limit are specified in the request.
-   * 
- * - * int32 row_count = 2; - * - * @return The rowCount. - */ - int getRowCount(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotOrBuilder.java deleted file mode 100644 index 0bb7c1d5..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PivotOrBuilder.java +++ /dev/null @@ -1,255 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface PivotOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Pivot) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Dimension names for visible columns in the report response. Including
-   * "dateRange" produces a date range column; for each row in the response,
-   * dimension values in the date range column will indicate the corresponding
-   * date range from the request.
-   * 
- * - * repeated string field_names = 1; - * - * @return A list containing the fieldNames. - */ - java.util.List getFieldNamesList(); - /** - * - * - *
-   * Dimension names for visible columns in the report response. Including
-   * "dateRange" produces a date range column; for each row in the response,
-   * dimension values in the date range column will indicate the corresponding
-   * date range from the request.
-   * 
- * - * repeated string field_names = 1; - * - * @return The count of fieldNames. - */ - int getFieldNamesCount(); - /** - * - * - *
-   * Dimension names for visible columns in the report response. Including
-   * "dateRange" produces a date range column; for each row in the response,
-   * dimension values in the date range column will indicate the corresponding
-   * date range from the request.
-   * 
- * - * repeated string field_names = 1; - * - * @param index The index of the element to return. - * @return The fieldNames at the given index. - */ - java.lang.String getFieldNames(int index); - /** - * - * - *
-   * Dimension names for visible columns in the report response. Including
-   * "dateRange" produces a date range column; for each row in the response,
-   * dimension values in the date range column will indicate the corresponding
-   * date range from the request.
-   * 
- * - * repeated string field_names = 1; - * - * @param index The index of the value to return. - * @return The bytes of the fieldNames at the given index. - */ - com.google.protobuf.ByteString getFieldNamesBytes(int index); - - /** - * - * - *
-   * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-   * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-   * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-   * Dimensions specified in these OrderBys must be a subset of
-   * Pivot.field_names.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - java.util.List getOrderBysList(); - /** - * - * - *
-   * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-   * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-   * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-   * Dimensions specified in these OrderBys must be a subset of
-   * Pivot.field_names.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - com.google.analytics.data.v1alpha.OrderBy getOrderBys(int index); - /** - * - * - *
-   * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-   * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-   * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-   * Dimensions specified in these OrderBys must be a subset of
-   * Pivot.field_names.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - int getOrderBysCount(); - /** - * - * - *
-   * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-   * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-   * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-   * Dimensions specified in these OrderBys must be a subset of
-   * Pivot.field_names.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - java.util.List - getOrderBysOrBuilderList(); - /** - * - * - *
-   * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
-   * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
-   * Pivots, the OrderBys determine only PivotDimensionHeader ordering.
-   * Dimensions specified in these OrderBys must be a subset of
-   * Pivot.field_names.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 2; - */ - com.google.analytics.data.v1alpha.OrderByOrBuilder getOrderBysOrBuilder(int index); - - /** - * - * - *
-   * The row count of the start row. The first row is counted as row 0.
-   * 
- * - * int64 offset = 3; - * - * @return The offset. - */ - long getOffset(); - - /** - * - * - *
-   * The number of rows to return in this pivot. If unspecified, 10 rows are
-   * returned. If -1, all rows are returned.
-   * 
- * - * int64 limit = 4; - * - * @return The limit. - */ - long getLimit(); - - /** - * - * - *
-   * Aggregate the metrics by dimensions in this pivot using the specified
-   * metric_aggregations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * @return A list containing the metricAggregations. - */ - java.util.List getMetricAggregationsList(); - /** - * - * - *
-   * Aggregate the metrics by dimensions in this pivot using the specified
-   * metric_aggregations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * @return The count of metricAggregations. - */ - int getMetricAggregationsCount(); - /** - * - * - *
-   * Aggregate the metrics by dimensions in this pivot using the specified
-   * metric_aggregations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * @param index The index of the element to return. - * @return The metricAggregations at the given index. - */ - com.google.analytics.data.v1alpha.MetricAggregation getMetricAggregations(int index); - /** - * - * - *
-   * Aggregate the metrics by dimensions in this pivot using the specified
-   * metric_aggregations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * @return A list containing the enum numeric values on the wire for metricAggregations. - */ - java.util.List getMetricAggregationsValueList(); - /** - * - * - *
-   * Aggregate the metrics by dimensions in this pivot using the specified
-   * metric_aggregations.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 5; - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - */ - int getMetricAggregationsValue(int index); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PropertyQuota.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PropertyQuota.java deleted file mode 100644 index fd5f2dde..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PropertyQuota.java +++ /dev/null @@ -1,1687 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Current state of all quotas for this Analytics Property. If any quota for a
- * property is exhausted, all requests to that property will return Resource
- * Exhausted errors.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.PropertyQuota} - */ -public final class PropertyQuota extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.PropertyQuota) - PropertyQuotaOrBuilder { - private static final long serialVersionUID = 0L; - // Use PropertyQuota.newBuilder() to construct. - private PropertyQuota(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PropertyQuota() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PropertyQuota(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private PropertyQuota( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.analytics.data.v1alpha.QuotaStatus.Builder subBuilder = null; - if (tokensPerDay_ != null) { - subBuilder = tokensPerDay_.toBuilder(); - } - tokensPerDay_ = - input.readMessage( - com.google.analytics.data.v1alpha.QuotaStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tokensPerDay_); - tokensPerDay_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - com.google.analytics.data.v1alpha.QuotaStatus.Builder subBuilder = null; - if (tokensPerHour_ != null) { - subBuilder = tokensPerHour_.toBuilder(); - } - tokensPerHour_ = - input.readMessage( - com.google.analytics.data.v1alpha.QuotaStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tokensPerHour_); - tokensPerHour_ = subBuilder.buildPartial(); - } - - break; - } - case 26: - { - com.google.analytics.data.v1alpha.QuotaStatus.Builder subBuilder = null; - if (concurrentRequests_ != null) { - subBuilder = concurrentRequests_.toBuilder(); - } - concurrentRequests_ = - input.readMessage( - com.google.analytics.data.v1alpha.QuotaStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(concurrentRequests_); - concurrentRequests_ = subBuilder.buildPartial(); - } - - break; - } - case 34: - { - com.google.analytics.data.v1alpha.QuotaStatus.Builder subBuilder = null; - if (serverErrorsPerProjectPerHour_ != null) { - subBuilder = serverErrorsPerProjectPerHour_.toBuilder(); - } - serverErrorsPerProjectPerHour_ = - input.readMessage( - com.google.analytics.data.v1alpha.QuotaStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(serverErrorsPerProjectPerHour_); - serverErrorsPerProjectPerHour_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PropertyQuota_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PropertyQuota_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.PropertyQuota.class, - com.google.analytics.data.v1alpha.PropertyQuota.Builder.class); - } - - public static final int TOKENS_PER_DAY_FIELD_NUMBER = 1; - private com.google.analytics.data.v1alpha.QuotaStatus tokensPerDay_; - /** - * - * - *
-   * Standard Analytics Properties can use up to 25,000 tokens per day;
-   * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-   * consume fewer than 10 tokens.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - * - * @return Whether the tokensPerDay field is set. - */ - @java.lang.Override - public boolean hasTokensPerDay() { - return tokensPerDay_ != null; - } - /** - * - * - *
-   * Standard Analytics Properties can use up to 25,000 tokens per day;
-   * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-   * consume fewer than 10 tokens.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - * - * @return The tokensPerDay. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatus getTokensPerDay() { - return tokensPerDay_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : tokensPerDay_; - } - /** - * - * - *
-   * Standard Analytics Properties can use up to 25,000 tokens per day;
-   * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-   * consume fewer than 10 tokens.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerDayOrBuilder() { - return getTokensPerDay(); - } - - public static final int TOKENS_PER_HOUR_FIELD_NUMBER = 2; - private com.google.analytics.data.v1alpha.QuotaStatus tokensPerHour_; - /** - * - * - *
-   * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-   * 360 Properties can use 50,000 tokens per day. An API request consumes a
-   * single number of tokens, and that number is deducted from both the hourly
-   * and daily quotas.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - * - * @return Whether the tokensPerHour field is set. - */ - @java.lang.Override - public boolean hasTokensPerHour() { - return tokensPerHour_ != null; - } - /** - * - * - *
-   * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-   * 360 Properties can use 50,000 tokens per day. An API request consumes a
-   * single number of tokens, and that number is deducted from both the hourly
-   * and daily quotas.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - * - * @return The tokensPerHour. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatus getTokensPerHour() { - return tokensPerHour_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : tokensPerHour_; - } - /** - * - * - *
-   * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-   * 360 Properties can use 50,000 tokens per day. An API request consumes a
-   * single number of tokens, and that number is deducted from both the hourly
-   * and daily quotas.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerHourOrBuilder() { - return getTokensPerHour(); - } - - public static final int CONCURRENT_REQUESTS_FIELD_NUMBER = 3; - private com.google.analytics.data.v1alpha.QuotaStatus concurrentRequests_; - /** - * - * - *
-   * Standard Analytics Properties can send up to 10 concurrent requests;
-   * Analytics 360 Properties can use up to 50 concurrent requests.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - * - * @return Whether the concurrentRequests field is set. - */ - @java.lang.Override - public boolean hasConcurrentRequests() { - return concurrentRequests_ != null; - } - /** - * - * - *
-   * Standard Analytics Properties can send up to 10 concurrent requests;
-   * Analytics 360 Properties can use up to 50 concurrent requests.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - * - * @return The concurrentRequests. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatus getConcurrentRequests() { - return concurrentRequests_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : concurrentRequests_; - } - /** - * - * - *
-   * Standard Analytics Properties can send up to 10 concurrent requests;
-   * Analytics 360 Properties can use up to 50 concurrent requests.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getConcurrentRequestsOrBuilder() { - return getConcurrentRequests(); - } - - public static final int SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER = 4; - private com.google.analytics.data.v1alpha.QuotaStatus serverErrorsPerProjectPerHour_; - /** - * - * - *
-   * Standard Analytics Properties and cloud project pairs can have up to 10
-   * server errors per hour; Analytics 360 Properties and cloud project pairs
-   * can have up to 50 server errors per hour.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - * @return Whether the serverErrorsPerProjectPerHour field is set. - */ - @java.lang.Override - public boolean hasServerErrorsPerProjectPerHour() { - return serverErrorsPerProjectPerHour_ != null; - } - /** - * - * - *
-   * Standard Analytics Properties and cloud project pairs can have up to 10
-   * server errors per hour; Analytics 360 Properties and cloud project pairs
-   * can have up to 50 server errors per hour.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - * @return The serverErrorsPerProjectPerHour. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatus getServerErrorsPerProjectPerHour() { - return serverErrorsPerProjectPerHour_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : serverErrorsPerProjectPerHour_; - } - /** - * - * - *
-   * Standard Analytics Properties and cloud project pairs can have up to 10
-   * server errors per hour; Analytics 360 Properties and cloud project pairs
-   * can have up to 50 server errors per hour.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder - getServerErrorsPerProjectPerHourOrBuilder() { - return getServerErrorsPerProjectPerHour(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (tokensPerDay_ != null) { - output.writeMessage(1, getTokensPerDay()); - } - if (tokensPerHour_ != null) { - output.writeMessage(2, getTokensPerHour()); - } - if (concurrentRequests_ != null) { - output.writeMessage(3, getConcurrentRequests()); - } - if (serverErrorsPerProjectPerHour_ != null) { - output.writeMessage(4, getServerErrorsPerProjectPerHour()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (tokensPerDay_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTokensPerDay()); - } - if (tokensPerHour_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTokensPerHour()); - } - if (concurrentRequests_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConcurrentRequests()); - } - if (serverErrorsPerProjectPerHour_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getServerErrorsPerProjectPerHour()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.PropertyQuota)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.PropertyQuota other = - (com.google.analytics.data.v1alpha.PropertyQuota) obj; - - if (hasTokensPerDay() != other.hasTokensPerDay()) return false; - if (hasTokensPerDay()) { - if (!getTokensPerDay().equals(other.getTokensPerDay())) return false; - } - if (hasTokensPerHour() != other.hasTokensPerHour()) return false; - if (hasTokensPerHour()) { - if (!getTokensPerHour().equals(other.getTokensPerHour())) return false; - } - if (hasConcurrentRequests() != other.hasConcurrentRequests()) return false; - if (hasConcurrentRequests()) { - if (!getConcurrentRequests().equals(other.getConcurrentRequests())) return false; - } - if (hasServerErrorsPerProjectPerHour() != other.hasServerErrorsPerProjectPerHour()) - return false; - if (hasServerErrorsPerProjectPerHour()) { - if (!getServerErrorsPerProjectPerHour().equals(other.getServerErrorsPerProjectPerHour())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTokensPerDay()) { - hash = (37 * hash) + TOKENS_PER_DAY_FIELD_NUMBER; - hash = (53 * hash) + getTokensPerDay().hashCode(); - } - if (hasTokensPerHour()) { - hash = (37 * hash) + TOKENS_PER_HOUR_FIELD_NUMBER; - hash = (53 * hash) + getTokensPerHour().hashCode(); - } - if (hasConcurrentRequests()) { - hash = (37 * hash) + CONCURRENT_REQUESTS_FIELD_NUMBER; - hash = (53 * hash) + getConcurrentRequests().hashCode(); - } - if (hasServerErrorsPerProjectPerHour()) { - hash = (37 * hash) + SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER; - hash = (53 * hash) + getServerErrorsPerProjectPerHour().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.PropertyQuota prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Current state of all quotas for this Analytics Property. If any quota for a
-   * property is exhausted, all requests to that property will return Resource
-   * Exhausted errors.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.PropertyQuota} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.PropertyQuota) - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PropertyQuota_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PropertyQuota_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.PropertyQuota.class, - com.google.analytics.data.v1alpha.PropertyQuota.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.PropertyQuota.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (tokensPerDayBuilder_ == null) { - tokensPerDay_ = null; - } else { - tokensPerDay_ = null; - tokensPerDayBuilder_ = null; - } - if (tokensPerHourBuilder_ == null) { - tokensPerHour_ = null; - } else { - tokensPerHour_ = null; - tokensPerHourBuilder_ = null; - } - if (concurrentRequestsBuilder_ == null) { - concurrentRequests_ = null; - } else { - concurrentRequests_ = null; - concurrentRequestsBuilder_ = null; - } - if (serverErrorsPerProjectPerHourBuilder_ == null) { - serverErrorsPerProjectPerHour_ = null; - } else { - serverErrorsPerProjectPerHour_ = null; - serverErrorsPerProjectPerHourBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_PropertyQuota_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PropertyQuota getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PropertyQuota build() { - com.google.analytics.data.v1alpha.PropertyQuota result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PropertyQuota buildPartial() { - com.google.analytics.data.v1alpha.PropertyQuota result = - new com.google.analytics.data.v1alpha.PropertyQuota(this); - if (tokensPerDayBuilder_ == null) { - result.tokensPerDay_ = tokensPerDay_; - } else { - result.tokensPerDay_ = tokensPerDayBuilder_.build(); - } - if (tokensPerHourBuilder_ == null) { - result.tokensPerHour_ = tokensPerHour_; - } else { - result.tokensPerHour_ = tokensPerHourBuilder_.build(); - } - if (concurrentRequestsBuilder_ == null) { - result.concurrentRequests_ = concurrentRequests_; - } else { - result.concurrentRequests_ = concurrentRequestsBuilder_.build(); - } - if (serverErrorsPerProjectPerHourBuilder_ == null) { - result.serverErrorsPerProjectPerHour_ = serverErrorsPerProjectPerHour_; - } else { - result.serverErrorsPerProjectPerHour_ = serverErrorsPerProjectPerHourBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.PropertyQuota) { - return mergeFrom((com.google.analytics.data.v1alpha.PropertyQuota) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.PropertyQuota other) { - if (other == com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance()) - return this; - if (other.hasTokensPerDay()) { - mergeTokensPerDay(other.getTokensPerDay()); - } - if (other.hasTokensPerHour()) { - mergeTokensPerHour(other.getTokensPerHour()); - } - if (other.hasConcurrentRequests()) { - mergeConcurrentRequests(other.getConcurrentRequests()); - } - if (other.hasServerErrorsPerProjectPerHour()) { - mergeServerErrorsPerProjectPerHour(other.getServerErrorsPerProjectPerHour()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.PropertyQuota parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.PropertyQuota) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private com.google.analytics.data.v1alpha.QuotaStatus tokensPerDay_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder> - tokensPerDayBuilder_; - /** - * - * - *
-     * Standard Analytics Properties can use up to 25,000 tokens per day;
-     * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-     * consume fewer than 10 tokens.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - * - * @return Whether the tokensPerDay field is set. - */ - public boolean hasTokensPerDay() { - return tokensPerDayBuilder_ != null || tokensPerDay_ != null; - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 25,000 tokens per day;
-     * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-     * consume fewer than 10 tokens.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - * - * @return The tokensPerDay. - */ - public com.google.analytics.data.v1alpha.QuotaStatus getTokensPerDay() { - if (tokensPerDayBuilder_ == null) { - return tokensPerDay_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : tokensPerDay_; - } else { - return tokensPerDayBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 25,000 tokens per day;
-     * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-     * consume fewer than 10 tokens.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - */ - public Builder setTokensPerDay(com.google.analytics.data.v1alpha.QuotaStatus value) { - if (tokensPerDayBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - tokensPerDay_ = value; - onChanged(); - } else { - tokensPerDayBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 25,000 tokens per day;
-     * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-     * consume fewer than 10 tokens.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - */ - public Builder setTokensPerDay( - com.google.analytics.data.v1alpha.QuotaStatus.Builder builderForValue) { - if (tokensPerDayBuilder_ == null) { - tokensPerDay_ = builderForValue.build(); - onChanged(); - } else { - tokensPerDayBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 25,000 tokens per day;
-     * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-     * consume fewer than 10 tokens.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - */ - public Builder mergeTokensPerDay(com.google.analytics.data.v1alpha.QuotaStatus value) { - if (tokensPerDayBuilder_ == null) { - if (tokensPerDay_ != null) { - tokensPerDay_ = - com.google.analytics.data.v1alpha.QuotaStatus.newBuilder(tokensPerDay_) - .mergeFrom(value) - .buildPartial(); - } else { - tokensPerDay_ = value; - } - onChanged(); - } else { - tokensPerDayBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 25,000 tokens per day;
-     * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-     * consume fewer than 10 tokens.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - */ - public Builder clearTokensPerDay() { - if (tokensPerDayBuilder_ == null) { - tokensPerDay_ = null; - onChanged(); - } else { - tokensPerDay_ = null; - tokensPerDayBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 25,000 tokens per day;
-     * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-     * consume fewer than 10 tokens.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - */ - public com.google.analytics.data.v1alpha.QuotaStatus.Builder getTokensPerDayBuilder() { - - onChanged(); - return getTokensPerDayFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 25,000 tokens per day;
-     * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-     * consume fewer than 10 tokens.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - */ - public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerDayOrBuilder() { - if (tokensPerDayBuilder_ != null) { - return tokensPerDayBuilder_.getMessageOrBuilder(); - } else { - return tokensPerDay_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : tokensPerDay_; - } - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 25,000 tokens per day;
-     * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-     * consume fewer than 10 tokens.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder> - getTokensPerDayFieldBuilder() { - if (tokensPerDayBuilder_ == null) { - tokensPerDayBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder>( - getTokensPerDay(), getParentForChildren(), isClean()); - tokensPerDay_ = null; - } - return tokensPerDayBuilder_; - } - - private com.google.analytics.data.v1alpha.QuotaStatus tokensPerHour_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder> - tokensPerHourBuilder_; - /** - * - * - *
-     * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-     * 360 Properties can use 50,000 tokens per day. An API request consumes a
-     * single number of tokens, and that number is deducted from both the hourly
-     * and daily quotas.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - * - * @return Whether the tokensPerHour field is set. - */ - public boolean hasTokensPerHour() { - return tokensPerHourBuilder_ != null || tokensPerHour_ != null; - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-     * 360 Properties can use 50,000 tokens per day. An API request consumes a
-     * single number of tokens, and that number is deducted from both the hourly
-     * and daily quotas.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - * - * @return The tokensPerHour. - */ - public com.google.analytics.data.v1alpha.QuotaStatus getTokensPerHour() { - if (tokensPerHourBuilder_ == null) { - return tokensPerHour_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : tokensPerHour_; - } else { - return tokensPerHourBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-     * 360 Properties can use 50,000 tokens per day. An API request consumes a
-     * single number of tokens, and that number is deducted from both the hourly
-     * and daily quotas.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - */ - public Builder setTokensPerHour(com.google.analytics.data.v1alpha.QuotaStatus value) { - if (tokensPerHourBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - tokensPerHour_ = value; - onChanged(); - } else { - tokensPerHourBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-     * 360 Properties can use 50,000 tokens per day. An API request consumes a
-     * single number of tokens, and that number is deducted from both the hourly
-     * and daily quotas.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - */ - public Builder setTokensPerHour( - com.google.analytics.data.v1alpha.QuotaStatus.Builder builderForValue) { - if (tokensPerHourBuilder_ == null) { - tokensPerHour_ = builderForValue.build(); - onChanged(); - } else { - tokensPerHourBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-     * 360 Properties can use 50,000 tokens per day. An API request consumes a
-     * single number of tokens, and that number is deducted from both the hourly
-     * and daily quotas.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - */ - public Builder mergeTokensPerHour(com.google.analytics.data.v1alpha.QuotaStatus value) { - if (tokensPerHourBuilder_ == null) { - if (tokensPerHour_ != null) { - tokensPerHour_ = - com.google.analytics.data.v1alpha.QuotaStatus.newBuilder(tokensPerHour_) - .mergeFrom(value) - .buildPartial(); - } else { - tokensPerHour_ = value; - } - onChanged(); - } else { - tokensPerHourBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-     * 360 Properties can use 50,000 tokens per day. An API request consumes a
-     * single number of tokens, and that number is deducted from both the hourly
-     * and daily quotas.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - */ - public Builder clearTokensPerHour() { - if (tokensPerHourBuilder_ == null) { - tokensPerHour_ = null; - onChanged(); - } else { - tokensPerHour_ = null; - tokensPerHourBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-     * 360 Properties can use 50,000 tokens per day. An API request consumes a
-     * single number of tokens, and that number is deducted from both the hourly
-     * and daily quotas.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - */ - public com.google.analytics.data.v1alpha.QuotaStatus.Builder getTokensPerHourBuilder() { - - onChanged(); - return getTokensPerHourFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-     * 360 Properties can use 50,000 tokens per day. An API request consumes a
-     * single number of tokens, and that number is deducted from both the hourly
-     * and daily quotas.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - */ - public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerHourOrBuilder() { - if (tokensPerHourBuilder_ != null) { - return tokensPerHourBuilder_.getMessageOrBuilder(); - } else { - return tokensPerHour_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : tokensPerHour_; - } - } - /** - * - * - *
-     * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-     * 360 Properties can use 50,000 tokens per day. An API request consumes a
-     * single number of tokens, and that number is deducted from both the hourly
-     * and daily quotas.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder> - getTokensPerHourFieldBuilder() { - if (tokensPerHourBuilder_ == null) { - tokensPerHourBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder>( - getTokensPerHour(), getParentForChildren(), isClean()); - tokensPerHour_ = null; - } - return tokensPerHourBuilder_; - } - - private com.google.analytics.data.v1alpha.QuotaStatus concurrentRequests_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder> - concurrentRequestsBuilder_; - /** - * - * - *
-     * Standard Analytics Properties can send up to 10 concurrent requests;
-     * Analytics 360 Properties can use up to 50 concurrent requests.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - * - * @return Whether the concurrentRequests field is set. - */ - public boolean hasConcurrentRequests() { - return concurrentRequestsBuilder_ != null || concurrentRequests_ != null; - } - /** - * - * - *
-     * Standard Analytics Properties can send up to 10 concurrent requests;
-     * Analytics 360 Properties can use up to 50 concurrent requests.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - * - * @return The concurrentRequests. - */ - public com.google.analytics.data.v1alpha.QuotaStatus getConcurrentRequests() { - if (concurrentRequestsBuilder_ == null) { - return concurrentRequests_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : concurrentRequests_; - } else { - return concurrentRequestsBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Standard Analytics Properties can send up to 10 concurrent requests;
-     * Analytics 360 Properties can use up to 50 concurrent requests.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - */ - public Builder setConcurrentRequests(com.google.analytics.data.v1alpha.QuotaStatus value) { - if (concurrentRequestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - concurrentRequests_ = value; - onChanged(); - } else { - concurrentRequestsBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can send up to 10 concurrent requests;
-     * Analytics 360 Properties can use up to 50 concurrent requests.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - */ - public Builder setConcurrentRequests( - com.google.analytics.data.v1alpha.QuotaStatus.Builder builderForValue) { - if (concurrentRequestsBuilder_ == null) { - concurrentRequests_ = builderForValue.build(); - onChanged(); - } else { - concurrentRequestsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can send up to 10 concurrent requests;
-     * Analytics 360 Properties can use up to 50 concurrent requests.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - */ - public Builder mergeConcurrentRequests(com.google.analytics.data.v1alpha.QuotaStatus value) { - if (concurrentRequestsBuilder_ == null) { - if (concurrentRequests_ != null) { - concurrentRequests_ = - com.google.analytics.data.v1alpha.QuotaStatus.newBuilder(concurrentRequests_) - .mergeFrom(value) - .buildPartial(); - } else { - concurrentRequests_ = value; - } - onChanged(); - } else { - concurrentRequestsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can send up to 10 concurrent requests;
-     * Analytics 360 Properties can use up to 50 concurrent requests.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - */ - public Builder clearConcurrentRequests() { - if (concurrentRequestsBuilder_ == null) { - concurrentRequests_ = null; - onChanged(); - } else { - concurrentRequests_ = null; - concurrentRequestsBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties can send up to 10 concurrent requests;
-     * Analytics 360 Properties can use up to 50 concurrent requests.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - */ - public com.google.analytics.data.v1alpha.QuotaStatus.Builder getConcurrentRequestsBuilder() { - - onChanged(); - return getConcurrentRequestsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Standard Analytics Properties can send up to 10 concurrent requests;
-     * Analytics 360 Properties can use up to 50 concurrent requests.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - */ - public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getConcurrentRequestsOrBuilder() { - if (concurrentRequestsBuilder_ != null) { - return concurrentRequestsBuilder_.getMessageOrBuilder(); - } else { - return concurrentRequests_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : concurrentRequests_; - } - } - /** - * - * - *
-     * Standard Analytics Properties can send up to 10 concurrent requests;
-     * Analytics 360 Properties can use up to 50 concurrent requests.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder> - getConcurrentRequestsFieldBuilder() { - if (concurrentRequestsBuilder_ == null) { - concurrentRequestsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder>( - getConcurrentRequests(), getParentForChildren(), isClean()); - concurrentRequests_ = null; - } - return concurrentRequestsBuilder_; - } - - private com.google.analytics.data.v1alpha.QuotaStatus serverErrorsPerProjectPerHour_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder> - serverErrorsPerProjectPerHourBuilder_; - /** - * - * - *
-     * Standard Analytics Properties and cloud project pairs can have up to 10
-     * server errors per hour; Analytics 360 Properties and cloud project pairs
-     * can have up to 50 server errors per hour.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - * - * @return Whether the serverErrorsPerProjectPerHour field is set. - */ - public boolean hasServerErrorsPerProjectPerHour() { - return serverErrorsPerProjectPerHourBuilder_ != null - || serverErrorsPerProjectPerHour_ != null; - } - /** - * - * - *
-     * Standard Analytics Properties and cloud project pairs can have up to 10
-     * server errors per hour; Analytics 360 Properties and cloud project pairs
-     * can have up to 50 server errors per hour.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - * - * @return The serverErrorsPerProjectPerHour. - */ - public com.google.analytics.data.v1alpha.QuotaStatus getServerErrorsPerProjectPerHour() { - if (serverErrorsPerProjectPerHourBuilder_ == null) { - return serverErrorsPerProjectPerHour_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : serverErrorsPerProjectPerHour_; - } else { - return serverErrorsPerProjectPerHourBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Standard Analytics Properties and cloud project pairs can have up to 10
-     * server errors per hour; Analytics 360 Properties and cloud project pairs
-     * can have up to 50 server errors per hour.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - */ - public Builder setServerErrorsPerProjectPerHour( - com.google.analytics.data.v1alpha.QuotaStatus value) { - if (serverErrorsPerProjectPerHourBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - serverErrorsPerProjectPerHour_ = value; - onChanged(); - } else { - serverErrorsPerProjectPerHourBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties and cloud project pairs can have up to 10
-     * server errors per hour; Analytics 360 Properties and cloud project pairs
-     * can have up to 50 server errors per hour.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - */ - public Builder setServerErrorsPerProjectPerHour( - com.google.analytics.data.v1alpha.QuotaStatus.Builder builderForValue) { - if (serverErrorsPerProjectPerHourBuilder_ == null) { - serverErrorsPerProjectPerHour_ = builderForValue.build(); - onChanged(); - } else { - serverErrorsPerProjectPerHourBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties and cloud project pairs can have up to 10
-     * server errors per hour; Analytics 360 Properties and cloud project pairs
-     * can have up to 50 server errors per hour.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - */ - public Builder mergeServerErrorsPerProjectPerHour( - com.google.analytics.data.v1alpha.QuotaStatus value) { - if (serverErrorsPerProjectPerHourBuilder_ == null) { - if (serverErrorsPerProjectPerHour_ != null) { - serverErrorsPerProjectPerHour_ = - com.google.analytics.data.v1alpha.QuotaStatus.newBuilder( - serverErrorsPerProjectPerHour_) - .mergeFrom(value) - .buildPartial(); - } else { - serverErrorsPerProjectPerHour_ = value; - } - onChanged(); - } else { - serverErrorsPerProjectPerHourBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties and cloud project pairs can have up to 10
-     * server errors per hour; Analytics 360 Properties and cloud project pairs
-     * can have up to 50 server errors per hour.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - */ - public Builder clearServerErrorsPerProjectPerHour() { - if (serverErrorsPerProjectPerHourBuilder_ == null) { - serverErrorsPerProjectPerHour_ = null; - onChanged(); - } else { - serverErrorsPerProjectPerHour_ = null; - serverErrorsPerProjectPerHourBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Standard Analytics Properties and cloud project pairs can have up to 10
-     * server errors per hour; Analytics 360 Properties and cloud project pairs
-     * can have up to 50 server errors per hour.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - */ - public com.google.analytics.data.v1alpha.QuotaStatus.Builder - getServerErrorsPerProjectPerHourBuilder() { - - onChanged(); - return getServerErrorsPerProjectPerHourFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Standard Analytics Properties and cloud project pairs can have up to 10
-     * server errors per hour; Analytics 360 Properties and cloud project pairs
-     * can have up to 50 server errors per hour.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - */ - public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder - getServerErrorsPerProjectPerHourOrBuilder() { - if (serverErrorsPerProjectPerHourBuilder_ != null) { - return serverErrorsPerProjectPerHourBuilder_.getMessageOrBuilder(); - } else { - return serverErrorsPerProjectPerHour_ == null - ? com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance() - : serverErrorsPerProjectPerHour_; - } - } - /** - * - * - *
-     * Standard Analytics Properties and cloud project pairs can have up to 10
-     * server errors per hour; Analytics 360 Properties and cloud project pairs
-     * can have up to 50 server errors per hour.
-     * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder> - getServerErrorsPerProjectPerHourFieldBuilder() { - if (serverErrorsPerProjectPerHourBuilder_ == null) { - serverErrorsPerProjectPerHourBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.QuotaStatus, - com.google.analytics.data.v1alpha.QuotaStatus.Builder, - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder>( - getServerErrorsPerProjectPerHour(), getParentForChildren(), isClean()); - serverErrorsPerProjectPerHour_ = null; - } - return serverErrorsPerProjectPerHourBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.PropertyQuota) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.PropertyQuota) - private static final com.google.analytics.data.v1alpha.PropertyQuota DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.PropertyQuota(); - } - - public static com.google.analytics.data.v1alpha.PropertyQuota getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertyQuota parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PropertyQuota(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.PropertyQuota getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PropertyQuotaOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PropertyQuotaOrBuilder.java deleted file mode 100644 index 9f192040..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/PropertyQuotaOrBuilder.java +++ /dev/null @@ -1,190 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface PropertyQuotaOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.PropertyQuota) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Standard Analytics Properties can use up to 25,000 tokens per day;
-   * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-   * consume fewer than 10 tokens.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - * - * @return Whether the tokensPerDay field is set. - */ - boolean hasTokensPerDay(); - /** - * - * - *
-   * Standard Analytics Properties can use up to 25,000 tokens per day;
-   * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-   * consume fewer than 10 tokens.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - * - * @return The tokensPerDay. - */ - com.google.analytics.data.v1alpha.QuotaStatus getTokensPerDay(); - /** - * - * - *
-   * Standard Analytics Properties can use up to 25,000 tokens per day;
-   * Analytics 360 Properties can use 250,000 tokens per day. Most requests
-   * consume fewer than 10 tokens.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_day = 1; - */ - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerDayOrBuilder(); - - /** - * - * - *
-   * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-   * 360 Properties can use 50,000 tokens per day. An API request consumes a
-   * single number of tokens, and that number is deducted from both the hourly
-   * and daily quotas.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - * - * @return Whether the tokensPerHour field is set. - */ - boolean hasTokensPerHour(); - /** - * - * - *
-   * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-   * 360 Properties can use 50,000 tokens per day. An API request consumes a
-   * single number of tokens, and that number is deducted from both the hourly
-   * and daily quotas.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - * - * @return The tokensPerHour. - */ - com.google.analytics.data.v1alpha.QuotaStatus getTokensPerHour(); - /** - * - * - *
-   * Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
-   * 360 Properties can use 50,000 tokens per day. An API request consumes a
-   * single number of tokens, and that number is deducted from both the hourly
-   * and daily quotas.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus tokens_per_hour = 2; - */ - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerHourOrBuilder(); - - /** - * - * - *
-   * Standard Analytics Properties can send up to 10 concurrent requests;
-   * Analytics 360 Properties can use up to 50 concurrent requests.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - * - * @return Whether the concurrentRequests field is set. - */ - boolean hasConcurrentRequests(); - /** - * - * - *
-   * Standard Analytics Properties can send up to 10 concurrent requests;
-   * Analytics 360 Properties can use up to 50 concurrent requests.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - * - * @return The concurrentRequests. - */ - com.google.analytics.data.v1alpha.QuotaStatus getConcurrentRequests(); - /** - * - * - *
-   * Standard Analytics Properties can send up to 10 concurrent requests;
-   * Analytics 360 Properties can use up to 50 concurrent requests.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus concurrent_requests = 3; - */ - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getConcurrentRequestsOrBuilder(); - - /** - * - * - *
-   * Standard Analytics Properties and cloud project pairs can have up to 10
-   * server errors per hour; Analytics 360 Properties and cloud project pairs
-   * can have up to 50 server errors per hour.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - * @return Whether the serverErrorsPerProjectPerHour field is set. - */ - boolean hasServerErrorsPerProjectPerHour(); - /** - * - * - *
-   * Standard Analytics Properties and cloud project pairs can have up to 10
-   * server errors per hour; Analytics 360 Properties and cloud project pairs
-   * can have up to 50 server errors per hour.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - * - * @return The serverErrorsPerProjectPerHour. - */ - com.google.analytics.data.v1alpha.QuotaStatus getServerErrorsPerProjectPerHour(); - /** - * - * - *
-   * Standard Analytics Properties and cloud project pairs can have up to 10
-   * server errors per hour; Analytics 360 Properties and cloud project pairs
-   * can have up to 50 server errors per hour.
-   * 
- * - * .google.analytics.data.v1alpha.QuotaStatus server_errors_per_project_per_hour = 4; - */ - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder - getServerErrorsPerProjectPerHourOrBuilder(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/QuotaStatus.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/QuotaStatus.java deleted file mode 100644 index e2de72fa..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/QuotaStatus.java +++ /dev/null @@ -1,634 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Current state for a particular quota group.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.QuotaStatus} - */ -public final class QuotaStatus extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.QuotaStatus) - QuotaStatusOrBuilder { - private static final long serialVersionUID = 0L; - // Use QuotaStatus.newBuilder() to construct. - private QuotaStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private QuotaStatus() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new QuotaStatus(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private QuotaStatus( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - consumed_ = input.readInt32(); - break; - } - case 16: - { - remaining_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_QuotaStatus_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_QuotaStatus_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.QuotaStatus.class, - com.google.analytics.data.v1alpha.QuotaStatus.Builder.class); - } - - public static final int CONSUMED_FIELD_NUMBER = 1; - private int consumed_; - /** - * - * - *
-   * Quota consumed by this request.
-   * 
- * - * int32 consumed = 1; - * - * @return The consumed. - */ - @java.lang.Override - public int getConsumed() { - return consumed_; - } - - public static final int REMAINING_FIELD_NUMBER = 2; - private int remaining_; - /** - * - * - *
-   * Quota remaining after this request.
-   * 
- * - * int32 remaining = 2; - * - * @return The remaining. - */ - @java.lang.Override - public int getRemaining() { - return remaining_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (consumed_ != 0) { - output.writeInt32(1, consumed_); - } - if (remaining_ != 0) { - output.writeInt32(2, remaining_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (consumed_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, consumed_); - } - if (remaining_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, remaining_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.QuotaStatus)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.QuotaStatus other = - (com.google.analytics.data.v1alpha.QuotaStatus) obj; - - if (getConsumed() != other.getConsumed()) return false; - if (getRemaining() != other.getRemaining()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CONSUMED_FIELD_NUMBER; - hash = (53 * hash) + getConsumed(); - hash = (37 * hash) + REMAINING_FIELD_NUMBER; - hash = (53 * hash) + getRemaining(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.QuotaStatus prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Current state for a particular quota group.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.QuotaStatus} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.QuotaStatus) - com.google.analytics.data.v1alpha.QuotaStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_QuotaStatus_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_QuotaStatus_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.QuotaStatus.class, - com.google.analytics.data.v1alpha.QuotaStatus.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.QuotaStatus.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - consumed_ = 0; - - remaining_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_QuotaStatus_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatus getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatus build() { - com.google.analytics.data.v1alpha.QuotaStatus result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatus buildPartial() { - com.google.analytics.data.v1alpha.QuotaStatus result = - new com.google.analytics.data.v1alpha.QuotaStatus(this); - result.consumed_ = consumed_; - result.remaining_ = remaining_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.QuotaStatus) { - return mergeFrom((com.google.analytics.data.v1alpha.QuotaStatus) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.QuotaStatus other) { - if (other == com.google.analytics.data.v1alpha.QuotaStatus.getDefaultInstance()) return this; - if (other.getConsumed() != 0) { - setConsumed(other.getConsumed()); - } - if (other.getRemaining() != 0) { - setRemaining(other.getRemaining()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.QuotaStatus parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.QuotaStatus) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int consumed_; - /** - * - * - *
-     * Quota consumed by this request.
-     * 
- * - * int32 consumed = 1; - * - * @return The consumed. - */ - @java.lang.Override - public int getConsumed() { - return consumed_; - } - /** - * - * - *
-     * Quota consumed by this request.
-     * 
- * - * int32 consumed = 1; - * - * @param value The consumed to set. - * @return This builder for chaining. - */ - public Builder setConsumed(int value) { - - consumed_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Quota consumed by this request.
-     * 
- * - * int32 consumed = 1; - * - * @return This builder for chaining. - */ - public Builder clearConsumed() { - - consumed_ = 0; - onChanged(); - return this; - } - - private int remaining_; - /** - * - * - *
-     * Quota remaining after this request.
-     * 
- * - * int32 remaining = 2; - * - * @return The remaining. - */ - @java.lang.Override - public int getRemaining() { - return remaining_; - } - /** - * - * - *
-     * Quota remaining after this request.
-     * 
- * - * int32 remaining = 2; - * - * @param value The remaining to set. - * @return This builder for chaining. - */ - public Builder setRemaining(int value) { - - remaining_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Quota remaining after this request.
-     * 
- * - * int32 remaining = 2; - * - * @return This builder for chaining. - */ - public Builder clearRemaining() { - - remaining_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.QuotaStatus) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.QuotaStatus) - private static final com.google.analytics.data.v1alpha.QuotaStatus DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.QuotaStatus(); - } - - public static com.google.analytics.data.v1alpha.QuotaStatus getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuotaStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QuotaStatus(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.QuotaStatus getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/QuotaStatusOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/QuotaStatusOrBuilder.java deleted file mode 100644 index e95d0f78..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/QuotaStatusOrBuilder.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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface QuotaStatusOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.QuotaStatus) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Quota consumed by this request.
-   * 
- * - * int32 consumed = 1; - * - * @return The consumed. - */ - int getConsumed(); - - /** - * - * - *
-   * Quota remaining after this request.
-   * 
- * - * int32 remaining = 2; - * - * @return The remaining. - */ - int getRemaining(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ReportingApiProto.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ReportingApiProto.java deleted file mode 100644 index 6b11ab86..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ReportingApiProto.java +++ /dev/null @@ -1,656 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public final class ReportingApiProto { - private ReportingApiProto() {} - - 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_analytics_data_v1alpha_DateRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_DateRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Dimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Dimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_DimensionExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_DimensionExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_DimensionExpression_CaseExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_DimensionExpression_CaseExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_DimensionExpression_ConcatenateExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_DimensionExpression_ConcatenateExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Metric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Metric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_FilterExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_FilterExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_FilterExpressionList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_FilterExpressionList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Filter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Filter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Filter_StringFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Filter_StringFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Filter_InListFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Filter_InListFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Filter_NumericFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Filter_NumericFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Filter_BetweenFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Filter_BetweenFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_OrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_OrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_OrderBy_MetricOrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_OrderBy_MetricOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_OrderBy_DimensionOrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_OrderBy_DimensionOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_PivotSelection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Pivot_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Pivot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_CohortSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_CohortSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Cohort_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Cohort_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_CohortsRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_CohortsRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_CohortReportSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_CohortReportSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_ResponseMetaData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_ResponseMetaData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_DimensionHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_DimensionHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_MetricHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_MetricHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_PivotHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_PivotHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_PivotDimensionHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_PivotDimensionHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_Row_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_Row_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_DimensionValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_DimensionValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_MetricValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_MetricValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_NumericValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_NumericValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_PropertyQuota_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_PropertyQuota_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_QuotaStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_QuotaStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_DimensionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_DimensionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1alpha_MetricMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1alpha_MetricMetadata_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/analytics/data/v1alpha/data.pro" - + "to\022\035google.analytics.data.v1alpha\"?\n\tDat" - + "eRange\022\022\n\nstart_date\030\001 \001(\t\022\020\n\010end_date\030\002" - + " \001(\t\022\014\n\004name\030\003 \001(\t\"\035\n\006Entity\022\023\n\013property" - + "_id\030\001 \001(\t\"k\n\tDimension\022\014\n\004name\030\001 \001(\t\022P\n\024" - + "dimension_expression\030\002 \001(\01322.google.anal" - + "ytics.data.v1alpha.DimensionExpression\"\251" - + "\003\n\023DimensionExpression\022W\n\nlower_case\030\004 \001" - + "(\0132A.google.analytics.data.v1alpha.Dimen" - + "sionExpression.CaseExpressionH\000\022W\n\nupper" - + "_case\030\005 \001(\0132A.google.analytics.data.v1al" - + "pha.DimensionExpression.CaseExpressionH\000" - + "\022_\n\013concatenate\030\006 \001(\0132H.google.analytics" - + ".data.v1alpha.DimensionExpression.Concat" - + "enateExpressionH\000\032(\n\016CaseExpression\022\026\n\016d" - + "imension_name\030\001 \001(\t\032C\n\025ConcatenateExpres" - + "sion\022\027\n\017dimension_names\030\001 \003(\t\022\021\n\tdelimit" - + "er\030\002 \001(\tB\020\n\016one_expression\"=\n\006Metric\022\014\n\004" - + "name\030\001 \001(\t\022\022\n\nexpression\030\002 \001(\t\022\021\n\tinvisi" - + "ble\030\003 \001(\010\"\261\002\n\020FilterExpression\022H\n\tand_gr" - + "oup\030\001 \001(\01323.google.analytics.data.v1alph" - + "a.FilterExpressionListH\000\022G\n\010or_group\030\002 \001" - + "(\01323.google.analytics.data.v1alpha.Filte" - + "rExpressionListH\000\022I\n\016not_expression\030\003 \001(" - + "\0132/.google.analytics.data.v1alpha.Filter" - + "ExpressionH\000\0227\n\006filter\030\004 \001(\0132%.google.an" - + "alytics.data.v1alpha.FilterH\000B\006\n\004expr\"\\\n" - + "\024FilterExpressionList\022D\n\013expressions\030\001 \003" - + "(\0132/.google.analytics.data.v1alpha.Filte" - + "rExpression\"\376\010\n\006Filter\022\022\n\nfield_name\030\001 \001" - + "(\t\022\025\n\013null_filter\030\002 \001(\010H\000\022K\n\rstring_filt" - + "er\030\003 \001(\01322.google.analytics.data.v1alpha" - + ".Filter.StringFilterH\000\022L\n\016in_list_filter" - + "\030\004 \001(\01322.google.analytics.data.v1alpha.F" - + "ilter.InListFilterH\000\022M\n\016numeric_filter\030\005" - + " \001(\01323.google.analytics.data.v1alpha.Fil" - + "ter.NumericFilterH\000\022M\n\016between_filter\030\006 " - + "\001(\01323.google.analytics.data.v1alpha.Filt" - + "er.BetweenFilterH\000\032\217\002\n\014StringFilter\022P\n\nm" - + "atch_type\030\001 \001(\0162<.google.analytics.data." - + "v1alpha.Filter.StringFilter.MatchType\022\r\n" - + "\005value\030\002 \001(\t\022\026\n\016case_sensitive\030\003 \001(\010\"\205\001\n" - + "\tMatchType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t" - + "\n\005EXACT\020\001\022\017\n\013BEGINS_WITH\020\002\022\r\n\tENDS_WITH\020" - + "\003\022\014\n\010CONTAINS\020\004\022\017\n\013FULL_REGEXP\020\005\022\022\n\016PART" - + "IAL_REGEXP\020\006\0326\n\014InListFilter\022\016\n\006values\030\001" - + " \003(\t\022\026\n\016case_sensitive\030\002 \001(\010\032\245\002\n\rNumeric" - + "Filter\022P\n\toperation\030\001 \001(\0162=.google.analy" - + "tics.data.v1alpha.Filter.NumericFilter.O" - + "peration\022:\n\005value\030\002 \001(\0132+.google.analyti" - + "cs.data.v1alpha.NumericValue\"\205\001\n\tOperati" - + "on\022\031\n\025OPERATION_UNSPECIFIED\020\000\022\t\n\005EQUAL\020\001" - + "\022\r\n\tLESS_THAN\020\002\022\026\n\022LESS_THAN_OR_EQUAL\020\003\022" - + "\020\n\014GREATER_THAN\020\004\022\031\n\025GREATER_THAN_OR_EQU" - + "AL\020\005\032\217\001\n\rBetweenFilter\022?\n\nfrom_value\030\001 \001" - + "(\0132+.google.analytics.data.v1alpha.Numer" - + "icValue\022=\n\010to_value\030\002 \001(\0132+.google.analy" - + "tics.data.v1alpha.NumericValueB\014\n\none_fi" - + "lter\"\337\005\n\007OrderBy\022F\n\006metric\030\001 \001(\01324.googl" - + "e.analytics.data.v1alpha.OrderBy.MetricO" - + "rderByH\000\022L\n\tdimension\030\002 \001(\01327.google.ana" - + "lytics.data.v1alpha.OrderBy.DimensionOrd" - + "erByH\000\022D\n\005pivot\030\003 \001(\01323.google.analytics" - + ".data.v1alpha.OrderBy.PivotOrderByH\000\022\014\n\004" - + "desc\030\004 \001(\010\032$\n\rMetricOrderBy\022\023\n\013metric_na" - + "me\030\001 \001(\t\032\354\001\n\020DimensionOrderBy\022\026\n\016dimensi" - + "on_name\030\001 \001(\t\022U\n\norder_type\030\002 \001(\0162A.goog" - + "le.analytics.data.v1alpha.OrderBy.Dimens" - + "ionOrderBy.OrderType\"i\n\tOrderType\022\032\n\026ORD" - + "ER_TYPE_UNSPECIFIED\020\000\022\020\n\014ALPHANUMERIC\020\001\022" - + "!\n\035CASE_INSENSITIVE_ALPHANUMERIC\020\002\022\013\n\007NU" - + "MERIC\020\003\032\304\001\n\014PivotOrderBy\022\023\n\013metric_name\030" - + "\001 \001(\t\022\\\n\020pivot_selections\030\002 \003(\0132B.google" - + ".analytics.data.v1alpha.OrderBy.PivotOrd" - + "erBy.PivotSelection\032A\n\016PivotSelection\022\026\n" - + "\016dimension_name\030\001 \001(\t\022\027\n\017dimension_value" - + "\030\002 \001(\tB\016\n\014one_order_by\"\305\001\n\005Pivot\022\023\n\013fiel" - + "d_names\030\001 \003(\t\0229\n\torder_bys\030\002 \003(\0132&.googl" - + "e.analytics.data.v1alpha.OrderBy\022\016\n\006offs" - + "et\030\003 \001(\003\022\r\n\005limit\030\004 \001(\003\022M\n\023metric_aggreg" - + "ations\030\005 \003(\01620.google.analytics.data.v1a" - + "lpha.MetricAggregation\"\335\001\n\nCohortSpec\0226\n" - + "\007cohorts\030\001 \003(\0132%.google.analytics.data.v" - + "1alpha.Cohort\022B\n\rcohorts_range\030\002 \001(\0132+.g" - + "oogle.analytics.data.v1alpha.CohortsRang" - + "e\022S\n\026cohort_report_settings\030\003 \001(\01323.goog" - + "le.analytics.data.v1alpha.CohortReportSe" - + "ttings\"g\n\006Cohort\022\014\n\004name\030\001 \001(\t\022\021\n\tdimens" - + "ion\030\002 \001(\t\022<\n\ndate_range\030\003 \001(\0132(.google.a" - + "nalytics.data.v1alpha.DateRange\"\326\001\n\014Coho" - + "rtsRange\022L\n\013granularity\030\001 \001(\01627.google.a" - + "nalytics.data.v1alpha.CohortsRange.Granu" - + "larity\022\024\n\014start_offset\030\002 \001(\005\022\022\n\nend_offs" - + "et\030\003 \001(\005\"N\n\013Granularity\022\033\n\027GRANULARITY_U" - + "NSPECIFIED\020\000\022\t\n\005DAILY\020\001\022\n\n\006WEEKLY\020\002\022\013\n\007M" - + "ONTHLY\020\003\"*\n\024CohortReportSettings\022\022\n\naccu" - + "mulate\030\001 \001(\010\"4\n\020ResponseMetaData\022 \n\030data" - + "_loss_from_other_row\030\003 \001(\010\"\037\n\017DimensionH" - + "eader\022\014\n\004name\030\001 \001(\t\"U\n\014MetricHeader\022\014\n\004n" - + "ame\030\001 \001(\t\0227\n\004type\030\002 \001(\0162).google.analyti" - + "cs.data.v1alpha.MetricType\"v\n\013PivotHeade" - + "r\022T\n\027pivot_dimension_headers\030\001 \003(\01323.goo" - + "gle.analytics.data.v1alpha.PivotDimensio" - + "nHeader\022\021\n\trow_count\030\002 \001(\005\"_\n\024PivotDimen" - + "sionHeader\022G\n\020dimension_values\030\001 \003(\0132-.g" - + "oogle.analytics.data.v1alpha.DimensionVa" - + "lue\"\221\001\n\003Row\022G\n\020dimension_values\030\001 \003(\0132-." - + "google.analytics.data.v1alpha.DimensionV" - + "alue\022A\n\rmetric_values\030\002 \003(\0132*.google.ana" - + "lytics.data.v1alpha.MetricValue\".\n\016Dimen" - + "sionValue\022\017\n\005value\030\001 \001(\tH\000B\013\n\tone_value\"" - + "+\n\013MetricValue\022\017\n\005value\030\004 \001(\tH\000B\013\n\tone_v" - + "alue\"J\n\014NumericValue\022\025\n\013int64_value\030\001 \001(" - + "\003H\000\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone_value" - + "\"\271\002\n\rPropertyQuota\022B\n\016tokens_per_day\030\001 \001" - + "(\0132*.google.analytics.data.v1alpha.Quota" - + "Status\022C\n\017tokens_per_hour\030\002 \001(\0132*.google" - + ".analytics.data.v1alpha.QuotaStatus\022G\n\023c" - + "oncurrent_requests\030\003 \001(\0132*.google.analyt" - + "ics.data.v1alpha.QuotaStatus\022V\n\"server_e" - + "rrors_per_project_per_hour\030\004 \001(\0132*.googl" - + "e.analytics.data.v1alpha.QuotaStatus\"2\n\013" - + "QuotaStatus\022\020\n\010consumed\030\001 \001(\005\022\021\n\tremaini" - + "ng\030\002 \001(\005\"\204\001\n\021DimensionMetadata\022\020\n\010api_na" - + "me\030\001 \001(\t\022\017\n\007ui_name\030\002 \001(\t\022\023\n\013description" - + "\030\003 \001(\t\022\034\n\024deprecated_api_names\030\004 \003(\t\022\031\n\021" - + "custom_definition\030\005 \001(\010\"\316\001\n\016MetricMetada" - + "ta\022\020\n\010api_name\030\001 \001(\t\022\017\n\007ui_name\030\002 \001(\t\022\023\n" - + "\013description\030\003 \001(\t\022\034\n\024deprecated_api_nam" - + "es\030\004 \003(\t\0227\n\004type\030\005 \001(\0162).google.analytic" - + "s.data.v1alpha.MetricType\022\022\n\nexpression\030" - + "\006 \001(\t\022\031\n\021custom_definition\030\007 \001(\010*g\n\021Metr" - + "icAggregation\022\"\n\036METRIC_AGGREGATION_UNSP" - + "ECIFIED\020\000\022\t\n\005TOTAL\020\001\022\013\n\007MINIMUM\020\005\022\013\n\007MAX" - + "IMUM\020\006\022\t\n\005COUNT\020\004*\201\002\n\nMetricType\022\033\n\027METR" - + "IC_TYPE_UNSPECIFIED\020\000\022\020\n\014TYPE_INTEGER\020\001\022" - + "\016\n\nTYPE_FLOAT\020\002\022\020\n\014TYPE_SECONDS\020\004\022\025\n\021TYP" - + "E_MILLISECONDS\020\005\022\020\n\014TYPE_MINUTES\020\006\022\016\n\nTY" - + "PE_HOURS\020\007\022\021\n\rTYPE_STANDARD\020\010\022\021\n\rTYPE_CU" - + "RRENCY\020\t\022\r\n\tTYPE_FEET\020\n\022\016\n\nTYPE_MILES\020\013\022" - + "\017\n\013TYPE_METERS\020\014\022\023\n\017TYPE_KILOMETERS\020\rB{\n" - + "!com.google.analytics.data.v1alphaB\021Repo" - + "rtingApiProtoP\001ZAgoogle.golang.org/genpr" - + "oto/googleapis/analytics/data/v1alpha;da" - + "tab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_analytics_data_v1alpha_DateRange_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_data_v1alpha_DateRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_DateRange_descriptor, - new java.lang.String[] { - "StartDate", "EndDate", "Name", - }); - internal_static_google_analytics_data_v1alpha_Entity_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_data_v1alpha_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Entity_descriptor, - new java.lang.String[] { - "PropertyId", - }); - internal_static_google_analytics_data_v1alpha_Dimension_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_data_v1alpha_Dimension_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Dimension_descriptor, - new java.lang.String[] { - "Name", "DimensionExpression", - }); - internal_static_google_analytics_data_v1alpha_DimensionExpression_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_data_v1alpha_DimensionExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_DimensionExpression_descriptor, - new java.lang.String[] { - "LowerCase", "UpperCase", "Concatenate", "OneExpression", - }); - internal_static_google_analytics_data_v1alpha_DimensionExpression_CaseExpression_descriptor = - internal_static_google_analytics_data_v1alpha_DimensionExpression_descriptor - .getNestedTypes() - .get(0); - internal_static_google_analytics_data_v1alpha_DimensionExpression_CaseExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_DimensionExpression_CaseExpression_descriptor, - new java.lang.String[] { - "DimensionName", - }); - internal_static_google_analytics_data_v1alpha_DimensionExpression_ConcatenateExpression_descriptor = - internal_static_google_analytics_data_v1alpha_DimensionExpression_descriptor - .getNestedTypes() - .get(1); - internal_static_google_analytics_data_v1alpha_DimensionExpression_ConcatenateExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_DimensionExpression_ConcatenateExpression_descriptor, - new java.lang.String[] { - "DimensionNames", "Delimiter", - }); - internal_static_google_analytics_data_v1alpha_Metric_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_data_v1alpha_Metric_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Metric_descriptor, - new java.lang.String[] { - "Name", "Expression", "Invisible", - }); - internal_static_google_analytics_data_v1alpha_FilterExpression_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_data_v1alpha_FilterExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_FilterExpression_descriptor, - new java.lang.String[] { - "AndGroup", "OrGroup", "NotExpression", "Filter", "Expr", - }); - internal_static_google_analytics_data_v1alpha_FilterExpressionList_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_data_v1alpha_FilterExpressionList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_FilterExpressionList_descriptor, - new java.lang.String[] { - "Expressions", - }); - internal_static_google_analytics_data_v1alpha_Filter_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_data_v1alpha_Filter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Filter_descriptor, - new java.lang.String[] { - "FieldName", - "NullFilter", - "StringFilter", - "InListFilter", - "NumericFilter", - "BetweenFilter", - "OneFilter", - }); - internal_static_google_analytics_data_v1alpha_Filter_StringFilter_descriptor = - internal_static_google_analytics_data_v1alpha_Filter_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_data_v1alpha_Filter_StringFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Filter_StringFilter_descriptor, - new java.lang.String[] { - "MatchType", "Value", "CaseSensitive", - }); - internal_static_google_analytics_data_v1alpha_Filter_InListFilter_descriptor = - internal_static_google_analytics_data_v1alpha_Filter_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_data_v1alpha_Filter_InListFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Filter_InListFilter_descriptor, - new java.lang.String[] { - "Values", "CaseSensitive", - }); - internal_static_google_analytics_data_v1alpha_Filter_NumericFilter_descriptor = - internal_static_google_analytics_data_v1alpha_Filter_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_data_v1alpha_Filter_NumericFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Filter_NumericFilter_descriptor, - new java.lang.String[] { - "Operation", "Value", - }); - internal_static_google_analytics_data_v1alpha_Filter_BetweenFilter_descriptor = - internal_static_google_analytics_data_v1alpha_Filter_descriptor.getNestedTypes().get(3); - internal_static_google_analytics_data_v1alpha_Filter_BetweenFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Filter_BetweenFilter_descriptor, - new java.lang.String[] { - "FromValue", "ToValue", - }); - internal_static_google_analytics_data_v1alpha_OrderBy_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_data_v1alpha_OrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_OrderBy_descriptor, - new java.lang.String[] { - "Metric", "Dimension", "Pivot", "Desc", "OneOrderBy", - }); - internal_static_google_analytics_data_v1alpha_OrderBy_MetricOrderBy_descriptor = - internal_static_google_analytics_data_v1alpha_OrderBy_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_data_v1alpha_OrderBy_MetricOrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_OrderBy_MetricOrderBy_descriptor, - new java.lang.String[] { - "MetricName", - }); - internal_static_google_analytics_data_v1alpha_OrderBy_DimensionOrderBy_descriptor = - internal_static_google_analytics_data_v1alpha_OrderBy_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_data_v1alpha_OrderBy_DimensionOrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_OrderBy_DimensionOrderBy_descriptor, - new java.lang.String[] { - "DimensionName", "OrderType", - }); - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_descriptor = - internal_static_google_analytics_data_v1alpha_OrderBy_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_descriptor, - new java.lang.String[] { - "MetricName", "PivotSelections", - }); - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_PivotSelection_descriptor = - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_OrderBy_PivotOrderBy_PivotSelection_descriptor, - new java.lang.String[] { - "DimensionName", "DimensionValue", - }); - internal_static_google_analytics_data_v1alpha_Pivot_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_data_v1alpha_Pivot_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Pivot_descriptor, - new java.lang.String[] { - "FieldNames", "OrderBys", "Offset", "Limit", "MetricAggregations", - }); - internal_static_google_analytics_data_v1alpha_CohortSpec_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_data_v1alpha_CohortSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_CohortSpec_descriptor, - new java.lang.String[] { - "Cohorts", "CohortsRange", "CohortReportSettings", - }); - internal_static_google_analytics_data_v1alpha_Cohort_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_data_v1alpha_Cohort_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Cohort_descriptor, - new java.lang.String[] { - "Name", "Dimension", "DateRange", - }); - internal_static_google_analytics_data_v1alpha_CohortsRange_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_data_v1alpha_CohortsRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_CohortsRange_descriptor, - new java.lang.String[] { - "Granularity", "StartOffset", "EndOffset", - }); - internal_static_google_analytics_data_v1alpha_CohortReportSettings_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_data_v1alpha_CohortReportSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_CohortReportSettings_descriptor, - new java.lang.String[] { - "Accumulate", - }); - internal_static_google_analytics_data_v1alpha_ResponseMetaData_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_data_v1alpha_ResponseMetaData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_ResponseMetaData_descriptor, - new java.lang.String[] { - "DataLossFromOtherRow", - }); - internal_static_google_analytics_data_v1alpha_DimensionHeader_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_data_v1alpha_DimensionHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_DimensionHeader_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_data_v1alpha_MetricHeader_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_data_v1alpha_MetricHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_MetricHeader_descriptor, - new java.lang.String[] { - "Name", "Type", - }); - internal_static_google_analytics_data_v1alpha_PivotHeader_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_data_v1alpha_PivotHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_PivotHeader_descriptor, - new java.lang.String[] { - "PivotDimensionHeaders", "RowCount", - }); - internal_static_google_analytics_data_v1alpha_PivotDimensionHeader_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_data_v1alpha_PivotDimensionHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_PivotDimensionHeader_descriptor, - new java.lang.String[] { - "DimensionValues", - }); - internal_static_google_analytics_data_v1alpha_Row_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_analytics_data_v1alpha_Row_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_Row_descriptor, - new java.lang.String[] { - "DimensionValues", "MetricValues", - }); - internal_static_google_analytics_data_v1alpha_DimensionValue_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_analytics_data_v1alpha_DimensionValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_DimensionValue_descriptor, - new java.lang.String[] { - "Value", "OneValue", - }); - internal_static_google_analytics_data_v1alpha_MetricValue_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_analytics_data_v1alpha_MetricValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_MetricValue_descriptor, - new java.lang.String[] { - "Value", "OneValue", - }); - internal_static_google_analytics_data_v1alpha_NumericValue_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_analytics_data_v1alpha_NumericValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_NumericValue_descriptor, - new java.lang.String[] { - "Int64Value", "DoubleValue", "OneValue", - }); - internal_static_google_analytics_data_v1alpha_PropertyQuota_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_analytics_data_v1alpha_PropertyQuota_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_PropertyQuota_descriptor, - new java.lang.String[] { - "TokensPerDay", - "TokensPerHour", - "ConcurrentRequests", - "ServerErrorsPerProjectPerHour", - }); - internal_static_google_analytics_data_v1alpha_QuotaStatus_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_analytics_data_v1alpha_QuotaStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_QuotaStatus_descriptor, - new java.lang.String[] { - "Consumed", "Remaining", - }); - internal_static_google_analytics_data_v1alpha_DimensionMetadata_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_analytics_data_v1alpha_DimensionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_DimensionMetadata_descriptor, - new java.lang.String[] { - "ApiName", "UiName", "Description", "DeprecatedApiNames", "CustomDefinition", - }); - internal_static_google_analytics_data_v1alpha_MetricMetadata_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_analytics_data_v1alpha_MetricMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1alpha_MetricMetadata_descriptor, - new java.lang.String[] { - "ApiName", - "UiName", - "Description", - "DeprecatedApiNames", - "Type", - "Expression", - "CustomDefinition", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ResponseMetaData.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ResponseMetaData.java deleted file mode 100644 index 838476bb..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ResponseMetaData.java +++ /dev/null @@ -1,550 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Response's metadata carrying additional information about the report content.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.ResponseMetaData} - */ -public final class ResponseMetaData extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.ResponseMetaData) - ResponseMetaDataOrBuilder { - private static final long serialVersionUID = 0L; - // Use ResponseMetaData.newBuilder() to construct. - private ResponseMetaData(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ResponseMetaData() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ResponseMetaData(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ResponseMetaData( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 24: - { - dataLossFromOtherRow_ = 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); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_ResponseMetaData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_ResponseMetaData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.ResponseMetaData.class, - com.google.analytics.data.v1alpha.ResponseMetaData.Builder.class); - } - - public static final int DATA_LOSS_FROM_OTHER_ROW_FIELD_NUMBER = 3; - private boolean dataLossFromOtherRow_; - /** - * - * - *
-   * If true, indicates some buckets of dimension combinations are rolled into
-   * "(other)" row. This can happen for high cardinality reports.
-   * 
- * - * bool data_loss_from_other_row = 3; - * - * @return The dataLossFromOtherRow. - */ - @java.lang.Override - public boolean getDataLossFromOtherRow() { - return dataLossFromOtherRow_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (dataLossFromOtherRow_ != false) { - output.writeBool(3, dataLossFromOtherRow_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (dataLossFromOtherRow_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, dataLossFromOtherRow_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.ResponseMetaData)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.ResponseMetaData other = - (com.google.analytics.data.v1alpha.ResponseMetaData) obj; - - if (getDataLossFromOtherRow() != other.getDataLossFromOtherRow()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DATA_LOSS_FROM_OTHER_ROW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDataLossFromOtherRow()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.ResponseMetaData prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Response's metadata carrying additional information about the report content.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.ResponseMetaData} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.ResponseMetaData) - com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_ResponseMetaData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_ResponseMetaData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.ResponseMetaData.class, - com.google.analytics.data.v1alpha.ResponseMetaData.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.ResponseMetaData.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - dataLossFromOtherRow_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_ResponseMetaData_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.ResponseMetaData getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.ResponseMetaData.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.ResponseMetaData build() { - com.google.analytics.data.v1alpha.ResponseMetaData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.ResponseMetaData buildPartial() { - com.google.analytics.data.v1alpha.ResponseMetaData result = - new com.google.analytics.data.v1alpha.ResponseMetaData(this); - result.dataLossFromOtherRow_ = dataLossFromOtherRow_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.ResponseMetaData) { - return mergeFrom((com.google.analytics.data.v1alpha.ResponseMetaData) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.ResponseMetaData other) { - if (other == com.google.analytics.data.v1alpha.ResponseMetaData.getDefaultInstance()) - return this; - if (other.getDataLossFromOtherRow() != false) { - setDataLossFromOtherRow(other.getDataLossFromOtherRow()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.ResponseMetaData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.ResponseMetaData) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private boolean dataLossFromOtherRow_; - /** - * - * - *
-     * If true, indicates some buckets of dimension combinations are rolled into
-     * "(other)" row. This can happen for high cardinality reports.
-     * 
- * - * bool data_loss_from_other_row = 3; - * - * @return The dataLossFromOtherRow. - */ - @java.lang.Override - public boolean getDataLossFromOtherRow() { - return dataLossFromOtherRow_; - } - /** - * - * - *
-     * If true, indicates some buckets of dimension combinations are rolled into
-     * "(other)" row. This can happen for high cardinality reports.
-     * 
- * - * bool data_loss_from_other_row = 3; - * - * @param value The dataLossFromOtherRow to set. - * @return This builder for chaining. - */ - public Builder setDataLossFromOtherRow(boolean value) { - - dataLossFromOtherRow_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * If true, indicates some buckets of dimension combinations are rolled into
-     * "(other)" row. This can happen for high cardinality reports.
-     * 
- * - * bool data_loss_from_other_row = 3; - * - * @return This builder for chaining. - */ - public Builder clearDataLossFromOtherRow() { - - dataLossFromOtherRow_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.ResponseMetaData) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.ResponseMetaData) - private static final com.google.analytics.data.v1alpha.ResponseMetaData DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.ResponseMetaData(); - } - - public static com.google.analytics.data.v1alpha.ResponseMetaData getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetaData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResponseMetaData(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.ResponseMetaData getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ResponseMetaDataOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ResponseMetaDataOrBuilder.java deleted file mode 100644 index 46321c13..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ResponseMetaDataOrBuilder.java +++ /dev/null @@ -1,39 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface ResponseMetaDataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.ResponseMetaData) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * If true, indicates some buckets of dimension combinations are rolled into
-   * "(other)" row. This can happen for high cardinality reports.
-   * 
- * - * bool data_loss_from_other_row = 3; - * - * @return The dataLossFromOtherRow. - */ - boolean getDataLossFromOtherRow(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Row.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Row.java deleted file mode 100644 index 9c00ec64..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/Row.java +++ /dev/null @@ -1,1541 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * Report data for each row.
- * For example if RunReportRequest contains:
- * ```none
- * "dimensions": [
- *   {
- *     "name": "eventName"
- *   },
- *   {
- *     "name": "countryId"
- *   }
- * ],
- * "metrics": [
- *   {
- *     "name": "eventCount"
- *   }
- * ]
- * ```
- * One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and
- * 15 as the eventCount, would be:
- * ```none
- * "dimensionValues": [
- *   {
- *     "value": "in_app_purchase"
- *   },
- *   {
- *     "value": "JP"
- *   }
- * ],
- * "metricValues": [
- *   {
- *     "value": "15"
- *   }
- * ]
- * ```
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Row} - */ -public final class Row extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.Row) - RowOrBuilder { - private static final long serialVersionUID = 0L; - // Use Row.newBuilder() to construct. - private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Row() { - dimensionValues_ = java.util.Collections.emptyList(); - metricValues_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Row(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Row( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensionValues_.add( - input.readMessage( - com.google.analytics.data.v1alpha.DimensionValue.parser(), - extensionRegistry)); - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metricValues_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metricValues_.add( - input.readMessage( - com.google.analytics.data.v1alpha.MetricValue.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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = java.util.Collections.unmodifiableList(dimensionValues_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - metricValues_ = java.util.Collections.unmodifiableList(metricValues_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Row_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Row_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Row.class, - com.google.analytics.data.v1alpha.Row.Builder.class); - } - - public static final int DIMENSION_VALUES_FIELD_NUMBER = 1; - private java.util.List dimensionValues_; - /** - * - * - *
-   * List of requested dimension values. In a PivotReport, dimension_values
-   * are only listed for dimensions included in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - @java.lang.Override - public java.util.List getDimensionValuesList() { - return dimensionValues_; - } - /** - * - * - *
-   * List of requested dimension values. In a PivotReport, dimension_values
-   * are only listed for dimensions included in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - @java.lang.Override - public java.util.List - getDimensionValuesOrBuilderList() { - return dimensionValues_; - } - /** - * - * - *
-   * List of requested dimension values. In a PivotReport, dimension_values
-   * are only listed for dimensions included in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - @java.lang.Override - public int getDimensionValuesCount() { - return dimensionValues_.size(); - } - /** - * - * - *
-   * List of requested dimension values. In a PivotReport, dimension_values
-   * are only listed for dimensions included in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionValue getDimensionValues(int index) { - return dimensionValues_.get(index); - } - /** - * - * - *
-   * List of requested dimension values. In a PivotReport, dimension_values
-   * are only listed for dimensions included in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionValueOrBuilder getDimensionValuesOrBuilder( - int index) { - return dimensionValues_.get(index); - } - - public static final int METRIC_VALUES_FIELD_NUMBER = 2; - private java.util.List metricValues_; - /** - * - * - *
-   * List of requested visible metric values.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - @java.lang.Override - public java.util.List getMetricValuesList() { - return metricValues_; - } - /** - * - * - *
-   * List of requested visible metric values.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - @java.lang.Override - public java.util.List - getMetricValuesOrBuilderList() { - return metricValues_; - } - /** - * - * - *
-   * List of requested visible metric values.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - @java.lang.Override - public int getMetricValuesCount() { - return metricValues_.size(); - } - /** - * - * - *
-   * List of requested visible metric values.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricValue getMetricValues(int index) { - return metricValues_.get(index); - } - /** - * - * - *
-   * List of requested visible metric values.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricValueOrBuilder getMetricValuesOrBuilder( - int index) { - return metricValues_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < dimensionValues_.size(); i++) { - output.writeMessage(1, dimensionValues_.get(i)); - } - for (int i = 0; i < metricValues_.size(); i++) { - output.writeMessage(2, metricValues_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < dimensionValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionValues_.get(i)); - } - for (int i = 0; i < metricValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricValues_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.Row)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.Row other = (com.google.analytics.data.v1alpha.Row) obj; - - if (!getDimensionValuesList().equals(other.getDimensionValuesList())) return false; - if (!getMetricValuesList().equals(other.getMetricValuesList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getDimensionValuesCount() > 0) { - hash = (37 * hash) + DIMENSION_VALUES_FIELD_NUMBER; - hash = (53 * hash) + getDimensionValuesList().hashCode(); - } - if (getMetricValuesCount() > 0) { - hash = (37 * hash) + METRIC_VALUES_FIELD_NUMBER; - hash = (53 * hash) + getMetricValuesList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.Row parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Row parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Row parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Row parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Row parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.Row parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Row parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Row parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Row parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Row parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.Row parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.Row parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.Row prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Report data for each row.
-   * For example if RunReportRequest contains:
-   * ```none
-   * "dimensions": [
-   *   {
-   *     "name": "eventName"
-   *   },
-   *   {
-   *     "name": "countryId"
-   *   }
-   * ],
-   * "metrics": [
-   *   {
-   *     "name": "eventCount"
-   *   }
-   * ]
-   * ```
-   * One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and
-   * 15 as the eventCount, would be:
-   * ```none
-   * "dimensionValues": [
-   *   {
-   *     "value": "in_app_purchase"
-   *   },
-   *   {
-   *     "value": "JP"
-   *   }
-   * ],
-   * "metricValues": [
-   *   {
-   *     "value": "15"
-   *   }
-   * ]
-   * ```
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.Row} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.Row) - com.google.analytics.data.v1alpha.RowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Row_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Row_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.Row.class, - com.google.analytics.data.v1alpha.Row.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.Row.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getDimensionValuesFieldBuilder(); - getMetricValuesFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (dimensionValuesBuilder_ == null) { - dimensionValues_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - dimensionValuesBuilder_.clear(); - } - if (metricValuesBuilder_ == null) { - metricValues_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - metricValuesBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.ReportingApiProto - .internal_static_google_analytics_data_v1alpha_Row_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.Row.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Row build() { - com.google.analytics.data.v1alpha.Row result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Row buildPartial() { - com.google.analytics.data.v1alpha.Row result = - new com.google.analytics.data.v1alpha.Row(this); - int from_bitField0_ = bitField0_; - if (dimensionValuesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = java.util.Collections.unmodifiableList(dimensionValues_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dimensionValues_ = dimensionValues_; - } else { - result.dimensionValues_ = dimensionValuesBuilder_.build(); - } - if (metricValuesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - metricValues_ = java.util.Collections.unmodifiableList(metricValues_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.metricValues_ = metricValues_; - } else { - result.metricValues_ = metricValuesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.Row) { - return mergeFrom((com.google.analytics.data.v1alpha.Row) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.Row other) { - if (other == com.google.analytics.data.v1alpha.Row.getDefaultInstance()) return this; - if (dimensionValuesBuilder_ == null) { - if (!other.dimensionValues_.isEmpty()) { - if (dimensionValues_.isEmpty()) { - dimensionValues_ = other.dimensionValues_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDimensionValuesIsMutable(); - dimensionValues_.addAll(other.dimensionValues_); - } - onChanged(); - } - } else { - if (!other.dimensionValues_.isEmpty()) { - if (dimensionValuesBuilder_.isEmpty()) { - dimensionValuesBuilder_.dispose(); - dimensionValuesBuilder_ = null; - dimensionValues_ = other.dimensionValues_; - bitField0_ = (bitField0_ & ~0x00000001); - dimensionValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionValuesFieldBuilder() - : null; - } else { - dimensionValuesBuilder_.addAllMessages(other.dimensionValues_); - } - } - } - if (metricValuesBuilder_ == null) { - if (!other.metricValues_.isEmpty()) { - if (metricValues_.isEmpty()) { - metricValues_ = other.metricValues_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureMetricValuesIsMutable(); - metricValues_.addAll(other.metricValues_); - } - onChanged(); - } - } else { - if (!other.metricValues_.isEmpty()) { - if (metricValuesBuilder_.isEmpty()) { - metricValuesBuilder_.dispose(); - metricValuesBuilder_ = null; - metricValues_ = other.metricValues_; - bitField0_ = (bitField0_ & ~0x00000002); - metricValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricValuesFieldBuilder() - : null; - } else { - metricValuesBuilder_.addAllMessages(other.metricValues_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.Row parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1alpha.Row) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List dimensionValues_ = - java.util.Collections.emptyList(); - - private void ensureDimensionValuesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = - new java.util.ArrayList( - dimensionValues_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionValue, - com.google.analytics.data.v1alpha.DimensionValue.Builder, - com.google.analytics.data.v1alpha.DimensionValueOrBuilder> - dimensionValuesBuilder_; - - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public java.util.List - getDimensionValuesList() { - if (dimensionValuesBuilder_ == null) { - return java.util.Collections.unmodifiableList(dimensionValues_); - } else { - return dimensionValuesBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public int getDimensionValuesCount() { - if (dimensionValuesBuilder_ == null) { - return dimensionValues_.size(); - } else { - return dimensionValuesBuilder_.getCount(); - } - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public com.google.analytics.data.v1alpha.DimensionValue getDimensionValues(int index) { - if (dimensionValuesBuilder_ == null) { - return dimensionValues_.get(index); - } else { - return dimensionValuesBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder setDimensionValues( - int index, com.google.analytics.data.v1alpha.DimensionValue value) { - if (dimensionValuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionValuesIsMutable(); - dimensionValues_.set(index, value); - onChanged(); - } else { - dimensionValuesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder setDimensionValues( - int index, com.google.analytics.data.v1alpha.DimensionValue.Builder builderForValue) { - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.set(index, builderForValue.build()); - onChanged(); - } else { - dimensionValuesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder addDimensionValues(com.google.analytics.data.v1alpha.DimensionValue value) { - if (dimensionValuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionValuesIsMutable(); - dimensionValues_.add(value); - onChanged(); - } else { - dimensionValuesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder addDimensionValues( - int index, com.google.analytics.data.v1alpha.DimensionValue value) { - if (dimensionValuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionValuesIsMutable(); - dimensionValues_.add(index, value); - onChanged(); - } else { - dimensionValuesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder addDimensionValues( - com.google.analytics.data.v1alpha.DimensionValue.Builder builderForValue) { - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.add(builderForValue.build()); - onChanged(); - } else { - dimensionValuesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder addDimensionValues( - int index, com.google.analytics.data.v1alpha.DimensionValue.Builder builderForValue) { - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.add(index, builderForValue.build()); - onChanged(); - } else { - dimensionValuesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder addAllDimensionValues( - java.lang.Iterable values) { - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionValues_); - onChanged(); - } else { - dimensionValuesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder clearDimensionValues() { - if (dimensionValuesBuilder_ == null) { - dimensionValues_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - dimensionValuesBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public Builder removeDimensionValues(int index) { - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.remove(index); - onChanged(); - } else { - dimensionValuesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public com.google.analytics.data.v1alpha.DimensionValue.Builder getDimensionValuesBuilder( - int index) { - return getDimensionValuesFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public com.google.analytics.data.v1alpha.DimensionValueOrBuilder getDimensionValuesOrBuilder( - int index) { - if (dimensionValuesBuilder_ == null) { - return dimensionValues_.get(index); - } else { - return dimensionValuesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public java.util.List - getDimensionValuesOrBuilderList() { - if (dimensionValuesBuilder_ != null) { - return dimensionValuesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dimensionValues_); - } - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public com.google.analytics.data.v1alpha.DimensionValue.Builder addDimensionValuesBuilder() { - return getDimensionValuesFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.DimensionValue.getDefaultInstance()); - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public com.google.analytics.data.v1alpha.DimensionValue.Builder addDimensionValuesBuilder( - int index) { - return getDimensionValuesFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.DimensionValue.getDefaultInstance()); - } - /** - * - * - *
-     * List of requested dimension values. In a PivotReport, dimension_values
-     * are only listed for dimensions included in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - public java.util.List - getDimensionValuesBuilderList() { - return getDimensionValuesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionValue, - com.google.analytics.data.v1alpha.DimensionValue.Builder, - com.google.analytics.data.v1alpha.DimensionValueOrBuilder> - getDimensionValuesFieldBuilder() { - if (dimensionValuesBuilder_ == null) { - dimensionValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionValue, - com.google.analytics.data.v1alpha.DimensionValue.Builder, - com.google.analytics.data.v1alpha.DimensionValueOrBuilder>( - dimensionValues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - dimensionValues_ = null; - } - return dimensionValuesBuilder_; - } - - private java.util.List metricValues_ = - java.util.Collections.emptyList(); - - private void ensureMetricValuesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - metricValues_ = - new java.util.ArrayList(metricValues_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricValue, - com.google.analytics.data.v1alpha.MetricValue.Builder, - com.google.analytics.data.v1alpha.MetricValueOrBuilder> - metricValuesBuilder_; - - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public java.util.List getMetricValuesList() { - if (metricValuesBuilder_ == null) { - return java.util.Collections.unmodifiableList(metricValues_); - } else { - return metricValuesBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public int getMetricValuesCount() { - if (metricValuesBuilder_ == null) { - return metricValues_.size(); - } else { - return metricValuesBuilder_.getCount(); - } - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public com.google.analytics.data.v1alpha.MetricValue getMetricValues(int index) { - if (metricValuesBuilder_ == null) { - return metricValues_.get(index); - } else { - return metricValuesBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public Builder setMetricValues(int index, com.google.analytics.data.v1alpha.MetricValue value) { - if (metricValuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricValuesIsMutable(); - metricValues_.set(index, value); - onChanged(); - } else { - metricValuesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public Builder setMetricValues( - int index, com.google.analytics.data.v1alpha.MetricValue.Builder builderForValue) { - if (metricValuesBuilder_ == null) { - ensureMetricValuesIsMutable(); - metricValues_.set(index, builderForValue.build()); - onChanged(); - } else { - metricValuesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public Builder addMetricValues(com.google.analytics.data.v1alpha.MetricValue value) { - if (metricValuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricValuesIsMutable(); - metricValues_.add(value); - onChanged(); - } else { - metricValuesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public Builder addMetricValues(int index, com.google.analytics.data.v1alpha.MetricValue value) { - if (metricValuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricValuesIsMutable(); - metricValues_.add(index, value); - onChanged(); - } else { - metricValuesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public Builder addMetricValues( - com.google.analytics.data.v1alpha.MetricValue.Builder builderForValue) { - if (metricValuesBuilder_ == null) { - ensureMetricValuesIsMutable(); - metricValues_.add(builderForValue.build()); - onChanged(); - } else { - metricValuesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public Builder addMetricValues( - int index, com.google.analytics.data.v1alpha.MetricValue.Builder builderForValue) { - if (metricValuesBuilder_ == null) { - ensureMetricValuesIsMutable(); - metricValues_.add(index, builderForValue.build()); - onChanged(); - } else { - metricValuesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public Builder addAllMetricValues( - java.lang.Iterable values) { - if (metricValuesBuilder_ == null) { - ensureMetricValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricValues_); - onChanged(); - } else { - metricValuesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public Builder clearMetricValues() { - if (metricValuesBuilder_ == null) { - metricValues_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - metricValuesBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public Builder removeMetricValues(int index) { - if (metricValuesBuilder_ == null) { - ensureMetricValuesIsMutable(); - metricValues_.remove(index); - onChanged(); - } else { - metricValuesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public com.google.analytics.data.v1alpha.MetricValue.Builder getMetricValuesBuilder(int index) { - return getMetricValuesFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public com.google.analytics.data.v1alpha.MetricValueOrBuilder getMetricValuesOrBuilder( - int index) { - if (metricValuesBuilder_ == null) { - return metricValues_.get(index); - } else { - return metricValuesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public java.util.List - getMetricValuesOrBuilderList() { - if (metricValuesBuilder_ != null) { - return metricValuesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(metricValues_); - } - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public com.google.analytics.data.v1alpha.MetricValue.Builder addMetricValuesBuilder() { - return getMetricValuesFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.MetricValue.getDefaultInstance()); - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public com.google.analytics.data.v1alpha.MetricValue.Builder addMetricValuesBuilder(int index) { - return getMetricValuesFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.MetricValue.getDefaultInstance()); - } - /** - * - * - *
-     * List of requested visible metric values.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - public java.util.List - getMetricValuesBuilderList() { - return getMetricValuesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricValue, - com.google.analytics.data.v1alpha.MetricValue.Builder, - com.google.analytics.data.v1alpha.MetricValueOrBuilder> - getMetricValuesFieldBuilder() { - if (metricValuesBuilder_ == null) { - metricValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricValue, - com.google.analytics.data.v1alpha.MetricValue.Builder, - com.google.analytics.data.v1alpha.MetricValueOrBuilder>( - metricValues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - metricValues_ = null; - } - return metricValuesBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.Row) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.Row) - private static final com.google.analytics.data.v1alpha.Row DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.Row(); - } - - public static com.google.analytics.data.v1alpha.Row getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Row parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Row(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RowOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RowOrBuilder.java deleted file mode 100644 index 822a7fd3..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RowOrBuilder.java +++ /dev/null @@ -1,134 +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/analytics/data/v1alpha/data.proto - -package com.google.analytics.data.v1alpha; - -public interface RowOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Row) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * List of requested dimension values. In a PivotReport, dimension_values
-   * are only listed for dimensions included in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - java.util.List getDimensionValuesList(); - /** - * - * - *
-   * List of requested dimension values. In a PivotReport, dimension_values
-   * are only listed for dimensions included in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - com.google.analytics.data.v1alpha.DimensionValue getDimensionValues(int index); - /** - * - * - *
-   * List of requested dimension values. In a PivotReport, dimension_values
-   * are only listed for dimensions included in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - int getDimensionValuesCount(); - /** - * - * - *
-   * List of requested dimension values. In a PivotReport, dimension_values
-   * are only listed for dimensions included in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - java.util.List - getDimensionValuesOrBuilderList(); - /** - * - * - *
-   * List of requested dimension values. In a PivotReport, dimension_values
-   * are only listed for dimensions included in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1; - */ - com.google.analytics.data.v1alpha.DimensionValueOrBuilder getDimensionValuesOrBuilder(int index); - - /** - * - * - *
-   * List of requested visible metric values.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - java.util.List getMetricValuesList(); - /** - * - * - *
-   * List of requested visible metric values.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - com.google.analytics.data.v1alpha.MetricValue getMetricValues(int index); - /** - * - * - *
-   * List of requested visible metric values.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - int getMetricValuesCount(); - /** - * - * - *
-   * List of requested visible metric values.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - java.util.List - getMetricValuesOrBuilderList(); - /** - * - * - *
-   * List of requested visible metric values.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2; - */ - com.google.analytics.data.v1alpha.MetricValueOrBuilder getMetricValuesOrBuilder(int index); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportRequest.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportRequest.java deleted file mode 100644 index 9b9aab4d..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportRequest.java +++ /dev/null @@ -1,4198 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The request to generate a pivot report.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunPivotReportRequest} - */ -public final class RunPivotReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.RunPivotReportRequest) - RunPivotReportRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use RunPivotReportRequest.newBuilder() to construct. - private RunPivotReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private RunPivotReportRequest() { - dimensions_ = java.util.Collections.emptyList(); - metrics_ = java.util.Collections.emptyList(); - pivots_ = java.util.Collections.emptyList(); - dateRanges_ = java.util.Collections.emptyList(); - currencyCode_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RunPivotReportRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private RunPivotReportRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.analytics.data.v1alpha.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.analytics.data.v1alpha.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensions_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Dimension.parser(), extensionRegistry)); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metrics_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Metric.parser(), extensionRegistry)); - break; - } - case 34: - { - com.google.analytics.data.v1alpha.FilterExpression.Builder subBuilder = null; - if (dimensionFilter_ != null) { - subBuilder = dimensionFilter_.toBuilder(); - } - dimensionFilter_ = - input.readMessage( - com.google.analytics.data.v1alpha.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionFilter_); - dimensionFilter_ = subBuilder.buildPartial(); - } - - break; - } - case 42: - { - com.google.analytics.data.v1alpha.FilterExpression.Builder subBuilder = null; - if (metricFilter_ != null) { - subBuilder = metricFilter_.toBuilder(); - } - metricFilter_ = - input.readMessage( - com.google.analytics.data.v1alpha.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricFilter_); - metricFilter_ = subBuilder.buildPartial(); - } - - break; - } - case 50: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - pivots_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - pivots_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Pivot.parser(), extensionRegistry)); - break; - } - case 58: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - dateRanges_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - dateRanges_.add( - input.readMessage( - com.google.analytics.data.v1alpha.DateRange.parser(), extensionRegistry)); - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - - currencyCode_ = s; - break; - } - case 74: - { - com.google.analytics.data.v1alpha.CohortSpec.Builder subBuilder = null; - if (cohortSpec_ != null) { - subBuilder = cohortSpec_.toBuilder(); - } - cohortSpec_ = - input.readMessage( - com.google.analytics.data.v1alpha.CohortSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cohortSpec_); - cohortSpec_ = subBuilder.buildPartial(); - } - - break; - } - case 80: - { - keepEmptyRows_ = input.readBool(); - break; - } - case 88: - { - returnPropertyQuota_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = java.util.Collections.unmodifiableList(dimensions_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = java.util.Collections.unmodifiableList(metrics_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - pivots_ = java.util.Collections.unmodifiableList(pivots_); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - dateRanges_ = java.util.Collections.unmodifiableList(dateRanges_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunPivotReportRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunPivotReportRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunPivotReportRequest.class, - com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder.class); - } - - public static final int ENTITY_FIELD_NUMBER = 1; - private com.google.analytics.data.v1alpha.Entity entity_; - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - @java.lang.Override - public boolean hasEntity() { - return entity_ != null; - } - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Entity getEntity() { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder() { - return getEntity(); - } - - public static final int DIMENSIONS_FIELD_NUMBER = 2; - private java.util.List dimensions_; - /** - * - * - *
-   * The dimensions requested. All defined dimensions must be used by one of the
-   * following: dimension_expression, dimension_filter, pivots, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public java.util.List getDimensionsList() { - return dimensions_; - } - /** - * - * - *
-   * The dimensions requested. All defined dimensions must be used by one of the
-   * following: dimension_expression, dimension_filter, pivots, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public java.util.List - getDimensionsOrBuilderList() { - return dimensions_; - } - /** - * - * - *
-   * The dimensions requested. All defined dimensions must be used by one of the
-   * following: dimension_expression, dimension_filter, pivots, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public int getDimensionsCount() { - return dimensions_.size(); - } - /** - * - * - *
-   * The dimensions requested. All defined dimensions must be used by one of the
-   * following: dimension_expression, dimension_filter, pivots, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Dimension getDimensions(int index) { - return dimensions_.get(index); - } - /** - * - * - *
-   * The dimensions requested. All defined dimensions must be used by one of the
-   * following: dimension_expression, dimension_filter, pivots, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionOrBuilder getDimensionsOrBuilder(int index) { - return dimensions_.get(index); - } - - public static final int METRICS_FIELD_NUMBER = 3; - private java.util.List metrics_; - /** - * - * - *
-   * The metrics requested, at least one metric needs to be specified. All
-   * defined metrics must be used by one of the following: metric_expression,
-   * metric_filter, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public java.util.List getMetricsList() { - return metrics_; - } - /** - * - * - *
-   * The metrics requested, at least one metric needs to be specified. All
-   * defined metrics must be used by one of the following: metric_expression,
-   * metric_filter, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public java.util.List - getMetricsOrBuilderList() { - return metrics_; - } - /** - * - * - *
-   * The metrics requested, at least one metric needs to be specified. All
-   * defined metrics must be used by one of the following: metric_expression,
-   * metric_filter, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public int getMetricsCount() { - return metrics_.size(); - } - /** - * - * - *
-   * The metrics requested, at least one metric needs to be specified. All
-   * defined metrics must be used by one of the following: metric_expression,
-   * metric_filter, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Metric getMetrics(int index) { - return metrics_.get(index); - } - /** - * - * - *
-   * The metrics requested, at least one metric needs to be specified. All
-   * defined metrics must be used by one of the following: metric_expression,
-   * metric_filter, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricOrBuilder getMetricsOrBuilder(int index) { - return metrics_.get(index); - } - - public static final int DIMENSION_FILTER_FIELD_NUMBER = 4; - private com.google.analytics.data.v1alpha.FilterExpression dimensionFilter_; - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - * - * @return Whether the dimensionFilter field is set. - */ - @java.lang.Override - public boolean hasDimensionFilter() { - return dimensionFilter_ != null; - } - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - * - * @return The dimensionFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getDimensionFilter() { - return dimensionFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : dimensionFilter_; - } - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getDimensionFilterOrBuilder() { - return getDimensionFilter(); - } - - public static final int METRIC_FILTER_FIELD_NUMBER = 5; - private com.google.analytics.data.v1alpha.FilterExpression metricFilter_; - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - * - * @return Whether the metricFilter field is set. - */ - @java.lang.Override - public boolean hasMetricFilter() { - return metricFilter_ != null; - } - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - * - * @return The metricFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getMetricFilter() { - return metricFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : metricFilter_; - } - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getMetricFilterOrBuilder() { - return getMetricFilter(); - } - - public static final int PIVOTS_FIELD_NUMBER = 6; - private java.util.List pivots_; - /** - * - * - *
-   * Describes the visual format of the report's dimensions in columns or rows.
-   * The union of the fieldNames (dimension names) in all pivots must be a
-   * subset of dimension names defined in Dimensions. No two pivots can share a
-   * dimension. A dimension is only visible if it appears in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - @java.lang.Override - public java.util.List getPivotsList() { - return pivots_; - } - /** - * - * - *
-   * Describes the visual format of the report's dimensions in columns or rows.
-   * The union of the fieldNames (dimension names) in all pivots must be a
-   * subset of dimension names defined in Dimensions. No two pivots can share a
-   * dimension. A dimension is only visible if it appears in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - @java.lang.Override - public java.util.List - getPivotsOrBuilderList() { - return pivots_; - } - /** - * - * - *
-   * Describes the visual format of the report's dimensions in columns or rows.
-   * The union of the fieldNames (dimension names) in all pivots must be a
-   * subset of dimension names defined in Dimensions. No two pivots can share a
-   * dimension. A dimension is only visible if it appears in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - @java.lang.Override - public int getPivotsCount() { - return pivots_.size(); - } - /** - * - * - *
-   * Describes the visual format of the report's dimensions in columns or rows.
-   * The union of the fieldNames (dimension names) in all pivots must be a
-   * subset of dimension names defined in Dimensions. No two pivots can share a
-   * dimension. A dimension is only visible if it appears in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Pivot getPivots(int index) { - return pivots_.get(index); - } - /** - * - * - *
-   * Describes the visual format of the report's dimensions in columns or rows.
-   * The union of the fieldNames (dimension names) in all pivots must be a
-   * subset of dimension names defined in Dimensions. No two pivots can share a
-   * dimension. A dimension is only visible if it appears in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotOrBuilder getPivotsOrBuilder(int index) { - return pivots_.get(index); - } - - public static final int DATE_RANGES_FIELD_NUMBER = 7; - private java.util.List dateRanges_; - /** - * - * - *
-   * The date range to retrieve event data for the report. If multiple date
-   * ranges are specified, event data from each date range is used in the
-   * report. A special dimension with field name "dateRange" can be included in
-   * a Pivot's field names; if included, the report compares between date
-   * ranges. In a cohort request, this `dateRanges` must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - @java.lang.Override - public java.util.List getDateRangesList() { - return dateRanges_; - } - /** - * - * - *
-   * The date range to retrieve event data for the report. If multiple date
-   * ranges are specified, event data from each date range is used in the
-   * report. A special dimension with field name "dateRange" can be included in
-   * a Pivot's field names; if included, the report compares between date
-   * ranges. In a cohort request, this `dateRanges` must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - @java.lang.Override - public java.util.List - getDateRangesOrBuilderList() { - return dateRanges_; - } - /** - * - * - *
-   * The date range to retrieve event data for the report. If multiple date
-   * ranges are specified, event data from each date range is used in the
-   * report. A special dimension with field name "dateRange" can be included in
-   * a Pivot's field names; if included, the report compares between date
-   * ranges. In a cohort request, this `dateRanges` must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - @java.lang.Override - public int getDateRangesCount() { - return dateRanges_.size(); - } - /** - * - * - *
-   * The date range to retrieve event data for the report. If multiple date
-   * ranges are specified, event data from each date range is used in the
-   * report. A special dimension with field name "dateRange" can be included in
-   * a Pivot's field names; if included, the report compares between date
-   * ranges. In a cohort request, this `dateRanges` must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DateRange getDateRanges(int index) { - return dateRanges_.get(index); - } - /** - * - * - *
-   * The date range to retrieve event data for the report. If multiple date
-   * ranges are specified, event data from each date range is used in the
-   * report. A special dimension with field name "dateRange" can be included in
-   * a Pivot's field names; if included, the report compares between date
-   * ranges. In a cohort request, this `dateRanges` must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DateRangeOrBuilder getDateRangesOrBuilder(int index) { - return dateRanges_.get(index); - } - - public static final int CURRENCY_CODE_FIELD_NUMBER = 8; - private volatile java.lang.Object currencyCode_; - /** - * - * - *
-   * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-   * If the field is empty, the report uses the entity's default currency.
-   * 
- * - * string currency_code = 8; - * - * @return The currencyCode. - */ - @java.lang.Override - public java.lang.String getCurrencyCode() { - java.lang.Object ref = currencyCode_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - currencyCode_ = s; - return s; - } - } - /** - * - * - *
-   * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-   * If the field is empty, the report uses the entity's default currency.
-   * 
- * - * string currency_code = 8; - * - * @return The bytes for currencyCode. - */ - @java.lang.Override - public com.google.protobuf.ByteString getCurrencyCodeBytes() { - java.lang.Object ref = currencyCode_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - currencyCode_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int COHORT_SPEC_FIELD_NUMBER = 9; - private com.google.analytics.data.v1alpha.CohortSpec cohortSpec_; - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - * - * @return Whether the cohortSpec field is set. - */ - @java.lang.Override - public boolean hasCohortSpec() { - return cohortSpec_ != null; - } - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - * - * @return The cohortSpec. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortSpec getCohortSpec() { - return cohortSpec_ == null - ? com.google.analytics.data.v1alpha.CohortSpec.getDefaultInstance() - : cohortSpec_; - } - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortSpecOrBuilder getCohortSpecOrBuilder() { - return getCohortSpec(); - } - - public static final int KEEP_EMPTY_ROWS_FIELD_NUMBER = 10; - private boolean keepEmptyRows_; - /** - * - * - *
-   * If false or unspecified, each row with all metrics equal to 0 will not be
-   * returned. If true, these rows will be returned if they are not separately
-   * removed by a filter.
-   * 
- * - * bool keep_empty_rows = 10; - * - * @return The keepEmptyRows. - */ - @java.lang.Override - public boolean getKeepEmptyRows() { - return keepEmptyRows_; - } - - public static final int RETURN_PROPERTY_QUOTA_FIELD_NUMBER = 11; - private boolean returnPropertyQuota_; - /** - * - * - *
-   * Toggles whether to return the current state of this Analytics Property's
-   * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-   * 
- * - * bool return_property_quota = 11; - * - * @return The returnPropertyQuota. - */ - @java.lang.Override - public boolean getReturnPropertyQuota() { - return returnPropertyQuota_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (entity_ != null) { - output.writeMessage(1, getEntity()); - } - for (int i = 0; i < dimensions_.size(); i++) { - output.writeMessage(2, dimensions_.get(i)); - } - for (int i = 0; i < metrics_.size(); i++) { - output.writeMessage(3, metrics_.get(i)); - } - if (dimensionFilter_ != null) { - output.writeMessage(4, getDimensionFilter()); - } - if (metricFilter_ != null) { - output.writeMessage(5, getMetricFilter()); - } - for (int i = 0; i < pivots_.size(); i++) { - output.writeMessage(6, pivots_.get(i)); - } - for (int i = 0; i < dateRanges_.size(); i++) { - output.writeMessage(7, dateRanges_.get(i)); - } - if (!getCurrencyCodeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, currencyCode_); - } - if (cohortSpec_ != null) { - output.writeMessage(9, getCohortSpec()); - } - if (keepEmptyRows_ != false) { - output.writeBool(10, keepEmptyRows_); - } - if (returnPropertyQuota_ != false) { - output.writeBool(11, returnPropertyQuota_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); - } - for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); - } - for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); - } - if (dimensionFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDimensionFilter()); - } - if (metricFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetricFilter()); - } - for (int i = 0; i < pivots_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, pivots_.get(i)); - } - for (int i = 0; i < dateRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, dateRanges_.get(i)); - } - if (!getCurrencyCodeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, currencyCode_); - } - if (cohortSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCohortSpec()); - } - if (keepEmptyRows_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, keepEmptyRows_); - } - if (returnPropertyQuota_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, returnPropertyQuota_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.RunPivotReportRequest)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.RunPivotReportRequest other = - (com.google.analytics.data.v1alpha.RunPivotReportRequest) obj; - - if (hasEntity() != other.hasEntity()) return false; - if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; - } - if (!getDimensionsList().equals(other.getDimensionsList())) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; - if (hasDimensionFilter() != other.hasDimensionFilter()) return false; - if (hasDimensionFilter()) { - if (!getDimensionFilter().equals(other.getDimensionFilter())) return false; - } - if (hasMetricFilter() != other.hasMetricFilter()) return false; - if (hasMetricFilter()) { - if (!getMetricFilter().equals(other.getMetricFilter())) return false; - } - if (!getPivotsList().equals(other.getPivotsList())) return false; - if (!getDateRangesList().equals(other.getDateRangesList())) return false; - if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; - if (hasCohortSpec() != other.hasCohortSpec()) return false; - if (hasCohortSpec()) { - if (!getCohortSpec().equals(other.getCohortSpec())) return false; - } - if (getKeepEmptyRows() != other.getKeepEmptyRows()) return false; - if (getReturnPropertyQuota() != other.getReturnPropertyQuota()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasEntity()) { - hash = (37 * hash) + ENTITY_FIELD_NUMBER; - hash = (53 * hash) + getEntity().hashCode(); - } - if (getDimensionsCount() > 0) { - hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; - hash = (53 * hash) + getDimensionsList().hashCode(); - } - if (getMetricsCount() > 0) { - hash = (37 * hash) + METRICS_FIELD_NUMBER; - hash = (53 * hash) + getMetricsList().hashCode(); - } - if (hasDimensionFilter()) { - hash = (37 * hash) + DIMENSION_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getDimensionFilter().hashCode(); - } - if (hasMetricFilter()) { - hash = (37 * hash) + METRIC_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getMetricFilter().hashCode(); - } - if (getPivotsCount() > 0) { - hash = (37 * hash) + PIVOTS_FIELD_NUMBER; - hash = (53 * hash) + getPivotsList().hashCode(); - } - if (getDateRangesCount() > 0) { - hash = (37 * hash) + DATE_RANGES_FIELD_NUMBER; - hash = (53 * hash) + getDateRangesList().hashCode(); - } - hash = (37 * hash) + CURRENCY_CODE_FIELD_NUMBER; - hash = (53 * hash) + getCurrencyCode().hashCode(); - if (hasCohortSpec()) { - hash = (37 * hash) + COHORT_SPEC_FIELD_NUMBER; - hash = (53 * hash) + getCohortSpec().hashCode(); - } - hash = (37 * hash) + KEEP_EMPTY_ROWS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeepEmptyRows()); - hash = (37 * hash) + RETURN_PROPERTY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPropertyQuota()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.RunPivotReportRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The request to generate a pivot report.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunPivotReportRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.RunPivotReportRequest) - com.google.analytics.data.v1alpha.RunPivotReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunPivotReportRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunPivotReportRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunPivotReportRequest.class, - com.google.analytics.data.v1alpha.RunPivotReportRequest.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.RunPivotReportRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getDimensionsFieldBuilder(); - getMetricsFieldBuilder(); - getPivotsFieldBuilder(); - getDateRangesFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (entityBuilder_ == null) { - entity_ = null; - } else { - entity_ = null; - entityBuilder_ = null; - } - if (dimensionsBuilder_ == null) { - dimensions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - dimensionsBuilder_.clear(); - } - if (metricsBuilder_ == null) { - metrics_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - metricsBuilder_.clear(); - } - if (dimensionFilterBuilder_ == null) { - dimensionFilter_ = null; - } else { - dimensionFilter_ = null; - dimensionFilterBuilder_ = null; - } - if (metricFilterBuilder_ == null) { - metricFilter_ = null; - } else { - metricFilter_ = null; - metricFilterBuilder_ = null; - } - if (pivotsBuilder_ == null) { - pivots_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - pivotsBuilder_.clear(); - } - if (dateRangesBuilder_ == null) { - dateRanges_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - dateRangesBuilder_.clear(); - } - currencyCode_ = ""; - - if (cohortSpecBuilder_ == null) { - cohortSpec_ = null; - } else { - cohortSpec_ = null; - cohortSpecBuilder_ = null; - } - keepEmptyRows_ = false; - - returnPropertyQuota_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunPivotReportRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportRequest getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.RunPivotReportRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportRequest build() { - com.google.analytics.data.v1alpha.RunPivotReportRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportRequest buildPartial() { - com.google.analytics.data.v1alpha.RunPivotReportRequest result = - new com.google.analytics.data.v1alpha.RunPivotReportRequest(this); - int from_bitField0_ = bitField0_; - if (entityBuilder_ == null) { - result.entity_ = entity_; - } else { - result.entity_ = entityBuilder_.build(); - } - if (dimensionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - dimensions_ = java.util.Collections.unmodifiableList(dimensions_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dimensions_ = dimensions_; - } else { - result.dimensions_ = dimensionsBuilder_.build(); - } - if (metricsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - metrics_ = java.util.Collections.unmodifiableList(metrics_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.metrics_ = metrics_; - } else { - result.metrics_ = metricsBuilder_.build(); - } - if (dimensionFilterBuilder_ == null) { - result.dimensionFilter_ = dimensionFilter_; - } else { - result.dimensionFilter_ = dimensionFilterBuilder_.build(); - } - if (metricFilterBuilder_ == null) { - result.metricFilter_ = metricFilter_; - } else { - result.metricFilter_ = metricFilterBuilder_.build(); - } - if (pivotsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - pivots_ = java.util.Collections.unmodifiableList(pivots_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.pivots_ = pivots_; - } else { - result.pivots_ = pivotsBuilder_.build(); - } - if (dateRangesBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - dateRanges_ = java.util.Collections.unmodifiableList(dateRanges_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.dateRanges_ = dateRanges_; - } else { - result.dateRanges_ = dateRangesBuilder_.build(); - } - result.currencyCode_ = currencyCode_; - if (cohortSpecBuilder_ == null) { - result.cohortSpec_ = cohortSpec_; - } else { - result.cohortSpec_ = cohortSpecBuilder_.build(); - } - result.keepEmptyRows_ = keepEmptyRows_; - result.returnPropertyQuota_ = returnPropertyQuota_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.RunPivotReportRequest) { - return mergeFrom((com.google.analytics.data.v1alpha.RunPivotReportRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.RunPivotReportRequest other) { - if (other == com.google.analytics.data.v1alpha.RunPivotReportRequest.getDefaultInstance()) - return this; - if (other.hasEntity()) { - mergeEntity(other.getEntity()); - } - if (dimensionsBuilder_ == null) { - if (!other.dimensions_.isEmpty()) { - if (dimensions_.isEmpty()) { - dimensions_ = other.dimensions_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDimensionsIsMutable(); - dimensions_.addAll(other.dimensions_); - } - onChanged(); - } - } else { - if (!other.dimensions_.isEmpty()) { - if (dimensionsBuilder_.isEmpty()) { - dimensionsBuilder_.dispose(); - dimensionsBuilder_ = null; - dimensions_ = other.dimensions_; - bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionsFieldBuilder() - : null; - } else { - dimensionsBuilder_.addAllMessages(other.dimensions_); - } - } - } - if (metricsBuilder_ == null) { - if (!other.metrics_.isEmpty()) { - if (metrics_.isEmpty()) { - metrics_ = other.metrics_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureMetricsIsMutable(); - metrics_.addAll(other.metrics_); - } - onChanged(); - } - } else { - if (!other.metrics_.isEmpty()) { - if (metricsBuilder_.isEmpty()) { - metricsBuilder_.dispose(); - metricsBuilder_ = null; - metrics_ = other.metrics_; - bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; - } else { - metricsBuilder_.addAllMessages(other.metrics_); - } - } - } - if (other.hasDimensionFilter()) { - mergeDimensionFilter(other.getDimensionFilter()); - } - if (other.hasMetricFilter()) { - mergeMetricFilter(other.getMetricFilter()); - } - if (pivotsBuilder_ == null) { - if (!other.pivots_.isEmpty()) { - if (pivots_.isEmpty()) { - pivots_ = other.pivots_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensurePivotsIsMutable(); - pivots_.addAll(other.pivots_); - } - onChanged(); - } - } else { - if (!other.pivots_.isEmpty()) { - if (pivotsBuilder_.isEmpty()) { - pivotsBuilder_.dispose(); - pivotsBuilder_ = null; - pivots_ = other.pivots_; - bitField0_ = (bitField0_ & ~0x00000004); - pivotsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPivotsFieldBuilder() - : null; - } else { - pivotsBuilder_.addAllMessages(other.pivots_); - } - } - } - if (dateRangesBuilder_ == null) { - if (!other.dateRanges_.isEmpty()) { - if (dateRanges_.isEmpty()) { - dateRanges_ = other.dateRanges_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureDateRangesIsMutable(); - dateRanges_.addAll(other.dateRanges_); - } - onChanged(); - } - } else { - if (!other.dateRanges_.isEmpty()) { - if (dateRangesBuilder_.isEmpty()) { - dateRangesBuilder_.dispose(); - dateRangesBuilder_ = null; - dateRanges_ = other.dateRanges_; - bitField0_ = (bitField0_ & ~0x00000008); - dateRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDateRangesFieldBuilder() - : null; - } else { - dateRangesBuilder_.addAllMessages(other.dateRanges_); - } - } - } - if (!other.getCurrencyCode().isEmpty()) { - currencyCode_ = other.currencyCode_; - onChanged(); - } - if (other.hasCohortSpec()) { - mergeCohortSpec(other.getCohortSpec()); - } - if (other.getKeepEmptyRows() != false) { - setKeepEmptyRows(other.getKeepEmptyRows()); - } - if (other.getReturnPropertyQuota() != false) { - setReturnPropertyQuota(other.getReturnPropertyQuota()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.RunPivotReportRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.RunPivotReportRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.analytics.data.v1alpha.Entity entity_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder> - entityBuilder_; - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - public boolean hasEntity() { - return entityBuilder_ != null || entity_ != null; - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - public com.google.analytics.data.v1alpha.Entity getEntity() { - if (entityBuilder_ == null) { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } else { - return entityBuilder_.getMessage(); - } - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder setEntity(com.google.analytics.data.v1alpha.Entity value) { - if (entityBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - entity_ = value; - onChanged(); - } else { - entityBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder setEntity(com.google.analytics.data.v1alpha.Entity.Builder builderForValue) { - if (entityBuilder_ == null) { - entity_ = builderForValue.build(); - onChanged(); - } else { - entityBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder mergeEntity(com.google.analytics.data.v1alpha.Entity value) { - if (entityBuilder_ == null) { - if (entity_ != null) { - entity_ = - com.google.analytics.data.v1alpha.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); - } else { - entity_ = value; - } - onChanged(); - } else { - entityBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder clearEntity() { - if (entityBuilder_ == null) { - entity_ = null; - onChanged(); - } else { - entity_ = null; - entityBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public com.google.analytics.data.v1alpha.Entity.Builder getEntityBuilder() { - - onChanged(); - return getEntityFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder() { - if (entityBuilder_ != null) { - return entityBuilder_.getMessageOrBuilder(); - } else { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder> - getEntityFieldBuilder() { - if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); - entity_ = null; - } - return entityBuilder_; - } - - private java.util.List dimensions_ = - java.util.Collections.emptyList(); - - private void ensureDimensionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(dimensions_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Dimension, - com.google.analytics.data.v1alpha.Dimension.Builder, - com.google.analytics.data.v1alpha.DimensionOrBuilder> - dimensionsBuilder_; - - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public java.util.List getDimensionsList() { - if (dimensionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(dimensions_); - } else { - return dimensionsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public int getDimensionsCount() { - if (dimensionsBuilder_ == null) { - return dimensions_.size(); - } else { - return dimensionsBuilder_.getCount(); - } - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension getDimensions(int index) { - if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { - return dimensionsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder setDimensions(int index, com.google.analytics.data.v1alpha.Dimension value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.set(index, value); - onChanged(); - } else { - dimensionsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder setDimensions( - int index, com.google.analytics.data.v1alpha.Dimension.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.set(index, builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions(com.google.analytics.data.v1alpha.Dimension value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.add(value); - onChanged(); - } else { - dimensionsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions(int index, com.google.analytics.data.v1alpha.Dimension value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.add(index, value); - onChanged(); - } else { - dimensionsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions( - com.google.analytics.data.v1alpha.Dimension.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions( - int index, com.google.analytics.data.v1alpha.Dimension.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(index, builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addAllDimensions( - java.lang.Iterable values) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); - onChanged(); - } else { - dimensionsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder clearDimensions() { - if (dimensionsBuilder_ == null) { - dimensions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - dimensionsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder removeDimensions(int index) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.remove(index); - onChanged(); - } else { - dimensionsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension.Builder getDimensionsBuilder(int index) { - return getDimensionsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.DimensionOrBuilder getDimensionsOrBuilder(int index) { - if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { - return dimensionsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public java.util.List - getDimensionsOrBuilderList() { - if (dimensionsBuilder_ != null) { - return dimensionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dimensions_); - } - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension.Builder addDimensionsBuilder() { - return getDimensionsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Dimension.getDefaultInstance()); - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension.Builder addDimensionsBuilder(int index) { - return getDimensionsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Dimension.getDefaultInstance()); - } - /** - * - * - *
-     * The dimensions requested. All defined dimensions must be used by one of the
-     * following: dimension_expression, dimension_filter, pivots, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public java.util.List - getDimensionsBuilderList() { - return getDimensionsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Dimension, - com.google.analytics.data.v1alpha.Dimension.Builder, - com.google.analytics.data.v1alpha.DimensionOrBuilder> - getDimensionsFieldBuilder() { - if (dimensionsBuilder_ == null) { - dimensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Dimension, - com.google.analytics.data.v1alpha.Dimension.Builder, - com.google.analytics.data.v1alpha.DimensionOrBuilder>( - dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - dimensions_ = null; - } - return dimensionsBuilder_; - } - - private java.util.List metrics_ = - java.util.Collections.emptyList(); - - private void ensureMetricsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(metrics_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Metric, - com.google.analytics.data.v1alpha.Metric.Builder, - com.google.analytics.data.v1alpha.MetricOrBuilder> - metricsBuilder_; - - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public java.util.List getMetricsList() { - if (metricsBuilder_ == null) { - return java.util.Collections.unmodifiableList(metrics_); - } else { - return metricsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public int getMetricsCount() { - if (metricsBuilder_ == null) { - return metrics_.size(); - } else { - return metricsBuilder_.getCount(); - } - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric getMetrics(int index) { - if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { - return metricsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder setMetrics(int index, com.google.analytics.data.v1alpha.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.set(index, value); - onChanged(); - } else { - metricsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder setMetrics( - int index, com.google.analytics.data.v1alpha.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.set(index, builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics(com.google.analytics.data.v1alpha.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.add(value); - onChanged(); - } else { - metricsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics(int index, com.google.analytics.data.v1alpha.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.add(index, value); - onChanged(); - } else { - metricsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics(com.google.analytics.data.v1alpha.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics( - int index, com.google.analytics.data.v1alpha.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(index, builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addAllMetrics( - java.lang.Iterable values) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); - onChanged(); - } else { - metricsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder clearMetrics() { - if (metricsBuilder_ == null) { - metrics_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - metricsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder removeMetrics(int index) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.remove(index); - onChanged(); - } else { - metricsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric.Builder getMetricsBuilder(int index) { - return getMetricsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.MetricOrBuilder getMetricsOrBuilder(int index) { - if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { - return metricsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public java.util.List - getMetricsOrBuilderList() { - if (metricsBuilder_ != null) { - return metricsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(metrics_); - } - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Metric.getDefaultInstance()); - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric.Builder addMetricsBuilder(int index) { - return getMetricsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Metric.getDefaultInstance()); - } - /** - * - * - *
-     * The metrics requested, at least one metric needs to be specified. All
-     * defined metrics must be used by one of the following: metric_expression,
-     * metric_filter, order_bys.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public java.util.List - getMetricsBuilderList() { - return getMetricsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Metric, - com.google.analytics.data.v1alpha.Metric.Builder, - com.google.analytics.data.v1alpha.MetricOrBuilder> - getMetricsFieldBuilder() { - if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Metric, - com.google.analytics.data.v1alpha.Metric.Builder, - com.google.analytics.data.v1alpha.MetricOrBuilder>( - metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - metrics_ = null; - } - return metricsBuilder_; - } - - private com.google.analytics.data.v1alpha.FilterExpression dimensionFilter_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - dimensionFilterBuilder_; - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - * - * @return Whether the dimensionFilter field is set. - */ - public boolean hasDimensionFilter() { - return dimensionFilterBuilder_ != null || dimensionFilter_ != null; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - * - * @return The dimensionFilter. - */ - public com.google.analytics.data.v1alpha.FilterExpression getDimensionFilter() { - if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : dimensionFilter_; - } else { - return dimensionFilterBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - */ - public Builder setDimensionFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (dimensionFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dimensionFilter_ = value; - onChanged(); - } else { - dimensionFilterBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - */ - public Builder setDimensionFilter( - com.google.analytics.data.v1alpha.FilterExpression.Builder builderForValue) { - if (dimensionFilterBuilder_ == null) { - dimensionFilter_ = builderForValue.build(); - onChanged(); - } else { - dimensionFilterBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - */ - public Builder mergeDimensionFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (dimensionFilterBuilder_ == null) { - if (dimensionFilter_ != null) { - dimensionFilter_ = - com.google.analytics.data.v1alpha.FilterExpression.newBuilder(dimensionFilter_) - .mergeFrom(value) - .buildPartial(); - } else { - dimensionFilter_ = value; - } - onChanged(); - } else { - dimensionFilterBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - */ - public Builder clearDimensionFilter() { - if (dimensionFilterBuilder_ == null) { - dimensionFilter_ = null; - onChanged(); - } else { - dimensionFilter_ = null; - dimensionFilterBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - */ - public com.google.analytics.data.v1alpha.FilterExpression.Builder getDimensionFilterBuilder() { - - onChanged(); - return getDimensionFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - */ - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder - getDimensionFilterOrBuilder() { - if (dimensionFilterBuilder_ != null) { - return dimensionFilterBuilder_.getMessageOrBuilder(); - } else { - return dimensionFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : dimensionFilter_; - } - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - getDimensionFilterFieldBuilder() { - if (dimensionFilterBuilder_ == null) { - dimensionFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder>( - getDimensionFilter(), getParentForChildren(), isClean()); - dimensionFilter_ = null; - } - return dimensionFilterBuilder_; - } - - private com.google.analytics.data.v1alpha.FilterExpression metricFilter_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - metricFilterBuilder_; - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - * - * @return Whether the metricFilter field is set. - */ - public boolean hasMetricFilter() { - return metricFilterBuilder_ != null || metricFilter_ != null; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - * - * @return The metricFilter. - */ - public com.google.analytics.data.v1alpha.FilterExpression getMetricFilter() { - if (metricFilterBuilder_ == null) { - return metricFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : metricFilter_; - } else { - return metricFilterBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - */ - public Builder setMetricFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (metricFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metricFilter_ = value; - onChanged(); - } else { - metricFilterBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - */ - public Builder setMetricFilter( - com.google.analytics.data.v1alpha.FilterExpression.Builder builderForValue) { - if (metricFilterBuilder_ == null) { - metricFilter_ = builderForValue.build(); - onChanged(); - } else { - metricFilterBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - */ - public Builder mergeMetricFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (metricFilterBuilder_ == null) { - if (metricFilter_ != null) { - metricFilter_ = - com.google.analytics.data.v1alpha.FilterExpression.newBuilder(metricFilter_) - .mergeFrom(value) - .buildPartial(); - } else { - metricFilter_ = value; - } - onChanged(); - } else { - metricFilterBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - */ - public Builder clearMetricFilter() { - if (metricFilterBuilder_ == null) { - metricFilter_ = null; - onChanged(); - } else { - metricFilter_ = null; - metricFilterBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - */ - public com.google.analytics.data.v1alpha.FilterExpression.Builder getMetricFilterBuilder() { - - onChanged(); - return getMetricFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - */ - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getMetricFilterOrBuilder() { - if (metricFilterBuilder_ != null) { - return metricFilterBuilder_.getMessageOrBuilder(); - } else { - return metricFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : metricFilter_; - } - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - getMetricFilterFieldBuilder() { - if (metricFilterBuilder_ == null) { - metricFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder>( - getMetricFilter(), getParentForChildren(), isClean()); - metricFilter_ = null; - } - return metricFilterBuilder_; - } - - private java.util.List pivots_ = - java.util.Collections.emptyList(); - - private void ensurePivotsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - pivots_ = new java.util.ArrayList(pivots_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Pivot, - com.google.analytics.data.v1alpha.Pivot.Builder, - com.google.analytics.data.v1alpha.PivotOrBuilder> - pivotsBuilder_; - - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public java.util.List getPivotsList() { - if (pivotsBuilder_ == null) { - return java.util.Collections.unmodifiableList(pivots_); - } else { - return pivotsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public int getPivotsCount() { - if (pivotsBuilder_ == null) { - return pivots_.size(); - } else { - return pivotsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public com.google.analytics.data.v1alpha.Pivot getPivots(int index) { - if (pivotsBuilder_ == null) { - return pivots_.get(index); - } else { - return pivotsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public Builder setPivots(int index, com.google.analytics.data.v1alpha.Pivot value) { - if (pivotsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotsIsMutable(); - pivots_.set(index, value); - onChanged(); - } else { - pivotsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public Builder setPivots( - int index, com.google.analytics.data.v1alpha.Pivot.Builder builderForValue) { - if (pivotsBuilder_ == null) { - ensurePivotsIsMutable(); - pivots_.set(index, builderForValue.build()); - onChanged(); - } else { - pivotsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public Builder addPivots(com.google.analytics.data.v1alpha.Pivot value) { - if (pivotsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotsIsMutable(); - pivots_.add(value); - onChanged(); - } else { - pivotsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public Builder addPivots(int index, com.google.analytics.data.v1alpha.Pivot value) { - if (pivotsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotsIsMutable(); - pivots_.add(index, value); - onChanged(); - } else { - pivotsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public Builder addPivots(com.google.analytics.data.v1alpha.Pivot.Builder builderForValue) { - if (pivotsBuilder_ == null) { - ensurePivotsIsMutable(); - pivots_.add(builderForValue.build()); - onChanged(); - } else { - pivotsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public Builder addPivots( - int index, com.google.analytics.data.v1alpha.Pivot.Builder builderForValue) { - if (pivotsBuilder_ == null) { - ensurePivotsIsMutable(); - pivots_.add(index, builderForValue.build()); - onChanged(); - } else { - pivotsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public Builder addAllPivots( - java.lang.Iterable values) { - if (pivotsBuilder_ == null) { - ensurePivotsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivots_); - onChanged(); - } else { - pivotsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public Builder clearPivots() { - if (pivotsBuilder_ == null) { - pivots_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - pivotsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public Builder removePivots(int index) { - if (pivotsBuilder_ == null) { - ensurePivotsIsMutable(); - pivots_.remove(index); - onChanged(); - } else { - pivotsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public com.google.analytics.data.v1alpha.Pivot.Builder getPivotsBuilder(int index) { - return getPivotsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public com.google.analytics.data.v1alpha.PivotOrBuilder getPivotsOrBuilder(int index) { - if (pivotsBuilder_ == null) { - return pivots_.get(index); - } else { - return pivotsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public java.util.List - getPivotsOrBuilderList() { - if (pivotsBuilder_ != null) { - return pivotsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(pivots_); - } - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public com.google.analytics.data.v1alpha.Pivot.Builder addPivotsBuilder() { - return getPivotsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Pivot.getDefaultInstance()); - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public com.google.analytics.data.v1alpha.Pivot.Builder addPivotsBuilder(int index) { - return getPivotsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Pivot.getDefaultInstance()); - } - /** - * - * - *
-     * Describes the visual format of the report's dimensions in columns or rows.
-     * The union of the fieldNames (dimension names) in all pivots must be a
-     * subset of dimension names defined in Dimensions. No two pivots can share a
-     * dimension. A dimension is only visible if it appears in a pivot.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - public java.util.List getPivotsBuilderList() { - return getPivotsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Pivot, - com.google.analytics.data.v1alpha.Pivot.Builder, - com.google.analytics.data.v1alpha.PivotOrBuilder> - getPivotsFieldBuilder() { - if (pivotsBuilder_ == null) { - pivotsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Pivot, - com.google.analytics.data.v1alpha.Pivot.Builder, - com.google.analytics.data.v1alpha.PivotOrBuilder>( - pivots_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - pivots_ = null; - } - return pivotsBuilder_; - } - - private java.util.List dateRanges_ = - java.util.Collections.emptyList(); - - private void ensureDateRangesIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - dateRanges_ = - new java.util.ArrayList(dateRanges_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DateRange, - com.google.analytics.data.v1alpha.DateRange.Builder, - com.google.analytics.data.v1alpha.DateRangeOrBuilder> - dateRangesBuilder_; - - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public java.util.List getDateRangesList() { - if (dateRangesBuilder_ == null) { - return java.util.Collections.unmodifiableList(dateRanges_); - } else { - return dateRangesBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public int getDateRangesCount() { - if (dateRangesBuilder_ == null) { - return dateRanges_.size(); - } else { - return dateRangesBuilder_.getCount(); - } - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public com.google.analytics.data.v1alpha.DateRange getDateRanges(int index) { - if (dateRangesBuilder_ == null) { - return dateRanges_.get(index); - } else { - return dateRangesBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public Builder setDateRanges(int index, com.google.analytics.data.v1alpha.DateRange value) { - if (dateRangesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDateRangesIsMutable(); - dateRanges_.set(index, value); - onChanged(); - } else { - dateRangesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public Builder setDateRanges( - int index, com.google.analytics.data.v1alpha.DateRange.Builder builderForValue) { - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - dateRanges_.set(index, builderForValue.build()); - onChanged(); - } else { - dateRangesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public Builder addDateRanges(com.google.analytics.data.v1alpha.DateRange value) { - if (dateRangesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDateRangesIsMutable(); - dateRanges_.add(value); - onChanged(); - } else { - dateRangesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public Builder addDateRanges(int index, com.google.analytics.data.v1alpha.DateRange value) { - if (dateRangesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDateRangesIsMutable(); - dateRanges_.add(index, value); - onChanged(); - } else { - dateRangesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public Builder addDateRanges( - com.google.analytics.data.v1alpha.DateRange.Builder builderForValue) { - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - dateRanges_.add(builderForValue.build()); - onChanged(); - } else { - dateRangesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public Builder addDateRanges( - int index, com.google.analytics.data.v1alpha.DateRange.Builder builderForValue) { - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - dateRanges_.add(index, builderForValue.build()); - onChanged(); - } else { - dateRangesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public Builder addAllDateRanges( - java.lang.Iterable values) { - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dateRanges_); - onChanged(); - } else { - dateRangesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public Builder clearDateRanges() { - if (dateRangesBuilder_ == null) { - dateRanges_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - dateRangesBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public Builder removeDateRanges(int index) { - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - dateRanges_.remove(index); - onChanged(); - } else { - dateRangesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public com.google.analytics.data.v1alpha.DateRange.Builder getDateRangesBuilder(int index) { - return getDateRangesFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public com.google.analytics.data.v1alpha.DateRangeOrBuilder getDateRangesOrBuilder(int index) { - if (dateRangesBuilder_ == null) { - return dateRanges_.get(index); - } else { - return dateRangesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public java.util.List - getDateRangesOrBuilderList() { - if (dateRangesBuilder_ != null) { - return dateRangesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dateRanges_); - } - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public com.google.analytics.data.v1alpha.DateRange.Builder addDateRangesBuilder() { - return getDateRangesFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.DateRange.getDefaultInstance()); - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public com.google.analytics.data.v1alpha.DateRange.Builder addDateRangesBuilder(int index) { - return getDateRangesFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.DateRange.getDefaultInstance()); - } - /** - * - * - *
-     * The date range to retrieve event data for the report. If multiple date
-     * ranges are specified, event data from each date range is used in the
-     * report. A special dimension with field name "dateRange" can be included in
-     * a Pivot's field names; if included, the report compares between date
-     * ranges. In a cohort request, this `dateRanges` must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - public java.util.List - getDateRangesBuilderList() { - return getDateRangesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DateRange, - com.google.analytics.data.v1alpha.DateRange.Builder, - com.google.analytics.data.v1alpha.DateRangeOrBuilder> - getDateRangesFieldBuilder() { - if (dateRangesBuilder_ == null) { - dateRangesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DateRange, - com.google.analytics.data.v1alpha.DateRange.Builder, - com.google.analytics.data.v1alpha.DateRangeOrBuilder>( - dateRanges_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - dateRanges_ = null; - } - return dateRangesBuilder_; - } - - private java.lang.Object currencyCode_ = ""; - /** - * - * - *
-     * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-     * If the field is empty, the report uses the entity's default currency.
-     * 
- * - * string currency_code = 8; - * - * @return The currencyCode. - */ - public java.lang.String getCurrencyCode() { - java.lang.Object ref = currencyCode_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - currencyCode_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-     * If the field is empty, the report uses the entity's default currency.
-     * 
- * - * string currency_code = 8; - * - * @return The bytes for currencyCode. - */ - public com.google.protobuf.ByteString getCurrencyCodeBytes() { - java.lang.Object ref = currencyCode_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - currencyCode_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-     * If the field is empty, the report uses the entity's default currency.
-     * 
- * - * string currency_code = 8; - * - * @param value The currencyCode to set. - * @return This builder for chaining. - */ - public Builder setCurrencyCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - currencyCode_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-     * If the field is empty, the report uses the entity's default currency.
-     * 
- * - * string currency_code = 8; - * - * @return This builder for chaining. - */ - public Builder clearCurrencyCode() { - - currencyCode_ = getDefaultInstance().getCurrencyCode(); - onChanged(); - return this; - } - /** - * - * - *
-     * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-     * If the field is empty, the report uses the entity's default currency.
-     * 
- * - * string currency_code = 8; - * - * @param value The bytes for currencyCode to set. - * @return This builder for chaining. - */ - public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - currencyCode_ = value; - onChanged(); - return this; - } - - private com.google.analytics.data.v1alpha.CohortSpec cohortSpec_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortSpec, - com.google.analytics.data.v1alpha.CohortSpec.Builder, - com.google.analytics.data.v1alpha.CohortSpecOrBuilder> - cohortSpecBuilder_; - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - * - * @return Whether the cohortSpec field is set. - */ - public boolean hasCohortSpec() { - return cohortSpecBuilder_ != null || cohortSpec_ != null; - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - * - * @return The cohortSpec. - */ - public com.google.analytics.data.v1alpha.CohortSpec getCohortSpec() { - if (cohortSpecBuilder_ == null) { - return cohortSpec_ == null - ? com.google.analytics.data.v1alpha.CohortSpec.getDefaultInstance() - : cohortSpec_; - } else { - return cohortSpecBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - */ - public Builder setCohortSpec(com.google.analytics.data.v1alpha.CohortSpec value) { - if (cohortSpecBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - cohortSpec_ = value; - onChanged(); - } else { - cohortSpecBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - */ - public Builder setCohortSpec( - com.google.analytics.data.v1alpha.CohortSpec.Builder builderForValue) { - if (cohortSpecBuilder_ == null) { - cohortSpec_ = builderForValue.build(); - onChanged(); - } else { - cohortSpecBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - */ - public Builder mergeCohortSpec(com.google.analytics.data.v1alpha.CohortSpec value) { - if (cohortSpecBuilder_ == null) { - if (cohortSpec_ != null) { - cohortSpec_ = - com.google.analytics.data.v1alpha.CohortSpec.newBuilder(cohortSpec_) - .mergeFrom(value) - .buildPartial(); - } else { - cohortSpec_ = value; - } - onChanged(); - } else { - cohortSpecBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - */ - public Builder clearCohortSpec() { - if (cohortSpecBuilder_ == null) { - cohortSpec_ = null; - onChanged(); - } else { - cohortSpec_ = null; - cohortSpecBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - */ - public com.google.analytics.data.v1alpha.CohortSpec.Builder getCohortSpecBuilder() { - - onChanged(); - return getCohortSpecFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - */ - public com.google.analytics.data.v1alpha.CohortSpecOrBuilder getCohortSpecOrBuilder() { - if (cohortSpecBuilder_ != null) { - return cohortSpecBuilder_.getMessageOrBuilder(); - } else { - return cohortSpec_ == null - ? com.google.analytics.data.v1alpha.CohortSpec.getDefaultInstance() - : cohortSpec_; - } - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortSpec, - com.google.analytics.data.v1alpha.CohortSpec.Builder, - com.google.analytics.data.v1alpha.CohortSpecOrBuilder> - getCohortSpecFieldBuilder() { - if (cohortSpecBuilder_ == null) { - cohortSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortSpec, - com.google.analytics.data.v1alpha.CohortSpec.Builder, - com.google.analytics.data.v1alpha.CohortSpecOrBuilder>( - getCohortSpec(), getParentForChildren(), isClean()); - cohortSpec_ = null; - } - return cohortSpecBuilder_; - } - - private boolean keepEmptyRows_; - /** - * - * - *
-     * If false or unspecified, each row with all metrics equal to 0 will not be
-     * returned. If true, these rows will be returned if they are not separately
-     * removed by a filter.
-     * 
- * - * bool keep_empty_rows = 10; - * - * @return The keepEmptyRows. - */ - @java.lang.Override - public boolean getKeepEmptyRows() { - return keepEmptyRows_; - } - /** - * - * - *
-     * If false or unspecified, each row with all metrics equal to 0 will not be
-     * returned. If true, these rows will be returned if they are not separately
-     * removed by a filter.
-     * 
- * - * bool keep_empty_rows = 10; - * - * @param value The keepEmptyRows to set. - * @return This builder for chaining. - */ - public Builder setKeepEmptyRows(boolean value) { - - keepEmptyRows_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * If false or unspecified, each row with all metrics equal to 0 will not be
-     * returned. If true, these rows will be returned if they are not separately
-     * removed by a filter.
-     * 
- * - * bool keep_empty_rows = 10; - * - * @return This builder for chaining. - */ - public Builder clearKeepEmptyRows() { - - keepEmptyRows_ = false; - onChanged(); - return this; - } - - private boolean returnPropertyQuota_; - /** - * - * - *
-     * Toggles whether to return the current state of this Analytics Property's
-     * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-     * 
- * - * bool return_property_quota = 11; - * - * @return The returnPropertyQuota. - */ - @java.lang.Override - public boolean getReturnPropertyQuota() { - return returnPropertyQuota_; - } - /** - * - * - *
-     * Toggles whether to return the current state of this Analytics Property's
-     * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-     * 
- * - * bool return_property_quota = 11; - * - * @param value The returnPropertyQuota to set. - * @return This builder for chaining. - */ - public Builder setReturnPropertyQuota(boolean value) { - - returnPropertyQuota_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Toggles whether to return the current state of this Analytics Property's
-     * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-     * 
- * - * bool return_property_quota = 11; - * - * @return This builder for chaining. - */ - public Builder clearReturnPropertyQuota() { - - returnPropertyQuota_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.RunPivotReportRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.RunPivotReportRequest) - private static final com.google.analytics.data.v1alpha.RunPivotReportRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.RunPivotReportRequest(); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunPivotReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunPivotReportRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportRequestOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportRequestOrBuilder.java deleted file mode 100644 index 070df0cd..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportRequestOrBuilder.java +++ /dev/null @@ -1,494 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface RunPivotReportRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.RunPivotReportRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - boolean hasEntity(); - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - com.google.analytics.data.v1alpha.Entity getEntity(); - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder(); - - /** - * - * - *
-   * The dimensions requested. All defined dimensions must be used by one of the
-   * following: dimension_expression, dimension_filter, pivots, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - java.util.List getDimensionsList(); - /** - * - * - *
-   * The dimensions requested. All defined dimensions must be used by one of the
-   * following: dimension_expression, dimension_filter, pivots, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - com.google.analytics.data.v1alpha.Dimension getDimensions(int index); - /** - * - * - *
-   * The dimensions requested. All defined dimensions must be used by one of the
-   * following: dimension_expression, dimension_filter, pivots, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - int getDimensionsCount(); - /** - * - * - *
-   * The dimensions requested. All defined dimensions must be used by one of the
-   * following: dimension_expression, dimension_filter, pivots, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - java.util.List - getDimensionsOrBuilderList(); - /** - * - * - *
-   * The dimensions requested. All defined dimensions must be used by one of the
-   * following: dimension_expression, dimension_filter, pivots, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - com.google.analytics.data.v1alpha.DimensionOrBuilder getDimensionsOrBuilder(int index); - - /** - * - * - *
-   * The metrics requested, at least one metric needs to be specified. All
-   * defined metrics must be used by one of the following: metric_expression,
-   * metric_filter, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - java.util.List getMetricsList(); - /** - * - * - *
-   * The metrics requested, at least one metric needs to be specified. All
-   * defined metrics must be used by one of the following: metric_expression,
-   * metric_filter, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - com.google.analytics.data.v1alpha.Metric getMetrics(int index); - /** - * - * - *
-   * The metrics requested, at least one metric needs to be specified. All
-   * defined metrics must be used by one of the following: metric_expression,
-   * metric_filter, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - int getMetricsCount(); - /** - * - * - *
-   * The metrics requested, at least one metric needs to be specified. All
-   * defined metrics must be used by one of the following: metric_expression,
-   * metric_filter, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - java.util.List - getMetricsOrBuilderList(); - /** - * - * - *
-   * The metrics requested, at least one metric needs to be specified. All
-   * defined metrics must be used by one of the following: metric_expression,
-   * metric_filter, order_bys.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - com.google.analytics.data.v1alpha.MetricOrBuilder getMetricsOrBuilder(int index); - - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - * - * @return Whether the dimensionFilter field is set. - */ - boolean hasDimensionFilter(); - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - * - * @return The dimensionFilter. - */ - com.google.analytics.data.v1alpha.FilterExpression getDimensionFilter(); - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 4; - */ - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getDimensionFilterOrBuilder(); - - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - * - * @return Whether the metricFilter field is set. - */ - boolean hasMetricFilter(); - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - * - * @return The metricFilter. - */ - com.google.analytics.data.v1alpha.FilterExpression getMetricFilter(); - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 5; - */ - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getMetricFilterOrBuilder(); - - /** - * - * - *
-   * Describes the visual format of the report's dimensions in columns or rows.
-   * The union of the fieldNames (dimension names) in all pivots must be a
-   * subset of dimension names defined in Dimensions. No two pivots can share a
-   * dimension. A dimension is only visible if it appears in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - java.util.List getPivotsList(); - /** - * - * - *
-   * Describes the visual format of the report's dimensions in columns or rows.
-   * The union of the fieldNames (dimension names) in all pivots must be a
-   * subset of dimension names defined in Dimensions. No two pivots can share a
-   * dimension. A dimension is only visible if it appears in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - com.google.analytics.data.v1alpha.Pivot getPivots(int index); - /** - * - * - *
-   * Describes the visual format of the report's dimensions in columns or rows.
-   * The union of the fieldNames (dimension names) in all pivots must be a
-   * subset of dimension names defined in Dimensions. No two pivots can share a
-   * dimension. A dimension is only visible if it appears in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - int getPivotsCount(); - /** - * - * - *
-   * Describes the visual format of the report's dimensions in columns or rows.
-   * The union of the fieldNames (dimension names) in all pivots must be a
-   * subset of dimension names defined in Dimensions. No two pivots can share a
-   * dimension. A dimension is only visible if it appears in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - java.util.List - getPivotsOrBuilderList(); - /** - * - * - *
-   * Describes the visual format of the report's dimensions in columns or rows.
-   * The union of the fieldNames (dimension names) in all pivots must be a
-   * subset of dimension names defined in Dimensions. No two pivots can share a
-   * dimension. A dimension is only visible if it appears in a pivot.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Pivot pivots = 6; - */ - com.google.analytics.data.v1alpha.PivotOrBuilder getPivotsOrBuilder(int index); - - /** - * - * - *
-   * The date range to retrieve event data for the report. If multiple date
-   * ranges are specified, event data from each date range is used in the
-   * report. A special dimension with field name "dateRange" can be included in
-   * a Pivot's field names; if included, the report compares between date
-   * ranges. In a cohort request, this `dateRanges` must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - java.util.List getDateRangesList(); - /** - * - * - *
-   * The date range to retrieve event data for the report. If multiple date
-   * ranges are specified, event data from each date range is used in the
-   * report. A special dimension with field name "dateRange" can be included in
-   * a Pivot's field names; if included, the report compares between date
-   * ranges. In a cohort request, this `dateRanges` must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - com.google.analytics.data.v1alpha.DateRange getDateRanges(int index); - /** - * - * - *
-   * The date range to retrieve event data for the report. If multiple date
-   * ranges are specified, event data from each date range is used in the
-   * report. A special dimension with field name "dateRange" can be included in
-   * a Pivot's field names; if included, the report compares between date
-   * ranges. In a cohort request, this `dateRanges` must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - int getDateRangesCount(); - /** - * - * - *
-   * The date range to retrieve event data for the report. If multiple date
-   * ranges are specified, event data from each date range is used in the
-   * report. A special dimension with field name "dateRange" can be included in
-   * a Pivot's field names; if included, the report compares between date
-   * ranges. In a cohort request, this `dateRanges` must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - java.util.List - getDateRangesOrBuilderList(); - /** - * - * - *
-   * The date range to retrieve event data for the report. If multiple date
-   * ranges are specified, event data from each date range is used in the
-   * report. A special dimension with field name "dateRange" can be included in
-   * a Pivot's field names; if included, the report compares between date
-   * ranges. In a cohort request, this `dateRanges` must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 7; - */ - com.google.analytics.data.v1alpha.DateRangeOrBuilder getDateRangesOrBuilder(int index); - - /** - * - * - *
-   * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-   * If the field is empty, the report uses the entity's default currency.
-   * 
- * - * string currency_code = 8; - * - * @return The currencyCode. - */ - java.lang.String getCurrencyCode(); - /** - * - * - *
-   * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-   * If the field is empty, the report uses the entity's default currency.
-   * 
- * - * string currency_code = 8; - * - * @return The bytes for currencyCode. - */ - com.google.protobuf.ByteString getCurrencyCodeBytes(); - - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - * - * @return Whether the cohortSpec field is set. - */ - boolean hasCohortSpec(); - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - * - * @return The cohortSpec. - */ - com.google.analytics.data.v1alpha.CohortSpec getCohortSpec(); - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 9; - */ - com.google.analytics.data.v1alpha.CohortSpecOrBuilder getCohortSpecOrBuilder(); - - /** - * - * - *
-   * If false or unspecified, each row with all metrics equal to 0 will not be
-   * returned. If true, these rows will be returned if they are not separately
-   * removed by a filter.
-   * 
- * - * bool keep_empty_rows = 10; - * - * @return The keepEmptyRows. - */ - boolean getKeepEmptyRows(); - - /** - * - * - *
-   * Toggles whether to return the current state of this Analytics Property's
-   * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-   * 
- * - * bool return_property_quota = 11; - * - * @return The returnPropertyQuota. - */ - boolean getReturnPropertyQuota(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportResponse.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportResponse.java deleted file mode 100644 index 49981cb4..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportResponse.java +++ /dev/null @@ -1,4339 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The response pivot report table corresponding to a pivot request.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunPivotReportResponse} - */ -public final class RunPivotReportResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.RunPivotReportResponse) - RunPivotReportResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use RunPivotReportResponse.newBuilder() to construct. - private RunPivotReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private RunPivotReportResponse() { - pivotHeaders_ = java.util.Collections.emptyList(); - dimensionHeaders_ = java.util.Collections.emptyList(); - metricHeaders_ = java.util.Collections.emptyList(); - rows_ = java.util.Collections.emptyList(); - aggregates_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RunPivotReportResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private RunPivotReportResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - pivotHeaders_.add( - input.readMessage( - com.google.analytics.data.v1alpha.PivotHeader.parser(), extensionRegistry)); - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - metricHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - metricHeaders_.add( - input.readMessage( - com.google.analytics.data.v1alpha.MetricHeader.parser(), extensionRegistry)); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - rows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - rows_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Row.parser(), extensionRegistry)); - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - aggregates_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - aggregates_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Row.parser(), extensionRegistry)); - break; - } - case 42: - { - com.google.analytics.data.v1alpha.ResponseMetaData.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = - input.readMessage( - com.google.analytics.data.v1alpha.ResponseMetaData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 50: - { - com.google.analytics.data.v1alpha.PropertyQuota.Builder subBuilder = null; - if (propertyQuota_ != null) { - subBuilder = propertyQuota_.toBuilder(); - } - propertyQuota_ = - input.readMessage( - com.google.analytics.data.v1alpha.PropertyQuota.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(propertyQuota_); - propertyQuota_ = subBuilder.buildPartial(); - } - - break; - } - case 58: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - dimensionHeaders_.add( - input.readMessage( - com.google.analytics.data.v1alpha.DimensionHeader.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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - pivotHeaders_ = java.util.Collections.unmodifiableList(pivotHeaders_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - metricHeaders_ = java.util.Collections.unmodifiableList(metricHeaders_); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - rows_ = java.util.Collections.unmodifiableList(rows_); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - aggregates_ = java.util.Collections.unmodifiableList(aggregates_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunPivotReportResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunPivotReportResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunPivotReportResponse.class, - com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder.class); - } - - public static final int PIVOT_HEADERS_FIELD_NUMBER = 1; - private java.util.List pivotHeaders_; - /** - * - * - *
-   * Summarizes the columns and rows created by a pivot. Each pivot in the
-   * request produces one header in the response. If we have a request like
-   * this:
-   *     "pivots": [{
-   *       "fieldNames": ["country",
-   *         "city"]
-   *     },
-   *     {
-   *       "fieldNames": "eventName"
-   *     }]
-   * We will have the following `pivotHeaders` in the response:
-   *     "pivotHeaders" : [{
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [
-   *            { "value": "United Kingdom" },
-   *            { "value": "London" }
-   *          ]
-   *       },
-   *       {
-   *         "dimensionValues": [
-   *         { "value": "Japan" },
-   *         { "value": "Osaka" }
-   *         ]
-   *       }]
-   *     },
-   *     {
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [{ "value": "session_start" }]
-   *       },
-   *       {
-   *         "dimensionValues": [{ "value": "scroll" }]
-   *       }]
-   *     }]
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - @java.lang.Override - public java.util.List getPivotHeadersList() { - return pivotHeaders_; - } - /** - * - * - *
-   * Summarizes the columns and rows created by a pivot. Each pivot in the
-   * request produces one header in the response. If we have a request like
-   * this:
-   *     "pivots": [{
-   *       "fieldNames": ["country",
-   *         "city"]
-   *     },
-   *     {
-   *       "fieldNames": "eventName"
-   *     }]
-   * We will have the following `pivotHeaders` in the response:
-   *     "pivotHeaders" : [{
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [
-   *            { "value": "United Kingdom" },
-   *            { "value": "London" }
-   *          ]
-   *       },
-   *       {
-   *         "dimensionValues": [
-   *         { "value": "Japan" },
-   *         { "value": "Osaka" }
-   *         ]
-   *       }]
-   *     },
-   *     {
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [{ "value": "session_start" }]
-   *       },
-   *       {
-   *         "dimensionValues": [{ "value": "scroll" }]
-   *       }]
-   *     }]
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - @java.lang.Override - public java.util.List - getPivotHeadersOrBuilderList() { - return pivotHeaders_; - } - /** - * - * - *
-   * Summarizes the columns and rows created by a pivot. Each pivot in the
-   * request produces one header in the response. If we have a request like
-   * this:
-   *     "pivots": [{
-   *       "fieldNames": ["country",
-   *         "city"]
-   *     },
-   *     {
-   *       "fieldNames": "eventName"
-   *     }]
-   * We will have the following `pivotHeaders` in the response:
-   *     "pivotHeaders" : [{
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [
-   *            { "value": "United Kingdom" },
-   *            { "value": "London" }
-   *          ]
-   *       },
-   *       {
-   *         "dimensionValues": [
-   *         { "value": "Japan" },
-   *         { "value": "Osaka" }
-   *         ]
-   *       }]
-   *     },
-   *     {
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [{ "value": "session_start" }]
-   *       },
-   *       {
-   *         "dimensionValues": [{ "value": "scroll" }]
-   *       }]
-   *     }]
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - @java.lang.Override - public int getPivotHeadersCount() { - return pivotHeaders_.size(); - } - /** - * - * - *
-   * Summarizes the columns and rows created by a pivot. Each pivot in the
-   * request produces one header in the response. If we have a request like
-   * this:
-   *     "pivots": [{
-   *       "fieldNames": ["country",
-   *         "city"]
-   *     },
-   *     {
-   *       "fieldNames": "eventName"
-   *     }]
-   * We will have the following `pivotHeaders` in the response:
-   *     "pivotHeaders" : [{
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [
-   *            { "value": "United Kingdom" },
-   *            { "value": "London" }
-   *          ]
-   *       },
-   *       {
-   *         "dimensionValues": [
-   *         { "value": "Japan" },
-   *         { "value": "Osaka" }
-   *         ]
-   *       }]
-   *     },
-   *     {
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [{ "value": "session_start" }]
-   *       },
-   *       {
-   *         "dimensionValues": [{ "value": "scroll" }]
-   *       }]
-   *     }]
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotHeader getPivotHeaders(int index) { - return pivotHeaders_.get(index); - } - /** - * - * - *
-   * Summarizes the columns and rows created by a pivot. Each pivot in the
-   * request produces one header in the response. If we have a request like
-   * this:
-   *     "pivots": [{
-   *       "fieldNames": ["country",
-   *         "city"]
-   *     },
-   *     {
-   *       "fieldNames": "eventName"
-   *     }]
-   * We will have the following `pivotHeaders` in the response:
-   *     "pivotHeaders" : [{
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [
-   *            { "value": "United Kingdom" },
-   *            { "value": "London" }
-   *          ]
-   *       },
-   *       {
-   *         "dimensionValues": [
-   *         { "value": "Japan" },
-   *         { "value": "Osaka" }
-   *         ]
-   *       }]
-   *     },
-   *     {
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [{ "value": "session_start" }]
-   *       },
-   *       {
-   *         "dimensionValues": [{ "value": "scroll" }]
-   *       }]
-   *     }]
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PivotHeaderOrBuilder getPivotHeadersOrBuilder( - int index) { - return pivotHeaders_.get(index); - } - - public static final int DIMENSION_HEADERS_FIELD_NUMBER = 7; - private java.util.List dimensionHeaders_; - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - @java.lang.Override - public java.util.List - getDimensionHeadersList() { - return dimensionHeaders_; - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - @java.lang.Override - public java.util.List - getDimensionHeadersOrBuilderList() { - return dimensionHeaders_; - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - @java.lang.Override - public int getDimensionHeadersCount() { - return dimensionHeaders_.size(); - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionHeader getDimensionHeaders(int index) { - return dimensionHeaders_.get(index); - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index) { - return dimensionHeaders_.get(index); - } - - public static final int METRIC_HEADERS_FIELD_NUMBER = 2; - private java.util.List metricHeaders_; - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - @java.lang.Override - public java.util.List getMetricHeadersList() { - return metricHeaders_; - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - @java.lang.Override - public java.util.List - getMetricHeadersOrBuilderList() { - return metricHeaders_; - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - @java.lang.Override - public int getMetricHeadersCount() { - return metricHeaders_.size(); - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricHeader getMetricHeaders(int index) { - return metricHeaders_.get(index); - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricHeaderOrBuilder getMetricHeadersOrBuilder( - int index) { - return metricHeaders_.get(index); - } - - public static final int ROWS_FIELD_NUMBER = 3; - private java.util.List rows_; - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - @java.lang.Override - public java.util.List getRowsList() { - return rows_; - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - @java.lang.Override - public java.util.List - getRowsOrBuilderList() { - return rows_; - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - @java.lang.Override - public int getRowsCount() { - return rows_.size(); - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getRows(int index) { - return rows_.get(index); - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RowOrBuilder getRowsOrBuilder(int index) { - return rows_.get(index); - } - - public static final int AGGREGATES_FIELD_NUMBER = 4; - private java.util.List aggregates_; - /** - * - * - *
-   * Aggregation of metric values. Can be totals, minimums, or maximums. The
-   * returned aggregations are controlled by the metric_aggregations in the
-   * pivot. The type of aggregation returned in each row is shown by the
-   * dimension_values which are set to "RESERVED_<MetricAggregation>".
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - @java.lang.Override - public java.util.List getAggregatesList() { - return aggregates_; - } - /** - * - * - *
-   * Aggregation of metric values. Can be totals, minimums, or maximums. The
-   * returned aggregations are controlled by the metric_aggregations in the
-   * pivot. The type of aggregation returned in each row is shown by the
-   * dimension_values which are set to "RESERVED_<MetricAggregation>".
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - @java.lang.Override - public java.util.List - getAggregatesOrBuilderList() { - return aggregates_; - } - /** - * - * - *
-   * Aggregation of metric values. Can be totals, minimums, or maximums. The
-   * returned aggregations are controlled by the metric_aggregations in the
-   * pivot. The type of aggregation returned in each row is shown by the
-   * dimension_values which are set to "RESERVED_<MetricAggregation>".
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - @java.lang.Override - public int getAggregatesCount() { - return aggregates_.size(); - } - /** - * - * - *
-   * Aggregation of metric values. Can be totals, minimums, or maximums. The
-   * returned aggregations are controlled by the metric_aggregations in the
-   * pivot. The type of aggregation returned in each row is shown by the
-   * dimension_values which are set to "RESERVED_<MetricAggregation>".
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getAggregates(int index) { - return aggregates_.get(index); - } - /** - * - * - *
-   * Aggregation of metric values. Can be totals, minimums, or maximums. The
-   * returned aggregations are controlled by the metric_aggregations in the
-   * pivot. The type of aggregation returned in each row is shown by the
-   * dimension_values which are set to "RESERVED_<MetricAggregation>".
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RowOrBuilder getAggregatesOrBuilder(int index) { - return aggregates_.get(index); - } - - public static final int METADATA_FIELD_NUMBER = 5; - private com.google.analytics.data.v1alpha.ResponseMetaData metadata_; - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - * - * @return Whether the metadata field is set. - */ - @java.lang.Override - public boolean hasMetadata() { - return metadata_ != null; - } - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - * - * @return The metadata. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.ResponseMetaData getMetadata() { - return metadata_ == null - ? com.google.analytics.data.v1alpha.ResponseMetaData.getDefaultInstance() - : metadata_; - } - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int PROPERTY_QUOTA_FIELD_NUMBER = 6; - private com.google.analytics.data.v1alpha.PropertyQuota propertyQuota_; - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - * - * @return Whether the propertyQuota field is set. - */ - @java.lang.Override - public boolean hasPropertyQuota() { - return propertyQuota_ != null; - } - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - * - * @return The propertyQuota. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PropertyQuota getPropertyQuota() { - return propertyQuota_ == null - ? com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance() - : propertyQuota_; - } - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder() { - return getPropertyQuota(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < pivotHeaders_.size(); i++) { - output.writeMessage(1, pivotHeaders_.get(i)); - } - for (int i = 0; i < metricHeaders_.size(); i++) { - output.writeMessage(2, metricHeaders_.get(i)); - } - for (int i = 0; i < rows_.size(); i++) { - output.writeMessage(3, rows_.get(i)); - } - for (int i = 0; i < aggregates_.size(); i++) { - output.writeMessage(4, aggregates_.get(i)); - } - if (metadata_ != null) { - output.writeMessage(5, getMetadata()); - } - if (propertyQuota_ != null) { - output.writeMessage(6, getPropertyQuota()); - } - for (int i = 0; i < dimensionHeaders_.size(); i++) { - output.writeMessage(7, dimensionHeaders_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < pivotHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, pivotHeaders_.get(i)); - } - for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricHeaders_.get(i)); - } - for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rows_.get(i)); - } - for (int i = 0; i < aggregates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, aggregates_.get(i)); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetadata()); - } - if (propertyQuota_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPropertyQuota()); - } - for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, dimensionHeaders_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.RunPivotReportResponse)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.RunPivotReportResponse other = - (com.google.analytics.data.v1alpha.RunPivotReportResponse) obj; - - if (!getPivotHeadersList().equals(other.getPivotHeadersList())) return false; - if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; - if (!getRowsList().equals(other.getRowsList())) return false; - if (!getAggregatesList().equals(other.getAggregatesList())) return false; - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata().equals(other.getMetadata())) return false; - } - if (hasPropertyQuota() != other.hasPropertyQuota()) return false; - if (hasPropertyQuota()) { - if (!getPropertyQuota().equals(other.getPropertyQuota())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPivotHeadersCount() > 0) { - hash = (37 * hash) + PIVOT_HEADERS_FIELD_NUMBER; - hash = (53 * hash) + getPivotHeadersList().hashCode(); - } - if (getDimensionHeadersCount() > 0) { - hash = (37 * hash) + DIMENSION_HEADERS_FIELD_NUMBER; - hash = (53 * hash) + getDimensionHeadersList().hashCode(); - } - if (getMetricHeadersCount() > 0) { - hash = (37 * hash) + METRIC_HEADERS_FIELD_NUMBER; - hash = (53 * hash) + getMetricHeadersList().hashCode(); - } - if (getRowsCount() > 0) { - hash = (37 * hash) + ROWS_FIELD_NUMBER; - hash = (53 * hash) + getRowsList().hashCode(); - } - if (getAggregatesCount() > 0) { - hash = (37 * hash) + AGGREGATES_FIELD_NUMBER; - hash = (53 * hash) + getAggregatesList().hashCode(); - } - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - if (hasPropertyQuota()) { - hash = (37 * hash) + PROPERTY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + getPropertyQuota().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.RunPivotReportResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The response pivot report table corresponding to a pivot request.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunPivotReportResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.RunPivotReportResponse) - com.google.analytics.data.v1alpha.RunPivotReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunPivotReportResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunPivotReportResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunPivotReportResponse.class, - com.google.analytics.data.v1alpha.RunPivotReportResponse.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.RunPivotReportResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPivotHeadersFieldBuilder(); - getDimensionHeadersFieldBuilder(); - getMetricHeadersFieldBuilder(); - getRowsFieldBuilder(); - getAggregatesFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (pivotHeadersBuilder_ == null) { - pivotHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - pivotHeadersBuilder_.clear(); - } - if (dimensionHeadersBuilder_ == null) { - dimensionHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - dimensionHeadersBuilder_.clear(); - } - if (metricHeadersBuilder_ == null) { - metricHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - metricHeadersBuilder_.clear(); - } - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - rowsBuilder_.clear(); - } - if (aggregatesBuilder_ == null) { - aggregates_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - aggregatesBuilder_.clear(); - } - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - if (propertyQuotaBuilder_ == null) { - propertyQuota_ = null; - } else { - propertyQuota_ = null; - propertyQuotaBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunPivotReportResponse_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportResponse getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.RunPivotReportResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportResponse build() { - com.google.analytics.data.v1alpha.RunPivotReportResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportResponse buildPartial() { - com.google.analytics.data.v1alpha.RunPivotReportResponse result = - new com.google.analytics.data.v1alpha.RunPivotReportResponse(this); - int from_bitField0_ = bitField0_; - if (pivotHeadersBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - pivotHeaders_ = java.util.Collections.unmodifiableList(pivotHeaders_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.pivotHeaders_ = pivotHeaders_; - } else { - result.pivotHeaders_ = pivotHeadersBuilder_.build(); - } - if (dimensionHeadersBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.dimensionHeaders_ = dimensionHeaders_; - } else { - result.dimensionHeaders_ = dimensionHeadersBuilder_.build(); - } - if (metricHeadersBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - metricHeaders_ = java.util.Collections.unmodifiableList(metricHeaders_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.metricHeaders_ = metricHeaders_; - } else { - result.metricHeaders_ = metricHeadersBuilder_.build(); - } - if (rowsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - rows_ = java.util.Collections.unmodifiableList(rows_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.rows_ = rows_; - } else { - result.rows_ = rowsBuilder_.build(); - } - if (aggregatesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - aggregates_ = java.util.Collections.unmodifiableList(aggregates_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.aggregates_ = aggregates_; - } else { - result.aggregates_ = aggregatesBuilder_.build(); - } - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - if (propertyQuotaBuilder_ == null) { - result.propertyQuota_ = propertyQuota_; - } else { - result.propertyQuota_ = propertyQuotaBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.RunPivotReportResponse) { - return mergeFrom((com.google.analytics.data.v1alpha.RunPivotReportResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.RunPivotReportResponse other) { - if (other == com.google.analytics.data.v1alpha.RunPivotReportResponse.getDefaultInstance()) - return this; - if (pivotHeadersBuilder_ == null) { - if (!other.pivotHeaders_.isEmpty()) { - if (pivotHeaders_.isEmpty()) { - pivotHeaders_ = other.pivotHeaders_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePivotHeadersIsMutable(); - pivotHeaders_.addAll(other.pivotHeaders_); - } - onChanged(); - } - } else { - if (!other.pivotHeaders_.isEmpty()) { - if (pivotHeadersBuilder_.isEmpty()) { - pivotHeadersBuilder_.dispose(); - pivotHeadersBuilder_ = null; - pivotHeaders_ = other.pivotHeaders_; - bitField0_ = (bitField0_ & ~0x00000001); - pivotHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPivotHeadersFieldBuilder() - : null; - } else { - pivotHeadersBuilder_.addAllMessages(other.pivotHeaders_); - } - } - } - if (dimensionHeadersBuilder_ == null) { - if (!other.dimensionHeaders_.isEmpty()) { - if (dimensionHeaders_.isEmpty()) { - dimensionHeaders_ = other.dimensionHeaders_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.addAll(other.dimensionHeaders_); - } - onChanged(); - } - } else { - if (!other.dimensionHeaders_.isEmpty()) { - if (dimensionHeadersBuilder_.isEmpty()) { - dimensionHeadersBuilder_.dispose(); - dimensionHeadersBuilder_ = null; - dimensionHeaders_ = other.dimensionHeaders_; - bitField0_ = (bitField0_ & ~0x00000002); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionHeadersFieldBuilder() - : null; - } else { - dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); - } - } - } - if (metricHeadersBuilder_ == null) { - if (!other.metricHeaders_.isEmpty()) { - if (metricHeaders_.isEmpty()) { - metricHeaders_ = other.metricHeaders_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureMetricHeadersIsMutable(); - metricHeaders_.addAll(other.metricHeaders_); - } - onChanged(); - } - } else { - if (!other.metricHeaders_.isEmpty()) { - if (metricHeadersBuilder_.isEmpty()) { - metricHeadersBuilder_.dispose(); - metricHeadersBuilder_ = null; - metricHeaders_ = other.metricHeaders_; - bitField0_ = (bitField0_ & ~0x00000004); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricHeadersFieldBuilder() - : null; - } else { - metricHeadersBuilder_.addAllMessages(other.metricHeaders_); - } - } - } - if (rowsBuilder_ == null) { - if (!other.rows_.isEmpty()) { - if (rows_.isEmpty()) { - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureRowsIsMutable(); - rows_.addAll(other.rows_); - } - onChanged(); - } - } else { - if (!other.rows_.isEmpty()) { - if (rowsBuilder_.isEmpty()) { - rowsBuilder_.dispose(); - rowsBuilder_ = null; - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000008); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowsFieldBuilder() - : null; - } else { - rowsBuilder_.addAllMessages(other.rows_); - } - } - } - if (aggregatesBuilder_ == null) { - if (!other.aggregates_.isEmpty()) { - if (aggregates_.isEmpty()) { - aggregates_ = other.aggregates_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureAggregatesIsMutable(); - aggregates_.addAll(other.aggregates_); - } - onChanged(); - } - } else { - if (!other.aggregates_.isEmpty()) { - if (aggregatesBuilder_.isEmpty()) { - aggregatesBuilder_.dispose(); - aggregatesBuilder_ = null; - aggregates_ = other.aggregates_; - bitField0_ = (bitField0_ & ~0x00000010); - aggregatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAggregatesFieldBuilder() - : null; - } else { - aggregatesBuilder_.addAllMessages(other.aggregates_); - } - } - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (other.hasPropertyQuota()) { - mergePropertyQuota(other.getPropertyQuota()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.RunPivotReportResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.RunPivotReportResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List pivotHeaders_ = - java.util.Collections.emptyList(); - - private void ensurePivotHeadersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - pivotHeaders_ = - new java.util.ArrayList(pivotHeaders_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.PivotHeader, - com.google.analytics.data.v1alpha.PivotHeader.Builder, - com.google.analytics.data.v1alpha.PivotHeaderOrBuilder> - pivotHeadersBuilder_; - - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public java.util.List getPivotHeadersList() { - if (pivotHeadersBuilder_ == null) { - return java.util.Collections.unmodifiableList(pivotHeaders_); - } else { - return pivotHeadersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public int getPivotHeadersCount() { - if (pivotHeadersBuilder_ == null) { - return pivotHeaders_.size(); - } else { - return pivotHeadersBuilder_.getCount(); - } - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public com.google.analytics.data.v1alpha.PivotHeader getPivotHeaders(int index) { - if (pivotHeadersBuilder_ == null) { - return pivotHeaders_.get(index); - } else { - return pivotHeadersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public Builder setPivotHeaders(int index, com.google.analytics.data.v1alpha.PivotHeader value) { - if (pivotHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotHeadersIsMutable(); - pivotHeaders_.set(index, value); - onChanged(); - } else { - pivotHeadersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public Builder setPivotHeaders( - int index, com.google.analytics.data.v1alpha.PivotHeader.Builder builderForValue) { - if (pivotHeadersBuilder_ == null) { - ensurePivotHeadersIsMutable(); - pivotHeaders_.set(index, builderForValue.build()); - onChanged(); - } else { - pivotHeadersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public Builder addPivotHeaders(com.google.analytics.data.v1alpha.PivotHeader value) { - if (pivotHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotHeadersIsMutable(); - pivotHeaders_.add(value); - onChanged(); - } else { - pivotHeadersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public Builder addPivotHeaders(int index, com.google.analytics.data.v1alpha.PivotHeader value) { - if (pivotHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePivotHeadersIsMutable(); - pivotHeaders_.add(index, value); - onChanged(); - } else { - pivotHeadersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public Builder addPivotHeaders( - com.google.analytics.data.v1alpha.PivotHeader.Builder builderForValue) { - if (pivotHeadersBuilder_ == null) { - ensurePivotHeadersIsMutable(); - pivotHeaders_.add(builderForValue.build()); - onChanged(); - } else { - pivotHeadersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public Builder addPivotHeaders( - int index, com.google.analytics.data.v1alpha.PivotHeader.Builder builderForValue) { - if (pivotHeadersBuilder_ == null) { - ensurePivotHeadersIsMutable(); - pivotHeaders_.add(index, builderForValue.build()); - onChanged(); - } else { - pivotHeadersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public Builder addAllPivotHeaders( - java.lang.Iterable values) { - if (pivotHeadersBuilder_ == null) { - ensurePivotHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotHeaders_); - onChanged(); - } else { - pivotHeadersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public Builder clearPivotHeaders() { - if (pivotHeadersBuilder_ == null) { - pivotHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - pivotHeadersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public Builder removePivotHeaders(int index) { - if (pivotHeadersBuilder_ == null) { - ensurePivotHeadersIsMutable(); - pivotHeaders_.remove(index); - onChanged(); - } else { - pivotHeadersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public com.google.analytics.data.v1alpha.PivotHeader.Builder getPivotHeadersBuilder(int index) { - return getPivotHeadersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public com.google.analytics.data.v1alpha.PivotHeaderOrBuilder getPivotHeadersOrBuilder( - int index) { - if (pivotHeadersBuilder_ == null) { - return pivotHeaders_.get(index); - } else { - return pivotHeadersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public java.util.List - getPivotHeadersOrBuilderList() { - if (pivotHeadersBuilder_ != null) { - return pivotHeadersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(pivotHeaders_); - } - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public com.google.analytics.data.v1alpha.PivotHeader.Builder addPivotHeadersBuilder() { - return getPivotHeadersFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.PivotHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public com.google.analytics.data.v1alpha.PivotHeader.Builder addPivotHeadersBuilder(int index) { - return getPivotHeadersFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.PivotHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Summarizes the columns and rows created by a pivot. Each pivot in the
-     * request produces one header in the response. If we have a request like
-     * this:
-     *     "pivots": [{
-     *       "fieldNames": ["country",
-     *         "city"]
-     *     },
-     *     {
-     *       "fieldNames": "eventName"
-     *     }]
-     * We will have the following `pivotHeaders` in the response:
-     *     "pivotHeaders" : [{
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [
-     *            { "value": "United Kingdom" },
-     *            { "value": "London" }
-     *          ]
-     *       },
-     *       {
-     *         "dimensionValues": [
-     *         { "value": "Japan" },
-     *         { "value": "Osaka" }
-     *         ]
-     *       }]
-     *     },
-     *     {
-     *       "dimensionHeaders": [{
-     *         "dimensionValues": [{ "value": "session_start" }]
-     *       },
-     *       {
-     *         "dimensionValues": [{ "value": "scroll" }]
-     *       }]
-     *     }]
-     * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - public java.util.List - getPivotHeadersBuilderList() { - return getPivotHeadersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.PivotHeader, - com.google.analytics.data.v1alpha.PivotHeader.Builder, - com.google.analytics.data.v1alpha.PivotHeaderOrBuilder> - getPivotHeadersFieldBuilder() { - if (pivotHeadersBuilder_ == null) { - pivotHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.PivotHeader, - com.google.analytics.data.v1alpha.PivotHeader.Builder, - com.google.analytics.data.v1alpha.PivotHeaderOrBuilder>( - pivotHeaders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - pivotHeaders_ = null; - } - return pivotHeadersBuilder_; - } - - private java.util.List dimensionHeaders_ = - java.util.Collections.emptyList(); - - private void ensureDimensionHeadersIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList( - dimensionHeaders_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionHeader, - com.google.analytics.data.v1alpha.DimensionHeader.Builder, - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder> - dimensionHeadersBuilder_; - - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public java.util.List - getDimensionHeadersList() { - if (dimensionHeadersBuilder_ == null) { - return java.util.Collections.unmodifiableList(dimensionHeaders_); - } else { - return dimensionHeadersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public int getDimensionHeadersCount() { - if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.size(); - } else { - return dimensionHeadersBuilder_.getCount(); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public com.google.analytics.data.v1alpha.DimensionHeader getDimensionHeaders(int index) { - if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.get(index); - } else { - return dimensionHeadersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public Builder setDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader value) { - if (dimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.set(index, value); - onChanged(); - } else { - dimensionHeadersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public Builder setDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader.Builder builderForValue) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.set(index, builderForValue.build()); - onChanged(); - } else { - dimensionHeadersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public Builder addDimensionHeaders(com.google.analytics.data.v1alpha.DimensionHeader value) { - if (dimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(value); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public Builder addDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader value) { - if (dimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(index, value); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public Builder addDimensionHeaders( - com.google.analytics.data.v1alpha.DimensionHeader.Builder builderForValue) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(builderForValue.build()); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public Builder addDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader.Builder builderForValue) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(index, builderForValue.build()); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public Builder addAllDimensionHeaders( - java.lang.Iterable values) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_); - onChanged(); - } else { - dimensionHeadersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public Builder clearDimensionHeaders() { - if (dimensionHeadersBuilder_ == null) { - dimensionHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - dimensionHeadersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public Builder removeDimensionHeaders(int index) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.remove(index); - onChanged(); - } else { - dimensionHeadersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public com.google.analytics.data.v1alpha.DimensionHeader.Builder getDimensionHeadersBuilder( - int index) { - return getDimensionHeadersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index) { - if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.get(index); - } else { - return dimensionHeadersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public java.util.List - getDimensionHeadersOrBuilderList() { - if (dimensionHeadersBuilder_ != null) { - return dimensionHeadersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dimensionHeaders_); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public com.google.analytics.data.v1alpha.DimensionHeader.Builder addDimensionHeadersBuilder() { - return getDimensionHeadersFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.DimensionHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public com.google.analytics.data.v1alpha.DimensionHeader.Builder addDimensionHeadersBuilder( - int index) { - return getDimensionHeadersFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1alpha.DimensionHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - public java.util.List - getDimensionHeadersBuilderList() { - return getDimensionHeadersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionHeader, - com.google.analytics.data.v1alpha.DimensionHeader.Builder, - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder> - getDimensionHeadersFieldBuilder() { - if (dimensionHeadersBuilder_ == null) { - dimensionHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionHeader, - com.google.analytics.data.v1alpha.DimensionHeader.Builder, - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder>( - dimensionHeaders_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - dimensionHeaders_ = null; - } - return dimensionHeadersBuilder_; - } - - private java.util.List metricHeaders_ = - java.util.Collections.emptyList(); - - private void ensureMetricHeadersIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - metricHeaders_ = - new java.util.ArrayList(metricHeaders_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricHeader, - com.google.analytics.data.v1alpha.MetricHeader.Builder, - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder> - metricHeadersBuilder_; - - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public java.util.List getMetricHeadersList() { - if (metricHeadersBuilder_ == null) { - return java.util.Collections.unmodifiableList(metricHeaders_); - } else { - return metricHeadersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public int getMetricHeadersCount() { - if (metricHeadersBuilder_ == null) { - return metricHeaders_.size(); - } else { - return metricHeadersBuilder_.getCount(); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public com.google.analytics.data.v1alpha.MetricHeader getMetricHeaders(int index) { - if (metricHeadersBuilder_ == null) { - return metricHeaders_.get(index); - } else { - return metricHeadersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder setMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader value) { - if (metricHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricHeadersIsMutable(); - metricHeaders_.set(index, value); - onChanged(); - } else { - metricHeadersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder setMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader.Builder builderForValue) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.set(index, builderForValue.build()); - onChanged(); - } else { - metricHeadersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder addMetricHeaders(com.google.analytics.data.v1alpha.MetricHeader value) { - if (metricHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricHeadersIsMutable(); - metricHeaders_.add(value); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder addMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader value) { - if (metricHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricHeadersIsMutable(); - metricHeaders_.add(index, value); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder addMetricHeaders( - com.google.analytics.data.v1alpha.MetricHeader.Builder builderForValue) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.add(builderForValue.build()); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder addMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader.Builder builderForValue) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.add(index, builderForValue.build()); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder addAllMetricHeaders( - java.lang.Iterable values) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_); - onChanged(); - } else { - metricHeadersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder clearMetricHeaders() { - if (metricHeadersBuilder_ == null) { - metricHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - metricHeadersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder removeMetricHeaders(int index) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.remove(index); - onChanged(); - } else { - metricHeadersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public com.google.analytics.data.v1alpha.MetricHeader.Builder getMetricHeadersBuilder( - int index) { - return getMetricHeadersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public com.google.analytics.data.v1alpha.MetricHeaderOrBuilder getMetricHeadersOrBuilder( - int index) { - if (metricHeadersBuilder_ == null) { - return metricHeaders_.get(index); - } else { - return metricHeadersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public java.util.List - getMetricHeadersOrBuilderList() { - if (metricHeadersBuilder_ != null) { - return metricHeadersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(metricHeaders_); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public com.google.analytics.data.v1alpha.MetricHeader.Builder addMetricHeadersBuilder() { - return getMetricHeadersFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.MetricHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public com.google.analytics.data.v1alpha.MetricHeader.Builder addMetricHeadersBuilder( - int index) { - return getMetricHeadersFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.MetricHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public java.util.List - getMetricHeadersBuilderList() { - return getMetricHeadersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricHeader, - com.google.analytics.data.v1alpha.MetricHeader.Builder, - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder> - getMetricHeadersFieldBuilder() { - if (metricHeadersBuilder_ == null) { - metricHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricHeader, - com.google.analytics.data.v1alpha.MetricHeader.Builder, - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder>( - metricHeaders_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - metricHeaders_ = null; - } - return metricHeadersBuilder_; - } - - private java.util.List rows_ = - java.util.Collections.emptyList(); - - private void ensureRowsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - rows_ = new java.util.ArrayList(rows_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - rowsBuilder_; - - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public java.util.List getRowsList() { - if (rowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(rows_); - } else { - return rowsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public int getRowsCount() { - if (rowsBuilder_ == null) { - return rows_.size(); - } else { - return rowsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public com.google.analytics.data.v1alpha.Row getRows(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder setRows(int index, com.google.analytics.data.v1alpha.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.set(index, value); - onChanged(); - } else { - rowsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder setRows( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.set(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder addRows(com.google.analytics.data.v1alpha.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(value); - onChanged(); - } else { - rowsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder addRows(int index, com.google.analytics.data.v1alpha.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(index, value); - onChanged(); - } else { - rowsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder addRows(com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder addRows( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder addAllRows( - java.lang.Iterable values) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); - onChanged(); - } else { - rowsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder clearRows() { - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - rowsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder removeRows(int index) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.remove(index); - onChanged(); - } else { - rowsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public com.google.analytics.data.v1alpha.Row.Builder getRowsBuilder(int index) { - return getRowsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public com.google.analytics.data.v1alpha.RowOrBuilder getRowsOrBuilder(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public java.util.List - getRowsOrBuilderList() { - if (rowsBuilder_ != null) { - return rowsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(rows_); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public com.google.analytics.data.v1alpha.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public com.google.analytics.data.v1alpha.Row.Builder addRowsBuilder(int index) { - return getRowsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public java.util.List getRowsBuilderList() { - return getRowsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - getRowsFieldBuilder() { - if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder>( - rows_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - rows_ = null; - } - return rowsBuilder_; - } - - private java.util.List aggregates_ = - java.util.Collections.emptyList(); - - private void ensureAggregatesIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - aggregates_ = new java.util.ArrayList(aggregates_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - aggregatesBuilder_; - - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public java.util.List getAggregatesList() { - if (aggregatesBuilder_ == null) { - return java.util.Collections.unmodifiableList(aggregates_); - } else { - return aggregatesBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public int getAggregatesCount() { - if (aggregatesBuilder_ == null) { - return aggregates_.size(); - } else { - return aggregatesBuilder_.getCount(); - } - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public com.google.analytics.data.v1alpha.Row getAggregates(int index) { - if (aggregatesBuilder_ == null) { - return aggregates_.get(index); - } else { - return aggregatesBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public Builder setAggregates(int index, com.google.analytics.data.v1alpha.Row value) { - if (aggregatesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAggregatesIsMutable(); - aggregates_.set(index, value); - onChanged(); - } else { - aggregatesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public Builder setAggregates( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (aggregatesBuilder_ == null) { - ensureAggregatesIsMutable(); - aggregates_.set(index, builderForValue.build()); - onChanged(); - } else { - aggregatesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public Builder addAggregates(com.google.analytics.data.v1alpha.Row value) { - if (aggregatesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAggregatesIsMutable(); - aggregates_.add(value); - onChanged(); - } else { - aggregatesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public Builder addAggregates(int index, com.google.analytics.data.v1alpha.Row value) { - if (aggregatesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAggregatesIsMutable(); - aggregates_.add(index, value); - onChanged(); - } else { - aggregatesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public Builder addAggregates(com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (aggregatesBuilder_ == null) { - ensureAggregatesIsMutable(); - aggregates_.add(builderForValue.build()); - onChanged(); - } else { - aggregatesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public Builder addAggregates( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (aggregatesBuilder_ == null) { - ensureAggregatesIsMutable(); - aggregates_.add(index, builderForValue.build()); - onChanged(); - } else { - aggregatesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public Builder addAllAggregates( - java.lang.Iterable values) { - if (aggregatesBuilder_ == null) { - ensureAggregatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregates_); - onChanged(); - } else { - aggregatesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public Builder clearAggregates() { - if (aggregatesBuilder_ == null) { - aggregates_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - aggregatesBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public Builder removeAggregates(int index) { - if (aggregatesBuilder_ == null) { - ensureAggregatesIsMutable(); - aggregates_.remove(index); - onChanged(); - } else { - aggregatesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public com.google.analytics.data.v1alpha.Row.Builder getAggregatesBuilder(int index) { - return getAggregatesFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public com.google.analytics.data.v1alpha.RowOrBuilder getAggregatesOrBuilder(int index) { - if (aggregatesBuilder_ == null) { - return aggregates_.get(index); - } else { - return aggregatesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public java.util.List - getAggregatesOrBuilderList() { - if (aggregatesBuilder_ != null) { - return aggregatesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(aggregates_); - } - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public com.google.analytics.data.v1alpha.Row.Builder addAggregatesBuilder() { - return getAggregatesFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public com.google.analytics.data.v1alpha.Row.Builder addAggregatesBuilder(int index) { - return getAggregatesFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * Aggregation of metric values. Can be totals, minimums, or maximums. The
-     * returned aggregations are controlled by the metric_aggregations in the
-     * pivot. The type of aggregation returned in each row is shown by the
-     * dimension_values which are set to "RESERVED_<MetricAggregation>".
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - public java.util.List - getAggregatesBuilderList() { - return getAggregatesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - getAggregatesFieldBuilder() { - if (aggregatesBuilder_ == null) { - aggregatesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder>( - aggregates_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - aggregates_ = null; - } - return aggregatesBuilder_; - } - - private com.google.analytics.data.v1alpha.ResponseMetaData metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.ResponseMetaData, - com.google.analytics.data.v1alpha.ResponseMetaData.Builder, - com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder> - metadataBuilder_; - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - * - * @return Whether the metadata field is set. - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - * - * @return The metadata. - */ - public com.google.analytics.data.v1alpha.ResponseMetaData getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.analytics.data.v1alpha.ResponseMetaData.getDefaultInstance() - : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - */ - public Builder setMetadata(com.google.analytics.data.v1alpha.ResponseMetaData value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - */ - public Builder setMetadata( - com.google.analytics.data.v1alpha.ResponseMetaData.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - */ - public Builder mergeMetadata(com.google.analytics.data.v1alpha.ResponseMetaData value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - com.google.analytics.data.v1alpha.ResponseMetaData.newBuilder(metadata_) - .mergeFrom(value) - .buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - */ - public com.google.analytics.data.v1alpha.ResponseMetaData.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - */ - public com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null - ? com.google.analytics.data.v1alpha.ResponseMetaData.getDefaultInstance() - : metadata_; - } - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.ResponseMetaData, - com.google.analytics.data.v1alpha.ResponseMetaData.Builder, - com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.ResponseMetaData, - com.google.analytics.data.v1alpha.ResponseMetaData.Builder, - com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private com.google.analytics.data.v1alpha.PropertyQuota propertyQuota_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.PropertyQuota, - com.google.analytics.data.v1alpha.PropertyQuota.Builder, - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder> - propertyQuotaBuilder_; - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - * - * @return Whether the propertyQuota field is set. - */ - public boolean hasPropertyQuota() { - return propertyQuotaBuilder_ != null || propertyQuota_ != null; - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - * - * @return The propertyQuota. - */ - public com.google.analytics.data.v1alpha.PropertyQuota getPropertyQuota() { - if (propertyQuotaBuilder_ == null) { - return propertyQuota_ == null - ? com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance() - : propertyQuota_; - } else { - return propertyQuotaBuilder_.getMessage(); - } - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - */ - public Builder setPropertyQuota(com.google.analytics.data.v1alpha.PropertyQuota value) { - if (propertyQuotaBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - propertyQuota_ = value; - onChanged(); - } else { - propertyQuotaBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - */ - public Builder setPropertyQuota( - com.google.analytics.data.v1alpha.PropertyQuota.Builder builderForValue) { - if (propertyQuotaBuilder_ == null) { - propertyQuota_ = builderForValue.build(); - onChanged(); - } else { - propertyQuotaBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - */ - public Builder mergePropertyQuota(com.google.analytics.data.v1alpha.PropertyQuota value) { - if (propertyQuotaBuilder_ == null) { - if (propertyQuota_ != null) { - propertyQuota_ = - com.google.analytics.data.v1alpha.PropertyQuota.newBuilder(propertyQuota_) - .mergeFrom(value) - .buildPartial(); - } else { - propertyQuota_ = value; - } - onChanged(); - } else { - propertyQuotaBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - */ - public Builder clearPropertyQuota() { - if (propertyQuotaBuilder_ == null) { - propertyQuota_ = null; - onChanged(); - } else { - propertyQuota_ = null; - propertyQuotaBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - */ - public com.google.analytics.data.v1alpha.PropertyQuota.Builder getPropertyQuotaBuilder() { - - onChanged(); - return getPropertyQuotaFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - */ - public com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder() { - if (propertyQuotaBuilder_ != null) { - return propertyQuotaBuilder_.getMessageOrBuilder(); - } else { - return propertyQuota_ == null - ? com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance() - : propertyQuota_; - } - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.PropertyQuota, - com.google.analytics.data.v1alpha.PropertyQuota.Builder, - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder> - getPropertyQuotaFieldBuilder() { - if (propertyQuotaBuilder_ == null) { - propertyQuotaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.PropertyQuota, - com.google.analytics.data.v1alpha.PropertyQuota.Builder, - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder>( - getPropertyQuota(), getParentForChildren(), isClean()); - propertyQuota_ = null; - } - return propertyQuotaBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.RunPivotReportResponse) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.RunPivotReportResponse) - private static final com.google.analytics.data.v1alpha.RunPivotReportResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.RunPivotReportResponse(); - } - - public static com.google.analytics.data.v1alpha.RunPivotReportResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunPivotReportResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunPivotReportResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunPivotReportResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportResponseOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportResponseOrBuilder.java deleted file mode 100644 index 1a014826..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunPivotReportResponseOrBuilder.java +++ /dev/null @@ -1,540 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface RunPivotReportResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.RunPivotReportResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Summarizes the columns and rows created by a pivot. Each pivot in the
-   * request produces one header in the response. If we have a request like
-   * this:
-   *     "pivots": [{
-   *       "fieldNames": ["country",
-   *         "city"]
-   *     },
-   *     {
-   *       "fieldNames": "eventName"
-   *     }]
-   * We will have the following `pivotHeaders` in the response:
-   *     "pivotHeaders" : [{
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [
-   *            { "value": "United Kingdom" },
-   *            { "value": "London" }
-   *          ]
-   *       },
-   *       {
-   *         "dimensionValues": [
-   *         { "value": "Japan" },
-   *         { "value": "Osaka" }
-   *         ]
-   *       }]
-   *     },
-   *     {
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [{ "value": "session_start" }]
-   *       },
-   *       {
-   *         "dimensionValues": [{ "value": "scroll" }]
-   *       }]
-   *     }]
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - java.util.List getPivotHeadersList(); - /** - * - * - *
-   * Summarizes the columns and rows created by a pivot. Each pivot in the
-   * request produces one header in the response. If we have a request like
-   * this:
-   *     "pivots": [{
-   *       "fieldNames": ["country",
-   *         "city"]
-   *     },
-   *     {
-   *       "fieldNames": "eventName"
-   *     }]
-   * We will have the following `pivotHeaders` in the response:
-   *     "pivotHeaders" : [{
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [
-   *            { "value": "United Kingdom" },
-   *            { "value": "London" }
-   *          ]
-   *       },
-   *       {
-   *         "dimensionValues": [
-   *         { "value": "Japan" },
-   *         { "value": "Osaka" }
-   *         ]
-   *       }]
-   *     },
-   *     {
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [{ "value": "session_start" }]
-   *       },
-   *       {
-   *         "dimensionValues": [{ "value": "scroll" }]
-   *       }]
-   *     }]
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - com.google.analytics.data.v1alpha.PivotHeader getPivotHeaders(int index); - /** - * - * - *
-   * Summarizes the columns and rows created by a pivot. Each pivot in the
-   * request produces one header in the response. If we have a request like
-   * this:
-   *     "pivots": [{
-   *       "fieldNames": ["country",
-   *         "city"]
-   *     },
-   *     {
-   *       "fieldNames": "eventName"
-   *     }]
-   * We will have the following `pivotHeaders` in the response:
-   *     "pivotHeaders" : [{
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [
-   *            { "value": "United Kingdom" },
-   *            { "value": "London" }
-   *          ]
-   *       },
-   *       {
-   *         "dimensionValues": [
-   *         { "value": "Japan" },
-   *         { "value": "Osaka" }
-   *         ]
-   *       }]
-   *     },
-   *     {
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [{ "value": "session_start" }]
-   *       },
-   *       {
-   *         "dimensionValues": [{ "value": "scroll" }]
-   *       }]
-   *     }]
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - int getPivotHeadersCount(); - /** - * - * - *
-   * Summarizes the columns and rows created by a pivot. Each pivot in the
-   * request produces one header in the response. If we have a request like
-   * this:
-   *     "pivots": [{
-   *       "fieldNames": ["country",
-   *         "city"]
-   *     },
-   *     {
-   *       "fieldNames": "eventName"
-   *     }]
-   * We will have the following `pivotHeaders` in the response:
-   *     "pivotHeaders" : [{
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [
-   *            { "value": "United Kingdom" },
-   *            { "value": "London" }
-   *          ]
-   *       },
-   *       {
-   *         "dimensionValues": [
-   *         { "value": "Japan" },
-   *         { "value": "Osaka" }
-   *         ]
-   *       }]
-   *     },
-   *     {
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [{ "value": "session_start" }]
-   *       },
-   *       {
-   *         "dimensionValues": [{ "value": "scroll" }]
-   *       }]
-   *     }]
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - java.util.List - getPivotHeadersOrBuilderList(); - /** - * - * - *
-   * Summarizes the columns and rows created by a pivot. Each pivot in the
-   * request produces one header in the response. If we have a request like
-   * this:
-   *     "pivots": [{
-   *       "fieldNames": ["country",
-   *         "city"]
-   *     },
-   *     {
-   *       "fieldNames": "eventName"
-   *     }]
-   * We will have the following `pivotHeaders` in the response:
-   *     "pivotHeaders" : [{
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [
-   *            { "value": "United Kingdom" },
-   *            { "value": "London" }
-   *          ]
-   *       },
-   *       {
-   *         "dimensionValues": [
-   *         { "value": "Japan" },
-   *         { "value": "Osaka" }
-   *         ]
-   *       }]
-   *     },
-   *     {
-   *       "dimensionHeaders": [{
-   *         "dimensionValues": [{ "value": "session_start" }]
-   *       },
-   *       {
-   *         "dimensionValues": [{ "value": "scroll" }]
-   *       }]
-   *     }]
-   * 
- * - * repeated .google.analytics.data.v1alpha.PivotHeader pivot_headers = 1; - */ - com.google.analytics.data.v1alpha.PivotHeaderOrBuilder getPivotHeadersOrBuilder(int index); - - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - java.util.List getDimensionHeadersList(); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - com.google.analytics.data.v1alpha.DimensionHeader getDimensionHeaders(int index); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - int getDimensionHeadersCount(); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - java.util.List - getDimensionHeadersOrBuilderList(); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 7; - */ - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index); - - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - java.util.List getMetricHeadersList(); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - com.google.analytics.data.v1alpha.MetricHeader getMetricHeaders(int index); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - int getMetricHeadersCount(); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - java.util.List - getMetricHeadersOrBuilderList(); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index); - - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - java.util.List getRowsList(); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - com.google.analytics.data.v1alpha.Row getRows(int index); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - int getRowsCount(); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - java.util.List getRowsOrBuilderList(); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - com.google.analytics.data.v1alpha.RowOrBuilder getRowsOrBuilder(int index); - - /** - * - * - *
-   * Aggregation of metric values. Can be totals, minimums, or maximums. The
-   * returned aggregations are controlled by the metric_aggregations in the
-   * pivot. The type of aggregation returned in each row is shown by the
-   * dimension_values which are set to "RESERVED_<MetricAggregation>".
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - java.util.List getAggregatesList(); - /** - * - * - *
-   * Aggregation of metric values. Can be totals, minimums, or maximums. The
-   * returned aggregations are controlled by the metric_aggregations in the
-   * pivot. The type of aggregation returned in each row is shown by the
-   * dimension_values which are set to "RESERVED_<MetricAggregation>".
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - com.google.analytics.data.v1alpha.Row getAggregates(int index); - /** - * - * - *
-   * Aggregation of metric values. Can be totals, minimums, or maximums. The
-   * returned aggregations are controlled by the metric_aggregations in the
-   * pivot. The type of aggregation returned in each row is shown by the
-   * dimension_values which are set to "RESERVED_<MetricAggregation>".
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - int getAggregatesCount(); - /** - * - * - *
-   * Aggregation of metric values. Can be totals, minimums, or maximums. The
-   * returned aggregations are controlled by the metric_aggregations in the
-   * pivot. The type of aggregation returned in each row is shown by the
-   * dimension_values which are set to "RESERVED_<MetricAggregation>".
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - java.util.List - getAggregatesOrBuilderList(); - /** - * - * - *
-   * Aggregation of metric values. Can be totals, minimums, or maximums. The
-   * returned aggregations are controlled by the metric_aggregations in the
-   * pivot. The type of aggregation returned in each row is shown by the
-   * dimension_values which are set to "RESERVED_<MetricAggregation>".
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row aggregates = 4; - */ - com.google.analytics.data.v1alpha.RowOrBuilder getAggregatesOrBuilder(int index); - - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - * - * @return Whether the metadata field is set. - */ - boolean hasMetadata(); - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - * - * @return The metadata. - */ - com.google.analytics.data.v1alpha.ResponseMetaData getMetadata(); - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 5; - */ - com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder getMetadataOrBuilder(); - - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - * - * @return Whether the propertyQuota field is set. - */ - boolean hasPropertyQuota(); - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - * - * @return The propertyQuota. - */ - com.google.analytics.data.v1alpha.PropertyQuota getPropertyQuota(); - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 6; - */ - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportRequest.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportRequest.java deleted file mode 100644 index eebe8826..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportRequest.java +++ /dev/null @@ -1,3343 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The request to generate a realtime report.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunRealtimeReportRequest} - */ -public final class RunRealtimeReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.RunRealtimeReportRequest) - RunRealtimeReportRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use RunRealtimeReportRequest.newBuilder() to construct. - private RunRealtimeReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private RunRealtimeReportRequest() { - property_ = ""; - dimensions_ = java.util.Collections.emptyList(); - metrics_ = java.util.Collections.emptyList(); - metricAggregations_ = java.util.Collections.emptyList(); - orderBys_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RunRealtimeReportRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private RunRealtimeReportRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - property_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensions_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Dimension.parser(), extensionRegistry)); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metrics_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Metric.parser(), extensionRegistry)); - break; - } - case 32: - { - limit_ = input.readInt64(); - break; - } - case 42: - { - com.google.analytics.data.v1alpha.FilterExpression.Builder subBuilder = null; - if (dimensionFilter_ != null) { - subBuilder = dimensionFilter_.toBuilder(); - } - dimensionFilter_ = - input.readMessage( - com.google.analytics.data.v1alpha.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionFilter_); - dimensionFilter_ = subBuilder.buildPartial(); - } - - break; - } - case 50: - { - com.google.analytics.data.v1alpha.FilterExpression.Builder subBuilder = null; - if (metricFilter_ != null) { - subBuilder = metricFilter_.toBuilder(); - } - metricFilter_ = - input.readMessage( - com.google.analytics.data.v1alpha.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricFilter_); - metricFilter_ = subBuilder.buildPartial(); - } - - break; - } - case 56: - { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - metricAggregations_.add(rawValue); - break; - } - case 58: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - metricAggregations_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 66: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - orderBys_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - orderBys_.add( - input.readMessage( - com.google.analytics.data.v1alpha.OrderBy.parser(), extensionRegistry)); - break; - } - case 72: - { - returnPropertyQuota_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = java.util.Collections.unmodifiableList(dimensions_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = java.util.Collections.unmodifiableList(metrics_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = java.util.Collections.unmodifiableList(metricAggregations_); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - orderBys_ = java.util.Collections.unmodifiableList(orderBys_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunRealtimeReportRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunRealtimeReportRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunRealtimeReportRequest.class, - com.google.analytics.data.v1alpha.RunRealtimeReportRequest.Builder.class); - } - - public static final int PROPERTY_FIELD_NUMBER = 1; - private volatile java.lang.Object property_; - /** - * - * - *
-   * A Google Analytics GA4 property identifier whose events are tracked.
-   * Specified in the URL path and not the body. To learn more, see [where to
-   * find your Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * Example: properties/1234
-   * 
- * - * string property = 1; - * - * @return The property. - */ - @java.lang.Override - public java.lang.String getProperty() { - java.lang.Object ref = property_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - property_ = s; - return s; - } - } - /** - * - * - *
-   * A Google Analytics GA4 property identifier whose events are tracked.
-   * Specified in the URL path and not the body. To learn more, see [where to
-   * find your Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * Example: properties/1234
-   * 
- * - * string property = 1; - * - * @return The bytes for property. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPropertyBytes() { - java.lang.Object ref = property_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - property_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DIMENSIONS_FIELD_NUMBER = 2; - private java.util.List dimensions_; - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public java.util.List getDimensionsList() { - return dimensions_; - } - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public java.util.List - getDimensionsOrBuilderList() { - return dimensions_; - } - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public int getDimensionsCount() { - return dimensions_.size(); - } - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Dimension getDimensions(int index) { - return dimensions_.get(index); - } - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionOrBuilder getDimensionsOrBuilder(int index) { - return dimensions_.get(index); - } - - public static final int METRICS_FIELD_NUMBER = 3; - private java.util.List metrics_; - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public java.util.List getMetricsList() { - return metrics_; - } - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public java.util.List - getMetricsOrBuilderList() { - return metrics_; - } - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public int getMetricsCount() { - return metrics_.size(); - } - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Metric getMetrics(int index) { - return metrics_.get(index); - } - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricOrBuilder getMetricsOrBuilder(int index) { - return metrics_.get(index); - } - - public static final int LIMIT_FIELD_NUMBER = 4; - private long limit_; - /** - * - * - *
-   * The number of rows to return. If unspecified, 10 rows are returned. If
-   * -1, all rows are returned.
-   * 
- * - * int64 limit = 4; - * - * @return The limit. - */ - @java.lang.Override - public long getLimit() { - return limit_; - } - - public static final int DIMENSION_FILTER_FIELD_NUMBER = 5; - private com.google.analytics.data.v1alpha.FilterExpression dimensionFilter_; - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - * - * @return Whether the dimensionFilter field is set. - */ - @java.lang.Override - public boolean hasDimensionFilter() { - return dimensionFilter_ != null; - } - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - * - * @return The dimensionFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getDimensionFilter() { - return dimensionFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : dimensionFilter_; - } - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getDimensionFilterOrBuilder() { - return getDimensionFilter(); - } - - public static final int METRIC_FILTER_FIELD_NUMBER = 6; - private com.google.analytics.data.v1alpha.FilterExpression metricFilter_; - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - * - * @return Whether the metricFilter field is set. - */ - @java.lang.Override - public boolean hasMetricFilter() { - return metricFilter_ != null; - } - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - * - * @return The metricFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getMetricFilter() { - return metricFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : metricFilter_; - } - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getMetricFilterOrBuilder() { - return getMetricFilter(); - } - - public static final int METRIC_AGGREGATIONS_FIELD_NUMBER = 7; - private java.util.List metricAggregations_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation> - metricAggregations_converter_ = - new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation>() { - public com.google.analytics.data.v1alpha.MetricAggregation convert( - java.lang.Integer from) { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.MetricAggregation result = - com.google.analytics.data.v1alpha.MetricAggregation.valueOf(from); - return result == null - ? com.google.analytics.data.v1alpha.MetricAggregation.UNRECOGNIZED - : result; - } - }; - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return A list containing the metricAggregations. - */ - @java.lang.Override - public java.util.List - getMetricAggregationsList() { - return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); - } - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return The count of metricAggregations. - */ - @java.lang.Override - public int getMetricAggregationsCount() { - return metricAggregations_.size(); - } - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @param index The index of the element to return. - * @return The metricAggregations at the given index. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricAggregation getMetricAggregations(int index) { - return metricAggregations_converter_.convert(metricAggregations_.get(index)); - } - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return A list containing the enum numeric values on the wire for metricAggregations. - */ - @java.lang.Override - public java.util.List getMetricAggregationsValueList() { - return metricAggregations_; - } - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - */ - @java.lang.Override - public int getMetricAggregationsValue(int index) { - return metricAggregations_.get(index); - } - - private int metricAggregationsMemoizedSerializedSize; - - public static final int ORDER_BYS_FIELD_NUMBER = 8; - private java.util.List orderBys_; - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - @java.lang.Override - public java.util.List getOrderBysList() { - return orderBys_; - } - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - @java.lang.Override - public java.util.List - getOrderBysOrBuilderList() { - return orderBys_; - } - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - @java.lang.Override - public int getOrderBysCount() { - return orderBys_.size(); - } - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy getOrderBys(int index) { - return orderBys_.get(index); - } - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderByOrBuilder getOrderBysOrBuilder(int index) { - return orderBys_.get(index); - } - - public static final int RETURN_PROPERTY_QUOTA_FIELD_NUMBER = 9; - private boolean returnPropertyQuota_; - /** - * - * - *
-   * Toggles whether to return the current state of this Analytics Property's
-   * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-   * 
- * - * bool return_property_quota = 9; - * - * @return The returnPropertyQuota. - */ - @java.lang.Override - public boolean getReturnPropertyQuota() { - return returnPropertyQuota_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (!getPropertyBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); - } - for (int i = 0; i < dimensions_.size(); i++) { - output.writeMessage(2, dimensions_.get(i)); - } - for (int i = 0; i < metrics_.size(); i++) { - output.writeMessage(3, metrics_.get(i)); - } - if (limit_ != 0L) { - output.writeInt64(4, limit_); - } - if (dimensionFilter_ != null) { - output.writeMessage(5, getDimensionFilter()); - } - if (metricFilter_ != null) { - output.writeMessage(6, getMetricFilter()); - } - if (getMetricAggregationsList().size() > 0) { - output.writeUInt32NoTag(58); - output.writeUInt32NoTag(metricAggregationsMemoizedSerializedSize); - } - for (int i = 0; i < metricAggregations_.size(); i++) { - output.writeEnumNoTag(metricAggregations_.get(i)); - } - for (int i = 0; i < orderBys_.size(); i++) { - output.writeMessage(8, orderBys_.get(i)); - } - if (returnPropertyQuota_ != false) { - output.writeBool(9, returnPropertyQuota_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getPropertyBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); - } - for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); - } - for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); - } - if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, limit_); - } - if (dimensionFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDimensionFilter()); - } - if (metricFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetricFilter()); - } - { - int dataSize = 0; - for (int i = 0; i < metricAggregations_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(metricAggregations_.get(i)); - } - size += dataSize; - if (!getMetricAggregationsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - metricAggregationsMemoizedSerializedSize = dataSize; - } - for (int i = 0; i < orderBys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, orderBys_.get(i)); - } - if (returnPropertyQuota_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, returnPropertyQuota_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.RunRealtimeReportRequest)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.RunRealtimeReportRequest other = - (com.google.analytics.data.v1alpha.RunRealtimeReportRequest) obj; - - if (!getProperty().equals(other.getProperty())) return false; - if (!getDimensionsList().equals(other.getDimensionsList())) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; - if (getLimit() != other.getLimit()) return false; - if (hasDimensionFilter() != other.hasDimensionFilter()) return false; - if (hasDimensionFilter()) { - if (!getDimensionFilter().equals(other.getDimensionFilter())) return false; - } - if (hasMetricFilter() != other.hasMetricFilter()) return false; - if (hasMetricFilter()) { - if (!getMetricFilter().equals(other.getMetricFilter())) return false; - } - if (!metricAggregations_.equals(other.metricAggregations_)) return false; - if (!getOrderBysList().equals(other.getOrderBysList())) return false; - if (getReturnPropertyQuota() != other.getReturnPropertyQuota()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROPERTY_FIELD_NUMBER; - hash = (53 * hash) + getProperty().hashCode(); - if (getDimensionsCount() > 0) { - hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; - hash = (53 * hash) + getDimensionsList().hashCode(); - } - if (getMetricsCount() > 0) { - hash = (37 * hash) + METRICS_FIELD_NUMBER; - hash = (53 * hash) + getMetricsList().hashCode(); - } - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); - if (hasDimensionFilter()) { - hash = (37 * hash) + DIMENSION_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getDimensionFilter().hashCode(); - } - if (hasMetricFilter()) { - hash = (37 * hash) + METRIC_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getMetricFilter().hashCode(); - } - if (getMetricAggregationsCount() > 0) { - hash = (37 * hash) + METRIC_AGGREGATIONS_FIELD_NUMBER; - hash = (53 * hash) + metricAggregations_.hashCode(); - } - if (getOrderBysCount() > 0) { - hash = (37 * hash) + ORDER_BYS_FIELD_NUMBER; - hash = (53 * hash) + getOrderBysList().hashCode(); - } - hash = (37 * hash) + RETURN_PROPERTY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPropertyQuota()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.RunRealtimeReportRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The request to generate a realtime report.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunRealtimeReportRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.RunRealtimeReportRequest) - com.google.analytics.data.v1alpha.RunRealtimeReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunRealtimeReportRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunRealtimeReportRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunRealtimeReportRequest.class, - com.google.analytics.data.v1alpha.RunRealtimeReportRequest.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.RunRealtimeReportRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getDimensionsFieldBuilder(); - getMetricsFieldBuilder(); - getOrderBysFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - property_ = ""; - - if (dimensionsBuilder_ == null) { - dimensions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - dimensionsBuilder_.clear(); - } - if (metricsBuilder_ == null) { - metrics_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - metricsBuilder_.clear(); - } - limit_ = 0L; - - if (dimensionFilterBuilder_ == null) { - dimensionFilter_ = null; - } else { - dimensionFilter_ = null; - dimensionFilterBuilder_ = null; - } - if (metricFilterBuilder_ == null) { - metricFilter_ = null; - } else { - metricFilter_ = null; - metricFilterBuilder_ = null; - } - metricAggregations_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - if (orderBysBuilder_ == null) { - orderBys_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - orderBysBuilder_.clear(); - } - returnPropertyQuota_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunRealtimeReportRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunRealtimeReportRequest getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.RunRealtimeReportRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunRealtimeReportRequest build() { - com.google.analytics.data.v1alpha.RunRealtimeReportRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunRealtimeReportRequest buildPartial() { - com.google.analytics.data.v1alpha.RunRealtimeReportRequest result = - new com.google.analytics.data.v1alpha.RunRealtimeReportRequest(this); - int from_bitField0_ = bitField0_; - result.property_ = property_; - if (dimensionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - dimensions_ = java.util.Collections.unmodifiableList(dimensions_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dimensions_ = dimensions_; - } else { - result.dimensions_ = dimensionsBuilder_.build(); - } - if (metricsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - metrics_ = java.util.Collections.unmodifiableList(metrics_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.metrics_ = metrics_; - } else { - result.metrics_ = metricsBuilder_.build(); - } - result.limit_ = limit_; - if (dimensionFilterBuilder_ == null) { - result.dimensionFilter_ = dimensionFilter_; - } else { - result.dimensionFilter_ = dimensionFilterBuilder_.build(); - } - if (metricFilterBuilder_ == null) { - result.metricFilter_ = metricFilter_; - } else { - result.metricFilter_ = metricFilterBuilder_.build(); - } - if (((bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = java.util.Collections.unmodifiableList(metricAggregations_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.metricAggregations_ = metricAggregations_; - if (orderBysBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - orderBys_ = java.util.Collections.unmodifiableList(orderBys_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.orderBys_ = orderBys_; - } else { - result.orderBys_ = orderBysBuilder_.build(); - } - result.returnPropertyQuota_ = returnPropertyQuota_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.RunRealtimeReportRequest) { - return mergeFrom((com.google.analytics.data.v1alpha.RunRealtimeReportRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.RunRealtimeReportRequest other) { - if (other == com.google.analytics.data.v1alpha.RunRealtimeReportRequest.getDefaultInstance()) - return this; - if (!other.getProperty().isEmpty()) { - property_ = other.property_; - onChanged(); - } - if (dimensionsBuilder_ == null) { - if (!other.dimensions_.isEmpty()) { - if (dimensions_.isEmpty()) { - dimensions_ = other.dimensions_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDimensionsIsMutable(); - dimensions_.addAll(other.dimensions_); - } - onChanged(); - } - } else { - if (!other.dimensions_.isEmpty()) { - if (dimensionsBuilder_.isEmpty()) { - dimensionsBuilder_.dispose(); - dimensionsBuilder_ = null; - dimensions_ = other.dimensions_; - bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionsFieldBuilder() - : null; - } else { - dimensionsBuilder_.addAllMessages(other.dimensions_); - } - } - } - if (metricsBuilder_ == null) { - if (!other.metrics_.isEmpty()) { - if (metrics_.isEmpty()) { - metrics_ = other.metrics_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureMetricsIsMutable(); - metrics_.addAll(other.metrics_); - } - onChanged(); - } - } else { - if (!other.metrics_.isEmpty()) { - if (metricsBuilder_.isEmpty()) { - metricsBuilder_.dispose(); - metricsBuilder_ = null; - metrics_ = other.metrics_; - bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; - } else { - metricsBuilder_.addAllMessages(other.metrics_); - } - } - } - if (other.getLimit() != 0L) { - setLimit(other.getLimit()); - } - if (other.hasDimensionFilter()) { - mergeDimensionFilter(other.getDimensionFilter()); - } - if (other.hasMetricFilter()) { - mergeMetricFilter(other.getMetricFilter()); - } - if (!other.metricAggregations_.isEmpty()) { - if (metricAggregations_.isEmpty()) { - metricAggregations_ = other.metricAggregations_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureMetricAggregationsIsMutable(); - metricAggregations_.addAll(other.metricAggregations_); - } - onChanged(); - } - if (orderBysBuilder_ == null) { - if (!other.orderBys_.isEmpty()) { - if (orderBys_.isEmpty()) { - orderBys_ = other.orderBys_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureOrderBysIsMutable(); - orderBys_.addAll(other.orderBys_); - } - onChanged(); - } - } else { - if (!other.orderBys_.isEmpty()) { - if (orderBysBuilder_.isEmpty()) { - orderBysBuilder_.dispose(); - orderBysBuilder_ = null; - orderBys_ = other.orderBys_; - bitField0_ = (bitField0_ & ~0x00000008); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOrderBysFieldBuilder() - : null; - } else { - orderBysBuilder_.addAllMessages(other.orderBys_); - } - } - } - if (other.getReturnPropertyQuota() != false) { - setReturnPropertyQuota(other.getReturnPropertyQuota()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.RunRealtimeReportRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.RunRealtimeReportRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object property_ = ""; - /** - * - * - *
-     * A Google Analytics GA4 property identifier whose events are tracked.
-     * Specified in the URL path and not the body. To learn more, see [where to
-     * find your Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * Example: properties/1234
-     * 
- * - * string property = 1; - * - * @return The property. - */ - public java.lang.String getProperty() { - java.lang.Object ref = property_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - property_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * A Google Analytics GA4 property identifier whose events are tracked.
-     * Specified in the URL path and not the body. To learn more, see [where to
-     * find your Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * Example: properties/1234
-     * 
- * - * string property = 1; - * - * @return The bytes for property. - */ - public com.google.protobuf.ByteString getPropertyBytes() { - java.lang.Object ref = property_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - property_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * A Google Analytics GA4 property identifier whose events are tracked.
-     * Specified in the URL path and not the body. To learn more, see [where to
-     * find your Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * Example: properties/1234
-     * 
- * - * string property = 1; - * - * @param value The property to set. - * @return This builder for chaining. - */ - public Builder setProperty(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - property_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * A Google Analytics GA4 property identifier whose events are tracked.
-     * Specified in the URL path and not the body. To learn more, see [where to
-     * find your Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * Example: properties/1234
-     * 
- * - * string property = 1; - * - * @return This builder for chaining. - */ - public Builder clearProperty() { - - property_ = getDefaultInstance().getProperty(); - onChanged(); - return this; - } - /** - * - * - *
-     * A Google Analytics GA4 property identifier whose events are tracked.
-     * Specified in the URL path and not the body. To learn more, see [where to
-     * find your Property
-     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-     * Example: properties/1234
-     * 
- * - * string property = 1; - * - * @param value The bytes for property to set. - * @return This builder for chaining. - */ - public Builder setPropertyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - property_ = value; - onChanged(); - return this; - } - - private java.util.List dimensions_ = - java.util.Collections.emptyList(); - - private void ensureDimensionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(dimensions_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Dimension, - com.google.analytics.data.v1alpha.Dimension.Builder, - com.google.analytics.data.v1alpha.DimensionOrBuilder> - dimensionsBuilder_; - - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public java.util.List getDimensionsList() { - if (dimensionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(dimensions_); - } else { - return dimensionsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public int getDimensionsCount() { - if (dimensionsBuilder_ == null) { - return dimensions_.size(); - } else { - return dimensionsBuilder_.getCount(); - } - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension getDimensions(int index) { - if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { - return dimensionsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder setDimensions(int index, com.google.analytics.data.v1alpha.Dimension value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.set(index, value); - onChanged(); - } else { - dimensionsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder setDimensions( - int index, com.google.analytics.data.v1alpha.Dimension.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.set(index, builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions(com.google.analytics.data.v1alpha.Dimension value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.add(value); - onChanged(); - } else { - dimensionsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions(int index, com.google.analytics.data.v1alpha.Dimension value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.add(index, value); - onChanged(); - } else { - dimensionsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions( - com.google.analytics.data.v1alpha.Dimension.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions( - int index, com.google.analytics.data.v1alpha.Dimension.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(index, builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addAllDimensions( - java.lang.Iterable values) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); - onChanged(); - } else { - dimensionsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder clearDimensions() { - if (dimensionsBuilder_ == null) { - dimensions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - dimensionsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder removeDimensions(int index) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.remove(index); - onChanged(); - } else { - dimensionsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension.Builder getDimensionsBuilder(int index) { - return getDimensionsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.DimensionOrBuilder getDimensionsOrBuilder(int index) { - if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { - return dimensionsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public java.util.List - getDimensionsOrBuilderList() { - if (dimensionsBuilder_ != null) { - return dimensionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dimensions_); - } - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension.Builder addDimensionsBuilder() { - return getDimensionsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Dimension.getDefaultInstance()); - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension.Builder addDimensionsBuilder(int index) { - return getDimensionsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Dimension.getDefaultInstance()); - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public java.util.List - getDimensionsBuilderList() { - return getDimensionsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Dimension, - com.google.analytics.data.v1alpha.Dimension.Builder, - com.google.analytics.data.v1alpha.DimensionOrBuilder> - getDimensionsFieldBuilder() { - if (dimensionsBuilder_ == null) { - dimensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Dimension, - com.google.analytics.data.v1alpha.Dimension.Builder, - com.google.analytics.data.v1alpha.DimensionOrBuilder>( - dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - dimensions_ = null; - } - return dimensionsBuilder_; - } - - private java.util.List metrics_ = - java.util.Collections.emptyList(); - - private void ensureMetricsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(metrics_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Metric, - com.google.analytics.data.v1alpha.Metric.Builder, - com.google.analytics.data.v1alpha.MetricOrBuilder> - metricsBuilder_; - - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public java.util.List getMetricsList() { - if (metricsBuilder_ == null) { - return java.util.Collections.unmodifiableList(metrics_); - } else { - return metricsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public int getMetricsCount() { - if (metricsBuilder_ == null) { - return metrics_.size(); - } else { - return metricsBuilder_.getCount(); - } - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric getMetrics(int index) { - if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { - return metricsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder setMetrics(int index, com.google.analytics.data.v1alpha.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.set(index, value); - onChanged(); - } else { - metricsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder setMetrics( - int index, com.google.analytics.data.v1alpha.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.set(index, builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics(com.google.analytics.data.v1alpha.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.add(value); - onChanged(); - } else { - metricsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics(int index, com.google.analytics.data.v1alpha.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.add(index, value); - onChanged(); - } else { - metricsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics(com.google.analytics.data.v1alpha.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics( - int index, com.google.analytics.data.v1alpha.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(index, builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addAllMetrics( - java.lang.Iterable values) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); - onChanged(); - } else { - metricsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder clearMetrics() { - if (metricsBuilder_ == null) { - metrics_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - metricsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder removeMetrics(int index) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.remove(index); - onChanged(); - } else { - metricsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric.Builder getMetricsBuilder(int index) { - return getMetricsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.MetricOrBuilder getMetricsOrBuilder(int index) { - if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { - return metricsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public java.util.List - getMetricsOrBuilderList() { - if (metricsBuilder_ != null) { - return metricsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(metrics_); - } - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Metric.getDefaultInstance()); - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric.Builder addMetricsBuilder(int index) { - return getMetricsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Metric.getDefaultInstance()); - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public java.util.List - getMetricsBuilderList() { - return getMetricsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Metric, - com.google.analytics.data.v1alpha.Metric.Builder, - com.google.analytics.data.v1alpha.MetricOrBuilder> - getMetricsFieldBuilder() { - if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Metric, - com.google.analytics.data.v1alpha.Metric.Builder, - com.google.analytics.data.v1alpha.MetricOrBuilder>( - metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - metrics_ = null; - } - return metricsBuilder_; - } - - private long limit_; - /** - * - * - *
-     * The number of rows to return. If unspecified, 10 rows are returned. If
-     * -1, all rows are returned.
-     * 
- * - * int64 limit = 4; - * - * @return The limit. - */ - @java.lang.Override - public long getLimit() { - return limit_; - } - /** - * - * - *
-     * The number of rows to return. If unspecified, 10 rows are returned. If
-     * -1, all rows are returned.
-     * 
- * - * int64 limit = 4; - * - * @param value The limit to set. - * @return This builder for chaining. - */ - public Builder setLimit(long value) { - - limit_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The number of rows to return. If unspecified, 10 rows are returned. If
-     * -1, all rows are returned.
-     * 
- * - * int64 limit = 4; - * - * @return This builder for chaining. - */ - public Builder clearLimit() { - - limit_ = 0L; - onChanged(); - return this; - } - - private com.google.analytics.data.v1alpha.FilterExpression dimensionFilter_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - dimensionFilterBuilder_; - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - * - * @return Whether the dimensionFilter field is set. - */ - public boolean hasDimensionFilter() { - return dimensionFilterBuilder_ != null || dimensionFilter_ != null; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - * - * @return The dimensionFilter. - */ - public com.google.analytics.data.v1alpha.FilterExpression getDimensionFilter() { - if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : dimensionFilter_; - } else { - return dimensionFilterBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - */ - public Builder setDimensionFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (dimensionFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dimensionFilter_ = value; - onChanged(); - } else { - dimensionFilterBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - */ - public Builder setDimensionFilter( - com.google.analytics.data.v1alpha.FilterExpression.Builder builderForValue) { - if (dimensionFilterBuilder_ == null) { - dimensionFilter_ = builderForValue.build(); - onChanged(); - } else { - dimensionFilterBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - */ - public Builder mergeDimensionFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (dimensionFilterBuilder_ == null) { - if (dimensionFilter_ != null) { - dimensionFilter_ = - com.google.analytics.data.v1alpha.FilterExpression.newBuilder(dimensionFilter_) - .mergeFrom(value) - .buildPartial(); - } else { - dimensionFilter_ = value; - } - onChanged(); - } else { - dimensionFilterBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - */ - public Builder clearDimensionFilter() { - if (dimensionFilterBuilder_ == null) { - dimensionFilter_ = null; - onChanged(); - } else { - dimensionFilter_ = null; - dimensionFilterBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - */ - public com.google.analytics.data.v1alpha.FilterExpression.Builder getDimensionFilterBuilder() { - - onChanged(); - return getDimensionFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - */ - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder - getDimensionFilterOrBuilder() { - if (dimensionFilterBuilder_ != null) { - return dimensionFilterBuilder_.getMessageOrBuilder(); - } else { - return dimensionFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : dimensionFilter_; - } - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - getDimensionFilterFieldBuilder() { - if (dimensionFilterBuilder_ == null) { - dimensionFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder>( - getDimensionFilter(), getParentForChildren(), isClean()); - dimensionFilter_ = null; - } - return dimensionFilterBuilder_; - } - - private com.google.analytics.data.v1alpha.FilterExpression metricFilter_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - metricFilterBuilder_; - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - * - * @return Whether the metricFilter field is set. - */ - public boolean hasMetricFilter() { - return metricFilterBuilder_ != null || metricFilter_ != null; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - * - * @return The metricFilter. - */ - public com.google.analytics.data.v1alpha.FilterExpression getMetricFilter() { - if (metricFilterBuilder_ == null) { - return metricFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : metricFilter_; - } else { - return metricFilterBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - */ - public Builder setMetricFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (metricFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metricFilter_ = value; - onChanged(); - } else { - metricFilterBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - */ - public Builder setMetricFilter( - com.google.analytics.data.v1alpha.FilterExpression.Builder builderForValue) { - if (metricFilterBuilder_ == null) { - metricFilter_ = builderForValue.build(); - onChanged(); - } else { - metricFilterBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - */ - public Builder mergeMetricFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (metricFilterBuilder_ == null) { - if (metricFilter_ != null) { - metricFilter_ = - com.google.analytics.data.v1alpha.FilterExpression.newBuilder(metricFilter_) - .mergeFrom(value) - .buildPartial(); - } else { - metricFilter_ = value; - } - onChanged(); - } else { - metricFilterBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - */ - public Builder clearMetricFilter() { - if (metricFilterBuilder_ == null) { - metricFilter_ = null; - onChanged(); - } else { - metricFilter_ = null; - metricFilterBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - */ - public com.google.analytics.data.v1alpha.FilterExpression.Builder getMetricFilterBuilder() { - - onChanged(); - return getMetricFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - */ - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getMetricFilterOrBuilder() { - if (metricFilterBuilder_ != null) { - return metricFilterBuilder_.getMessageOrBuilder(); - } else { - return metricFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : metricFilter_; - } - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - getMetricFilterFieldBuilder() { - if (metricFilterBuilder_ == null) { - metricFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder>( - getMetricFilter(), getParentForChildren(), isClean()); - metricFilter_ = null; - } - return metricFilterBuilder_; - } - - private java.util.List metricAggregations_ = - java.util.Collections.emptyList(); - - private void ensureMetricAggregationsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = new java.util.ArrayList(metricAggregations_); - bitField0_ |= 0x00000004; - } - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @return A list containing the metricAggregations. - */ - public java.util.List - getMetricAggregationsList() { - return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @return The count of metricAggregations. - */ - public int getMetricAggregationsCount() { - return metricAggregations_.size(); - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param index The index of the element to return. - * @return The metricAggregations at the given index. - */ - public com.google.analytics.data.v1alpha.MetricAggregation getMetricAggregations(int index) { - return metricAggregations_converter_.convert(metricAggregations_.get(index)); - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param index The index to set the value at. - * @param value The metricAggregations to set. - * @return This builder for chaining. - */ - public Builder setMetricAggregations( - int index, com.google.analytics.data.v1alpha.MetricAggregation value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricAggregationsIsMutable(); - metricAggregations_.set(index, value.getNumber()); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param value The metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addMetricAggregations( - com.google.analytics.data.v1alpha.MetricAggregation value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricAggregationsIsMutable(); - metricAggregations_.add(value.getNumber()); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param values The metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addAllMetricAggregations( - java.lang.Iterable values) { - ensureMetricAggregationsIsMutable(); - for (com.google.analytics.data.v1alpha.MetricAggregation value : values) { - metricAggregations_.add(value.getNumber()); - } - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @return This builder for chaining. - */ - public Builder clearMetricAggregations() { - metricAggregations_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @return A list containing the enum numeric values on the wire for metricAggregations. - */ - public java.util.List getMetricAggregationsValueList() { - return java.util.Collections.unmodifiableList(metricAggregations_); - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - */ - public int getMetricAggregationsValue(int index) { - return metricAggregations_.get(index); - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - * @return This builder for chaining. - */ - public Builder setMetricAggregationsValue(int index, int value) { - ensureMetricAggregationsIsMutable(); - metricAggregations_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param value The enum numeric value on the wire for metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addMetricAggregationsValue(int value) { - ensureMetricAggregationsIsMutable(); - metricAggregations_.add(value); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param values The enum numeric values on the wire for metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addAllMetricAggregationsValue(java.lang.Iterable values) { - ensureMetricAggregationsIsMutable(); - for (int value : values) { - metricAggregations_.add(value); - } - onChanged(); - return this; - } - - private java.util.List orderBys_ = - java.util.Collections.emptyList(); - - private void ensureOrderBysIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - orderBys_ = new java.util.ArrayList(orderBys_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy, - com.google.analytics.data.v1alpha.OrderBy.Builder, - com.google.analytics.data.v1alpha.OrderByOrBuilder> - orderBysBuilder_; - - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public java.util.List getOrderBysList() { - if (orderBysBuilder_ == null) { - return java.util.Collections.unmodifiableList(orderBys_); - } else { - return orderBysBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public int getOrderBysCount() { - if (orderBysBuilder_ == null) { - return orderBys_.size(); - } else { - return orderBysBuilder_.getCount(); - } - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public com.google.analytics.data.v1alpha.OrderBy getOrderBys(int index) { - if (orderBysBuilder_ == null) { - return orderBys_.get(index); - } else { - return orderBysBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public Builder setOrderBys(int index, com.google.analytics.data.v1alpha.OrderBy value) { - if (orderBysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOrderBysIsMutable(); - orderBys_.set(index, value); - onChanged(); - } else { - orderBysBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public Builder setOrderBys( - int index, com.google.analytics.data.v1alpha.OrderBy.Builder builderForValue) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.set(index, builderForValue.build()); - onChanged(); - } else { - orderBysBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public Builder addOrderBys(com.google.analytics.data.v1alpha.OrderBy value) { - if (orderBysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOrderBysIsMutable(); - orderBys_.add(value); - onChanged(); - } else { - orderBysBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public Builder addOrderBys(int index, com.google.analytics.data.v1alpha.OrderBy value) { - if (orderBysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOrderBysIsMutable(); - orderBys_.add(index, value); - onChanged(); - } else { - orderBysBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public Builder addOrderBys(com.google.analytics.data.v1alpha.OrderBy.Builder builderForValue) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.add(builderForValue.build()); - onChanged(); - } else { - orderBysBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public Builder addOrderBys( - int index, com.google.analytics.data.v1alpha.OrderBy.Builder builderForValue) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.add(index, builderForValue.build()); - onChanged(); - } else { - orderBysBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public Builder addAllOrderBys( - java.lang.Iterable values) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_); - onChanged(); - } else { - orderBysBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public Builder clearOrderBys() { - if (orderBysBuilder_ == null) { - orderBys_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - orderBysBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public Builder removeOrderBys(int index) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.remove(index); - onChanged(); - } else { - orderBysBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public com.google.analytics.data.v1alpha.OrderBy.Builder getOrderBysBuilder(int index) { - return getOrderBysFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public com.google.analytics.data.v1alpha.OrderByOrBuilder getOrderBysOrBuilder(int index) { - if (orderBysBuilder_ == null) { - return orderBys_.get(index); - } else { - return orderBysBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public java.util.List - getOrderBysOrBuilderList() { - if (orderBysBuilder_ != null) { - return orderBysBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(orderBys_); - } - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public com.google.analytics.data.v1alpha.OrderBy.Builder addOrderBysBuilder() { - return getOrderBysFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.OrderBy.getDefaultInstance()); - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public com.google.analytics.data.v1alpha.OrderBy.Builder addOrderBysBuilder(int index) { - return getOrderBysFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.OrderBy.getDefaultInstance()); - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - public java.util.List - getOrderBysBuilderList() { - return getOrderBysFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy, - com.google.analytics.data.v1alpha.OrderBy.Builder, - com.google.analytics.data.v1alpha.OrderByOrBuilder> - getOrderBysFieldBuilder() { - if (orderBysBuilder_ == null) { - orderBysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy, - com.google.analytics.data.v1alpha.OrderBy.Builder, - com.google.analytics.data.v1alpha.OrderByOrBuilder>( - orderBys_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - orderBys_ = null; - } - return orderBysBuilder_; - } - - private boolean returnPropertyQuota_; - /** - * - * - *
-     * Toggles whether to return the current state of this Analytics Property's
-     * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-     * 
- * - * bool return_property_quota = 9; - * - * @return The returnPropertyQuota. - */ - @java.lang.Override - public boolean getReturnPropertyQuota() { - return returnPropertyQuota_; - } - /** - * - * - *
-     * Toggles whether to return the current state of this Analytics Property's
-     * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-     * 
- * - * bool return_property_quota = 9; - * - * @param value The returnPropertyQuota to set. - * @return This builder for chaining. - */ - public Builder setReturnPropertyQuota(boolean value) { - - returnPropertyQuota_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Toggles whether to return the current state of this Analytics Property's
-     * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-     * 
- * - * bool return_property_quota = 9; - * - * @return This builder for chaining. - */ - public Builder clearReturnPropertyQuota() { - - returnPropertyQuota_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.RunRealtimeReportRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.RunRealtimeReportRequest) - private static final com.google.analytics.data.v1alpha.RunRealtimeReportRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.RunRealtimeReportRequest(); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunRealtimeReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunRealtimeReportRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunRealtimeReportRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportRequestOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportRequestOrBuilder.java deleted file mode 100644 index e1bf4a2c..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportRequestOrBuilder.java +++ /dev/null @@ -1,389 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface RunRealtimeReportRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.RunRealtimeReportRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A Google Analytics GA4 property identifier whose events are tracked.
-   * Specified in the URL path and not the body. To learn more, see [where to
-   * find your Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * Example: properties/1234
-   * 
- * - * string property = 1; - * - * @return The property. - */ - java.lang.String getProperty(); - /** - * - * - *
-   * A Google Analytics GA4 property identifier whose events are tracked.
-   * Specified in the URL path and not the body. To learn more, see [where to
-   * find your Property
-   * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
-   * Example: properties/1234
-   * 
- * - * string property = 1; - * - * @return The bytes for property. - */ - com.google.protobuf.ByteString getPropertyBytes(); - - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - java.util.List getDimensionsList(); - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - com.google.analytics.data.v1alpha.Dimension getDimensions(int index); - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - int getDimensionsCount(); - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - java.util.List - getDimensionsOrBuilderList(); - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - com.google.analytics.data.v1alpha.DimensionOrBuilder getDimensionsOrBuilder(int index); - - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - java.util.List getMetricsList(); - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - com.google.analytics.data.v1alpha.Metric getMetrics(int index); - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - int getMetricsCount(); - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - java.util.List - getMetricsOrBuilderList(); - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - com.google.analytics.data.v1alpha.MetricOrBuilder getMetricsOrBuilder(int index); - - /** - * - * - *
-   * The number of rows to return. If unspecified, 10 rows are returned. If
-   * -1, all rows are returned.
-   * 
- * - * int64 limit = 4; - * - * @return The limit. - */ - long getLimit(); - - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - * - * @return Whether the dimensionFilter field is set. - */ - boolean hasDimensionFilter(); - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - * - * @return The dimensionFilter. - */ - com.google.analytics.data.v1alpha.FilterExpression getDimensionFilter(); - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 5; - */ - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getDimensionFilterOrBuilder(); - - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - * - * @return Whether the metricFilter field is set. - */ - boolean hasMetricFilter(); - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - * - * @return The metricFilter. - */ - com.google.analytics.data.v1alpha.FilterExpression getMetricFilter(); - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 6; - */ - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getMetricFilterOrBuilder(); - - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return A list containing the metricAggregations. - */ - java.util.List getMetricAggregationsList(); - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return The count of metricAggregations. - */ - int getMetricAggregationsCount(); - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @param index The index of the element to return. - * @return The metricAggregations at the given index. - */ - com.google.analytics.data.v1alpha.MetricAggregation getMetricAggregations(int index); - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return A list containing the enum numeric values on the wire for metricAggregations. - */ - java.util.List getMetricAggregationsValueList(); - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - */ - int getMetricAggregationsValue(int index); - - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - java.util.List getOrderBysList(); - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - com.google.analytics.data.v1alpha.OrderBy getOrderBys(int index); - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - int getOrderBysCount(); - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - java.util.List - getOrderBysOrBuilderList(); - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8; - */ - com.google.analytics.data.v1alpha.OrderByOrBuilder getOrderBysOrBuilder(int index); - - /** - * - * - *
-   * Toggles whether to return the current state of this Analytics Property's
-   * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-   * 
- * - * bool return_property_quota = 9; - * - * @return The returnPropertyQuota. - */ - boolean getReturnPropertyQuota(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportResponse.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportResponse.java deleted file mode 100644 index 4f370abd..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportResponse.java +++ /dev/null @@ -1,3836 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The response realtime report table corresponding to a request.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunRealtimeReportResponse} - */ -public final class RunRealtimeReportResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.RunRealtimeReportResponse) - RunRealtimeReportResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use RunRealtimeReportResponse.newBuilder() to construct. - private RunRealtimeReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private RunRealtimeReportResponse() { - dimensionHeaders_ = java.util.Collections.emptyList(); - metricHeaders_ = java.util.Collections.emptyList(); - rows_ = java.util.Collections.emptyList(); - totals_ = java.util.Collections.emptyList(); - maximums_ = java.util.Collections.emptyList(); - minimums_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RunRealtimeReportResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private RunRealtimeReportResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensionHeaders_.add( - input.readMessage( - com.google.analytics.data.v1alpha.DimensionHeader.parser(), - extensionRegistry)); - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metricHeaders_.add( - input.readMessage( - com.google.analytics.data.v1alpha.MetricHeader.parser(), extensionRegistry)); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - rows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - rows_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Row.parser(), extensionRegistry)); - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - totals_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - totals_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Row.parser(), extensionRegistry)); - break; - } - case 42: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - maximums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - maximums_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Row.parser(), extensionRegistry)); - break; - } - case 50: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - minimums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - minimums_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Row.parser(), extensionRegistry)); - break; - } - case 56: - { - rowCount_ = input.readInt32(); - break; - } - case 66: - { - com.google.analytics.data.v1alpha.PropertyQuota.Builder subBuilder = null; - if (propertyQuota_ != null) { - subBuilder = propertyQuota_.toBuilder(); - } - propertyQuota_ = - input.readMessage( - com.google.analytics.data.v1alpha.PropertyQuota.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(propertyQuota_); - propertyQuota_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = java.util.Collections.unmodifiableList(metricHeaders_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - rows_ = java.util.Collections.unmodifiableList(rows_); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - totals_ = java.util.Collections.unmodifiableList(totals_); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - maximums_ = java.util.Collections.unmodifiableList(maximums_); - } - if (((mutable_bitField0_ & 0x00000020) != 0)) { - minimums_ = java.util.Collections.unmodifiableList(minimums_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunRealtimeReportResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunRealtimeReportResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunRealtimeReportResponse.class, - com.google.analytics.data.v1alpha.RunRealtimeReportResponse.Builder.class); - } - - public static final int DIMENSION_HEADERS_FIELD_NUMBER = 1; - private java.util.List dimensionHeaders_; - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - @java.lang.Override - public java.util.List - getDimensionHeadersList() { - return dimensionHeaders_; - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - @java.lang.Override - public java.util.List - getDimensionHeadersOrBuilderList() { - return dimensionHeaders_; - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - @java.lang.Override - public int getDimensionHeadersCount() { - return dimensionHeaders_.size(); - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionHeader getDimensionHeaders(int index) { - return dimensionHeaders_.get(index); - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index) { - return dimensionHeaders_.get(index); - } - - public static final int METRIC_HEADERS_FIELD_NUMBER = 2; - private java.util.List metricHeaders_; - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - @java.lang.Override - public java.util.List getMetricHeadersList() { - return metricHeaders_; - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - @java.lang.Override - public java.util.List - getMetricHeadersOrBuilderList() { - return metricHeaders_; - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - @java.lang.Override - public int getMetricHeadersCount() { - return metricHeaders_.size(); - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricHeader getMetricHeaders(int index) { - return metricHeaders_.get(index); - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricHeaderOrBuilder getMetricHeadersOrBuilder( - int index) { - return metricHeaders_.get(index); - } - - public static final int ROWS_FIELD_NUMBER = 3; - private java.util.List rows_; - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - @java.lang.Override - public java.util.List getRowsList() { - return rows_; - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - @java.lang.Override - public java.util.List - getRowsOrBuilderList() { - return rows_; - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - @java.lang.Override - public int getRowsCount() { - return rows_.size(); - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getRows(int index) { - return rows_.get(index); - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RowOrBuilder getRowsOrBuilder(int index) { - return rows_.get(index); - } - - public static final int TOTALS_FIELD_NUMBER = 4; - private java.util.List totals_; - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - @java.lang.Override - public java.util.List getTotalsList() { - return totals_; - } - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - @java.lang.Override - public java.util.List - getTotalsOrBuilderList() { - return totals_; - } - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - @java.lang.Override - public int getTotalsCount() { - return totals_.size(); - } - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getTotals(int index) { - return totals_.get(index); - } - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RowOrBuilder getTotalsOrBuilder(int index) { - return totals_.get(index); - } - - public static final int MAXIMUMS_FIELD_NUMBER = 5; - private java.util.List maximums_; - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - @java.lang.Override - public java.util.List getMaximumsList() { - return maximums_; - } - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - @java.lang.Override - public java.util.List - getMaximumsOrBuilderList() { - return maximums_; - } - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - @java.lang.Override - public int getMaximumsCount() { - return maximums_.size(); - } - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getMaximums(int index) { - return maximums_.get(index); - } - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RowOrBuilder getMaximumsOrBuilder(int index) { - return maximums_.get(index); - } - - public static final int MINIMUMS_FIELD_NUMBER = 6; - private java.util.List minimums_; - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - @java.lang.Override - public java.util.List getMinimumsList() { - return minimums_; - } - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - @java.lang.Override - public java.util.List - getMinimumsOrBuilderList() { - return minimums_; - } - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - @java.lang.Override - public int getMinimumsCount() { - return minimums_.size(); - } - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getMinimums(int index) { - return minimums_.get(index); - } - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RowOrBuilder getMinimumsOrBuilder(int index) { - return minimums_.get(index); - } - - public static final int ROW_COUNT_FIELD_NUMBER = 7; - private int rowCount_; - /** - * - * - *
-   * The total number of rows in the query result, regardless of the number of
-   * rows returned in the response. For example if a query returns 175 rows and
-   * includes limit = 50 in the API request, the response will contain row_count
-   * = 175 but only 50 rows.
-   * 
- * - * int32 row_count = 7; - * - * @return The rowCount. - */ - @java.lang.Override - public int getRowCount() { - return rowCount_; - } - - public static final int PROPERTY_QUOTA_FIELD_NUMBER = 8; - private com.google.analytics.data.v1alpha.PropertyQuota propertyQuota_; - /** - * - * - *
-   * This Analytics Property's Realtime quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - * - * @return Whether the propertyQuota field is set. - */ - @java.lang.Override - public boolean hasPropertyQuota() { - return propertyQuota_ != null; - } - /** - * - * - *
-   * This Analytics Property's Realtime quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - * - * @return The propertyQuota. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PropertyQuota getPropertyQuota() { - return propertyQuota_ == null - ? com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance() - : propertyQuota_; - } - /** - * - * - *
-   * This Analytics Property's Realtime quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder() { - return getPropertyQuota(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < dimensionHeaders_.size(); i++) { - output.writeMessage(1, dimensionHeaders_.get(i)); - } - for (int i = 0; i < metricHeaders_.size(); i++) { - output.writeMessage(2, metricHeaders_.get(i)); - } - for (int i = 0; i < rows_.size(); i++) { - output.writeMessage(3, rows_.get(i)); - } - for (int i = 0; i < totals_.size(); i++) { - output.writeMessage(4, totals_.get(i)); - } - for (int i = 0; i < maximums_.size(); i++) { - output.writeMessage(5, maximums_.get(i)); - } - for (int i = 0; i < minimums_.size(); i++) { - output.writeMessage(6, minimums_.get(i)); - } - if (rowCount_ != 0) { - output.writeInt32(7, rowCount_); - } - if (propertyQuota_ != null) { - output.writeMessage(8, getPropertyQuota()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionHeaders_.get(i)); - } - for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricHeaders_.get(i)); - } - for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rows_.get(i)); - } - for (int i = 0; i < totals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, totals_.get(i)); - } - for (int i = 0; i < maximums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, maximums_.get(i)); - } - for (int i = 0; i < minimums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, minimums_.get(i)); - } - if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, rowCount_); - } - if (propertyQuota_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPropertyQuota()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.RunRealtimeReportResponse)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.RunRealtimeReportResponse other = - (com.google.analytics.data.v1alpha.RunRealtimeReportResponse) obj; - - if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; - if (!getRowsList().equals(other.getRowsList())) return false; - if (!getTotalsList().equals(other.getTotalsList())) return false; - if (!getMaximumsList().equals(other.getMaximumsList())) return false; - if (!getMinimumsList().equals(other.getMinimumsList())) return false; - if (getRowCount() != other.getRowCount()) return false; - if (hasPropertyQuota() != other.hasPropertyQuota()) return false; - if (hasPropertyQuota()) { - if (!getPropertyQuota().equals(other.getPropertyQuota())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getDimensionHeadersCount() > 0) { - hash = (37 * hash) + DIMENSION_HEADERS_FIELD_NUMBER; - hash = (53 * hash) + getDimensionHeadersList().hashCode(); - } - if (getMetricHeadersCount() > 0) { - hash = (37 * hash) + METRIC_HEADERS_FIELD_NUMBER; - hash = (53 * hash) + getMetricHeadersList().hashCode(); - } - if (getRowsCount() > 0) { - hash = (37 * hash) + ROWS_FIELD_NUMBER; - hash = (53 * hash) + getRowsList().hashCode(); - } - if (getTotalsCount() > 0) { - hash = (37 * hash) + TOTALS_FIELD_NUMBER; - hash = (53 * hash) + getTotalsList().hashCode(); - } - if (getMaximumsCount() > 0) { - hash = (37 * hash) + MAXIMUMS_FIELD_NUMBER; - hash = (53 * hash) + getMaximumsList().hashCode(); - } - if (getMinimumsCount() > 0) { - hash = (37 * hash) + MINIMUMS_FIELD_NUMBER; - hash = (53 * hash) + getMinimumsList().hashCode(); - } - hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + getRowCount(); - if (hasPropertyQuota()) { - hash = (37 * hash) + PROPERTY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + getPropertyQuota().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.analytics.data.v1alpha.RunRealtimeReportResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The response realtime report table corresponding to a request.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunRealtimeReportResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.RunRealtimeReportResponse) - com.google.analytics.data.v1alpha.RunRealtimeReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunRealtimeReportResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunRealtimeReportResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunRealtimeReportResponse.class, - com.google.analytics.data.v1alpha.RunRealtimeReportResponse.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.RunRealtimeReportResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getDimensionHeadersFieldBuilder(); - getMetricHeadersFieldBuilder(); - getRowsFieldBuilder(); - getTotalsFieldBuilder(); - getMaximumsFieldBuilder(); - getMinimumsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (dimensionHeadersBuilder_ == null) { - dimensionHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - dimensionHeadersBuilder_.clear(); - } - if (metricHeadersBuilder_ == null) { - metricHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - metricHeadersBuilder_.clear(); - } - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - rowsBuilder_.clear(); - } - if (totalsBuilder_ == null) { - totals_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - totalsBuilder_.clear(); - } - if (maximumsBuilder_ == null) { - maximums_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - maximumsBuilder_.clear(); - } - if (minimumsBuilder_ == null) { - minimums_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - } else { - minimumsBuilder_.clear(); - } - rowCount_ = 0; - - if (propertyQuotaBuilder_ == null) { - propertyQuota_ = null; - } else { - propertyQuota_ = null; - propertyQuotaBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunRealtimeReportResponse_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunRealtimeReportResponse getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.RunRealtimeReportResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunRealtimeReportResponse build() { - com.google.analytics.data.v1alpha.RunRealtimeReportResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunRealtimeReportResponse buildPartial() { - com.google.analytics.data.v1alpha.RunRealtimeReportResponse result = - new com.google.analytics.data.v1alpha.RunRealtimeReportResponse(this); - int from_bitField0_ = bitField0_; - if (dimensionHeadersBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dimensionHeaders_ = dimensionHeaders_; - } else { - result.dimensionHeaders_ = dimensionHeadersBuilder_.build(); - } - if (metricHeadersBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = java.util.Collections.unmodifiableList(metricHeaders_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.metricHeaders_ = metricHeaders_; - } else { - result.metricHeaders_ = metricHeadersBuilder_.build(); - } - if (rowsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - rows_ = java.util.Collections.unmodifiableList(rows_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.rows_ = rows_; - } else { - result.rows_ = rowsBuilder_.build(); - } - if (totalsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - totals_ = java.util.Collections.unmodifiableList(totals_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.totals_ = totals_; - } else { - result.totals_ = totalsBuilder_.build(); - } - if (maximumsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - maximums_ = java.util.Collections.unmodifiableList(maximums_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.maximums_ = maximums_; - } else { - result.maximums_ = maximumsBuilder_.build(); - } - if (minimumsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { - minimums_ = java.util.Collections.unmodifiableList(minimums_); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.minimums_ = minimums_; - } else { - result.minimums_ = minimumsBuilder_.build(); - } - result.rowCount_ = rowCount_; - if (propertyQuotaBuilder_ == null) { - result.propertyQuota_ = propertyQuota_; - } else { - result.propertyQuota_ = propertyQuotaBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.RunRealtimeReportResponse) { - return mergeFrom((com.google.analytics.data.v1alpha.RunRealtimeReportResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.RunRealtimeReportResponse other) { - if (other == com.google.analytics.data.v1alpha.RunRealtimeReportResponse.getDefaultInstance()) - return this; - if (dimensionHeadersBuilder_ == null) { - if (!other.dimensionHeaders_.isEmpty()) { - if (dimensionHeaders_.isEmpty()) { - dimensionHeaders_ = other.dimensionHeaders_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.addAll(other.dimensionHeaders_); - } - onChanged(); - } - } else { - if (!other.dimensionHeaders_.isEmpty()) { - if (dimensionHeadersBuilder_.isEmpty()) { - dimensionHeadersBuilder_.dispose(); - dimensionHeadersBuilder_ = null; - dimensionHeaders_ = other.dimensionHeaders_; - bitField0_ = (bitField0_ & ~0x00000001); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionHeadersFieldBuilder() - : null; - } else { - dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); - } - } - } - if (metricHeadersBuilder_ == null) { - if (!other.metricHeaders_.isEmpty()) { - if (metricHeaders_.isEmpty()) { - metricHeaders_ = other.metricHeaders_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureMetricHeadersIsMutable(); - metricHeaders_.addAll(other.metricHeaders_); - } - onChanged(); - } - } else { - if (!other.metricHeaders_.isEmpty()) { - if (metricHeadersBuilder_.isEmpty()) { - metricHeadersBuilder_.dispose(); - metricHeadersBuilder_ = null; - metricHeaders_ = other.metricHeaders_; - bitField0_ = (bitField0_ & ~0x00000002); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricHeadersFieldBuilder() - : null; - } else { - metricHeadersBuilder_.addAllMessages(other.metricHeaders_); - } - } - } - if (rowsBuilder_ == null) { - if (!other.rows_.isEmpty()) { - if (rows_.isEmpty()) { - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureRowsIsMutable(); - rows_.addAll(other.rows_); - } - onChanged(); - } - } else { - if (!other.rows_.isEmpty()) { - if (rowsBuilder_.isEmpty()) { - rowsBuilder_.dispose(); - rowsBuilder_ = null; - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000004); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowsFieldBuilder() - : null; - } else { - rowsBuilder_.addAllMessages(other.rows_); - } - } - } - if (totalsBuilder_ == null) { - if (!other.totals_.isEmpty()) { - if (totals_.isEmpty()) { - totals_ = other.totals_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureTotalsIsMutable(); - totals_.addAll(other.totals_); - } - onChanged(); - } - } else { - if (!other.totals_.isEmpty()) { - if (totalsBuilder_.isEmpty()) { - totalsBuilder_.dispose(); - totalsBuilder_ = null; - totals_ = other.totals_; - bitField0_ = (bitField0_ & ~0x00000008); - totalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTotalsFieldBuilder() - : null; - } else { - totalsBuilder_.addAllMessages(other.totals_); - } - } - } - if (maximumsBuilder_ == null) { - if (!other.maximums_.isEmpty()) { - if (maximums_.isEmpty()) { - maximums_ = other.maximums_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureMaximumsIsMutable(); - maximums_.addAll(other.maximums_); - } - onChanged(); - } - } else { - if (!other.maximums_.isEmpty()) { - if (maximumsBuilder_.isEmpty()) { - maximumsBuilder_.dispose(); - maximumsBuilder_ = null; - maximums_ = other.maximums_; - bitField0_ = (bitField0_ & ~0x00000010); - maximumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMaximumsFieldBuilder() - : null; - } else { - maximumsBuilder_.addAllMessages(other.maximums_); - } - } - } - if (minimumsBuilder_ == null) { - if (!other.minimums_.isEmpty()) { - if (minimums_.isEmpty()) { - minimums_ = other.minimums_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureMinimumsIsMutable(); - minimums_.addAll(other.minimums_); - } - onChanged(); - } - } else { - if (!other.minimums_.isEmpty()) { - if (minimumsBuilder_.isEmpty()) { - minimumsBuilder_.dispose(); - minimumsBuilder_ = null; - minimums_ = other.minimums_; - bitField0_ = (bitField0_ & ~0x00000020); - minimumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMinimumsFieldBuilder() - : null; - } else { - minimumsBuilder_.addAllMessages(other.minimums_); - } - } - } - if (other.getRowCount() != 0) { - setRowCount(other.getRowCount()); - } - if (other.hasPropertyQuota()) { - mergePropertyQuota(other.getPropertyQuota()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.RunRealtimeReportResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.RunRealtimeReportResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List dimensionHeaders_ = - java.util.Collections.emptyList(); - - private void ensureDimensionHeadersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList( - dimensionHeaders_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionHeader, - com.google.analytics.data.v1alpha.DimensionHeader.Builder, - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder> - dimensionHeadersBuilder_; - - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public java.util.List - getDimensionHeadersList() { - if (dimensionHeadersBuilder_ == null) { - return java.util.Collections.unmodifiableList(dimensionHeaders_); - } else { - return dimensionHeadersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public int getDimensionHeadersCount() { - if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.size(); - } else { - return dimensionHeadersBuilder_.getCount(); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public com.google.analytics.data.v1alpha.DimensionHeader getDimensionHeaders(int index) { - if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.get(index); - } else { - return dimensionHeadersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public Builder setDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader value) { - if (dimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.set(index, value); - onChanged(); - } else { - dimensionHeadersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public Builder setDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader.Builder builderForValue) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.set(index, builderForValue.build()); - onChanged(); - } else { - dimensionHeadersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public Builder addDimensionHeaders(com.google.analytics.data.v1alpha.DimensionHeader value) { - if (dimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(value); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public Builder addDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader value) { - if (dimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(index, value); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public Builder addDimensionHeaders( - com.google.analytics.data.v1alpha.DimensionHeader.Builder builderForValue) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(builderForValue.build()); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public Builder addDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader.Builder builderForValue) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(index, builderForValue.build()); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public Builder addAllDimensionHeaders( - java.lang.Iterable values) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_); - onChanged(); - } else { - dimensionHeadersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public Builder clearDimensionHeaders() { - if (dimensionHeadersBuilder_ == null) { - dimensionHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - dimensionHeadersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public Builder removeDimensionHeaders(int index) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.remove(index); - onChanged(); - } else { - dimensionHeadersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public com.google.analytics.data.v1alpha.DimensionHeader.Builder getDimensionHeadersBuilder( - int index) { - return getDimensionHeadersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index) { - if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.get(index); - } else { - return dimensionHeadersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public java.util.List - getDimensionHeadersOrBuilderList() { - if (dimensionHeadersBuilder_ != null) { - return dimensionHeadersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dimensionHeaders_); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public com.google.analytics.data.v1alpha.DimensionHeader.Builder addDimensionHeadersBuilder() { - return getDimensionHeadersFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.DimensionHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public com.google.analytics.data.v1alpha.DimensionHeader.Builder addDimensionHeadersBuilder( - int index) { - return getDimensionHeadersFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1alpha.DimensionHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - public java.util.List - getDimensionHeadersBuilderList() { - return getDimensionHeadersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionHeader, - com.google.analytics.data.v1alpha.DimensionHeader.Builder, - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder> - getDimensionHeadersFieldBuilder() { - if (dimensionHeadersBuilder_ == null) { - dimensionHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionHeader, - com.google.analytics.data.v1alpha.DimensionHeader.Builder, - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder>( - dimensionHeaders_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - dimensionHeaders_ = null; - } - return dimensionHeadersBuilder_; - } - - private java.util.List metricHeaders_ = - java.util.Collections.emptyList(); - - private void ensureMetricHeadersIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = - new java.util.ArrayList(metricHeaders_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricHeader, - com.google.analytics.data.v1alpha.MetricHeader.Builder, - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder> - metricHeadersBuilder_; - - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public java.util.List getMetricHeadersList() { - if (metricHeadersBuilder_ == null) { - return java.util.Collections.unmodifiableList(metricHeaders_); - } else { - return metricHeadersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public int getMetricHeadersCount() { - if (metricHeadersBuilder_ == null) { - return metricHeaders_.size(); - } else { - return metricHeadersBuilder_.getCount(); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public com.google.analytics.data.v1alpha.MetricHeader getMetricHeaders(int index) { - if (metricHeadersBuilder_ == null) { - return metricHeaders_.get(index); - } else { - return metricHeadersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder setMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader value) { - if (metricHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricHeadersIsMutable(); - metricHeaders_.set(index, value); - onChanged(); - } else { - metricHeadersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder setMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader.Builder builderForValue) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.set(index, builderForValue.build()); - onChanged(); - } else { - metricHeadersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder addMetricHeaders(com.google.analytics.data.v1alpha.MetricHeader value) { - if (metricHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricHeadersIsMutable(); - metricHeaders_.add(value); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder addMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader value) { - if (metricHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricHeadersIsMutable(); - metricHeaders_.add(index, value); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder addMetricHeaders( - com.google.analytics.data.v1alpha.MetricHeader.Builder builderForValue) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.add(builderForValue.build()); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder addMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader.Builder builderForValue) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.add(index, builderForValue.build()); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder addAllMetricHeaders( - java.lang.Iterable values) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_); - onChanged(); - } else { - metricHeadersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder clearMetricHeaders() { - if (metricHeadersBuilder_ == null) { - metricHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - metricHeadersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public Builder removeMetricHeaders(int index) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.remove(index); - onChanged(); - } else { - metricHeadersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public com.google.analytics.data.v1alpha.MetricHeader.Builder getMetricHeadersBuilder( - int index) { - return getMetricHeadersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public com.google.analytics.data.v1alpha.MetricHeaderOrBuilder getMetricHeadersOrBuilder( - int index) { - if (metricHeadersBuilder_ == null) { - return metricHeaders_.get(index); - } else { - return metricHeadersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public java.util.List - getMetricHeadersOrBuilderList() { - if (metricHeadersBuilder_ != null) { - return metricHeadersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(metricHeaders_); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public com.google.analytics.data.v1alpha.MetricHeader.Builder addMetricHeadersBuilder() { - return getMetricHeadersFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.MetricHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public com.google.analytics.data.v1alpha.MetricHeader.Builder addMetricHeadersBuilder( - int index) { - return getMetricHeadersFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.MetricHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - public java.util.List - getMetricHeadersBuilderList() { - return getMetricHeadersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricHeader, - com.google.analytics.data.v1alpha.MetricHeader.Builder, - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder> - getMetricHeadersFieldBuilder() { - if (metricHeadersBuilder_ == null) { - metricHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricHeader, - com.google.analytics.data.v1alpha.MetricHeader.Builder, - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder>( - metricHeaders_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - metricHeaders_ = null; - } - return metricHeadersBuilder_; - } - - private java.util.List rows_ = - java.util.Collections.emptyList(); - - private void ensureRowsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - rows_ = new java.util.ArrayList(rows_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - rowsBuilder_; - - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public java.util.List getRowsList() { - if (rowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(rows_); - } else { - return rowsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public int getRowsCount() { - if (rowsBuilder_ == null) { - return rows_.size(); - } else { - return rowsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public com.google.analytics.data.v1alpha.Row getRows(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder setRows(int index, com.google.analytics.data.v1alpha.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.set(index, value); - onChanged(); - } else { - rowsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder setRows( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.set(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder addRows(com.google.analytics.data.v1alpha.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(value); - onChanged(); - } else { - rowsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder addRows(int index, com.google.analytics.data.v1alpha.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(index, value); - onChanged(); - } else { - rowsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder addRows(com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder addRows( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder addAllRows( - java.lang.Iterable values) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); - onChanged(); - } else { - rowsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder clearRows() { - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - rowsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public Builder removeRows(int index) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.remove(index); - onChanged(); - } else { - rowsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public com.google.analytics.data.v1alpha.Row.Builder getRowsBuilder(int index) { - return getRowsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public com.google.analytics.data.v1alpha.RowOrBuilder getRowsOrBuilder(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public java.util.List - getRowsOrBuilderList() { - if (rowsBuilder_ != null) { - return rowsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(rows_); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public com.google.analytics.data.v1alpha.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public com.google.analytics.data.v1alpha.Row.Builder addRowsBuilder(int index) { - return getRowsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - public java.util.List getRowsBuilderList() { - return getRowsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - getRowsFieldBuilder() { - if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder>( - rows_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - rows_ = null; - } - return rowsBuilder_; - } - - private java.util.List totals_ = - java.util.Collections.emptyList(); - - private void ensureTotalsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - totals_ = new java.util.ArrayList(totals_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - totalsBuilder_; - - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public java.util.List getTotalsList() { - if (totalsBuilder_ == null) { - return java.util.Collections.unmodifiableList(totals_); - } else { - return totalsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public int getTotalsCount() { - if (totalsBuilder_ == null) { - return totals_.size(); - } else { - return totalsBuilder_.getCount(); - } - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public com.google.analytics.data.v1alpha.Row getTotals(int index) { - if (totalsBuilder_ == null) { - return totals_.get(index); - } else { - return totalsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public Builder setTotals(int index, com.google.analytics.data.v1alpha.Row value) { - if (totalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTotalsIsMutable(); - totals_.set(index, value); - onChanged(); - } else { - totalsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public Builder setTotals( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (totalsBuilder_ == null) { - ensureTotalsIsMutable(); - totals_.set(index, builderForValue.build()); - onChanged(); - } else { - totalsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public Builder addTotals(com.google.analytics.data.v1alpha.Row value) { - if (totalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTotalsIsMutable(); - totals_.add(value); - onChanged(); - } else { - totalsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public Builder addTotals(int index, com.google.analytics.data.v1alpha.Row value) { - if (totalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTotalsIsMutable(); - totals_.add(index, value); - onChanged(); - } else { - totalsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public Builder addTotals(com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (totalsBuilder_ == null) { - ensureTotalsIsMutable(); - totals_.add(builderForValue.build()); - onChanged(); - } else { - totalsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public Builder addTotals( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (totalsBuilder_ == null) { - ensureTotalsIsMutable(); - totals_.add(index, builderForValue.build()); - onChanged(); - } else { - totalsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public Builder addAllTotals( - java.lang.Iterable values) { - if (totalsBuilder_ == null) { - ensureTotalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, totals_); - onChanged(); - } else { - totalsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public Builder clearTotals() { - if (totalsBuilder_ == null) { - totals_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - totalsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public Builder removeTotals(int index) { - if (totalsBuilder_ == null) { - ensureTotalsIsMutable(); - totals_.remove(index); - onChanged(); - } else { - totalsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public com.google.analytics.data.v1alpha.Row.Builder getTotalsBuilder(int index) { - return getTotalsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public com.google.analytics.data.v1alpha.RowOrBuilder getTotalsOrBuilder(int index) { - if (totalsBuilder_ == null) { - return totals_.get(index); - } else { - return totalsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public java.util.List - getTotalsOrBuilderList() { - if (totalsBuilder_ != null) { - return totalsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(totals_); - } - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public com.google.analytics.data.v1alpha.Row.Builder addTotalsBuilder() { - return getTotalsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public com.google.analytics.data.v1alpha.Row.Builder addTotalsBuilder(int index) { - return getTotalsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - public java.util.List getTotalsBuilderList() { - return getTotalsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - getTotalsFieldBuilder() { - if (totalsBuilder_ == null) { - totalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder>( - totals_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - totals_ = null; - } - return totalsBuilder_; - } - - private java.util.List maximums_ = - java.util.Collections.emptyList(); - - private void ensureMaximumsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - maximums_ = new java.util.ArrayList(maximums_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - maximumsBuilder_; - - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public java.util.List getMaximumsList() { - if (maximumsBuilder_ == null) { - return java.util.Collections.unmodifiableList(maximums_); - } else { - return maximumsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public int getMaximumsCount() { - if (maximumsBuilder_ == null) { - return maximums_.size(); - } else { - return maximumsBuilder_.getCount(); - } - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public com.google.analytics.data.v1alpha.Row getMaximums(int index) { - if (maximumsBuilder_ == null) { - return maximums_.get(index); - } else { - return maximumsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public Builder setMaximums(int index, com.google.analytics.data.v1alpha.Row value) { - if (maximumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMaximumsIsMutable(); - maximums_.set(index, value); - onChanged(); - } else { - maximumsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public Builder setMaximums( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (maximumsBuilder_ == null) { - ensureMaximumsIsMutable(); - maximums_.set(index, builderForValue.build()); - onChanged(); - } else { - maximumsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public Builder addMaximums(com.google.analytics.data.v1alpha.Row value) { - if (maximumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMaximumsIsMutable(); - maximums_.add(value); - onChanged(); - } else { - maximumsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public Builder addMaximums(int index, com.google.analytics.data.v1alpha.Row value) { - if (maximumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMaximumsIsMutable(); - maximums_.add(index, value); - onChanged(); - } else { - maximumsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public Builder addMaximums(com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (maximumsBuilder_ == null) { - ensureMaximumsIsMutable(); - maximums_.add(builderForValue.build()); - onChanged(); - } else { - maximumsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public Builder addMaximums( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (maximumsBuilder_ == null) { - ensureMaximumsIsMutable(); - maximums_.add(index, builderForValue.build()); - onChanged(); - } else { - maximumsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public Builder addAllMaximums( - java.lang.Iterable values) { - if (maximumsBuilder_ == null) { - ensureMaximumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, maximums_); - onChanged(); - } else { - maximumsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public Builder clearMaximums() { - if (maximumsBuilder_ == null) { - maximums_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - maximumsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public Builder removeMaximums(int index) { - if (maximumsBuilder_ == null) { - ensureMaximumsIsMutable(); - maximums_.remove(index); - onChanged(); - } else { - maximumsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public com.google.analytics.data.v1alpha.Row.Builder getMaximumsBuilder(int index) { - return getMaximumsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public com.google.analytics.data.v1alpha.RowOrBuilder getMaximumsOrBuilder(int index) { - if (maximumsBuilder_ == null) { - return maximums_.get(index); - } else { - return maximumsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public java.util.List - getMaximumsOrBuilderList() { - if (maximumsBuilder_ != null) { - return maximumsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(maximums_); - } - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public com.google.analytics.data.v1alpha.Row.Builder addMaximumsBuilder() { - return getMaximumsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public com.google.analytics.data.v1alpha.Row.Builder addMaximumsBuilder(int index) { - return getMaximumsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - public java.util.List getMaximumsBuilderList() { - return getMaximumsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - getMaximumsFieldBuilder() { - if (maximumsBuilder_ == null) { - maximumsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder>( - maximums_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - maximums_ = null; - } - return maximumsBuilder_; - } - - private java.util.List minimums_ = - java.util.Collections.emptyList(); - - private void ensureMinimumsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - minimums_ = new java.util.ArrayList(minimums_); - bitField0_ |= 0x00000020; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - minimumsBuilder_; - - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public java.util.List getMinimumsList() { - if (minimumsBuilder_ == null) { - return java.util.Collections.unmodifiableList(minimums_); - } else { - return minimumsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public int getMinimumsCount() { - if (minimumsBuilder_ == null) { - return minimums_.size(); - } else { - return minimumsBuilder_.getCount(); - } - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public com.google.analytics.data.v1alpha.Row getMinimums(int index) { - if (minimumsBuilder_ == null) { - return minimums_.get(index); - } else { - return minimumsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public Builder setMinimums(int index, com.google.analytics.data.v1alpha.Row value) { - if (minimumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMinimumsIsMutable(); - minimums_.set(index, value); - onChanged(); - } else { - minimumsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public Builder setMinimums( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (minimumsBuilder_ == null) { - ensureMinimumsIsMutable(); - minimums_.set(index, builderForValue.build()); - onChanged(); - } else { - minimumsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public Builder addMinimums(com.google.analytics.data.v1alpha.Row value) { - if (minimumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMinimumsIsMutable(); - minimums_.add(value); - onChanged(); - } else { - minimumsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public Builder addMinimums(int index, com.google.analytics.data.v1alpha.Row value) { - if (minimumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMinimumsIsMutable(); - minimums_.add(index, value); - onChanged(); - } else { - minimumsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public Builder addMinimums(com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (minimumsBuilder_ == null) { - ensureMinimumsIsMutable(); - minimums_.add(builderForValue.build()); - onChanged(); - } else { - minimumsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public Builder addMinimums( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (minimumsBuilder_ == null) { - ensureMinimumsIsMutable(); - minimums_.add(index, builderForValue.build()); - onChanged(); - } else { - minimumsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public Builder addAllMinimums( - java.lang.Iterable values) { - if (minimumsBuilder_ == null) { - ensureMinimumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, minimums_); - onChanged(); - } else { - minimumsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public Builder clearMinimums() { - if (minimumsBuilder_ == null) { - minimums_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - } else { - minimumsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public Builder removeMinimums(int index) { - if (minimumsBuilder_ == null) { - ensureMinimumsIsMutable(); - minimums_.remove(index); - onChanged(); - } else { - minimumsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public com.google.analytics.data.v1alpha.Row.Builder getMinimumsBuilder(int index) { - return getMinimumsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public com.google.analytics.data.v1alpha.RowOrBuilder getMinimumsOrBuilder(int index) { - if (minimumsBuilder_ == null) { - return minimums_.get(index); - } else { - return minimumsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public java.util.List - getMinimumsOrBuilderList() { - if (minimumsBuilder_ != null) { - return minimumsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(minimums_); - } - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public com.google.analytics.data.v1alpha.Row.Builder addMinimumsBuilder() { - return getMinimumsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public com.google.analytics.data.v1alpha.Row.Builder addMinimumsBuilder(int index) { - return getMinimumsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - public java.util.List getMinimumsBuilderList() { - return getMinimumsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - getMinimumsFieldBuilder() { - if (minimumsBuilder_ == null) { - minimumsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder>( - minimums_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); - minimums_ = null; - } - return minimumsBuilder_; - } - - private int rowCount_; - /** - * - * - *
-     * The total number of rows in the query result, regardless of the number of
-     * rows returned in the response. For example if a query returns 175 rows and
-     * includes limit = 50 in the API request, the response will contain row_count
-     * = 175 but only 50 rows.
-     * 
- * - * int32 row_count = 7; - * - * @return The rowCount. - */ - @java.lang.Override - public int getRowCount() { - return rowCount_; - } - /** - * - * - *
-     * The total number of rows in the query result, regardless of the number of
-     * rows returned in the response. For example if a query returns 175 rows and
-     * includes limit = 50 in the API request, the response will contain row_count
-     * = 175 but only 50 rows.
-     * 
- * - * int32 row_count = 7; - * - * @param value The rowCount to set. - * @return This builder for chaining. - */ - public Builder setRowCount(int value) { - - rowCount_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The total number of rows in the query result, regardless of the number of
-     * rows returned in the response. For example if a query returns 175 rows and
-     * includes limit = 50 in the API request, the response will contain row_count
-     * = 175 but only 50 rows.
-     * 
- * - * int32 row_count = 7; - * - * @return This builder for chaining. - */ - public Builder clearRowCount() { - - rowCount_ = 0; - onChanged(); - return this; - } - - private com.google.analytics.data.v1alpha.PropertyQuota propertyQuota_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.PropertyQuota, - com.google.analytics.data.v1alpha.PropertyQuota.Builder, - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder> - propertyQuotaBuilder_; - /** - * - * - *
-     * This Analytics Property's Realtime quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - * - * @return Whether the propertyQuota field is set. - */ - public boolean hasPropertyQuota() { - return propertyQuotaBuilder_ != null || propertyQuota_ != null; - } - /** - * - * - *
-     * This Analytics Property's Realtime quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - * - * @return The propertyQuota. - */ - public com.google.analytics.data.v1alpha.PropertyQuota getPropertyQuota() { - if (propertyQuotaBuilder_ == null) { - return propertyQuota_ == null - ? com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance() - : propertyQuota_; - } else { - return propertyQuotaBuilder_.getMessage(); - } - } - /** - * - * - *
-     * This Analytics Property's Realtime quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - */ - public Builder setPropertyQuota(com.google.analytics.data.v1alpha.PropertyQuota value) { - if (propertyQuotaBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - propertyQuota_ = value; - onChanged(); - } else { - propertyQuotaBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's Realtime quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - */ - public Builder setPropertyQuota( - com.google.analytics.data.v1alpha.PropertyQuota.Builder builderForValue) { - if (propertyQuotaBuilder_ == null) { - propertyQuota_ = builderForValue.build(); - onChanged(); - } else { - propertyQuotaBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's Realtime quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - */ - public Builder mergePropertyQuota(com.google.analytics.data.v1alpha.PropertyQuota value) { - if (propertyQuotaBuilder_ == null) { - if (propertyQuota_ != null) { - propertyQuota_ = - com.google.analytics.data.v1alpha.PropertyQuota.newBuilder(propertyQuota_) - .mergeFrom(value) - .buildPartial(); - } else { - propertyQuota_ = value; - } - onChanged(); - } else { - propertyQuotaBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's Realtime quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - */ - public Builder clearPropertyQuota() { - if (propertyQuotaBuilder_ == null) { - propertyQuota_ = null; - onChanged(); - } else { - propertyQuota_ = null; - propertyQuotaBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's Realtime quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - */ - public com.google.analytics.data.v1alpha.PropertyQuota.Builder getPropertyQuotaBuilder() { - - onChanged(); - return getPropertyQuotaFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * This Analytics Property's Realtime quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - */ - public com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder() { - if (propertyQuotaBuilder_ != null) { - return propertyQuotaBuilder_.getMessageOrBuilder(); - } else { - return propertyQuota_ == null - ? com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance() - : propertyQuota_; - } - } - /** - * - * - *
-     * This Analytics Property's Realtime quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.PropertyQuota, - com.google.analytics.data.v1alpha.PropertyQuota.Builder, - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder> - getPropertyQuotaFieldBuilder() { - if (propertyQuotaBuilder_ == null) { - propertyQuotaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.PropertyQuota, - com.google.analytics.data.v1alpha.PropertyQuota.Builder, - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder>( - getPropertyQuota(), getParentForChildren(), isClean()); - propertyQuota_ = null; - } - return propertyQuotaBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.RunRealtimeReportResponse) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.RunRealtimeReportResponse) - private static final com.google.analytics.data.v1alpha.RunRealtimeReportResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.RunRealtimeReportResponse(); - } - - public static com.google.analytics.data.v1alpha.RunRealtimeReportResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunRealtimeReportResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunRealtimeReportResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunRealtimeReportResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportResponseOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportResponseOrBuilder.java deleted file mode 100644 index 458fa370..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportResponseOrBuilder.java +++ /dev/null @@ -1,397 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface RunRealtimeReportResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.RunRealtimeReportResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - java.util.List getDimensionHeadersList(); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - com.google.analytics.data.v1alpha.DimensionHeader getDimensionHeaders(int index); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - int getDimensionHeadersCount(); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - java.util.List - getDimensionHeadersOrBuilderList(); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1; - */ - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index); - - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - java.util.List getMetricHeadersList(); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - com.google.analytics.data.v1alpha.MetricHeader getMetricHeaders(int index); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - int getMetricHeadersCount(); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - java.util.List - getMetricHeadersOrBuilderList(); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2; - */ - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index); - - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - java.util.List getRowsList(); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - com.google.analytics.data.v1alpha.Row getRows(int index); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - int getRowsCount(); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - java.util.List getRowsOrBuilderList(); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 3; - */ - com.google.analytics.data.v1alpha.RowOrBuilder getRowsOrBuilder(int index); - - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - java.util.List getTotalsList(); - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - com.google.analytics.data.v1alpha.Row getTotals(int index); - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - int getTotalsCount(); - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - java.util.List getTotalsOrBuilderList(); - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 4; - */ - com.google.analytics.data.v1alpha.RowOrBuilder getTotalsOrBuilder(int index); - - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - java.util.List getMaximumsList(); - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - com.google.analytics.data.v1alpha.Row getMaximums(int index); - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - int getMaximumsCount(); - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - java.util.List - getMaximumsOrBuilderList(); - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 5; - */ - com.google.analytics.data.v1alpha.RowOrBuilder getMaximumsOrBuilder(int index); - - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - java.util.List getMinimumsList(); - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - com.google.analytics.data.v1alpha.Row getMinimums(int index); - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - int getMinimumsCount(); - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - java.util.List - getMinimumsOrBuilderList(); - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 6; - */ - com.google.analytics.data.v1alpha.RowOrBuilder getMinimumsOrBuilder(int index); - - /** - * - * - *
-   * The total number of rows in the query result, regardless of the number of
-   * rows returned in the response. For example if a query returns 175 rows and
-   * includes limit = 50 in the API request, the response will contain row_count
-   * = 175 but only 50 rows.
-   * 
- * - * int32 row_count = 7; - * - * @return The rowCount. - */ - int getRowCount(); - - /** - * - * - *
-   * This Analytics Property's Realtime quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - * - * @return Whether the propertyQuota field is set. - */ - boolean hasPropertyQuota(); - /** - * - * - *
-   * This Analytics Property's Realtime quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - * - * @return The propertyQuota. - */ - com.google.analytics.data.v1alpha.PropertyQuota getPropertyQuota(); - /** - * - * - *
-   * This Analytics Property's Realtime quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 8; - */ - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportRequest.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportRequest.java deleted file mode 100644 index 236ffac1..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportRequest.java +++ /dev/null @@ -1,4686 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The request to generate a report.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunReportRequest} - */ -public final class RunReportRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.RunReportRequest) - RunReportRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use RunReportRequest.newBuilder() to construct. - private RunReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private RunReportRequest() { - dimensions_ = java.util.Collections.emptyList(); - metrics_ = java.util.Collections.emptyList(); - dateRanges_ = java.util.Collections.emptyList(); - metricAggregations_ = java.util.Collections.emptyList(); - orderBys_ = java.util.Collections.emptyList(); - currencyCode_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RunReportRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private RunReportRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.analytics.data.v1alpha.Entity.Builder subBuilder = null; - if (entity_ != null) { - subBuilder = entity_.toBuilder(); - } - entity_ = - input.readMessage( - com.google.analytics.data.v1alpha.Entity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entity_); - entity_ = subBuilder.buildPartial(); - } - - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensions_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Dimension.parser(), extensionRegistry)); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metrics_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Metric.parser(), extensionRegistry)); - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - dateRanges_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - dateRanges_.add( - input.readMessage( - com.google.analytics.data.v1alpha.DateRange.parser(), extensionRegistry)); - break; - } - case 40: - { - offset_ = input.readInt64(); - break; - } - case 48: - { - limit_ = input.readInt64(); - break; - } - case 56: - { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - metricAggregations_.add(rawValue); - break; - } - case 58: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - metricAggregations_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 66: - { - com.google.analytics.data.v1alpha.FilterExpression.Builder subBuilder = null; - if (dimensionFilter_ != null) { - subBuilder = dimensionFilter_.toBuilder(); - } - dimensionFilter_ = - input.readMessage( - com.google.analytics.data.v1alpha.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionFilter_); - dimensionFilter_ = subBuilder.buildPartial(); - } - - break; - } - case 74: - { - com.google.analytics.data.v1alpha.FilterExpression.Builder subBuilder = null; - if (metricFilter_ != null) { - subBuilder = metricFilter_.toBuilder(); - } - metricFilter_ = - input.readMessage( - com.google.analytics.data.v1alpha.FilterExpression.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricFilter_); - metricFilter_ = subBuilder.buildPartial(); - } - - break; - } - case 82: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - orderBys_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - orderBys_.add( - input.readMessage( - com.google.analytics.data.v1alpha.OrderBy.parser(), extensionRegistry)); - break; - } - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - - currencyCode_ = s; - break; - } - case 98: - { - com.google.analytics.data.v1alpha.CohortSpec.Builder subBuilder = null; - if (cohortSpec_ != null) { - subBuilder = cohortSpec_.toBuilder(); - } - cohortSpec_ = - input.readMessage( - com.google.analytics.data.v1alpha.CohortSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cohortSpec_); - cohortSpec_ = subBuilder.buildPartial(); - } - - break; - } - case 104: - { - keepEmptyRows_ = input.readBool(); - break; - } - case 112: - { - returnPropertyQuota_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = java.util.Collections.unmodifiableList(dimensions_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = java.util.Collections.unmodifiableList(metrics_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - dateRanges_ = java.util.Collections.unmodifiableList(dateRanges_); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - metricAggregations_ = java.util.Collections.unmodifiableList(metricAggregations_); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - orderBys_ = java.util.Collections.unmodifiableList(orderBys_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunReportRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunReportRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunReportRequest.class, - com.google.analytics.data.v1alpha.RunReportRequest.Builder.class); - } - - public static final int ENTITY_FIELD_NUMBER = 1; - private com.google.analytics.data.v1alpha.Entity entity_; - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - @java.lang.Override - public boolean hasEntity() { - return entity_ != null; - } - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Entity getEntity() { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder() { - return getEntity(); - } - - public static final int DIMENSIONS_FIELD_NUMBER = 2; - private java.util.List dimensions_; - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public java.util.List getDimensionsList() { - return dimensions_; - } - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public java.util.List - getDimensionsOrBuilderList() { - return dimensions_; - } - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public int getDimensionsCount() { - return dimensions_.size(); - } - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Dimension getDimensions(int index) { - return dimensions_.get(index); - } - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionOrBuilder getDimensionsOrBuilder(int index) { - return dimensions_.get(index); - } - - public static final int METRICS_FIELD_NUMBER = 3; - private java.util.List metrics_; - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public java.util.List getMetricsList() { - return metrics_; - } - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public java.util.List - getMetricsOrBuilderList() { - return metrics_; - } - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public int getMetricsCount() { - return metrics_.size(); - } - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Metric getMetrics(int index) { - return metrics_.get(index); - } - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricOrBuilder getMetricsOrBuilder(int index) { - return metrics_.get(index); - } - - public static final int DATE_RANGES_FIELD_NUMBER = 4; - private java.util.List dateRanges_; - /** - * - * - *
-   * Date ranges of data to read. If multiple date ranges are requested, each
-   * response row will contain a zero based date range index. If two date
-   * ranges overlap, the event data for the overlapping days is included in the
-   * response rows for both date ranges. In a cohort request, this `dateRanges`
-   * must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - @java.lang.Override - public java.util.List getDateRangesList() { - return dateRanges_; - } - /** - * - * - *
-   * Date ranges of data to read. If multiple date ranges are requested, each
-   * response row will contain a zero based date range index. If two date
-   * ranges overlap, the event data for the overlapping days is included in the
-   * response rows for both date ranges. In a cohort request, this `dateRanges`
-   * must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - @java.lang.Override - public java.util.List - getDateRangesOrBuilderList() { - return dateRanges_; - } - /** - * - * - *
-   * Date ranges of data to read. If multiple date ranges are requested, each
-   * response row will contain a zero based date range index. If two date
-   * ranges overlap, the event data for the overlapping days is included in the
-   * response rows for both date ranges. In a cohort request, this `dateRanges`
-   * must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - @java.lang.Override - public int getDateRangesCount() { - return dateRanges_.size(); - } - /** - * - * - *
-   * Date ranges of data to read. If multiple date ranges are requested, each
-   * response row will contain a zero based date range index. If two date
-   * ranges overlap, the event data for the overlapping days is included in the
-   * response rows for both date ranges. In a cohort request, this `dateRanges`
-   * must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DateRange getDateRanges(int index) { - return dateRanges_.get(index); - } - /** - * - * - *
-   * Date ranges of data to read. If multiple date ranges are requested, each
-   * response row will contain a zero based date range index. If two date
-   * ranges overlap, the event data for the overlapping days is included in the
-   * response rows for both date ranges. In a cohort request, this `dateRanges`
-   * must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DateRangeOrBuilder getDateRangesOrBuilder(int index) { - return dateRanges_.get(index); - } - - public static final int OFFSET_FIELD_NUMBER = 5; - private long offset_; - /** - * - * - *
-   * The row count of the start row. The first row is counted as row 0.
-   * To learn more about this pagination parameter, see
-   * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-   * 
- * - * int64 offset = 5; - * - * @return The offset. - */ - @java.lang.Override - public long getOffset() { - return offset_; - } - - public static final int LIMIT_FIELD_NUMBER = 6; - private long limit_; - /** - * - * - *
-   * The number of rows to return. If unspecified, 10 rows are returned. If
-   * -1, all rows are returned.
-   * To learn more about this pagination parameter, see
-   * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-   * 
- * - * int64 limit = 6; - * - * @return The limit. - */ - @java.lang.Override - public long getLimit() { - return limit_; - } - - public static final int METRIC_AGGREGATIONS_FIELD_NUMBER = 7; - private java.util.List metricAggregations_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation> - metricAggregations_converter_ = - new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation>() { - public com.google.analytics.data.v1alpha.MetricAggregation convert( - java.lang.Integer from) { - @SuppressWarnings("deprecation") - com.google.analytics.data.v1alpha.MetricAggregation result = - com.google.analytics.data.v1alpha.MetricAggregation.valueOf(from); - return result == null - ? com.google.analytics.data.v1alpha.MetricAggregation.UNRECOGNIZED - : result; - } - }; - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return A list containing the metricAggregations. - */ - @java.lang.Override - public java.util.List - getMetricAggregationsList() { - return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); - } - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return The count of metricAggregations. - */ - @java.lang.Override - public int getMetricAggregationsCount() { - return metricAggregations_.size(); - } - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @param index The index of the element to return. - * @return The metricAggregations at the given index. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricAggregation getMetricAggregations(int index) { - return metricAggregations_converter_.convert(metricAggregations_.get(index)); - } - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return A list containing the enum numeric values on the wire for metricAggregations. - */ - @java.lang.Override - public java.util.List getMetricAggregationsValueList() { - return metricAggregations_; - } - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - */ - @java.lang.Override - public int getMetricAggregationsValue(int index) { - return metricAggregations_.get(index); - } - - private int metricAggregationsMemoizedSerializedSize; - - public static final int DIMENSION_FILTER_FIELD_NUMBER = 8; - private com.google.analytics.data.v1alpha.FilterExpression dimensionFilter_; - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - * - * @return Whether the dimensionFilter field is set. - */ - @java.lang.Override - public boolean hasDimensionFilter() { - return dimensionFilter_ != null; - } - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - * - * @return The dimensionFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getDimensionFilter() { - return dimensionFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : dimensionFilter_; - } - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getDimensionFilterOrBuilder() { - return getDimensionFilter(); - } - - public static final int METRIC_FILTER_FIELD_NUMBER = 9; - private com.google.analytics.data.v1alpha.FilterExpression metricFilter_; - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - * - * @return Whether the metricFilter field is set. - */ - @java.lang.Override - public boolean hasMetricFilter() { - return metricFilter_ != null; - } - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - * - * @return The metricFilter. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpression getMetricFilter() { - return metricFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : metricFilter_; - } - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getMetricFilterOrBuilder() { - return getMetricFilter(); - } - - public static final int ORDER_BYS_FIELD_NUMBER = 10; - private java.util.List orderBys_; - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - @java.lang.Override - public java.util.List getOrderBysList() { - return orderBys_; - } - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - @java.lang.Override - public java.util.List - getOrderBysOrBuilderList() { - return orderBys_; - } - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - @java.lang.Override - public int getOrderBysCount() { - return orderBys_.size(); - } - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderBy getOrderBys(int index) { - return orderBys_.get(index); - } - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.OrderByOrBuilder getOrderBysOrBuilder(int index) { - return orderBys_.get(index); - } - - public static final int CURRENCY_CODE_FIELD_NUMBER = 11; - private volatile java.lang.Object currencyCode_; - /** - * - * - *
-   * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-   * If the field is empty, the report uses the entity's default currency.
-   * 
- * - * string currency_code = 11; - * - * @return The currencyCode. - */ - @java.lang.Override - public java.lang.String getCurrencyCode() { - java.lang.Object ref = currencyCode_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - currencyCode_ = s; - return s; - } - } - /** - * - * - *
-   * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-   * If the field is empty, the report uses the entity's default currency.
-   * 
- * - * string currency_code = 11; - * - * @return The bytes for currencyCode. - */ - @java.lang.Override - public com.google.protobuf.ByteString getCurrencyCodeBytes() { - java.lang.Object ref = currencyCode_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - currencyCode_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int COHORT_SPEC_FIELD_NUMBER = 12; - private com.google.analytics.data.v1alpha.CohortSpec cohortSpec_; - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - * - * @return Whether the cohortSpec field is set. - */ - @java.lang.Override - public boolean hasCohortSpec() { - return cohortSpec_ != null; - } - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - * - * @return The cohortSpec. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortSpec getCohortSpec() { - return cohortSpec_ == null - ? com.google.analytics.data.v1alpha.CohortSpec.getDefaultInstance() - : cohortSpec_; - } - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.CohortSpecOrBuilder getCohortSpecOrBuilder() { - return getCohortSpec(); - } - - public static final int KEEP_EMPTY_ROWS_FIELD_NUMBER = 13; - private boolean keepEmptyRows_; - /** - * - * - *
-   * If false or unspecified, each row with all metrics equal to 0 will not be
-   * returned. If true, these rows will be returned if they are not separately
-   * removed by a filter.
-   * 
- * - * bool keep_empty_rows = 13; - * - * @return The keepEmptyRows. - */ - @java.lang.Override - public boolean getKeepEmptyRows() { - return keepEmptyRows_; - } - - public static final int RETURN_PROPERTY_QUOTA_FIELD_NUMBER = 14; - private boolean returnPropertyQuota_; - /** - * - * - *
-   * Toggles whether to return the current state of this Analytics Property's
-   * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-   * 
- * - * bool return_property_quota = 14; - * - * @return The returnPropertyQuota. - */ - @java.lang.Override - public boolean getReturnPropertyQuota() { - return returnPropertyQuota_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (entity_ != null) { - output.writeMessage(1, getEntity()); - } - for (int i = 0; i < dimensions_.size(); i++) { - output.writeMessage(2, dimensions_.get(i)); - } - for (int i = 0; i < metrics_.size(); i++) { - output.writeMessage(3, metrics_.get(i)); - } - for (int i = 0; i < dateRanges_.size(); i++) { - output.writeMessage(4, dateRanges_.get(i)); - } - if (offset_ != 0L) { - output.writeInt64(5, offset_); - } - if (limit_ != 0L) { - output.writeInt64(6, limit_); - } - if (getMetricAggregationsList().size() > 0) { - output.writeUInt32NoTag(58); - output.writeUInt32NoTag(metricAggregationsMemoizedSerializedSize); - } - for (int i = 0; i < metricAggregations_.size(); i++) { - output.writeEnumNoTag(metricAggregations_.get(i)); - } - if (dimensionFilter_ != null) { - output.writeMessage(8, getDimensionFilter()); - } - if (metricFilter_ != null) { - output.writeMessage(9, getMetricFilter()); - } - for (int i = 0; i < orderBys_.size(); i++) { - output.writeMessage(10, orderBys_.get(i)); - } - if (!getCurrencyCodeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, currencyCode_); - } - if (cohortSpec_ != null) { - output.writeMessage(12, getCohortSpec()); - } - if (keepEmptyRows_ != false) { - output.writeBool(13, keepEmptyRows_); - } - if (returnPropertyQuota_ != false) { - output.writeBool(14, returnPropertyQuota_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (entity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); - } - for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); - } - for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); - } - for (int i = 0; i < dateRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, dateRanges_.get(i)); - } - if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, offset_); - } - if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, limit_); - } - { - int dataSize = 0; - for (int i = 0; i < metricAggregations_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(metricAggregations_.get(i)); - } - size += dataSize; - if (!getMetricAggregationsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - metricAggregationsMemoizedSerializedSize = dataSize; - } - if (dimensionFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDimensionFilter()); - } - if (metricFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getMetricFilter()); - } - for (int i = 0; i < orderBys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, orderBys_.get(i)); - } - if (!getCurrencyCodeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, currencyCode_); - } - if (cohortSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCohortSpec()); - } - if (keepEmptyRows_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, keepEmptyRows_); - } - if (returnPropertyQuota_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, returnPropertyQuota_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.RunReportRequest)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.RunReportRequest other = - (com.google.analytics.data.v1alpha.RunReportRequest) obj; - - if (hasEntity() != other.hasEntity()) return false; - if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; - } - if (!getDimensionsList().equals(other.getDimensionsList())) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; - if (!getDateRangesList().equals(other.getDateRangesList())) return false; - if (getOffset() != other.getOffset()) return false; - if (getLimit() != other.getLimit()) return false; - if (!metricAggregations_.equals(other.metricAggregations_)) return false; - if (hasDimensionFilter() != other.hasDimensionFilter()) return false; - if (hasDimensionFilter()) { - if (!getDimensionFilter().equals(other.getDimensionFilter())) return false; - } - if (hasMetricFilter() != other.hasMetricFilter()) return false; - if (hasMetricFilter()) { - if (!getMetricFilter().equals(other.getMetricFilter())) return false; - } - if (!getOrderBysList().equals(other.getOrderBysList())) return false; - if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; - if (hasCohortSpec() != other.hasCohortSpec()) return false; - if (hasCohortSpec()) { - if (!getCohortSpec().equals(other.getCohortSpec())) return false; - } - if (getKeepEmptyRows() != other.getKeepEmptyRows()) return false; - if (getReturnPropertyQuota() != other.getReturnPropertyQuota()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasEntity()) { - hash = (37 * hash) + ENTITY_FIELD_NUMBER; - hash = (53 * hash) + getEntity().hashCode(); - } - if (getDimensionsCount() > 0) { - hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; - hash = (53 * hash) + getDimensionsList().hashCode(); - } - if (getMetricsCount() > 0) { - hash = (37 * hash) + METRICS_FIELD_NUMBER; - hash = (53 * hash) + getMetricsList().hashCode(); - } - if (getDateRangesCount() > 0) { - hash = (37 * hash) + DATE_RANGES_FIELD_NUMBER; - hash = (53 * hash) + getDateRangesList().hashCode(); - } - hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); - if (getMetricAggregationsCount() > 0) { - hash = (37 * hash) + METRIC_AGGREGATIONS_FIELD_NUMBER; - hash = (53 * hash) + metricAggregations_.hashCode(); - } - if (hasDimensionFilter()) { - hash = (37 * hash) + DIMENSION_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getDimensionFilter().hashCode(); - } - if (hasMetricFilter()) { - hash = (37 * hash) + METRIC_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getMetricFilter().hashCode(); - } - if (getOrderBysCount() > 0) { - hash = (37 * hash) + ORDER_BYS_FIELD_NUMBER; - hash = (53 * hash) + getOrderBysList().hashCode(); - } - hash = (37 * hash) + CURRENCY_CODE_FIELD_NUMBER; - hash = (53 * hash) + getCurrencyCode().hashCode(); - if (hasCohortSpec()) { - hash = (37 * hash) + COHORT_SPEC_FIELD_NUMBER; - hash = (53 * hash) + getCohortSpec().hashCode(); - } - hash = (37 * hash) + KEEP_EMPTY_ROWS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeepEmptyRows()); - hash = (37 * hash) + RETURN_PROPERTY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPropertyQuota()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.RunReportRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The request to generate a report.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunReportRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.RunReportRequest) - com.google.analytics.data.v1alpha.RunReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunReportRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunReportRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunReportRequest.class, - com.google.analytics.data.v1alpha.RunReportRequest.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.RunReportRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getDimensionsFieldBuilder(); - getMetricsFieldBuilder(); - getDateRangesFieldBuilder(); - getOrderBysFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (entityBuilder_ == null) { - entity_ = null; - } else { - entity_ = null; - entityBuilder_ = null; - } - if (dimensionsBuilder_ == null) { - dimensions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - dimensionsBuilder_.clear(); - } - if (metricsBuilder_ == null) { - metrics_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - metricsBuilder_.clear(); - } - if (dateRangesBuilder_ == null) { - dateRanges_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - dateRangesBuilder_.clear(); - } - offset_ = 0L; - - limit_ = 0L; - - metricAggregations_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - if (dimensionFilterBuilder_ == null) { - dimensionFilter_ = null; - } else { - dimensionFilter_ = null; - dimensionFilterBuilder_ = null; - } - if (metricFilterBuilder_ == null) { - metricFilter_ = null; - } else { - metricFilter_ = null; - metricFilterBuilder_ = null; - } - if (orderBysBuilder_ == null) { - orderBys_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - orderBysBuilder_.clear(); - } - currencyCode_ = ""; - - if (cohortSpecBuilder_ == null) { - cohortSpec_ = null; - } else { - cohortSpec_ = null; - cohortSpecBuilder_ = null; - } - keepEmptyRows_ = false; - - returnPropertyQuota_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunReportRequest_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportRequest getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.RunReportRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportRequest build() { - com.google.analytics.data.v1alpha.RunReportRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportRequest buildPartial() { - com.google.analytics.data.v1alpha.RunReportRequest result = - new com.google.analytics.data.v1alpha.RunReportRequest(this); - int from_bitField0_ = bitField0_; - if (entityBuilder_ == null) { - result.entity_ = entity_; - } else { - result.entity_ = entityBuilder_.build(); - } - if (dimensionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - dimensions_ = java.util.Collections.unmodifiableList(dimensions_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dimensions_ = dimensions_; - } else { - result.dimensions_ = dimensionsBuilder_.build(); - } - if (metricsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - metrics_ = java.util.Collections.unmodifiableList(metrics_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.metrics_ = metrics_; - } else { - result.metrics_ = metricsBuilder_.build(); - } - if (dateRangesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - dateRanges_ = java.util.Collections.unmodifiableList(dateRanges_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.dateRanges_ = dateRanges_; - } else { - result.dateRanges_ = dateRangesBuilder_.build(); - } - result.offset_ = offset_; - result.limit_ = limit_; - if (((bitField0_ & 0x00000008) != 0)) { - metricAggregations_ = java.util.Collections.unmodifiableList(metricAggregations_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.metricAggregations_ = metricAggregations_; - if (dimensionFilterBuilder_ == null) { - result.dimensionFilter_ = dimensionFilter_; - } else { - result.dimensionFilter_ = dimensionFilterBuilder_.build(); - } - if (metricFilterBuilder_ == null) { - result.metricFilter_ = metricFilter_; - } else { - result.metricFilter_ = metricFilterBuilder_.build(); - } - if (orderBysBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - orderBys_ = java.util.Collections.unmodifiableList(orderBys_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.orderBys_ = orderBys_; - } else { - result.orderBys_ = orderBysBuilder_.build(); - } - result.currencyCode_ = currencyCode_; - if (cohortSpecBuilder_ == null) { - result.cohortSpec_ = cohortSpec_; - } else { - result.cohortSpec_ = cohortSpecBuilder_.build(); - } - result.keepEmptyRows_ = keepEmptyRows_; - result.returnPropertyQuota_ = returnPropertyQuota_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.RunReportRequest) { - return mergeFrom((com.google.analytics.data.v1alpha.RunReportRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.RunReportRequest other) { - if (other == com.google.analytics.data.v1alpha.RunReportRequest.getDefaultInstance()) - return this; - if (other.hasEntity()) { - mergeEntity(other.getEntity()); - } - if (dimensionsBuilder_ == null) { - if (!other.dimensions_.isEmpty()) { - if (dimensions_.isEmpty()) { - dimensions_ = other.dimensions_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDimensionsIsMutable(); - dimensions_.addAll(other.dimensions_); - } - onChanged(); - } - } else { - if (!other.dimensions_.isEmpty()) { - if (dimensionsBuilder_.isEmpty()) { - dimensionsBuilder_.dispose(); - dimensionsBuilder_ = null; - dimensions_ = other.dimensions_; - bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionsFieldBuilder() - : null; - } else { - dimensionsBuilder_.addAllMessages(other.dimensions_); - } - } - } - if (metricsBuilder_ == null) { - if (!other.metrics_.isEmpty()) { - if (metrics_.isEmpty()) { - metrics_ = other.metrics_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureMetricsIsMutable(); - metrics_.addAll(other.metrics_); - } - onChanged(); - } - } else { - if (!other.metrics_.isEmpty()) { - if (metricsBuilder_.isEmpty()) { - metricsBuilder_.dispose(); - metricsBuilder_ = null; - metrics_ = other.metrics_; - bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; - } else { - metricsBuilder_.addAllMessages(other.metrics_); - } - } - } - if (dateRangesBuilder_ == null) { - if (!other.dateRanges_.isEmpty()) { - if (dateRanges_.isEmpty()) { - dateRanges_ = other.dateRanges_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureDateRangesIsMutable(); - dateRanges_.addAll(other.dateRanges_); - } - onChanged(); - } - } else { - if (!other.dateRanges_.isEmpty()) { - if (dateRangesBuilder_.isEmpty()) { - dateRangesBuilder_.dispose(); - dateRangesBuilder_ = null; - dateRanges_ = other.dateRanges_; - bitField0_ = (bitField0_ & ~0x00000004); - dateRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDateRangesFieldBuilder() - : null; - } else { - dateRangesBuilder_.addAllMessages(other.dateRanges_); - } - } - } - if (other.getOffset() != 0L) { - setOffset(other.getOffset()); - } - if (other.getLimit() != 0L) { - setLimit(other.getLimit()); - } - if (!other.metricAggregations_.isEmpty()) { - if (metricAggregations_.isEmpty()) { - metricAggregations_ = other.metricAggregations_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureMetricAggregationsIsMutable(); - metricAggregations_.addAll(other.metricAggregations_); - } - onChanged(); - } - if (other.hasDimensionFilter()) { - mergeDimensionFilter(other.getDimensionFilter()); - } - if (other.hasMetricFilter()) { - mergeMetricFilter(other.getMetricFilter()); - } - if (orderBysBuilder_ == null) { - if (!other.orderBys_.isEmpty()) { - if (orderBys_.isEmpty()) { - orderBys_ = other.orderBys_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureOrderBysIsMutable(); - orderBys_.addAll(other.orderBys_); - } - onChanged(); - } - } else { - if (!other.orderBys_.isEmpty()) { - if (orderBysBuilder_.isEmpty()) { - orderBysBuilder_.dispose(); - orderBysBuilder_ = null; - orderBys_ = other.orderBys_; - bitField0_ = (bitField0_ & ~0x00000010); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOrderBysFieldBuilder() - : null; - } else { - orderBysBuilder_.addAllMessages(other.orderBys_); - } - } - } - if (!other.getCurrencyCode().isEmpty()) { - currencyCode_ = other.currencyCode_; - onChanged(); - } - if (other.hasCohortSpec()) { - mergeCohortSpec(other.getCohortSpec()); - } - if (other.getKeepEmptyRows() != false) { - setKeepEmptyRows(other.getKeepEmptyRows()); - } - if (other.getReturnPropertyQuota() != false) { - setReturnPropertyQuota(other.getReturnPropertyQuota()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.RunReportRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.RunReportRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.analytics.data.v1alpha.Entity entity_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder> - entityBuilder_; - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - public boolean hasEntity() { - return entityBuilder_ != null || entity_ != null; - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - public com.google.analytics.data.v1alpha.Entity getEntity() { - if (entityBuilder_ == null) { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } else { - return entityBuilder_.getMessage(); - } - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder setEntity(com.google.analytics.data.v1alpha.Entity value) { - if (entityBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - entity_ = value; - onChanged(); - } else { - entityBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder setEntity(com.google.analytics.data.v1alpha.Entity.Builder builderForValue) { - if (entityBuilder_ == null) { - entity_ = builderForValue.build(); - onChanged(); - } else { - entityBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder mergeEntity(com.google.analytics.data.v1alpha.Entity value) { - if (entityBuilder_ == null) { - if (entity_ != null) { - entity_ = - com.google.analytics.data.v1alpha.Entity.newBuilder(entity_) - .mergeFrom(value) - .buildPartial(); - } else { - entity_ = value; - } - onChanged(); - } else { - entityBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public Builder clearEntity() { - if (entityBuilder_ == null) { - entity_ = null; - onChanged(); - } else { - entity_ = null; - entityBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public com.google.analytics.data.v1alpha.Entity.Builder getEntityBuilder() { - - onChanged(); - return getEntityFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - public com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder() { - if (entityBuilder_ != null) { - return entityBuilder_.getMessageOrBuilder(); - } else { - return entity_ == null - ? com.google.analytics.data.v1alpha.Entity.getDefaultInstance() - : entity_; - } - } - /** - * - * - *
-     * A property whose events are tracked. Within a batch request, this entity
-     * should either be unspecified or consistent with the batch-level entity.
-     * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder> - getEntityFieldBuilder() { - if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.Entity, - com.google.analytics.data.v1alpha.Entity.Builder, - com.google.analytics.data.v1alpha.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); - entity_ = null; - } - return entityBuilder_; - } - - private java.util.List dimensions_ = - java.util.Collections.emptyList(); - - private void ensureDimensionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = - new java.util.ArrayList(dimensions_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Dimension, - com.google.analytics.data.v1alpha.Dimension.Builder, - com.google.analytics.data.v1alpha.DimensionOrBuilder> - dimensionsBuilder_; - - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public java.util.List getDimensionsList() { - if (dimensionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(dimensions_); - } else { - return dimensionsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public int getDimensionsCount() { - if (dimensionsBuilder_ == null) { - return dimensions_.size(); - } else { - return dimensionsBuilder_.getCount(); - } - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension getDimensions(int index) { - if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { - return dimensionsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder setDimensions(int index, com.google.analytics.data.v1alpha.Dimension value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.set(index, value); - onChanged(); - } else { - dimensionsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder setDimensions( - int index, com.google.analytics.data.v1alpha.Dimension.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.set(index, builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions(com.google.analytics.data.v1alpha.Dimension value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.add(value); - onChanged(); - } else { - dimensionsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions(int index, com.google.analytics.data.v1alpha.Dimension value) { - if (dimensionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionsIsMutable(); - dimensions_.add(index, value); - onChanged(); - } else { - dimensionsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions( - com.google.analytics.data.v1alpha.Dimension.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addDimensions( - int index, com.google.analytics.data.v1alpha.Dimension.Builder builderForValue) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(index, builderForValue.build()); - onChanged(); - } else { - dimensionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder addAllDimensions( - java.lang.Iterable values) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); - onChanged(); - } else { - dimensionsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder clearDimensions() { - if (dimensionsBuilder_ == null) { - dimensions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - dimensionsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public Builder removeDimensions(int index) { - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.remove(index); - onChanged(); - } else { - dimensionsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension.Builder getDimensionsBuilder(int index) { - return getDimensionsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.DimensionOrBuilder getDimensionsOrBuilder(int index) { - if (dimensionsBuilder_ == null) { - return dimensions_.get(index); - } else { - return dimensionsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public java.util.List - getDimensionsOrBuilderList() { - if (dimensionsBuilder_ != null) { - return dimensionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dimensions_); - } - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension.Builder addDimensionsBuilder() { - return getDimensionsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Dimension.getDefaultInstance()); - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public com.google.analytics.data.v1alpha.Dimension.Builder addDimensionsBuilder(int index) { - return getDimensionsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Dimension.getDefaultInstance()); - } - /** - * - * - *
-     * The dimensions requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - public java.util.List - getDimensionsBuilderList() { - return getDimensionsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Dimension, - com.google.analytics.data.v1alpha.Dimension.Builder, - com.google.analytics.data.v1alpha.DimensionOrBuilder> - getDimensionsFieldBuilder() { - if (dimensionsBuilder_ == null) { - dimensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Dimension, - com.google.analytics.data.v1alpha.Dimension.Builder, - com.google.analytics.data.v1alpha.DimensionOrBuilder>( - dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - dimensions_ = null; - } - return dimensionsBuilder_; - } - - private java.util.List metrics_ = - java.util.Collections.emptyList(); - - private void ensureMetricsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(metrics_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Metric, - com.google.analytics.data.v1alpha.Metric.Builder, - com.google.analytics.data.v1alpha.MetricOrBuilder> - metricsBuilder_; - - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public java.util.List getMetricsList() { - if (metricsBuilder_ == null) { - return java.util.Collections.unmodifiableList(metrics_); - } else { - return metricsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public int getMetricsCount() { - if (metricsBuilder_ == null) { - return metrics_.size(); - } else { - return metricsBuilder_.getCount(); - } - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric getMetrics(int index) { - if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { - return metricsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder setMetrics(int index, com.google.analytics.data.v1alpha.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.set(index, value); - onChanged(); - } else { - metricsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder setMetrics( - int index, com.google.analytics.data.v1alpha.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.set(index, builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics(com.google.analytics.data.v1alpha.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.add(value); - onChanged(); - } else { - metricsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics(int index, com.google.analytics.data.v1alpha.Metric value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricsIsMutable(); - metrics_.add(index, value); - onChanged(); - } else { - metricsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics(com.google.analytics.data.v1alpha.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addMetrics( - int index, com.google.analytics.data.v1alpha.Metric.Builder builderForValue) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(index, builderForValue.build()); - onChanged(); - } else { - metricsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder addAllMetrics( - java.lang.Iterable values) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); - onChanged(); - } else { - metricsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder clearMetrics() { - if (metricsBuilder_ == null) { - metrics_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - metricsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public Builder removeMetrics(int index) { - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.remove(index); - onChanged(); - } else { - metricsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric.Builder getMetricsBuilder(int index) { - return getMetricsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.MetricOrBuilder getMetricsOrBuilder(int index) { - if (metricsBuilder_ == null) { - return metrics_.get(index); - } else { - return metricsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public java.util.List - getMetricsOrBuilderList() { - if (metricsBuilder_ != null) { - return metricsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(metrics_); - } - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Metric.getDefaultInstance()); - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public com.google.analytics.data.v1alpha.Metric.Builder addMetricsBuilder(int index) { - return getMetricsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Metric.getDefaultInstance()); - } - /** - * - * - *
-     * The metrics requested and displayed.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - public java.util.List - getMetricsBuilderList() { - return getMetricsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Metric, - com.google.analytics.data.v1alpha.Metric.Builder, - com.google.analytics.data.v1alpha.MetricOrBuilder> - getMetricsFieldBuilder() { - if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Metric, - com.google.analytics.data.v1alpha.Metric.Builder, - com.google.analytics.data.v1alpha.MetricOrBuilder>( - metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - metrics_ = null; - } - return metricsBuilder_; - } - - private java.util.List dateRanges_ = - java.util.Collections.emptyList(); - - private void ensureDateRangesIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - dateRanges_ = - new java.util.ArrayList(dateRanges_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DateRange, - com.google.analytics.data.v1alpha.DateRange.Builder, - com.google.analytics.data.v1alpha.DateRangeOrBuilder> - dateRangesBuilder_; - - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public java.util.List getDateRangesList() { - if (dateRangesBuilder_ == null) { - return java.util.Collections.unmodifiableList(dateRanges_); - } else { - return dateRangesBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public int getDateRangesCount() { - if (dateRangesBuilder_ == null) { - return dateRanges_.size(); - } else { - return dateRangesBuilder_.getCount(); - } - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public com.google.analytics.data.v1alpha.DateRange getDateRanges(int index) { - if (dateRangesBuilder_ == null) { - return dateRanges_.get(index); - } else { - return dateRangesBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public Builder setDateRanges(int index, com.google.analytics.data.v1alpha.DateRange value) { - if (dateRangesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDateRangesIsMutable(); - dateRanges_.set(index, value); - onChanged(); - } else { - dateRangesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public Builder setDateRanges( - int index, com.google.analytics.data.v1alpha.DateRange.Builder builderForValue) { - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - dateRanges_.set(index, builderForValue.build()); - onChanged(); - } else { - dateRangesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public Builder addDateRanges(com.google.analytics.data.v1alpha.DateRange value) { - if (dateRangesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDateRangesIsMutable(); - dateRanges_.add(value); - onChanged(); - } else { - dateRangesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public Builder addDateRanges(int index, com.google.analytics.data.v1alpha.DateRange value) { - if (dateRangesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDateRangesIsMutable(); - dateRanges_.add(index, value); - onChanged(); - } else { - dateRangesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public Builder addDateRanges( - com.google.analytics.data.v1alpha.DateRange.Builder builderForValue) { - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - dateRanges_.add(builderForValue.build()); - onChanged(); - } else { - dateRangesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public Builder addDateRanges( - int index, com.google.analytics.data.v1alpha.DateRange.Builder builderForValue) { - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - dateRanges_.add(index, builderForValue.build()); - onChanged(); - } else { - dateRangesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public Builder addAllDateRanges( - java.lang.Iterable values) { - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dateRanges_); - onChanged(); - } else { - dateRangesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public Builder clearDateRanges() { - if (dateRangesBuilder_ == null) { - dateRanges_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - dateRangesBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public Builder removeDateRanges(int index) { - if (dateRangesBuilder_ == null) { - ensureDateRangesIsMutable(); - dateRanges_.remove(index); - onChanged(); - } else { - dateRangesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public com.google.analytics.data.v1alpha.DateRange.Builder getDateRangesBuilder(int index) { - return getDateRangesFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public com.google.analytics.data.v1alpha.DateRangeOrBuilder getDateRangesOrBuilder(int index) { - if (dateRangesBuilder_ == null) { - return dateRanges_.get(index); - } else { - return dateRangesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public java.util.List - getDateRangesOrBuilderList() { - if (dateRangesBuilder_ != null) { - return dateRangesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dateRanges_); - } - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public com.google.analytics.data.v1alpha.DateRange.Builder addDateRangesBuilder() { - return getDateRangesFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.DateRange.getDefaultInstance()); - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public com.google.analytics.data.v1alpha.DateRange.Builder addDateRangesBuilder(int index) { - return getDateRangesFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.DateRange.getDefaultInstance()); - } - /** - * - * - *
-     * Date ranges of data to read. If multiple date ranges are requested, each
-     * response row will contain a zero based date range index. If two date
-     * ranges overlap, the event data for the overlapping days is included in the
-     * response rows for both date ranges. In a cohort request, this `dateRanges`
-     * must be unspecified.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - public java.util.List - getDateRangesBuilderList() { - return getDateRangesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DateRange, - com.google.analytics.data.v1alpha.DateRange.Builder, - com.google.analytics.data.v1alpha.DateRangeOrBuilder> - getDateRangesFieldBuilder() { - if (dateRangesBuilder_ == null) { - dateRangesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DateRange, - com.google.analytics.data.v1alpha.DateRange.Builder, - com.google.analytics.data.v1alpha.DateRangeOrBuilder>( - dateRanges_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - dateRanges_ = null; - } - return dateRangesBuilder_; - } - - private long offset_; - /** - * - * - *
-     * The row count of the start row. The first row is counted as row 0.
-     * To learn more about this pagination parameter, see
-     * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-     * 
- * - * int64 offset = 5; - * - * @return The offset. - */ - @java.lang.Override - public long getOffset() { - return offset_; - } - /** - * - * - *
-     * The row count of the start row. The first row is counted as row 0.
-     * To learn more about this pagination parameter, see
-     * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-     * 
- * - * int64 offset = 5; - * - * @param value The offset to set. - * @return This builder for chaining. - */ - public Builder setOffset(long value) { - - offset_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The row count of the start row. The first row is counted as row 0.
-     * To learn more about this pagination parameter, see
-     * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-     * 
- * - * int64 offset = 5; - * - * @return This builder for chaining. - */ - public Builder clearOffset() { - - offset_ = 0L; - onChanged(); - return this; - } - - private long limit_; - /** - * - * - *
-     * The number of rows to return. If unspecified, 10 rows are returned. If
-     * -1, all rows are returned.
-     * To learn more about this pagination parameter, see
-     * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-     * 
- * - * int64 limit = 6; - * - * @return The limit. - */ - @java.lang.Override - public long getLimit() { - return limit_; - } - /** - * - * - *
-     * The number of rows to return. If unspecified, 10 rows are returned. If
-     * -1, all rows are returned.
-     * To learn more about this pagination parameter, see
-     * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-     * 
- * - * int64 limit = 6; - * - * @param value The limit to set. - * @return This builder for chaining. - */ - public Builder setLimit(long value) { - - limit_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The number of rows to return. If unspecified, 10 rows are returned. If
-     * -1, all rows are returned.
-     * To learn more about this pagination parameter, see
-     * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-     * 
- * - * int64 limit = 6; - * - * @return This builder for chaining. - */ - public Builder clearLimit() { - - limit_ = 0L; - onChanged(); - return this; - } - - private java.util.List metricAggregations_ = - java.util.Collections.emptyList(); - - private void ensureMetricAggregationsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - metricAggregations_ = new java.util.ArrayList(metricAggregations_); - bitField0_ |= 0x00000008; - } - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @return A list containing the metricAggregations. - */ - public java.util.List - getMetricAggregationsList() { - return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1alpha.MetricAggregation>( - metricAggregations_, metricAggregations_converter_); - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @return The count of metricAggregations. - */ - public int getMetricAggregationsCount() { - return metricAggregations_.size(); - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param index The index of the element to return. - * @return The metricAggregations at the given index. - */ - public com.google.analytics.data.v1alpha.MetricAggregation getMetricAggregations(int index) { - return metricAggregations_converter_.convert(metricAggregations_.get(index)); - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param index The index to set the value at. - * @param value The metricAggregations to set. - * @return This builder for chaining. - */ - public Builder setMetricAggregations( - int index, com.google.analytics.data.v1alpha.MetricAggregation value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricAggregationsIsMutable(); - metricAggregations_.set(index, value.getNumber()); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param value The metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addMetricAggregations( - com.google.analytics.data.v1alpha.MetricAggregation value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricAggregationsIsMutable(); - metricAggregations_.add(value.getNumber()); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param values The metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addAllMetricAggregations( - java.lang.Iterable values) { - ensureMetricAggregationsIsMutable(); - for (com.google.analytics.data.v1alpha.MetricAggregation value : values) { - metricAggregations_.add(value.getNumber()); - } - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @return This builder for chaining. - */ - public Builder clearMetricAggregations() { - metricAggregations_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @return A list containing the enum numeric values on the wire for metricAggregations. - */ - public java.util.List getMetricAggregationsValueList() { - return java.util.Collections.unmodifiableList(metricAggregations_); - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - */ - public int getMetricAggregationsValue(int index) { - return metricAggregations_.get(index); - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - * @return This builder for chaining. - */ - public Builder setMetricAggregationsValue(int index, int value) { - ensureMetricAggregationsIsMutable(); - metricAggregations_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param value The enum numeric value on the wire for metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addMetricAggregationsValue(int value) { - ensureMetricAggregationsIsMutable(); - metricAggregations_.add(value); - onChanged(); - return this; - } - /** - * - * - *
-     * Aggregation of metrics. Aggregated metric values will be shown in rows
-     * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * - * @param values The enum numeric values on the wire for metricAggregations to add. - * @return This builder for chaining. - */ - public Builder addAllMetricAggregationsValue(java.lang.Iterable values) { - ensureMetricAggregationsIsMutable(); - for (int value : values) { - metricAggregations_.add(value); - } - onChanged(); - return this; - } - - private com.google.analytics.data.v1alpha.FilterExpression dimensionFilter_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - dimensionFilterBuilder_; - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - * - * @return Whether the dimensionFilter field is set. - */ - public boolean hasDimensionFilter() { - return dimensionFilterBuilder_ != null || dimensionFilter_ != null; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - * - * @return The dimensionFilter. - */ - public com.google.analytics.data.v1alpha.FilterExpression getDimensionFilter() { - if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : dimensionFilter_; - } else { - return dimensionFilterBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - */ - public Builder setDimensionFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (dimensionFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dimensionFilter_ = value; - onChanged(); - } else { - dimensionFilterBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - */ - public Builder setDimensionFilter( - com.google.analytics.data.v1alpha.FilterExpression.Builder builderForValue) { - if (dimensionFilterBuilder_ == null) { - dimensionFilter_ = builderForValue.build(); - onChanged(); - } else { - dimensionFilterBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - */ - public Builder mergeDimensionFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (dimensionFilterBuilder_ == null) { - if (dimensionFilter_ != null) { - dimensionFilter_ = - com.google.analytics.data.v1alpha.FilterExpression.newBuilder(dimensionFilter_) - .mergeFrom(value) - .buildPartial(); - } else { - dimensionFilter_ = value; - } - onChanged(); - } else { - dimensionFilterBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - */ - public Builder clearDimensionFilter() { - if (dimensionFilterBuilder_ == null) { - dimensionFilter_ = null; - onChanged(); - } else { - dimensionFilter_ = null; - dimensionFilterBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - */ - public com.google.analytics.data.v1alpha.FilterExpression.Builder getDimensionFilterBuilder() { - - onChanged(); - return getDimensionFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - */ - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder - getDimensionFilterOrBuilder() { - if (dimensionFilterBuilder_ != null) { - return dimensionFilterBuilder_.getMessageOrBuilder(); - } else { - return dimensionFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : dimensionFilter_; - } - } - /** - * - * - *
-     * The filter clause of dimensions. Dimensions must be requested to be used in
-     * this filter. Metrics cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - getDimensionFilterFieldBuilder() { - if (dimensionFilterBuilder_ == null) { - dimensionFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder>( - getDimensionFilter(), getParentForChildren(), isClean()); - dimensionFilter_ = null; - } - return dimensionFilterBuilder_; - } - - private com.google.analytics.data.v1alpha.FilterExpression metricFilter_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - metricFilterBuilder_; - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - * - * @return Whether the metricFilter field is set. - */ - public boolean hasMetricFilter() { - return metricFilterBuilder_ != null || metricFilter_ != null; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - * - * @return The metricFilter. - */ - public com.google.analytics.data.v1alpha.FilterExpression getMetricFilter() { - if (metricFilterBuilder_ == null) { - return metricFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : metricFilter_; - } else { - return metricFilterBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - */ - public Builder setMetricFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (metricFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metricFilter_ = value; - onChanged(); - } else { - metricFilterBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - */ - public Builder setMetricFilter( - com.google.analytics.data.v1alpha.FilterExpression.Builder builderForValue) { - if (metricFilterBuilder_ == null) { - metricFilter_ = builderForValue.build(); - onChanged(); - } else { - metricFilterBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - */ - public Builder mergeMetricFilter(com.google.analytics.data.v1alpha.FilterExpression value) { - if (metricFilterBuilder_ == null) { - if (metricFilter_ != null) { - metricFilter_ = - com.google.analytics.data.v1alpha.FilterExpression.newBuilder(metricFilter_) - .mergeFrom(value) - .buildPartial(); - } else { - metricFilter_ = value; - } - onChanged(); - } else { - metricFilterBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - */ - public Builder clearMetricFilter() { - if (metricFilterBuilder_ == null) { - metricFilter_ = null; - onChanged(); - } else { - metricFilter_ = null; - metricFilterBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - */ - public com.google.analytics.data.v1alpha.FilterExpression.Builder getMetricFilterBuilder() { - - onChanged(); - return getMetricFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - */ - public com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getMetricFilterOrBuilder() { - if (metricFilterBuilder_ != null) { - return metricFilterBuilder_.getMessageOrBuilder(); - } else { - return metricFilter_ == null - ? com.google.analytics.data.v1alpha.FilterExpression.getDefaultInstance() - : metricFilter_; - } - } - /** - * - * - *
-     * The filter clause of metrics. Applied at post aggregation phase, similar to
-     * SQL having-clause. Metrics must be requested to be used in this filter.
-     * Dimensions cannot be used in this filter.
-     * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder> - getMetricFilterFieldBuilder() { - if (metricFilterBuilder_ == null) { - metricFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.FilterExpression, - com.google.analytics.data.v1alpha.FilterExpression.Builder, - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder>( - getMetricFilter(), getParentForChildren(), isClean()); - metricFilter_ = null; - } - return metricFilterBuilder_; - } - - private java.util.List orderBys_ = - java.util.Collections.emptyList(); - - private void ensureOrderBysIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - orderBys_ = new java.util.ArrayList(orderBys_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy, - com.google.analytics.data.v1alpha.OrderBy.Builder, - com.google.analytics.data.v1alpha.OrderByOrBuilder> - orderBysBuilder_; - - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public java.util.List getOrderBysList() { - if (orderBysBuilder_ == null) { - return java.util.Collections.unmodifiableList(orderBys_); - } else { - return orderBysBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public int getOrderBysCount() { - if (orderBysBuilder_ == null) { - return orderBys_.size(); - } else { - return orderBysBuilder_.getCount(); - } - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public com.google.analytics.data.v1alpha.OrderBy getOrderBys(int index) { - if (orderBysBuilder_ == null) { - return orderBys_.get(index); - } else { - return orderBysBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public Builder setOrderBys(int index, com.google.analytics.data.v1alpha.OrderBy value) { - if (orderBysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOrderBysIsMutable(); - orderBys_.set(index, value); - onChanged(); - } else { - orderBysBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public Builder setOrderBys( - int index, com.google.analytics.data.v1alpha.OrderBy.Builder builderForValue) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.set(index, builderForValue.build()); - onChanged(); - } else { - orderBysBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public Builder addOrderBys(com.google.analytics.data.v1alpha.OrderBy value) { - if (orderBysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOrderBysIsMutable(); - orderBys_.add(value); - onChanged(); - } else { - orderBysBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public Builder addOrderBys(int index, com.google.analytics.data.v1alpha.OrderBy value) { - if (orderBysBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOrderBysIsMutable(); - orderBys_.add(index, value); - onChanged(); - } else { - orderBysBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public Builder addOrderBys(com.google.analytics.data.v1alpha.OrderBy.Builder builderForValue) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.add(builderForValue.build()); - onChanged(); - } else { - orderBysBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public Builder addOrderBys( - int index, com.google.analytics.data.v1alpha.OrderBy.Builder builderForValue) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.add(index, builderForValue.build()); - onChanged(); - } else { - orderBysBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public Builder addAllOrderBys( - java.lang.Iterable values) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_); - onChanged(); - } else { - orderBysBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public Builder clearOrderBys() { - if (orderBysBuilder_ == null) { - orderBys_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - orderBysBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public Builder removeOrderBys(int index) { - if (orderBysBuilder_ == null) { - ensureOrderBysIsMutable(); - orderBys_.remove(index); - onChanged(); - } else { - orderBysBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public com.google.analytics.data.v1alpha.OrderBy.Builder getOrderBysBuilder(int index) { - return getOrderBysFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public com.google.analytics.data.v1alpha.OrderByOrBuilder getOrderBysOrBuilder(int index) { - if (orderBysBuilder_ == null) { - return orderBys_.get(index); - } else { - return orderBysBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public java.util.List - getOrderBysOrBuilderList() { - if (orderBysBuilder_ != null) { - return orderBysBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(orderBys_); - } - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public com.google.analytics.data.v1alpha.OrderBy.Builder addOrderBysBuilder() { - return getOrderBysFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.OrderBy.getDefaultInstance()); - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public com.google.analytics.data.v1alpha.OrderBy.Builder addOrderBysBuilder(int index) { - return getOrderBysFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.OrderBy.getDefaultInstance()); - } - /** - * - * - *
-     * Specifies how rows are ordered in the response.
-     * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - public java.util.List - getOrderBysBuilderList() { - return getOrderBysFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy, - com.google.analytics.data.v1alpha.OrderBy.Builder, - com.google.analytics.data.v1alpha.OrderByOrBuilder> - getOrderBysFieldBuilder() { - if (orderBysBuilder_ == null) { - orderBysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.OrderBy, - com.google.analytics.data.v1alpha.OrderBy.Builder, - com.google.analytics.data.v1alpha.OrderByOrBuilder>( - orderBys_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - orderBys_ = null; - } - return orderBysBuilder_; - } - - private java.lang.Object currencyCode_ = ""; - /** - * - * - *
-     * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-     * If the field is empty, the report uses the entity's default currency.
-     * 
- * - * string currency_code = 11; - * - * @return The currencyCode. - */ - public java.lang.String getCurrencyCode() { - java.lang.Object ref = currencyCode_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - currencyCode_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-     * If the field is empty, the report uses the entity's default currency.
-     * 
- * - * string currency_code = 11; - * - * @return The bytes for currencyCode. - */ - public com.google.protobuf.ByteString getCurrencyCodeBytes() { - java.lang.Object ref = currencyCode_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - currencyCode_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-     * If the field is empty, the report uses the entity's default currency.
-     * 
- * - * string currency_code = 11; - * - * @param value The currencyCode to set. - * @return This builder for chaining. - */ - public Builder setCurrencyCode(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - currencyCode_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-     * If the field is empty, the report uses the entity's default currency.
-     * 
- * - * string currency_code = 11; - * - * @return This builder for chaining. - */ - public Builder clearCurrencyCode() { - - currencyCode_ = getDefaultInstance().getCurrencyCode(); - onChanged(); - return this; - } - /** - * - * - *
-     * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-     * If the field is empty, the report uses the entity's default currency.
-     * 
- * - * string currency_code = 11; - * - * @param value The bytes for currencyCode to set. - * @return This builder for chaining. - */ - public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - currencyCode_ = value; - onChanged(); - return this; - } - - private com.google.analytics.data.v1alpha.CohortSpec cohortSpec_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortSpec, - com.google.analytics.data.v1alpha.CohortSpec.Builder, - com.google.analytics.data.v1alpha.CohortSpecOrBuilder> - cohortSpecBuilder_; - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - * - * @return Whether the cohortSpec field is set. - */ - public boolean hasCohortSpec() { - return cohortSpecBuilder_ != null || cohortSpec_ != null; - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - * - * @return The cohortSpec. - */ - public com.google.analytics.data.v1alpha.CohortSpec getCohortSpec() { - if (cohortSpecBuilder_ == null) { - return cohortSpec_ == null - ? com.google.analytics.data.v1alpha.CohortSpec.getDefaultInstance() - : cohortSpec_; - } else { - return cohortSpecBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - */ - public Builder setCohortSpec(com.google.analytics.data.v1alpha.CohortSpec value) { - if (cohortSpecBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - cohortSpec_ = value; - onChanged(); - } else { - cohortSpecBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - */ - public Builder setCohortSpec( - com.google.analytics.data.v1alpha.CohortSpec.Builder builderForValue) { - if (cohortSpecBuilder_ == null) { - cohortSpec_ = builderForValue.build(); - onChanged(); - } else { - cohortSpecBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - */ - public Builder mergeCohortSpec(com.google.analytics.data.v1alpha.CohortSpec value) { - if (cohortSpecBuilder_ == null) { - if (cohortSpec_ != null) { - cohortSpec_ = - com.google.analytics.data.v1alpha.CohortSpec.newBuilder(cohortSpec_) - .mergeFrom(value) - .buildPartial(); - } else { - cohortSpec_ = value; - } - onChanged(); - } else { - cohortSpecBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - */ - public Builder clearCohortSpec() { - if (cohortSpecBuilder_ == null) { - cohortSpec_ = null; - onChanged(); - } else { - cohortSpec_ = null; - cohortSpecBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - */ - public com.google.analytics.data.v1alpha.CohortSpec.Builder getCohortSpecBuilder() { - - onChanged(); - return getCohortSpecFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - */ - public com.google.analytics.data.v1alpha.CohortSpecOrBuilder getCohortSpecOrBuilder() { - if (cohortSpecBuilder_ != null) { - return cohortSpecBuilder_.getMessageOrBuilder(); - } else { - return cohortSpec_ == null - ? com.google.analytics.data.v1alpha.CohortSpec.getDefaultInstance() - : cohortSpec_; - } - } - /** - * - * - *
-     * Cohort group associated with this request. If there is a cohort group
-     * in the request the 'cohort' dimension must be present.
-     * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortSpec, - com.google.analytics.data.v1alpha.CohortSpec.Builder, - com.google.analytics.data.v1alpha.CohortSpecOrBuilder> - getCohortSpecFieldBuilder() { - if (cohortSpecBuilder_ == null) { - cohortSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.CohortSpec, - com.google.analytics.data.v1alpha.CohortSpec.Builder, - com.google.analytics.data.v1alpha.CohortSpecOrBuilder>( - getCohortSpec(), getParentForChildren(), isClean()); - cohortSpec_ = null; - } - return cohortSpecBuilder_; - } - - private boolean keepEmptyRows_; - /** - * - * - *
-     * If false or unspecified, each row with all metrics equal to 0 will not be
-     * returned. If true, these rows will be returned if they are not separately
-     * removed by a filter.
-     * 
- * - * bool keep_empty_rows = 13; - * - * @return The keepEmptyRows. - */ - @java.lang.Override - public boolean getKeepEmptyRows() { - return keepEmptyRows_; - } - /** - * - * - *
-     * If false or unspecified, each row with all metrics equal to 0 will not be
-     * returned. If true, these rows will be returned if they are not separately
-     * removed by a filter.
-     * 
- * - * bool keep_empty_rows = 13; - * - * @param value The keepEmptyRows to set. - * @return This builder for chaining. - */ - public Builder setKeepEmptyRows(boolean value) { - - keepEmptyRows_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * If false or unspecified, each row with all metrics equal to 0 will not be
-     * returned. If true, these rows will be returned if they are not separately
-     * removed by a filter.
-     * 
- * - * bool keep_empty_rows = 13; - * - * @return This builder for chaining. - */ - public Builder clearKeepEmptyRows() { - - keepEmptyRows_ = false; - onChanged(); - return this; - } - - private boolean returnPropertyQuota_; - /** - * - * - *
-     * Toggles whether to return the current state of this Analytics Property's
-     * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-     * 
- * - * bool return_property_quota = 14; - * - * @return The returnPropertyQuota. - */ - @java.lang.Override - public boolean getReturnPropertyQuota() { - return returnPropertyQuota_; - } - /** - * - * - *
-     * Toggles whether to return the current state of this Analytics Property's
-     * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-     * 
- * - * bool return_property_quota = 14; - * - * @param value The returnPropertyQuota to set. - * @return This builder for chaining. - */ - public Builder setReturnPropertyQuota(boolean value) { - - returnPropertyQuota_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Toggles whether to return the current state of this Analytics Property's
-     * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-     * 
- * - * bool return_property_quota = 14; - * - * @return This builder for chaining. - */ - public Builder clearReturnPropertyQuota() { - - returnPropertyQuota_ = false; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.RunReportRequest) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.RunReportRequest) - private static final com.google.analytics.data.v1alpha.RunReportRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.RunReportRequest(); - } - - public static com.google.analytics.data.v1alpha.RunReportRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunReportRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportRequestOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportRequestOrBuilder.java deleted file mode 100644 index bd618d00..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportRequestOrBuilder.java +++ /dev/null @@ -1,563 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface RunReportRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.RunReportRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return Whether the entity field is set. - */ - boolean hasEntity(); - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - * - * @return The entity. - */ - com.google.analytics.data.v1alpha.Entity getEntity(); - /** - * - * - *
-   * A property whose events are tracked. Within a batch request, this entity
-   * should either be unspecified or consistent with the batch-level entity.
-   * 
- * - * .google.analytics.data.v1alpha.Entity entity = 1; - */ - com.google.analytics.data.v1alpha.EntityOrBuilder getEntityOrBuilder(); - - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - java.util.List getDimensionsList(); - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - com.google.analytics.data.v1alpha.Dimension getDimensions(int index); - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - int getDimensionsCount(); - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - java.util.List - getDimensionsOrBuilderList(); - /** - * - * - *
-   * The dimensions requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2; - */ - com.google.analytics.data.v1alpha.DimensionOrBuilder getDimensionsOrBuilder(int index); - - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - java.util.List getMetricsList(); - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - com.google.analytics.data.v1alpha.Metric getMetrics(int index); - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - int getMetricsCount(); - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - java.util.List - getMetricsOrBuilderList(); - /** - * - * - *
-   * The metrics requested and displayed.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Metric metrics = 3; - */ - com.google.analytics.data.v1alpha.MetricOrBuilder getMetricsOrBuilder(int index); - - /** - * - * - *
-   * Date ranges of data to read. If multiple date ranges are requested, each
-   * response row will contain a zero based date range index. If two date
-   * ranges overlap, the event data for the overlapping days is included in the
-   * response rows for both date ranges. In a cohort request, this `dateRanges`
-   * must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - java.util.List getDateRangesList(); - /** - * - * - *
-   * Date ranges of data to read. If multiple date ranges are requested, each
-   * response row will contain a zero based date range index. If two date
-   * ranges overlap, the event data for the overlapping days is included in the
-   * response rows for both date ranges. In a cohort request, this `dateRanges`
-   * must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - com.google.analytics.data.v1alpha.DateRange getDateRanges(int index); - /** - * - * - *
-   * Date ranges of data to read. If multiple date ranges are requested, each
-   * response row will contain a zero based date range index. If two date
-   * ranges overlap, the event data for the overlapping days is included in the
-   * response rows for both date ranges. In a cohort request, this `dateRanges`
-   * must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - int getDateRangesCount(); - /** - * - * - *
-   * Date ranges of data to read. If multiple date ranges are requested, each
-   * response row will contain a zero based date range index. If two date
-   * ranges overlap, the event data for the overlapping days is included in the
-   * response rows for both date ranges. In a cohort request, this `dateRanges`
-   * must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - java.util.List - getDateRangesOrBuilderList(); - /** - * - * - *
-   * Date ranges of data to read. If multiple date ranges are requested, each
-   * response row will contain a zero based date range index. If two date
-   * ranges overlap, the event data for the overlapping days is included in the
-   * response rows for both date ranges. In a cohort request, this `dateRanges`
-   * must be unspecified.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4; - */ - com.google.analytics.data.v1alpha.DateRangeOrBuilder getDateRangesOrBuilder(int index); - - /** - * - * - *
-   * The row count of the start row. The first row is counted as row 0.
-   * To learn more about this pagination parameter, see
-   * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-   * 
- * - * int64 offset = 5; - * - * @return The offset. - */ - long getOffset(); - - /** - * - * - *
-   * The number of rows to return. If unspecified, 10 rows are returned. If
-   * -1, all rows are returned.
-   * To learn more about this pagination parameter, see
-   * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-   * 
- * - * int64 limit = 6; - * - * @return The limit. - */ - long getLimit(); - - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return A list containing the metricAggregations. - */ - java.util.List getMetricAggregationsList(); - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return The count of metricAggregations. - */ - int getMetricAggregationsCount(); - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @param index The index of the element to return. - * @return The metricAggregations at the given index. - */ - com.google.analytics.data.v1alpha.MetricAggregation getMetricAggregations(int index); - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @return A list containing the enum numeric values on the wire for metricAggregations. - */ - java.util.List getMetricAggregationsValueList(); - /** - * - * - *
-   * Aggregation of metrics. Aggregated metric values will be shown in rows
-   * where the dimension_values are set to "RESERVED_(MetricAggregation)".
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 7; - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of metricAggregations at the given index. - */ - int getMetricAggregationsValue(int index); - - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - * - * @return Whether the dimensionFilter field is set. - */ - boolean hasDimensionFilter(); - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - * - * @return The dimensionFilter. - */ - com.google.analytics.data.v1alpha.FilterExpression getDimensionFilter(); - /** - * - * - *
-   * The filter clause of dimensions. Dimensions must be requested to be used in
-   * this filter. Metrics cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression dimension_filter = 8; - */ - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getDimensionFilterOrBuilder(); - - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - * - * @return Whether the metricFilter field is set. - */ - boolean hasMetricFilter(); - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - * - * @return The metricFilter. - */ - com.google.analytics.data.v1alpha.FilterExpression getMetricFilter(); - /** - * - * - *
-   * The filter clause of metrics. Applied at post aggregation phase, similar to
-   * SQL having-clause. Metrics must be requested to be used in this filter.
-   * Dimensions cannot be used in this filter.
-   * 
- * - * .google.analytics.data.v1alpha.FilterExpression metric_filter = 9; - */ - com.google.analytics.data.v1alpha.FilterExpressionOrBuilder getMetricFilterOrBuilder(); - - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - java.util.List getOrderBysList(); - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - com.google.analytics.data.v1alpha.OrderBy getOrderBys(int index); - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - int getOrderBysCount(); - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - java.util.List - getOrderBysOrBuilderList(); - /** - * - * - *
-   * Specifies how rows are ordered in the response.
-   * 
- * - * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10; - */ - com.google.analytics.data.v1alpha.OrderByOrBuilder getOrderBysOrBuilder(int index); - - /** - * - * - *
-   * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-   * If the field is empty, the report uses the entity's default currency.
-   * 
- * - * string currency_code = 11; - * - * @return The currencyCode. - */ - java.lang.String getCurrencyCode(); - /** - * - * - *
-   * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
-   * If the field is empty, the report uses the entity's default currency.
-   * 
- * - * string currency_code = 11; - * - * @return The bytes for currencyCode. - */ - com.google.protobuf.ByteString getCurrencyCodeBytes(); - - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - * - * @return Whether the cohortSpec field is set. - */ - boolean hasCohortSpec(); - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - * - * @return The cohortSpec. - */ - com.google.analytics.data.v1alpha.CohortSpec getCohortSpec(); - /** - * - * - *
-   * Cohort group associated with this request. If there is a cohort group
-   * in the request the 'cohort' dimension must be present.
-   * 
- * - * .google.analytics.data.v1alpha.CohortSpec cohort_spec = 12; - */ - com.google.analytics.data.v1alpha.CohortSpecOrBuilder getCohortSpecOrBuilder(); - - /** - * - * - *
-   * If false or unspecified, each row with all metrics equal to 0 will not be
-   * returned. If true, these rows will be returned if they are not separately
-   * removed by a filter.
-   * 
- * - * bool keep_empty_rows = 13; - * - * @return The keepEmptyRows. - */ - boolean getKeepEmptyRows(); - - /** - * - * - *
-   * Toggles whether to return the current state of this Analytics Property's
-   * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
-   * 
- * - * bool return_property_quota = 14; - * - * @return The returnPropertyQuota. - */ - boolean getReturnPropertyQuota(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportResponse.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportResponse.java deleted file mode 100644 index e793aaa4..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportResponse.java +++ /dev/null @@ -1,4123 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -/** - * - * - *
- * The response report table corresponding to a request.
- * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunReportResponse} - */ -public final class RunReportResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.RunReportResponse) - RunReportResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use RunReportResponse.newBuilder() to construct. - private RunReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private RunReportResponse() { - dimensionHeaders_ = java.util.Collections.emptyList(); - metricHeaders_ = java.util.Collections.emptyList(); - rows_ = java.util.Collections.emptyList(); - totals_ = java.util.Collections.emptyList(); - maximums_ = java.util.Collections.emptyList(); - minimums_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RunReportResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private RunReportResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metricHeaders_.add( - input.readMessage( - com.google.analytics.data.v1alpha.MetricHeader.parser(), extensionRegistry)); - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - rows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - rows_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Row.parser(), extensionRegistry)); - break; - } - case 50: - { - com.google.analytics.data.v1alpha.ResponseMetaData.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = - input.readMessage( - com.google.analytics.data.v1alpha.ResponseMetaData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 58: - { - com.google.analytics.data.v1alpha.PropertyQuota.Builder subBuilder = null; - if (propertyQuota_ != null) { - subBuilder = propertyQuota_.toBuilder(); - } - propertyQuota_ = - input.readMessage( - com.google.analytics.data.v1alpha.PropertyQuota.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(propertyQuota_); - propertyQuota_ = subBuilder.buildPartial(); - } - - break; - } - case 66: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - totals_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - totals_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Row.parser(), extensionRegistry)); - break; - } - case 74: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - maximums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - maximums_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Row.parser(), extensionRegistry)); - break; - } - case 82: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - minimums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - minimums_.add( - input.readMessage( - com.google.analytics.data.v1alpha.Row.parser(), extensionRegistry)); - break; - } - case 90: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensionHeaders_.add( - input.readMessage( - com.google.analytics.data.v1alpha.DimensionHeader.parser(), - extensionRegistry)); - break; - } - case 96: - { - rowCount_ = 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); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = java.util.Collections.unmodifiableList(metricHeaders_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - rows_ = java.util.Collections.unmodifiableList(rows_); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - totals_ = java.util.Collections.unmodifiableList(totals_); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - maximums_ = java.util.Collections.unmodifiableList(maximums_); - } - if (((mutable_bitField0_ & 0x00000020) != 0)) { - minimums_ = java.util.Collections.unmodifiableList(minimums_); - } - if (((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunReportResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunReportResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunReportResponse.class, - com.google.analytics.data.v1alpha.RunReportResponse.Builder.class); - } - - public static final int DIMENSION_HEADERS_FIELD_NUMBER = 11; - private java.util.List dimensionHeaders_; - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - @java.lang.Override - public java.util.List - getDimensionHeadersList() { - return dimensionHeaders_; - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - @java.lang.Override - public java.util.List - getDimensionHeadersOrBuilderList() { - return dimensionHeaders_; - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - @java.lang.Override - public int getDimensionHeadersCount() { - return dimensionHeaders_.size(); - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionHeader getDimensionHeaders(int index) { - return dimensionHeaders_.get(index); - } - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index) { - return dimensionHeaders_.get(index); - } - - public static final int METRIC_HEADERS_FIELD_NUMBER = 1; - private java.util.List metricHeaders_; - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - @java.lang.Override - public java.util.List getMetricHeadersList() { - return metricHeaders_; - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - @java.lang.Override - public java.util.List - getMetricHeadersOrBuilderList() { - return metricHeaders_; - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - @java.lang.Override - public int getMetricHeadersCount() { - return metricHeaders_.size(); - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricHeader getMetricHeaders(int index) { - return metricHeaders_.get(index); - } - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.MetricHeaderOrBuilder getMetricHeadersOrBuilder( - int index) { - return metricHeaders_.get(index); - } - - public static final int ROWS_FIELD_NUMBER = 2; - private java.util.List rows_; - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - @java.lang.Override - public java.util.List getRowsList() { - return rows_; - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - @java.lang.Override - public java.util.List - getRowsOrBuilderList() { - return rows_; - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - @java.lang.Override - public int getRowsCount() { - return rows_.size(); - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getRows(int index) { - return rows_.get(index); - } - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RowOrBuilder getRowsOrBuilder(int index) { - return rows_.get(index); - } - - public static final int TOTALS_FIELD_NUMBER = 8; - private java.util.List totals_; - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - @java.lang.Override - public java.util.List getTotalsList() { - return totals_; - } - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - @java.lang.Override - public java.util.List - getTotalsOrBuilderList() { - return totals_; - } - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - @java.lang.Override - public int getTotalsCount() { - return totals_.size(); - } - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getTotals(int index) { - return totals_.get(index); - } - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RowOrBuilder getTotalsOrBuilder(int index) { - return totals_.get(index); - } - - public static final int MAXIMUMS_FIELD_NUMBER = 9; - private java.util.List maximums_; - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - @java.lang.Override - public java.util.List getMaximumsList() { - return maximums_; - } - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - @java.lang.Override - public java.util.List - getMaximumsOrBuilderList() { - return maximums_; - } - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - @java.lang.Override - public int getMaximumsCount() { - return maximums_.size(); - } - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getMaximums(int index) { - return maximums_.get(index); - } - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RowOrBuilder getMaximumsOrBuilder(int index) { - return maximums_.get(index); - } - - public static final int MINIMUMS_FIELD_NUMBER = 10; - private java.util.List minimums_; - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - @java.lang.Override - public java.util.List getMinimumsList() { - return minimums_; - } - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - @java.lang.Override - public java.util.List - getMinimumsOrBuilderList() { - return minimums_; - } - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - @java.lang.Override - public int getMinimumsCount() { - return minimums_.size(); - } - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.Row getMinimums(int index) { - return minimums_.get(index); - } - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.RowOrBuilder getMinimumsOrBuilder(int index) { - return minimums_.get(index); - } - - public static final int ROW_COUNT_FIELD_NUMBER = 12; - private int rowCount_; - /** - * - * - *
-   * The total number of rows in the query result, regardless of the number of
-   * rows returned in the response. For example if a query returns 175 rows and
-   * includes limit = 50 in the API request, the response will contain row_count
-   * = 175 but only 50 rows.
-   * To learn more about this pagination parameter, see
-   * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-   * 
- * - * int32 row_count = 12; - * - * @return The rowCount. - */ - @java.lang.Override - public int getRowCount() { - return rowCount_; - } - - public static final int METADATA_FIELD_NUMBER = 6; - private com.google.analytics.data.v1alpha.ResponseMetaData metadata_; - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - * - * @return Whether the metadata field is set. - */ - @java.lang.Override - public boolean hasMetadata() { - return metadata_ != null; - } - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - * - * @return The metadata. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.ResponseMetaData getMetadata() { - return metadata_ == null - ? com.google.analytics.data.v1alpha.ResponseMetaData.getDefaultInstance() - : metadata_; - } - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int PROPERTY_QUOTA_FIELD_NUMBER = 7; - private com.google.analytics.data.v1alpha.PropertyQuota propertyQuota_; - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - * - * @return Whether the propertyQuota field is set. - */ - @java.lang.Override - public boolean hasPropertyQuota() { - return propertyQuota_ != null; - } - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - * - * @return The propertyQuota. - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PropertyQuota getPropertyQuota() { - return propertyQuota_ == null - ? com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance() - : propertyQuota_; - } - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - */ - @java.lang.Override - public com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder() { - return getPropertyQuota(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < metricHeaders_.size(); i++) { - output.writeMessage(1, metricHeaders_.get(i)); - } - for (int i = 0; i < rows_.size(); i++) { - output.writeMessage(2, rows_.get(i)); - } - if (metadata_ != null) { - output.writeMessage(6, getMetadata()); - } - if (propertyQuota_ != null) { - output.writeMessage(7, getPropertyQuota()); - } - for (int i = 0; i < totals_.size(); i++) { - output.writeMessage(8, totals_.get(i)); - } - for (int i = 0; i < maximums_.size(); i++) { - output.writeMessage(9, maximums_.get(i)); - } - for (int i = 0; i < minimums_.size(); i++) { - output.writeMessage(10, minimums_.get(i)); - } - for (int i = 0; i < dimensionHeaders_.size(); i++) { - output.writeMessage(11, dimensionHeaders_.get(i)); - } - if (rowCount_ != 0) { - output.writeInt32(12, rowCount_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, metricHeaders_.get(i)); - } - for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rows_.get(i)); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetadata()); - } - if (propertyQuota_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPropertyQuota()); - } - for (int i = 0; i < totals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, totals_.get(i)); - } - for (int i = 0; i < maximums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, maximums_.get(i)); - } - for (int i = 0; i < minimums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, minimums_.get(i)); - } - for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(11, dimensionHeaders_.get(i)); - } - if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(12, rowCount_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.analytics.data.v1alpha.RunReportResponse)) { - return super.equals(obj); - } - com.google.analytics.data.v1alpha.RunReportResponse other = - (com.google.analytics.data.v1alpha.RunReportResponse) obj; - - if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; - if (!getRowsList().equals(other.getRowsList())) return false; - if (!getTotalsList().equals(other.getTotalsList())) return false; - if (!getMaximumsList().equals(other.getMaximumsList())) return false; - if (!getMinimumsList().equals(other.getMinimumsList())) return false; - if (getRowCount() != other.getRowCount()) return false; - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata().equals(other.getMetadata())) return false; - } - if (hasPropertyQuota() != other.hasPropertyQuota()) return false; - if (hasPropertyQuota()) { - if (!getPropertyQuota().equals(other.getPropertyQuota())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getDimensionHeadersCount() > 0) { - hash = (37 * hash) + DIMENSION_HEADERS_FIELD_NUMBER; - hash = (53 * hash) + getDimensionHeadersList().hashCode(); - } - if (getMetricHeadersCount() > 0) { - hash = (37 * hash) + METRIC_HEADERS_FIELD_NUMBER; - hash = (53 * hash) + getMetricHeadersList().hashCode(); - } - if (getRowsCount() > 0) { - hash = (37 * hash) + ROWS_FIELD_NUMBER; - hash = (53 * hash) + getRowsList().hashCode(); - } - if (getTotalsCount() > 0) { - hash = (37 * hash) + TOTALS_FIELD_NUMBER; - hash = (53 * hash) + getTotalsList().hashCode(); - } - if (getMaximumsCount() > 0) { - hash = (37 * hash) + MAXIMUMS_FIELD_NUMBER; - hash = (53 * hash) + getMaximumsList().hashCode(); - } - if (getMinimumsCount() > 0) { - hash = (37 * hash) + MINIMUMS_FIELD_NUMBER; - hash = (53 * hash) + getMinimumsList().hashCode(); - } - hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + getRowCount(); - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - if (hasPropertyQuota()) { - hash = (37 * hash) + PROPERTY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + getPropertyQuota().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.analytics.data.v1alpha.RunReportResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The response report table corresponding to a request.
-   * 
- * - * Protobuf type {@code google.analytics.data.v1alpha.RunReportResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.RunReportResponse) - com.google.analytics.data.v1alpha.RunReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunReportResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunReportResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1alpha.RunReportResponse.class, - com.google.analytics.data.v1alpha.RunReportResponse.Builder.class); - } - - // Construct using com.google.analytics.data.v1alpha.RunReportResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getDimensionHeadersFieldBuilder(); - getMetricHeadersFieldBuilder(); - getRowsFieldBuilder(); - getTotalsFieldBuilder(); - getMaximumsFieldBuilder(); - getMinimumsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (dimensionHeadersBuilder_ == null) { - dimensionHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - dimensionHeadersBuilder_.clear(); - } - if (metricHeadersBuilder_ == null) { - metricHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - metricHeadersBuilder_.clear(); - } - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - rowsBuilder_.clear(); - } - if (totalsBuilder_ == null) { - totals_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - totalsBuilder_.clear(); - } - if (maximumsBuilder_ == null) { - maximums_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - maximumsBuilder_.clear(); - } - if (minimumsBuilder_ == null) { - minimums_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - } else { - minimumsBuilder_.clear(); - } - rowCount_ = 0; - - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - if (propertyQuotaBuilder_ == null) { - propertyQuota_ = null; - } else { - propertyQuota_ = null; - propertyQuotaBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.analytics.data.v1alpha.AnalyticsDataApiProto - .internal_static_google_analytics_data_v1alpha_RunReportResponse_descriptor; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportResponse getDefaultInstanceForType() { - return com.google.analytics.data.v1alpha.RunReportResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportResponse build() { - com.google.analytics.data.v1alpha.RunReportResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportResponse buildPartial() { - com.google.analytics.data.v1alpha.RunReportResponse result = - new com.google.analytics.data.v1alpha.RunReportResponse(this); - int from_bitField0_ = bitField0_; - if (dimensionHeadersBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dimensionHeaders_ = dimensionHeaders_; - } else { - result.dimensionHeaders_ = dimensionHeadersBuilder_.build(); - } - if (metricHeadersBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = java.util.Collections.unmodifiableList(metricHeaders_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.metricHeaders_ = metricHeaders_; - } else { - result.metricHeaders_ = metricHeadersBuilder_.build(); - } - if (rowsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - rows_ = java.util.Collections.unmodifiableList(rows_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.rows_ = rows_; - } else { - result.rows_ = rowsBuilder_.build(); - } - if (totalsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - totals_ = java.util.Collections.unmodifiableList(totals_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.totals_ = totals_; - } else { - result.totals_ = totalsBuilder_.build(); - } - if (maximumsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - maximums_ = java.util.Collections.unmodifiableList(maximums_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.maximums_ = maximums_; - } else { - result.maximums_ = maximumsBuilder_.build(); - } - if (minimumsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { - minimums_ = java.util.Collections.unmodifiableList(minimums_); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.minimums_ = minimums_; - } else { - result.minimums_ = minimumsBuilder_.build(); - } - result.rowCount_ = rowCount_; - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - if (propertyQuotaBuilder_ == null) { - result.propertyQuota_ = propertyQuota_; - } else { - result.propertyQuota_ = propertyQuotaBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1alpha.RunReportResponse) { - return mergeFrom((com.google.analytics.data.v1alpha.RunReportResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.analytics.data.v1alpha.RunReportResponse other) { - if (other == com.google.analytics.data.v1alpha.RunReportResponse.getDefaultInstance()) - return this; - if (dimensionHeadersBuilder_ == null) { - if (!other.dimensionHeaders_.isEmpty()) { - if (dimensionHeaders_.isEmpty()) { - dimensionHeaders_ = other.dimensionHeaders_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.addAll(other.dimensionHeaders_); - } - onChanged(); - } - } else { - if (!other.dimensionHeaders_.isEmpty()) { - if (dimensionHeadersBuilder_.isEmpty()) { - dimensionHeadersBuilder_.dispose(); - dimensionHeadersBuilder_ = null; - dimensionHeaders_ = other.dimensionHeaders_; - bitField0_ = (bitField0_ & ~0x00000001); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDimensionHeadersFieldBuilder() - : null; - } else { - dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); - } - } - } - if (metricHeadersBuilder_ == null) { - if (!other.metricHeaders_.isEmpty()) { - if (metricHeaders_.isEmpty()) { - metricHeaders_ = other.metricHeaders_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureMetricHeadersIsMutable(); - metricHeaders_.addAll(other.metricHeaders_); - } - onChanged(); - } - } else { - if (!other.metricHeaders_.isEmpty()) { - if (metricHeadersBuilder_.isEmpty()) { - metricHeadersBuilder_.dispose(); - metricHeadersBuilder_ = null; - metricHeaders_ = other.metricHeaders_; - bitField0_ = (bitField0_ & ~0x00000002); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricHeadersFieldBuilder() - : null; - } else { - metricHeadersBuilder_.addAllMessages(other.metricHeaders_); - } - } - } - if (rowsBuilder_ == null) { - if (!other.rows_.isEmpty()) { - if (rows_.isEmpty()) { - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureRowsIsMutable(); - rows_.addAll(other.rows_); - } - onChanged(); - } - } else { - if (!other.rows_.isEmpty()) { - if (rowsBuilder_.isEmpty()) { - rowsBuilder_.dispose(); - rowsBuilder_ = null; - rows_ = other.rows_; - bitField0_ = (bitField0_ & ~0x00000004); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowsFieldBuilder() - : null; - } else { - rowsBuilder_.addAllMessages(other.rows_); - } - } - } - if (totalsBuilder_ == null) { - if (!other.totals_.isEmpty()) { - if (totals_.isEmpty()) { - totals_ = other.totals_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureTotalsIsMutable(); - totals_.addAll(other.totals_); - } - onChanged(); - } - } else { - if (!other.totals_.isEmpty()) { - if (totalsBuilder_.isEmpty()) { - totalsBuilder_.dispose(); - totalsBuilder_ = null; - totals_ = other.totals_; - bitField0_ = (bitField0_ & ~0x00000008); - totalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTotalsFieldBuilder() - : null; - } else { - totalsBuilder_.addAllMessages(other.totals_); - } - } - } - if (maximumsBuilder_ == null) { - if (!other.maximums_.isEmpty()) { - if (maximums_.isEmpty()) { - maximums_ = other.maximums_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureMaximumsIsMutable(); - maximums_.addAll(other.maximums_); - } - onChanged(); - } - } else { - if (!other.maximums_.isEmpty()) { - if (maximumsBuilder_.isEmpty()) { - maximumsBuilder_.dispose(); - maximumsBuilder_ = null; - maximums_ = other.maximums_; - bitField0_ = (bitField0_ & ~0x00000010); - maximumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMaximumsFieldBuilder() - : null; - } else { - maximumsBuilder_.addAllMessages(other.maximums_); - } - } - } - if (minimumsBuilder_ == null) { - if (!other.minimums_.isEmpty()) { - if (minimums_.isEmpty()) { - minimums_ = other.minimums_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureMinimumsIsMutable(); - minimums_.addAll(other.minimums_); - } - onChanged(); - } - } else { - if (!other.minimums_.isEmpty()) { - if (minimumsBuilder_.isEmpty()) { - minimumsBuilder_.dispose(); - minimumsBuilder_ = null; - minimums_ = other.minimums_; - bitField0_ = (bitField0_ & ~0x00000020); - minimumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMinimumsFieldBuilder() - : null; - } else { - minimumsBuilder_.addAllMessages(other.minimums_); - } - } - } - if (other.getRowCount() != 0) { - setRowCount(other.getRowCount()); - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (other.hasPropertyQuota()) { - mergePropertyQuota(other.getPropertyQuota()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.analytics.data.v1alpha.RunReportResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.analytics.data.v1alpha.RunReportResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List dimensionHeaders_ = - java.util.Collections.emptyList(); - - private void ensureDimensionHeadersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = - new java.util.ArrayList( - dimensionHeaders_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionHeader, - com.google.analytics.data.v1alpha.DimensionHeader.Builder, - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder> - dimensionHeadersBuilder_; - - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public java.util.List - getDimensionHeadersList() { - if (dimensionHeadersBuilder_ == null) { - return java.util.Collections.unmodifiableList(dimensionHeaders_); - } else { - return dimensionHeadersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public int getDimensionHeadersCount() { - if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.size(); - } else { - return dimensionHeadersBuilder_.getCount(); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public com.google.analytics.data.v1alpha.DimensionHeader getDimensionHeaders(int index) { - if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.get(index); - } else { - return dimensionHeadersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public Builder setDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader value) { - if (dimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.set(index, value); - onChanged(); - } else { - dimensionHeadersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public Builder setDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader.Builder builderForValue) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.set(index, builderForValue.build()); - onChanged(); - } else { - dimensionHeadersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public Builder addDimensionHeaders(com.google.analytics.data.v1alpha.DimensionHeader value) { - if (dimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(value); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public Builder addDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader value) { - if (dimensionHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(index, value); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public Builder addDimensionHeaders( - com.google.analytics.data.v1alpha.DimensionHeader.Builder builderForValue) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(builderForValue.build()); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public Builder addDimensionHeaders( - int index, com.google.analytics.data.v1alpha.DimensionHeader.Builder builderForValue) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(index, builderForValue.build()); - onChanged(); - } else { - dimensionHeadersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public Builder addAllDimensionHeaders( - java.lang.Iterable values) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_); - onChanged(); - } else { - dimensionHeadersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public Builder clearDimensionHeaders() { - if (dimensionHeadersBuilder_ == null) { - dimensionHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - dimensionHeadersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public Builder removeDimensionHeaders(int index) { - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.remove(index); - onChanged(); - } else { - dimensionHeadersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public com.google.analytics.data.v1alpha.DimensionHeader.Builder getDimensionHeadersBuilder( - int index) { - return getDimensionHeadersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index) { - if (dimensionHeadersBuilder_ == null) { - return dimensionHeaders_.get(index); - } else { - return dimensionHeadersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public java.util.List - getDimensionHeadersOrBuilderList() { - if (dimensionHeadersBuilder_ != null) { - return dimensionHeadersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(dimensionHeaders_); - } - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public com.google.analytics.data.v1alpha.DimensionHeader.Builder addDimensionHeadersBuilder() { - return getDimensionHeadersFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.DimensionHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public com.google.analytics.data.v1alpha.DimensionHeader.Builder addDimensionHeadersBuilder( - int index) { - return getDimensionHeadersFieldBuilder() - .addBuilder( - index, com.google.analytics.data.v1alpha.DimensionHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes dimension columns. The number of DimensionHeaders and ordering of
-     * DimensionHeaders matches the dimensions present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - public java.util.List - getDimensionHeadersBuilderList() { - return getDimensionHeadersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionHeader, - com.google.analytics.data.v1alpha.DimensionHeader.Builder, - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder> - getDimensionHeadersFieldBuilder() { - if (dimensionHeadersBuilder_ == null) { - dimensionHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.DimensionHeader, - com.google.analytics.data.v1alpha.DimensionHeader.Builder, - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder>( - dimensionHeaders_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - dimensionHeaders_ = null; - } - return dimensionHeadersBuilder_; - } - - private java.util.List metricHeaders_ = - java.util.Collections.emptyList(); - - private void ensureMetricHeadersIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = - new java.util.ArrayList(metricHeaders_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricHeader, - com.google.analytics.data.v1alpha.MetricHeader.Builder, - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder> - metricHeadersBuilder_; - - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public java.util.List getMetricHeadersList() { - if (metricHeadersBuilder_ == null) { - return java.util.Collections.unmodifiableList(metricHeaders_); - } else { - return metricHeadersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public int getMetricHeadersCount() { - if (metricHeadersBuilder_ == null) { - return metricHeaders_.size(); - } else { - return metricHeadersBuilder_.getCount(); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public com.google.analytics.data.v1alpha.MetricHeader getMetricHeaders(int index) { - if (metricHeadersBuilder_ == null) { - return metricHeaders_.get(index); - } else { - return metricHeadersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public Builder setMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader value) { - if (metricHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricHeadersIsMutable(); - metricHeaders_.set(index, value); - onChanged(); - } else { - metricHeadersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public Builder setMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader.Builder builderForValue) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.set(index, builderForValue.build()); - onChanged(); - } else { - metricHeadersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public Builder addMetricHeaders(com.google.analytics.data.v1alpha.MetricHeader value) { - if (metricHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricHeadersIsMutable(); - metricHeaders_.add(value); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public Builder addMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader value) { - if (metricHeadersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMetricHeadersIsMutable(); - metricHeaders_.add(index, value); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public Builder addMetricHeaders( - com.google.analytics.data.v1alpha.MetricHeader.Builder builderForValue) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.add(builderForValue.build()); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public Builder addMetricHeaders( - int index, com.google.analytics.data.v1alpha.MetricHeader.Builder builderForValue) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.add(index, builderForValue.build()); - onChanged(); - } else { - metricHeadersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public Builder addAllMetricHeaders( - java.lang.Iterable values) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_); - onChanged(); - } else { - metricHeadersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public Builder clearMetricHeaders() { - if (metricHeadersBuilder_ == null) { - metricHeaders_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - metricHeadersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public Builder removeMetricHeaders(int index) { - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.remove(index); - onChanged(); - } else { - metricHeadersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public com.google.analytics.data.v1alpha.MetricHeader.Builder getMetricHeadersBuilder( - int index) { - return getMetricHeadersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public com.google.analytics.data.v1alpha.MetricHeaderOrBuilder getMetricHeadersOrBuilder( - int index) { - if (metricHeadersBuilder_ == null) { - return metricHeaders_.get(index); - } else { - return metricHeadersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public java.util.List - getMetricHeadersOrBuilderList() { - if (metricHeadersBuilder_ != null) { - return metricHeadersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(metricHeaders_); - } - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public com.google.analytics.data.v1alpha.MetricHeader.Builder addMetricHeadersBuilder() { - return getMetricHeadersFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.MetricHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public com.google.analytics.data.v1alpha.MetricHeader.Builder addMetricHeadersBuilder( - int index) { - return getMetricHeadersFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.MetricHeader.getDefaultInstance()); - } - /** - * - * - *
-     * Describes metric columns. The number of MetricHeaders and ordering of
-     * MetricHeaders matches the metrics present in rows.
-     * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - public java.util.List - getMetricHeadersBuilderList() { - return getMetricHeadersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricHeader, - com.google.analytics.data.v1alpha.MetricHeader.Builder, - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder> - getMetricHeadersFieldBuilder() { - if (metricHeadersBuilder_ == null) { - metricHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.MetricHeader, - com.google.analytics.data.v1alpha.MetricHeader.Builder, - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder>( - metricHeaders_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - metricHeaders_ = null; - } - return metricHeadersBuilder_; - } - - private java.util.List rows_ = - java.util.Collections.emptyList(); - - private void ensureRowsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - rows_ = new java.util.ArrayList(rows_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - rowsBuilder_; - - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public java.util.List getRowsList() { - if (rowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(rows_); - } else { - return rowsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public int getRowsCount() { - if (rowsBuilder_ == null) { - return rows_.size(); - } else { - return rowsBuilder_.getCount(); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public com.google.analytics.data.v1alpha.Row getRows(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public Builder setRows(int index, com.google.analytics.data.v1alpha.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.set(index, value); - onChanged(); - } else { - rowsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public Builder setRows( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.set(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public Builder addRows(com.google.analytics.data.v1alpha.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(value); - onChanged(); - } else { - rowsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public Builder addRows(int index, com.google.analytics.data.v1alpha.Row value) { - if (rowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRowsIsMutable(); - rows_.add(index, value); - onChanged(); - } else { - rowsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public Builder addRows(com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public Builder addRows( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(index, builderForValue.build()); - onChanged(); - } else { - rowsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public Builder addAllRows( - java.lang.Iterable values) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); - onChanged(); - } else { - rowsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public Builder clearRows() { - if (rowsBuilder_ == null) { - rows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - rowsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public Builder removeRows(int index) { - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.remove(index); - onChanged(); - } else { - rowsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public com.google.analytics.data.v1alpha.Row.Builder getRowsBuilder(int index) { - return getRowsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public com.google.analytics.data.v1alpha.RowOrBuilder getRowsOrBuilder(int index) { - if (rowsBuilder_ == null) { - return rows_.get(index); - } else { - return rowsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public java.util.List - getRowsOrBuilderList() { - if (rowsBuilder_ != null) { - return rowsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(rows_); - } - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public com.google.analytics.data.v1alpha.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public com.google.analytics.data.v1alpha.Row.Builder addRowsBuilder(int index) { - return getRowsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * Rows of dimension value combinations and metric values in the report.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - public java.util.List getRowsBuilderList() { - return getRowsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - getRowsFieldBuilder() { - if (rowsBuilder_ == null) { - rowsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder>( - rows_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - rows_ = null; - } - return rowsBuilder_; - } - - private java.util.List totals_ = - java.util.Collections.emptyList(); - - private void ensureTotalsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - totals_ = new java.util.ArrayList(totals_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - totalsBuilder_; - - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public java.util.List getTotalsList() { - if (totalsBuilder_ == null) { - return java.util.Collections.unmodifiableList(totals_); - } else { - return totalsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public int getTotalsCount() { - if (totalsBuilder_ == null) { - return totals_.size(); - } else { - return totalsBuilder_.getCount(); - } - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public com.google.analytics.data.v1alpha.Row getTotals(int index) { - if (totalsBuilder_ == null) { - return totals_.get(index); - } else { - return totalsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public Builder setTotals(int index, com.google.analytics.data.v1alpha.Row value) { - if (totalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTotalsIsMutable(); - totals_.set(index, value); - onChanged(); - } else { - totalsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public Builder setTotals( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (totalsBuilder_ == null) { - ensureTotalsIsMutable(); - totals_.set(index, builderForValue.build()); - onChanged(); - } else { - totalsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public Builder addTotals(com.google.analytics.data.v1alpha.Row value) { - if (totalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTotalsIsMutable(); - totals_.add(value); - onChanged(); - } else { - totalsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public Builder addTotals(int index, com.google.analytics.data.v1alpha.Row value) { - if (totalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTotalsIsMutable(); - totals_.add(index, value); - onChanged(); - } else { - totalsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public Builder addTotals(com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (totalsBuilder_ == null) { - ensureTotalsIsMutable(); - totals_.add(builderForValue.build()); - onChanged(); - } else { - totalsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public Builder addTotals( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (totalsBuilder_ == null) { - ensureTotalsIsMutable(); - totals_.add(index, builderForValue.build()); - onChanged(); - } else { - totalsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public Builder addAllTotals( - java.lang.Iterable values) { - if (totalsBuilder_ == null) { - ensureTotalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, totals_); - onChanged(); - } else { - totalsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public Builder clearTotals() { - if (totalsBuilder_ == null) { - totals_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - totalsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public Builder removeTotals(int index) { - if (totalsBuilder_ == null) { - ensureTotalsIsMutable(); - totals_.remove(index); - onChanged(); - } else { - totalsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public com.google.analytics.data.v1alpha.Row.Builder getTotalsBuilder(int index) { - return getTotalsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public com.google.analytics.data.v1alpha.RowOrBuilder getTotalsOrBuilder(int index) { - if (totalsBuilder_ == null) { - return totals_.get(index); - } else { - return totalsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public java.util.List - getTotalsOrBuilderList() { - if (totalsBuilder_ != null) { - return totalsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(totals_); - } - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public com.google.analytics.data.v1alpha.Row.Builder addTotalsBuilder() { - return getTotalsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public com.google.analytics.data.v1alpha.Row.Builder addTotalsBuilder(int index) { - return getTotalsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the totaled values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - public java.util.List getTotalsBuilderList() { - return getTotalsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - getTotalsFieldBuilder() { - if (totalsBuilder_ == null) { - totalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder>( - totals_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); - totals_ = null; - } - return totalsBuilder_; - } - - private java.util.List maximums_ = - java.util.Collections.emptyList(); - - private void ensureMaximumsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - maximums_ = new java.util.ArrayList(maximums_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - maximumsBuilder_; - - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public java.util.List getMaximumsList() { - if (maximumsBuilder_ == null) { - return java.util.Collections.unmodifiableList(maximums_); - } else { - return maximumsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public int getMaximumsCount() { - if (maximumsBuilder_ == null) { - return maximums_.size(); - } else { - return maximumsBuilder_.getCount(); - } - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public com.google.analytics.data.v1alpha.Row getMaximums(int index) { - if (maximumsBuilder_ == null) { - return maximums_.get(index); - } else { - return maximumsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public Builder setMaximums(int index, com.google.analytics.data.v1alpha.Row value) { - if (maximumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMaximumsIsMutable(); - maximums_.set(index, value); - onChanged(); - } else { - maximumsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public Builder setMaximums( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (maximumsBuilder_ == null) { - ensureMaximumsIsMutable(); - maximums_.set(index, builderForValue.build()); - onChanged(); - } else { - maximumsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public Builder addMaximums(com.google.analytics.data.v1alpha.Row value) { - if (maximumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMaximumsIsMutable(); - maximums_.add(value); - onChanged(); - } else { - maximumsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public Builder addMaximums(int index, com.google.analytics.data.v1alpha.Row value) { - if (maximumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMaximumsIsMutable(); - maximums_.add(index, value); - onChanged(); - } else { - maximumsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public Builder addMaximums(com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (maximumsBuilder_ == null) { - ensureMaximumsIsMutable(); - maximums_.add(builderForValue.build()); - onChanged(); - } else { - maximumsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public Builder addMaximums( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (maximumsBuilder_ == null) { - ensureMaximumsIsMutable(); - maximums_.add(index, builderForValue.build()); - onChanged(); - } else { - maximumsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public Builder addAllMaximums( - java.lang.Iterable values) { - if (maximumsBuilder_ == null) { - ensureMaximumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, maximums_); - onChanged(); - } else { - maximumsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public Builder clearMaximums() { - if (maximumsBuilder_ == null) { - maximums_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - maximumsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public Builder removeMaximums(int index) { - if (maximumsBuilder_ == null) { - ensureMaximumsIsMutable(); - maximums_.remove(index); - onChanged(); - } else { - maximumsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public com.google.analytics.data.v1alpha.Row.Builder getMaximumsBuilder(int index) { - return getMaximumsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public com.google.analytics.data.v1alpha.RowOrBuilder getMaximumsOrBuilder(int index) { - if (maximumsBuilder_ == null) { - return maximums_.get(index); - } else { - return maximumsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public java.util.List - getMaximumsOrBuilderList() { - if (maximumsBuilder_ != null) { - return maximumsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(maximums_); - } - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public com.google.analytics.data.v1alpha.Row.Builder addMaximumsBuilder() { - return getMaximumsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public com.google.analytics.data.v1alpha.Row.Builder addMaximumsBuilder(int index) { - return getMaximumsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the maximum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - public java.util.List getMaximumsBuilderList() { - return getMaximumsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - getMaximumsFieldBuilder() { - if (maximumsBuilder_ == null) { - maximumsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder>( - maximums_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - maximums_ = null; - } - return maximumsBuilder_; - } - - private java.util.List minimums_ = - java.util.Collections.emptyList(); - - private void ensureMinimumsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - minimums_ = new java.util.ArrayList(minimums_); - bitField0_ |= 0x00000020; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - minimumsBuilder_; - - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public java.util.List getMinimumsList() { - if (minimumsBuilder_ == null) { - return java.util.Collections.unmodifiableList(minimums_); - } else { - return minimumsBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public int getMinimumsCount() { - if (minimumsBuilder_ == null) { - return minimums_.size(); - } else { - return minimumsBuilder_.getCount(); - } - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public com.google.analytics.data.v1alpha.Row getMinimums(int index) { - if (minimumsBuilder_ == null) { - return minimums_.get(index); - } else { - return minimumsBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public Builder setMinimums(int index, com.google.analytics.data.v1alpha.Row value) { - if (minimumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMinimumsIsMutable(); - minimums_.set(index, value); - onChanged(); - } else { - minimumsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public Builder setMinimums( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (minimumsBuilder_ == null) { - ensureMinimumsIsMutable(); - minimums_.set(index, builderForValue.build()); - onChanged(); - } else { - minimumsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public Builder addMinimums(com.google.analytics.data.v1alpha.Row value) { - if (minimumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMinimumsIsMutable(); - minimums_.add(value); - onChanged(); - } else { - minimumsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public Builder addMinimums(int index, com.google.analytics.data.v1alpha.Row value) { - if (minimumsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMinimumsIsMutable(); - minimums_.add(index, value); - onChanged(); - } else { - minimumsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public Builder addMinimums(com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (minimumsBuilder_ == null) { - ensureMinimumsIsMutable(); - minimums_.add(builderForValue.build()); - onChanged(); - } else { - minimumsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public Builder addMinimums( - int index, com.google.analytics.data.v1alpha.Row.Builder builderForValue) { - if (minimumsBuilder_ == null) { - ensureMinimumsIsMutable(); - minimums_.add(index, builderForValue.build()); - onChanged(); - } else { - minimumsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public Builder addAllMinimums( - java.lang.Iterable values) { - if (minimumsBuilder_ == null) { - ensureMinimumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, minimums_); - onChanged(); - } else { - minimumsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public Builder clearMinimums() { - if (minimumsBuilder_ == null) { - minimums_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - } else { - minimumsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public Builder removeMinimums(int index) { - if (minimumsBuilder_ == null) { - ensureMinimumsIsMutable(); - minimums_.remove(index); - onChanged(); - } else { - minimumsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public com.google.analytics.data.v1alpha.Row.Builder getMinimumsBuilder(int index) { - return getMinimumsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public com.google.analytics.data.v1alpha.RowOrBuilder getMinimumsOrBuilder(int index) { - if (minimumsBuilder_ == null) { - return minimums_.get(index); - } else { - return minimumsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public java.util.List - getMinimumsOrBuilderList() { - if (minimumsBuilder_ != null) { - return minimumsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(minimums_); - } - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public com.google.analytics.data.v1alpha.Row.Builder addMinimumsBuilder() { - return getMinimumsFieldBuilder() - .addBuilder(com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public com.google.analytics.data.v1alpha.Row.Builder addMinimumsBuilder(int index) { - return getMinimumsFieldBuilder() - .addBuilder(index, com.google.analytics.data.v1alpha.Row.getDefaultInstance()); - } - /** - * - * - *
-     * If requested, the minimum values of metrics.
-     * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - public java.util.List getMinimumsBuilderList() { - return getMinimumsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder> - getMinimumsFieldBuilder() { - if (minimumsBuilder_ == null) { - minimumsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1alpha.Row, - com.google.analytics.data.v1alpha.Row.Builder, - com.google.analytics.data.v1alpha.RowOrBuilder>( - minimums_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); - minimums_ = null; - } - return minimumsBuilder_; - } - - private int rowCount_; - /** - * - * - *
-     * The total number of rows in the query result, regardless of the number of
-     * rows returned in the response. For example if a query returns 175 rows and
-     * includes limit = 50 in the API request, the response will contain row_count
-     * = 175 but only 50 rows.
-     * To learn more about this pagination parameter, see
-     * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-     * 
- * - * int32 row_count = 12; - * - * @return The rowCount. - */ - @java.lang.Override - public int getRowCount() { - return rowCount_; - } - /** - * - * - *
-     * The total number of rows in the query result, regardless of the number of
-     * rows returned in the response. For example if a query returns 175 rows and
-     * includes limit = 50 in the API request, the response will contain row_count
-     * = 175 but only 50 rows.
-     * To learn more about this pagination parameter, see
-     * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-     * 
- * - * int32 row_count = 12; - * - * @param value The rowCount to set. - * @return This builder for chaining. - */ - public Builder setRowCount(int value) { - - rowCount_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The total number of rows in the query result, regardless of the number of
-     * rows returned in the response. For example if a query returns 175 rows and
-     * includes limit = 50 in the API request, the response will contain row_count
-     * = 175 but only 50 rows.
-     * To learn more about this pagination parameter, see
-     * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-     * 
- * - * int32 row_count = 12; - * - * @return This builder for chaining. - */ - public Builder clearRowCount() { - - rowCount_ = 0; - onChanged(); - return this; - } - - private com.google.analytics.data.v1alpha.ResponseMetaData metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.ResponseMetaData, - com.google.analytics.data.v1alpha.ResponseMetaData.Builder, - com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder> - metadataBuilder_; - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - * - * @return Whether the metadata field is set. - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - * - * @return The metadata. - */ - public com.google.analytics.data.v1alpha.ResponseMetaData getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.analytics.data.v1alpha.ResponseMetaData.getDefaultInstance() - : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - */ - public Builder setMetadata(com.google.analytics.data.v1alpha.ResponseMetaData value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - */ - public Builder setMetadata( - com.google.analytics.data.v1alpha.ResponseMetaData.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - */ - public Builder mergeMetadata(com.google.analytics.data.v1alpha.ResponseMetaData value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - com.google.analytics.data.v1alpha.ResponseMetaData.newBuilder(metadata_) - .mergeFrom(value) - .buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - */ - public com.google.analytics.data.v1alpha.ResponseMetaData.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - */ - public com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null - ? com.google.analytics.data.v1alpha.ResponseMetaData.getDefaultInstance() - : metadata_; - } - } - /** - * - * - *
-     * Metadata for the report.
-     * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.ResponseMetaData, - com.google.analytics.data.v1alpha.ResponseMetaData.Builder, - com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.ResponseMetaData, - com.google.analytics.data.v1alpha.ResponseMetaData.Builder, - com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private com.google.analytics.data.v1alpha.PropertyQuota propertyQuota_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.PropertyQuota, - com.google.analytics.data.v1alpha.PropertyQuota.Builder, - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder> - propertyQuotaBuilder_; - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - * - * @return Whether the propertyQuota field is set. - */ - public boolean hasPropertyQuota() { - return propertyQuotaBuilder_ != null || propertyQuota_ != null; - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - * - * @return The propertyQuota. - */ - public com.google.analytics.data.v1alpha.PropertyQuota getPropertyQuota() { - if (propertyQuotaBuilder_ == null) { - return propertyQuota_ == null - ? com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance() - : propertyQuota_; - } else { - return propertyQuotaBuilder_.getMessage(); - } - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - */ - public Builder setPropertyQuota(com.google.analytics.data.v1alpha.PropertyQuota value) { - if (propertyQuotaBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - propertyQuota_ = value; - onChanged(); - } else { - propertyQuotaBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - */ - public Builder setPropertyQuota( - com.google.analytics.data.v1alpha.PropertyQuota.Builder builderForValue) { - if (propertyQuotaBuilder_ == null) { - propertyQuota_ = builderForValue.build(); - onChanged(); - } else { - propertyQuotaBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - */ - public Builder mergePropertyQuota(com.google.analytics.data.v1alpha.PropertyQuota value) { - if (propertyQuotaBuilder_ == null) { - if (propertyQuota_ != null) { - propertyQuota_ = - com.google.analytics.data.v1alpha.PropertyQuota.newBuilder(propertyQuota_) - .mergeFrom(value) - .buildPartial(); - } else { - propertyQuota_ = value; - } - onChanged(); - } else { - propertyQuotaBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - */ - public Builder clearPropertyQuota() { - if (propertyQuotaBuilder_ == null) { - propertyQuota_ = null; - onChanged(); - } else { - propertyQuota_ = null; - propertyQuotaBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - */ - public com.google.analytics.data.v1alpha.PropertyQuota.Builder getPropertyQuotaBuilder() { - - onChanged(); - return getPropertyQuotaFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - */ - public com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder() { - if (propertyQuotaBuilder_ != null) { - return propertyQuotaBuilder_.getMessageOrBuilder(); - } else { - return propertyQuota_ == null - ? com.google.analytics.data.v1alpha.PropertyQuota.getDefaultInstance() - : propertyQuota_; - } - } - /** - * - * - *
-     * This Analytics Property's quota state including this request.
-     * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.PropertyQuota, - com.google.analytics.data.v1alpha.PropertyQuota.Builder, - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder> - getPropertyQuotaFieldBuilder() { - if (propertyQuotaBuilder_ == null) { - propertyQuotaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1alpha.PropertyQuota, - com.google.analytics.data.v1alpha.PropertyQuota.Builder, - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder>( - getPropertyQuota(), getParentForChildren(), isClean()); - propertyQuota_ = null; - } - return propertyQuotaBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.RunReportResponse) - } - - // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.RunReportResponse) - private static final com.google.analytics.data.v1alpha.RunReportResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.RunReportResponse(); - } - - public static com.google.analytics.data.v1alpha.RunReportResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunReportResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunReportResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.analytics.data.v1alpha.RunReportResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportResponseOrBuilder.java b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportResponseOrBuilder.java deleted file mode 100644 index b0a27ef2..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunReportResponseOrBuilder.java +++ /dev/null @@ -1,434 +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/analytics/data/v1alpha/analytics_data_api.proto - -package com.google.analytics.data.v1alpha; - -public interface RunReportResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.RunReportResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - java.util.List getDimensionHeadersList(); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - com.google.analytics.data.v1alpha.DimensionHeader getDimensionHeaders(int index); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - int getDimensionHeadersCount(); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - java.util.List - getDimensionHeadersOrBuilderList(); - /** - * - * - *
-   * Describes dimension columns. The number of DimensionHeaders and ordering of
-   * DimensionHeaders matches the dimensions present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 11; - */ - com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index); - - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - java.util.List getMetricHeadersList(); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - com.google.analytics.data.v1alpha.MetricHeader getMetricHeaders(int index); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - int getMetricHeadersCount(); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - java.util.List - getMetricHeadersOrBuilderList(); - /** - * - * - *
-   * Describes metric columns. The number of MetricHeaders and ordering of
-   * MetricHeaders matches the metrics present in rows.
-   * 
- * - * repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 1; - */ - com.google.analytics.data.v1alpha.MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index); - - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - java.util.List getRowsList(); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - com.google.analytics.data.v1alpha.Row getRows(int index); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - int getRowsCount(); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - java.util.List getRowsOrBuilderList(); - /** - * - * - *
-   * Rows of dimension value combinations and metric values in the report.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row rows = 2; - */ - com.google.analytics.data.v1alpha.RowOrBuilder getRowsOrBuilder(int index); - - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - java.util.List getTotalsList(); - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - com.google.analytics.data.v1alpha.Row getTotals(int index); - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - int getTotalsCount(); - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - java.util.List getTotalsOrBuilderList(); - /** - * - * - *
-   * If requested, the totaled values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row totals = 8; - */ - com.google.analytics.data.v1alpha.RowOrBuilder getTotalsOrBuilder(int index); - - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - java.util.List getMaximumsList(); - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - com.google.analytics.data.v1alpha.Row getMaximums(int index); - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - int getMaximumsCount(); - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - java.util.List - getMaximumsOrBuilderList(); - /** - * - * - *
-   * If requested, the maximum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row maximums = 9; - */ - com.google.analytics.data.v1alpha.RowOrBuilder getMaximumsOrBuilder(int index); - - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - java.util.List getMinimumsList(); - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - com.google.analytics.data.v1alpha.Row getMinimums(int index); - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - int getMinimumsCount(); - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - java.util.List - getMinimumsOrBuilderList(); - /** - * - * - *
-   * If requested, the minimum values of metrics.
-   * 
- * - * repeated .google.analytics.data.v1alpha.Row minimums = 10; - */ - com.google.analytics.data.v1alpha.RowOrBuilder getMinimumsOrBuilder(int index); - - /** - * - * - *
-   * The total number of rows in the query result, regardless of the number of
-   * rows returned in the response. For example if a query returns 175 rows and
-   * includes limit = 50 in the API request, the response will contain row_count
-   * = 175 but only 50 rows.
-   * To learn more about this pagination parameter, see
-   * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
-   * 
- * - * int32 row_count = 12; - * - * @return The rowCount. - */ - int getRowCount(); - - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - * - * @return Whether the metadata field is set. - */ - boolean hasMetadata(); - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - * - * @return The metadata. - */ - com.google.analytics.data.v1alpha.ResponseMetaData getMetadata(); - /** - * - * - *
-   * Metadata for the report.
-   * 
- * - * .google.analytics.data.v1alpha.ResponseMetaData metadata = 6; - */ - com.google.analytics.data.v1alpha.ResponseMetaDataOrBuilder getMetadataOrBuilder(); - - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - * - * @return Whether the propertyQuota field is set. - */ - boolean hasPropertyQuota(); - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - * - * @return The propertyQuota. - */ - com.google.analytics.data.v1alpha.PropertyQuota getPropertyQuota(); - /** - * - * - *
-   * This Analytics Property's quota state including this request.
-   * 
- * - * .google.analytics.data.v1alpha.PropertyQuota property_quota = 7; - */ - com.google.analytics.data.v1alpha.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder(); -} diff --git a/proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/analytics_data_api.proto b/proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/analytics_data_api.proto deleted file mode 100644 index 7f5f9f9b..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/analytics_data_api.proto +++ /dev/null @@ -1,477 +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 -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.analytics.data.v1alpha; - -import "google/analytics/data/v1alpha/data.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option go_package = "google.golang.org/genproto/googleapis/analytics/data/v1alpha;data"; -option java_multiple_files = true; -option java_outer_classname = "AnalyticsDataApiProto"; -option java_package = "com.google.analytics.data.v1alpha"; - -// Google Analytics reporting data service. -service AlphaAnalyticsData { - option (google.api.default_host) = "analyticsdata.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/analytics," - "https://www.googleapis.com/auth/analytics.readonly"; - - // Returns a customized report of your Google Analytics event data. Reports - // contain statistics derived from data collected by the Google Analytics - // tracking code. The data returned from the API is as a table with columns - // for the requested dimensions and metrics. Metrics are individual - // measurements of user activity on your property, such as active users or - // event count. Dimensions break down metrics across some common criteria, - // such as country or event name. - rpc RunReport(RunReportRequest) returns (RunReportResponse) { - option (google.api.http) = { - post: "/v1alpha:runReport" - body: "*" - }; - } - - // Returns a customized pivot report of your Google Analytics event data. - // Pivot reports are more advanced and expressive formats than regular - // reports. In a pivot report, dimensions are only visible if they are - // included in a pivot. Multiple pivots can be specified to further dissect - // your data. - rpc RunPivotReport(RunPivotReportRequest) returns (RunPivotReportResponse) { - option (google.api.http) = { - post: "/v1alpha:runPivotReport" - body: "*" - }; - } - - // Returns multiple reports in a batch. All reports must be for the same - // Entity. - rpc BatchRunReports(BatchRunReportsRequest) returns (BatchRunReportsResponse) { - option (google.api.http) = { - post: "/v1alpha:batchRunReports" - body: "*" - }; - } - - // Returns multiple pivot reports in a batch. All reports must be for the same - // Entity. - rpc BatchRunPivotReports(BatchRunPivotReportsRequest) returns (BatchRunPivotReportsResponse) { - option (google.api.http) = { - post: "/v1alpha:batchRunPivotReports" - body: "*" - }; - } - - // Returns metadata for dimensions and metrics available in reporting methods. - // Used to explore the dimensions and metrics. In this method, a Google - // Analytics GA4 Property Identifier is specified in the request, and - // the metadata response includes Custom dimensions and metrics as well as - // Universal metadata. - // - // For example if a custom metric with parameter name `levels_unlocked` is - // registered to a property, the Metadata response will contain - // `customEvent:levels_unlocked`. Universal metadata are dimensions and - // metrics applicable to any property such as `country` and `totalUsers`. - rpc GetMetadata(GetMetadataRequest) returns (Metadata) { - option (google.api.http) = { - get: "/v1alpha/{name=properties/*/metadata}" - }; - option (google.api.method_signature) = "name"; - } - - // The Google Analytics Realtime API returns a customized report of realtime - // event data for your property. These reports show events and usage from the - // last 30 minutes. - rpc RunRealtimeReport(RunRealtimeReportRequest) returns (RunRealtimeReportResponse) { - option (google.api.http) = { - post: "/v1alpha/{property=properties/*}:runRealtimeReport" - body: "*" - }; - } -} - -// The dimensions and metrics currently accepted in reporting methods. -message Metadata { - option (google.api.resource) = { - type: "analyticsdata.googleapis.com/Metadata" - pattern: "properties/{property}/metadata" - }; - - // Resource name of this metadata. - string name = 3; - - // The dimension descriptions. - repeated DimensionMetadata dimensions = 1; - - // The metric descriptions. - repeated MetricMetadata metrics = 2; -} - -// The request to generate a report. -message RunReportRequest { - // A property whose events are tracked. Within a batch request, this entity - // should either be unspecified or consistent with the batch-level entity. - Entity entity = 1; - - // The dimensions requested and displayed. - repeated Dimension dimensions = 2; - - // The metrics requested and displayed. - repeated Metric metrics = 3; - - // Date ranges of data to read. If multiple date ranges are requested, each - // response row will contain a zero based date range index. If two date - // ranges overlap, the event data for the overlapping days is included in the - // response rows for both date ranges. In a cohort request, this `dateRanges` - // must be unspecified. - repeated DateRange date_ranges = 4; - - // The row count of the start row. The first row is counted as row 0. - // - // To learn more about this pagination parameter, see - // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - int64 offset = 5; - - // The number of rows to return. If unspecified, 10 rows are returned. If - // -1, all rows are returned. - // - // To learn more about this pagination parameter, see - // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - int64 limit = 6; - - // Aggregation of metrics. Aggregated metric values will be shown in rows - // where the dimension_values are set to "RESERVED_(MetricAggregation)". - repeated MetricAggregation metric_aggregations = 7; - - // The filter clause of dimensions. Dimensions must be requested to be used in - // this filter. Metrics cannot be used in this filter. - FilterExpression dimension_filter = 8; - - // The filter clause of metrics. Applied at post aggregation phase, similar to - // SQL having-clause. Metrics must be requested to be used in this filter. - // Dimensions cannot be used in this filter. - FilterExpression metric_filter = 9; - - // Specifies how rows are ordered in the response. - repeated OrderBy order_bys = 10; - - // A currency code in ISO4217 format, such as "AED", "USD", "JPY". - // If the field is empty, the report uses the entity's default currency. - string currency_code = 11; - - // Cohort group associated with this request. If there is a cohort group - // in the request the 'cohort' dimension must be present. - CohortSpec cohort_spec = 12; - - // If false or unspecified, each row with all metrics equal to 0 will not be - // returned. If true, these rows will be returned if they are not separately - // removed by a filter. - bool keep_empty_rows = 13; - - // Toggles whether to return the current state of this Analytics Property's - // quota. Quota is returned in [PropertyQuota](#PropertyQuota). - bool return_property_quota = 14; -} - -// The response report table corresponding to a request. -message RunReportResponse { - // Describes dimension columns. The number of DimensionHeaders and ordering of - // DimensionHeaders matches the dimensions present in rows. - repeated DimensionHeader dimension_headers = 11; - - // Describes metric columns. The number of MetricHeaders and ordering of - // MetricHeaders matches the metrics present in rows. - repeated MetricHeader metric_headers = 1; - - // Rows of dimension value combinations and metric values in the report. - repeated Row rows = 2; - - // If requested, the totaled values of metrics. - repeated Row totals = 8; - - // If requested, the maximum values of metrics. - repeated Row maximums = 9; - - // If requested, the minimum values of metrics. - repeated Row minimums = 10; - - // The total number of rows in the query result, regardless of the number of - // rows returned in the response. For example if a query returns 175 rows and - // includes limit = 50 in the API request, the response will contain row_count - // = 175 but only 50 rows. - // - // To learn more about this pagination parameter, see - // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - int32 row_count = 12; - - // Metadata for the report. - ResponseMetaData metadata = 6; - - // This Analytics Property's quota state including this request. - PropertyQuota property_quota = 7; -} - -// The request to generate a pivot report. -message RunPivotReportRequest { - // A property whose events are tracked. Within a batch request, this entity - // should either be unspecified or consistent with the batch-level entity. - Entity entity = 1; - - // The dimensions requested. All defined dimensions must be used by one of the - // following: dimension_expression, dimension_filter, pivots, order_bys. - repeated Dimension dimensions = 2; - - // The metrics requested, at least one metric needs to be specified. All - // defined metrics must be used by one of the following: metric_expression, - // metric_filter, order_bys. - repeated Metric metrics = 3; - - // The filter clause of dimensions. Dimensions must be requested to be used in - // this filter. Metrics cannot be used in this filter. - FilterExpression dimension_filter = 4; - - // The filter clause of metrics. Applied at post aggregation phase, similar to - // SQL having-clause. Metrics must be requested to be used in this filter. - // Dimensions cannot be used in this filter. - FilterExpression metric_filter = 5; - - // Describes the visual format of the report's dimensions in columns or rows. - // The union of the fieldNames (dimension names) in all pivots must be a - // subset of dimension names defined in Dimensions. No two pivots can share a - // dimension. A dimension is only visible if it appears in a pivot. - repeated Pivot pivots = 6; - - // The date range to retrieve event data for the report. If multiple date - // ranges are specified, event data from each date range is used in the - // report. A special dimension with field name "dateRange" can be included in - // a Pivot's field names; if included, the report compares between date - // ranges. In a cohort request, this `dateRanges` must be unspecified. - repeated DateRange date_ranges = 7; - - // A currency code in ISO4217 format, such as "AED", "USD", "JPY". - // If the field is empty, the report uses the entity's default currency. - string currency_code = 8; - - // Cohort group associated with this request. If there is a cohort group - // in the request the 'cohort' dimension must be present. - CohortSpec cohort_spec = 9; - - // If false or unspecified, each row with all metrics equal to 0 will not be - // returned. If true, these rows will be returned if they are not separately - // removed by a filter. - bool keep_empty_rows = 10; - - // Toggles whether to return the current state of this Analytics Property's - // quota. Quota is returned in [PropertyQuota](#PropertyQuota). - bool return_property_quota = 11; -} - -// The response pivot report table corresponding to a pivot request. -message RunPivotReportResponse { - // Summarizes the columns and rows created by a pivot. Each pivot in the - // request produces one header in the response. If we have a request like - // this: - // - // "pivots": [{ - // "fieldNames": ["country", - // "city"] - // }, - // { - // "fieldNames": "eventName" - // }] - // - // We will have the following `pivotHeaders` in the response: - // - // "pivotHeaders" : [{ - // "dimensionHeaders": [{ - // "dimensionValues": [ - // { "value": "United Kingdom" }, - // { "value": "London" } - // ] - // }, - // { - // "dimensionValues": [ - // { "value": "Japan" }, - // { "value": "Osaka" } - // ] - // }] - // }, - // { - // "dimensionHeaders": [{ - // "dimensionValues": [{ "value": "session_start" }] - // }, - // { - // "dimensionValues": [{ "value": "scroll" }] - // }] - // }] - repeated PivotHeader pivot_headers = 1; - - // Describes dimension columns. The number of DimensionHeaders and ordering of - // DimensionHeaders matches the dimensions present in rows. - repeated DimensionHeader dimension_headers = 7; - - // Describes metric columns. The number of MetricHeaders and ordering of - // MetricHeaders matches the metrics present in rows. - repeated MetricHeader metric_headers = 2; - - // Rows of dimension value combinations and metric values in the report. - repeated Row rows = 3; - - // Aggregation of metric values. Can be totals, minimums, or maximums. The - // returned aggregations are controlled by the metric_aggregations in the - // pivot. The type of aggregation returned in each row is shown by the - // dimension_values which are set to "RESERVED_". - repeated Row aggregates = 4; - - // Metadata for the report. - ResponseMetaData metadata = 5; - - // This Analytics Property's quota state including this request. - PropertyQuota property_quota = 6; -} - -// The batch request containing multiple report requests. -message BatchRunReportsRequest { - // A property whose events are tracked. This entity must be specified for the - // batch. The entity within RunReportRequest may either be unspecified or - // consistent with this entity. - Entity entity = 1; - - // Individual requests. Each request has a separate report response. Each - // batch request is allowed up to 5 requests. - repeated RunReportRequest requests = 2; -} - -// The batch response containing multiple reports. -message BatchRunReportsResponse { - // Individual responses. Each response has a separate report request. - repeated RunReportResponse reports = 1; -} - -// The batch request containing multiple pivot report requests. -message BatchRunPivotReportsRequest { - // A property whose events are tracked. This entity must be specified for the - // batch. The entity within RunPivotReportRequest may either be unspecified or - // consistent with this entity. - Entity entity = 1; - - // Individual requests. Each request has a separate pivot report response. - // Each batch request is allowed up to 5 requests. - repeated RunPivotReportRequest requests = 2; -} - -// The batch response containing multiple pivot reports. -message BatchRunPivotReportsResponse { - // Individual responses. Each response has a separate pivot report request. - repeated RunPivotReportResponse pivot_reports = 1; -} - -// Request for a property's dimension and metric metadata. -message GetMetadataRequest { - // Required. The resource name of the metadata to retrieve. This name field is - // specified in the URL path and not URL parameters. Property is a numeric - // Google Analytics GA4 Property identifier. To learn more, see [where to find - // your Property - // ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). - // - // Example: properties/1234/metadata - // - // Set the Property ID to 0 for dimensions and metrics common to all - // properties. In this special mode, this method will not return custom - // dimensions and metrics. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "analyticsdata.googleapis.com/Metadata" - } - ]; -} - -// The request to generate a realtime report. -message RunRealtimeReportRequest { - // A Google Analytics GA4 property identifier whose events are tracked. - // Specified in the URL path and not the body. To learn more, see [where to - // find your Property - // ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). - // - // Example: properties/1234 - string property = 1; - - // The dimensions requested and displayed. - repeated Dimension dimensions = 2; - - // The metrics requested and displayed. - repeated Metric metrics = 3; - - // The number of rows to return. If unspecified, 10 rows are returned. If - // -1, all rows are returned. - int64 limit = 4; - - // The filter clause of dimensions. Dimensions must be requested to be used in - // this filter. Metrics cannot be used in this filter. - FilterExpression dimension_filter = 5; - - // The filter clause of metrics. Applied at post aggregation phase, similar to - // SQL having-clause. Metrics must be requested to be used in this filter. - // Dimensions cannot be used in this filter. - FilterExpression metric_filter = 6; - - // Aggregation of metrics. Aggregated metric values will be shown in rows - // where the dimension_values are set to "RESERVED_(MetricAggregation)". - repeated MetricAggregation metric_aggregations = 7; - - // Specifies how rows are ordered in the response. - repeated OrderBy order_bys = 8; - - // Toggles whether to return the current state of this Analytics Property's - // Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota). - bool return_property_quota = 9; -} - -// The response realtime report table corresponding to a request. -message RunRealtimeReportResponse { - // Describes dimension columns. The number of DimensionHeaders and ordering of - // DimensionHeaders matches the dimensions present in rows. - repeated DimensionHeader dimension_headers = 1; - - // Describes metric columns. The number of MetricHeaders and ordering of - // MetricHeaders matches the metrics present in rows. - repeated MetricHeader metric_headers = 2; - - // Rows of dimension value combinations and metric values in the report. - repeated Row rows = 3; - - // If requested, the totaled values of metrics. - repeated Row totals = 4; - - // If requested, the maximum values of metrics. - repeated Row maximums = 5; - - // If requested, the minimum values of metrics. - repeated Row minimums = 6; - - // The total number of rows in the query result, regardless of the number of - // rows returned in the response. For example if a query returns 175 rows and - // includes limit = 50 in the API request, the response will contain row_count - // = 175 but only 50 rows. - int32 row_count = 7; - - // This Analytics Property's Realtime quota state including this request. - PropertyQuota property_quota = 8; -} diff --git a/proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/data.proto b/proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/data.proto deleted file mode 100644 index aafd1768..00000000 --- a/proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/data.proto +++ /dev/null @@ -1,793 +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 -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.analytics.data.v1alpha; - -option go_package = "google.golang.org/genproto/googleapis/analytics/data/v1alpha;data"; -option java_multiple_files = true; -option java_outer_classname = "ReportingApiProto"; -option java_package = "com.google.analytics.data.v1alpha"; - -// A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests -// are allowed up to 4 date ranges. -message DateRange { - // The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - // be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also - // accepted, and in that case, the date is inferred based on the property's - // reporting time zone. - string start_date = 1; - - // The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - // be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is - // also accepted, and in that case, the date is inferred based on the - // property's reporting time zone. - string end_date = 2; - - // Assigns a name to this date range. The dimension `dateRange` is valued to - // this name in a report response. If set, cannot begin with `date_range_` or - // `RESERVED_`. If not set, date ranges are named by their zero based index in - // the request: `date_range_0`, `date_range_1`, etc. - string name = 3; -} - -// The unique identifier of the property whose events are tracked. -message Entity { - // A Google Analytics GA4 property id. To learn more, see [where to find your - // Property - // ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). - string property_id = 1; -} - -// Dimensions are attributes of your data. For example, the dimension city -// indicates the city from which an event originates. Dimension values in report -// responses are strings; for example, city could be "Paris" or "New York". -// Requests are allowed up to 8 dimensions. -message Dimension { - // The name of the dimension. See the [API - // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - // for the list of dimension names. - // - // If `dimensionExpression` is specified, `name` can be any string that you - // would like. For example if a `dimensionExpression` concatenates `country` - // and `city`, you could call that dimension `countryAndCity`. - // - // Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, - // `dimensionExpression`, and `pivots`. - string name = 1; - - // One dimension can be the result of an expression of multiple dimensions. - // For example, dimension "country, city": concatenate(country, ", ", city). - DimensionExpression dimension_expression = 2; -} - -// Used to express a dimension which is the result of a formula of multiple -// dimensions. Example usages: -// 1) lower_case(dimension) -// 2) concatenate(dimension1, symbol, dimension2). -message DimensionExpression { - // Used to convert a dimension value to a single case. - message CaseExpression { - // Name of a dimension. The name must refer back to a name in dimensions - // field of the request. - string dimension_name = 1; - } - - // Used to combine dimension values to a single dimension. - message ConcatenateExpression { - // Names of dimensions. The names must refer back to names in the dimensions - // field of the request. - repeated string dimension_names = 1; - - // The delimiter placed between dimension names. - // - // Delimiters are often single characters such as "|" or "," but can be - // longer strings. If a dimension value contains the delimiter, both will be - // present in response with no distinction. For example if dimension 1 value - // = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the - // response will contain "US,FR,JP". - string delimiter = 2; - } - - // Specify one type of dimension expression for `DimensionExpression`. - oneof one_expression { - // Used to convert a dimension value to lower case. - CaseExpression lower_case = 4; - - // Used to convert a dimension value to upper case. - CaseExpression upper_case = 5; - - // Used to combine dimension values to a single dimension. - // For example, dimension "country, city": concatenate(country, ", ", city). - ConcatenateExpression concatenate = 6; - } -} - -// The quantitative measurements of a report. For example, the metric -// `eventCount` is the total number of events. Requests are allowed up to 10 -// metrics. -message Metric { - // The name of the metric. See the [API - // Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) - // for the list of metric names. - // - // If `expression` is specified, `name` can be any string that you would like. - // For example if `expression` is `screenPageViews/sessions`, you could call - // that metric's name = `viewsPerSession`. - // - // Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric - // `expression`. - string name = 1; - - // A mathematical expression for derived metrics. For example, the metric - // Event count per user is `eventCount/totalUsers`. - string expression = 2; - - // Indicates if a metric is invisible in the report response. If a metric is - // invisible, the metric will not produce a column in the response, but can be - // used in `metricFilter`, `orderBys`, or a metric `expression`. - bool invisible = 3; -} - -// To express dimension or metric filters. -// The fields in the same FilterExpression need to be either all dimensions or -// all metrics. -message FilterExpression { - // Specify one type of filter expression for `FilterExpression`. - oneof expr { - // The FilterExpressions in and_group have an AND relationship. - FilterExpressionList and_group = 1; - - // The FilterExpressions in or_group have an OR relationship. - FilterExpressionList or_group = 2; - - // The FilterExpression is NOT of not_expression. - FilterExpression not_expression = 3; - - // A primitive filter. - // All fields in filter in same FilterExpression needs to be either all - // dimensions or metrics. - Filter filter = 4; - } -} - -// A list of filter expressions. -message FilterExpressionList { - // A list of filter expressions. - repeated FilterExpression expressions = 1; -} - -// An expression to filter dimension or metric values. -message Filter { - // The filter for string - message StringFilter { - // The match type of a string filter - enum MatchType { - // Unspecified - MATCH_TYPE_UNSPECIFIED = 0; - - // Exact match of the string value. - EXACT = 1; - - // Begins with the string value. - BEGINS_WITH = 2; - - // Ends with the string value. - ENDS_WITH = 3; - - // Contains the string value. - CONTAINS = 4; - - // Full regular expression match with the string value. - FULL_REGEXP = 5; - - // Partial regular expression match with the string value. - PARTIAL_REGEXP = 6; - } - - // The match type for this filter. - MatchType match_type = 1; - - // The string value used for the matching. - string value = 2; - - // If true, the string value is case sensitive. - bool case_sensitive = 3; - } - - // The result needs to be in a list of string values. - message InListFilter { - // The list of string values. - // Must be non-empty. - repeated string values = 1; - - // If true, the string value is case sensitive. - bool case_sensitive = 2; - } - - // Filters for numeric or date values. - message NumericFilter { - // The operation applied to a numeric filter - enum Operation { - // Unspecified. - OPERATION_UNSPECIFIED = 0; - - // Equal - EQUAL = 1; - - // Less than - LESS_THAN = 2; - - // Less than or equal - LESS_THAN_OR_EQUAL = 3; - - // Greater than - GREATER_THAN = 4; - - // Greater than or equal - GREATER_THAN_OR_EQUAL = 5; - } - - // The operation type for this filter. - Operation operation = 1; - - // A numeric value or a date value. - NumericValue value = 2; - } - - // To express that the result needs to be between two numbers (inclusive). - message BetweenFilter { - // Begins with this number. - NumericValue from_value = 1; - - // Ends with this number. - NumericValue to_value = 2; - } - - // The dimension name or metric name. Must be a name defined in dimensions - // or metrics. - string field_name = 1; - - // Specify one type of filter for `Filter`. - oneof one_filter { - // A filter for null values. If True, a null dimension value is matched by - // this filter. Null filter is commonly used inside a NOT filter - // expression. For example, a NOT expression of a null filter removes rows - // when a dimension is null. - bool null_filter = 2; - - // Strings related filter. - StringFilter string_filter = 3; - - // A filter for in list values. - InListFilter in_list_filter = 4; - - // A filter for numeric or date values. - NumericFilter numeric_filter = 5; - - // A filter for two values. - BetweenFilter between_filter = 6; - } -} - -// The sort options. -message OrderBy { - // Sorts by metric values. - message MetricOrderBy { - // A metric name in the request to order by. - string metric_name = 1; - } - - // Sorts by dimension values. - message DimensionOrderBy { - // Rule to order the string dimension values by. - enum OrderType { - // Unspecified. - ORDER_TYPE_UNSPECIFIED = 0; - - // Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < - // "b" < "z". - ALPHANUMERIC = 1; - - // Case insensitive alphanumeric sort by lower case Unicode code point. - // For example, "2" < "A" < "b" < "X" < "z". - CASE_INSENSITIVE_ALPHANUMERIC = 2; - - // Dimension values are converted to numbers before sorting. For example - // in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < - // "25". Non-numeric dimension values all have equal ordering value below - // all numeric values. - NUMERIC = 3; - } - - // A dimension name in the request to order by. - string dimension_name = 1; - - // Controls the rule for dimension value ordering. - OrderType order_type = 2; - } - - // Sorts by a pivot column group. - message PivotOrderBy { - // A pair of dimension names and values. Rows with this dimension pivot pair - // are ordered by the metric's value. - // - // For example if pivots = {{"browser", "Chrome"}} and - // metric_name = "Sessions", - // then the rows will be sorted based on Sessions in Chrome. - // - // ---------|----------|----------------|----------|---------------- - // | Chrome | Chrome | Safari | Safari - // ---------|----------|----------------|----------|---------------- - // Country | Sessions | Pages/Sessions | Sessions | Pages/Sessions - // ---------|----------|----------------|----------|---------------- - // US | 2 | 2 | 3 | 1 - // ---------|----------|----------------|----------|---------------- - // Canada | 3 | 1 | 4 | 1 - // ---------|----------|----------------|----------|---------------- - message PivotSelection { - // Must be a dimension name from the request. - string dimension_name = 1; - - // Order by only when the named dimension is this value. - string dimension_value = 2; - } - - // In the response to order by, order rows by this column. Must be a metric - // name from the request. - string metric_name = 1; - - // Used to select a dimension name and value pivot. If multiple pivot - // selections are given, the sort occurs on rows where all pivot selection - // dimension name and value pairs match the row's dimension name and value - // pair. - repeated PivotSelection pivot_selections = 2; - } - - // Specify one type of order by for `OrderBy`. - oneof one_order_by { - // Sorts results by a metric's values. - MetricOrderBy metric = 1; - - // Sorts results by a dimension's values. - DimensionOrderBy dimension = 2; - - // Sorts results by a metric's values within a pivot column group. - PivotOrderBy pivot = 3; - } - - // If true, sorts by descending order. - bool desc = 4; -} - -// Describes the visible dimension columns and rows in the report response. -message Pivot { - // Dimension names for visible columns in the report response. Including - // "dateRange" produces a date range column; for each row in the response, - // dimension values in the date range column will indicate the corresponding - // date range from the request. - repeated string field_names = 1; - - // Specifies how dimensions are ordered in the pivot. In the first Pivot, the - // OrderBys determine Row and PivotDimensionHeader ordering; in subsequent - // Pivots, the OrderBys determine only PivotDimensionHeader ordering. - // Dimensions specified in these OrderBys must be a subset of - // Pivot.field_names. - repeated OrderBy order_bys = 2; - - // The row count of the start row. The first row is counted as row 0. - int64 offset = 3; - - // The number of rows to return in this pivot. If unspecified, 10 rows are - // returned. If -1, all rows are returned. - int64 limit = 4; - - // Aggregate the metrics by dimensions in this pivot using the specified - // metric_aggregations. - repeated MetricAggregation metric_aggregations = 5; -} - -// Specification of cohorts for a cohort report. -// Cohort reports can be used for example to create a time series of user -// retention for the cohort. For example, you could select the cohort of users -// that were acquired in the first week of September and follow that cohort for -// the next six weeks. Selecting the users acquired in the first week of -// September cohort is specified in the `cohort` object. Following that -// cohort for the next six weeks is specified in the `cohortsRange` object. -// -// The report response could show a weekly time series where say your app has -// retained 60% of this cohort after three weeks and 25% of this cohort after -// six weeks. These two percentages can be calculated by the metric -// `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the report. -message CohortSpec { - // Defines the selection criteria to group users into cohorts. - // - // Most cohort reports define only a single cohort. If multiple cohorts are - // specified, each cohort can be recognized in the report by their name. - repeated Cohort cohorts = 1; - - // Cohort reports follow cohorts over an extended reporting date range. This - // range specifies an offset duration to follow the cohorts over. - CohortsRange cohorts_range = 2; - - // Optional settings for a cohort report. - CohortReportSettings cohort_report_settings = 3; -} - -// Defines a cohort selection criteria. A cohort is a group of users who share -// a common characteristic. For example, users with the same `firstTouchDate` -// belong to the same cohort. -message Cohort { - // Assigns a name to this cohort. The dimension `cohort` is valued to this - // name in a report response. If set, cannot begin with `cohort_` or - // `RESERVED_`. If not set, cohorts are named by their zero based index - // `cohort_0`, `cohort_1`, etc. - string name = 1; - - // Dimension used by the cohort. Required and only supports `firstTouchDate`. - string dimension = 2; - - // The cohort selects users whose first touch date is between start date and - // end date defined in the `dateRange`. This `dateRange` does not specify the - // full date range of event data that is present in a cohort report. In a - // cohort report, this `dateRange` is extended by the granularity and offset - // present in the `cohortsRange`; event data for the extended reporting date - // range is present in a cohort report. - // - // In a cohort request, this `dateRange` is required and the `dateRanges` in - // the `RunReportRequest` or `RunPivotReportRequest` must be unspecified. - // - // This `dateRange` should generally be aligned with the cohort's granularity. - // If `CohortsRange` uses daily granularity, this `dateRange` can be a single - // day. If `CohortsRange` uses weekly granularity, this `dateRange` can be - // aligned to a week boundary, starting at Sunday and ending Saturday. If - // `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to - // a month, starting at the first and ending on the last day of the month. - DateRange date_range = 3; -} - -// Configures the extended reporting date range for a cohort report. Specifies -// an offset duration to follow the cohorts over. -message CohortsRange { - // The granularity used to interpret the `startOffset` and `endOffset` for the - // extended reporting date range for a cohort report. - enum Granularity { - // Should never be specified. - GRANULARITY_UNSPECIFIED = 0; - - // Daily granularity. Commonly used if the cohort's `dateRange` is a single - // day and the request contains `cohortNthDay`. - DAILY = 1; - - // Weekly granularity. Commonly used if the cohort's `dateRange` is a week - // in duration (starting on Sunday and ending on Saturday) and the request - // contains `cohortNthWeek`. - WEEKLY = 2; - - // Monthly granularity. Commonly used if the cohort's `dateRange` is a month - // in duration and the request contains `cohortNthMonth`. - MONTHLY = 3; - } - - // The granularity used to interpret the `startOffset` and `endOffset` for the - // extended reporting date range for a cohort report. - Granularity granularity = 1; - - // `startOffset` specifies the start date of the extended reporting date range - // for a cohort report. `startOffset` is commonly set to 0 so that reports - // contain data from the acquisition of the cohort forward. - // - // If `granularity` is `DAILY`, the `startDate` of the extended reporting date - // range is `startDate` of the cohort plus `startOffset` days. - // - // If `granularity` is `WEEKLY`, the `startDate` of the extended reporting - // date range is `startDate` of the cohort plus `startOffset * 7` days. - // - // If `granularity` is `MONTHLY`, the `startDate` of the extended reporting - // date range is `startDate` of the cohort plus `startOffset * 30` days. - int32 start_offset = 2; - - // `endOffset` specifies the end date of the extended reporting date range - // for a cohort report. `endOffset` can be any positive integer but is - // commonly set to 5 to 10 so that reports contain data on the cohort for the - // next several granularity time periods. - // - // If `granularity` is `DAILY`, the `endDate` of the extended reporting date - // range is `endDate` of the cohort plus `endOffset` days. - // - // If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date - // range is `endDate` of the cohort plus `endOffset * 7` days. - // - // If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date - // range is `endDate` of the cohort plus `endOffset * 30` days. - int32 end_offset = 3; -} - -// Optional settings of a cohort report. -message CohortReportSettings { - // If true, accumulates the result from first touch day to the end day. Not - // supported in `RunReportRequest`. - bool accumulate = 1; -} - -// Response's metadata carrying additional information about the report content. -message ResponseMetaData { - // If true, indicates some buckets of dimension combinations are rolled into - // "(other)" row. This can happen for high cardinality reports. - bool data_loss_from_other_row = 3; -} - -// Describes a dimension column in the report. Dimensions requested in a report -// produce column entries within rows and DimensionHeaders. However, dimensions -// used exclusively within filters or expressions do not produce columns in a -// report; correspondingly, those dimensions do not produce headers. -message DimensionHeader { - // The dimension's name. - string name = 1; -} - -// Describes a metric column in the report. Visible metrics requested in a -// report produce column entries within rows and MetricHeaders. However, -// metrics used exclusively within filters or expressions do not produce columns -// in a report; correspondingly, those metrics do not produce headers. -message MetricHeader { - // The metric's name. - string name = 1; - - // The metric's data type. - MetricType type = 2; -} - -// Dimensions' values in a single pivot. -message PivotHeader { - // The size is the same as the cardinality of the corresponding dimension - // combinations. - repeated PivotDimensionHeader pivot_dimension_headers = 1; - - // The cardinality of the pivot as if offset = 0 and limit = -1. The total - // number of rows for this pivot's fields regardless of how the parameters - // offset and limit are specified in the request. - int32 row_count = 2; -} - -// Summarizes dimension values from a row for this pivot. -message PivotDimensionHeader { - // Values of multiple dimensions in a pivot. - repeated DimensionValue dimension_values = 1; -} - -// Report data for each row. -// For example if RunReportRequest contains: -// -// ```none -// "dimensions": [ -// { -// "name": "eventName" -// }, -// { -// "name": "countryId" -// } -// ], -// "metrics": [ -// { -// "name": "eventCount" -// } -// ] -// ``` -// -// One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and -// 15 as the eventCount, would be: -// -// ```none -// "dimensionValues": [ -// { -// "value": "in_app_purchase" -// }, -// { -// "value": "JP" -// } -// ], -// "metricValues": [ -// { -// "value": "15" -// } -// ] -// ``` -message Row { - // List of requested dimension values. In a PivotReport, dimension_values - // are only listed for dimensions included in a pivot. - repeated DimensionValue dimension_values = 1; - - // List of requested visible metric values. - repeated MetricValue metric_values = 2; -} - -// The value of a dimension. -message DimensionValue { - // One kind of dimension value - oneof one_value { - // Value as a string if the dimension type is a string. - string value = 1; - } -} - -// The value of a metric. -message MetricValue { - // One of metric value - oneof one_value { - // Measurement value. See MetricHeader for type. - string value = 4; - } -} - -// To represent a number. -message NumericValue { - // One of a numeric value - oneof one_value { - // Integer value - int64 int64_value = 1; - - // Double value - double double_value = 2; - } -} - -// Current state of all quotas for this Analytics Property. If any quota for a -// property is exhausted, all requests to that property will return Resource -// Exhausted errors. -message PropertyQuota { - // Standard Analytics Properties can use up to 25,000 tokens per day; - // Analytics 360 Properties can use 250,000 tokens per day. Most requests - // consume fewer than 10 tokens. - QuotaStatus tokens_per_day = 1; - - // Standard Analytics Properties can use up to 5,000 tokens per day; Analytics - // 360 Properties can use 50,000 tokens per day. An API request consumes a - // single number of tokens, and that number is deducted from both the hourly - // and daily quotas. - QuotaStatus tokens_per_hour = 2; - - // Standard Analytics Properties can send up to 10 concurrent requests; - // Analytics 360 Properties can use up to 50 concurrent requests. - QuotaStatus concurrent_requests = 3; - - // Standard Analytics Properties and cloud project pairs can have up to 10 - // server errors per hour; Analytics 360 Properties and cloud project pairs - // can have up to 50 server errors per hour. - QuotaStatus server_errors_per_project_per_hour = 4; -} - -// Current state for a particular quota group. -message QuotaStatus { - // Quota consumed by this request. - int32 consumed = 1; - - // Quota remaining after this request. - int32 remaining = 2; -} - -// Explains a dimension. -message DimensionMetadata { - // This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For - // example, `eventName`. - string api_name = 1; - - // This dimension's name within the Google Analytics user interface. For - // example, `Event name`. - string ui_name = 2; - - // Description of how this dimension is used and calculated. - string description = 3; - - // Still usable but deprecated names for this dimension. If populated, this - // dimension is available by either `apiName` or one of `deprecatedApiNames` - // for a period of time. After the deprecation period, the dimension will be - // available only by `apiName`. - repeated string deprecated_api_names = 4; - - // True if the dimension is a custom dimension for this property. - bool custom_definition = 5; -} - -// Explains a metric. -message MetricMetadata { - // A metric name. Useable in [Metric](#Metric)'s `name`. For example, - // `eventCount`. - string api_name = 1; - - // This metric's name within the Google Analytics user interface. For example, - // `Event count`. - string ui_name = 2; - - // Description of how this metric is used and calculated. - string description = 3; - - // Still usable but deprecated names for this metric. If populated, this - // metric is available by either `apiName` or one of `deprecatedApiNames` - // for a period of time. After the deprecation period, the metric will be - // available only by `apiName`. - repeated string deprecated_api_names = 4; - - // The type of this metric. - MetricType type = 5; - - // The mathematical expression for this derived metric. Can be used in - // [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics - // are not expressions, and for non-expressions, this field is empty. - string expression = 6; - - // True if the metric is a custom metric for this property. - bool custom_definition = 7; -} - -// Represents aggregation of metrics. -enum MetricAggregation { - // Unspecified operator. - METRIC_AGGREGATION_UNSPECIFIED = 0; - - // SUM operator. - TOTAL = 1; - - // Minimum operator. - MINIMUM = 5; - - // Maximum operator. - MAXIMUM = 6; - - // Count operator. - COUNT = 4; -} - -// A metric's value type. -enum MetricType { - // Unspecified type. - METRIC_TYPE_UNSPECIFIED = 0; - - // Integer type. - TYPE_INTEGER = 1; - - // Floating point type. - TYPE_FLOAT = 2; - - // A duration of seconds; a special floating point type. - TYPE_SECONDS = 4; - - // A duration in milliseconds; a special floating point type. - TYPE_MILLISECONDS = 5; - - // A duration in minutes; a special floating point type. - TYPE_MINUTES = 6; - - // A duration in hours; a special floating point type. - TYPE_HOURS = 7; - - // A custom metric of standard type; a special floating point type. - TYPE_STANDARD = 8; - - // An amount of money; a special floating point type. - TYPE_CURRENCY = 9; - - // A length in feet; a special floating point type. - TYPE_FEET = 10; - - // A length in miles; a special floating point type. - TYPE_MILES = 11; - - // A length in meters; a special floating point type. - TYPE_METERS = 12; - - // A length in kilometers; a special floating point type. - TYPE_KILOMETERS = 13; -} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java deleted file mode 100644 index a8d5c5f3..00000000 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java +++ /dev/null @@ -1,412 +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/analytics/data/v1beta/analytics_data_api.proto - -package com.google.analytics.data.v1beta; - -public final class AnalyticsDataApiProto { - private AnalyticsDataApiProto() {} - - 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_analytics_data_v1beta_Metadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n5google/analytics/data/v1beta/analytics" - + "_data_api.proto\022\034google.analytics.data.v" - + "1beta\032\'google/analytics/data/v1beta/data" - + ".proto\032\034google/api/annotations.proto\032\027go" - + "ogle/api/client.proto\032\037google/api/field_" - + "behavior.proto\032\031google/api/resource.prot" - + "o\"\350\001\n\010Metadata\022\014\n\004name\030\003 \001(\t\022C\n\ndimensio" - + "ns\030\001 \003(\0132/.google.analytics.data.v1beta." - + "DimensionMetadata\022=\n\007metrics\030\002 \003(\0132,.goo" - + "gle.analytics.data.v1beta.MetricMetadata" - + ":J\352AG\n%analyticsdata.googleapis.com/Meta" - + "data\022\036properties/{property}/metadata\"\234\005\n" - + "\020RunReportRequest\022\020\n\010property\030\001 \001(\t\022;\n\nd" - + "imensions\030\002 \003(\0132\'.google.analytics.data." - + "v1beta.Dimension\0225\n\007metrics\030\003 \003(\0132$.goog" - + "le.analytics.data.v1beta.Metric\022<\n\013date_" - + "ranges\030\004 \003(\0132\'.google.analytics.data.v1b" - + "eta.DateRange\022H\n\020dimension_filter\030\005 \001(\0132" - + "..google.analytics.data.v1beta.FilterExp" - + "ression\022E\n\rmetric_filter\030\006 \001(\0132..google." - + "analytics.data.v1beta.FilterExpression\022\016" - + "\n\006offset\030\007 \001(\003\022\r\n\005limit\030\010 \001(\003\022L\n\023metric_" - + "aggregations\030\t \003(\0162/.google.analytics.da" - + "ta.v1beta.MetricAggregation\0228\n\torder_bys" - + "\030\n \003(\0132%.google.analytics.data.v1beta.Or" - + "derBy\022\025\n\rcurrency_code\030\013 \001(\t\022=\n\013cohort_s" - + "pec\030\014 \001(\0132(.google.analytics.data.v1beta" - + ".CohortSpec\022\027\n\017keep_empty_rows\030\r \001(\010\022\035\n\025" - + "return_property_quota\030\016 \001(\010\"\227\004\n\021RunRepor" - + "tResponse\022H\n\021dimension_headers\030\001 \003(\0132-.g" - + "oogle.analytics.data.v1beta.DimensionHea" - + "der\022B\n\016metric_headers\030\002 \003(\0132*.google.ana" - + "lytics.data.v1beta.MetricHeader\022/\n\004rows\030" - + "\003 \003(\0132!.google.analytics.data.v1beta.Row" - + "\0221\n\006totals\030\004 \003(\0132!.google.analytics.data" - + ".v1beta.Row\0223\n\010maximums\030\005 \003(\0132!.google.a" - + "nalytics.data.v1beta.Row\0223\n\010minimums\030\006 \003" - + "(\0132!.google.analytics.data.v1beta.Row\022\021\n" - + "\trow_count\030\007 \001(\005\022@\n\010metadata\030\010 \001(\0132..goo" - + "gle.analytics.data.v1beta.ResponseMetaDa" - + "ta\022C\n\016property_quota\030\t \001(\0132+.google.anal" - + "ytics.data.v1beta.PropertyQuota\022\014\n\004kind\030" - + "\n \001(\t\"\257\004\n\025RunPivotReportRequest\022\020\n\010prope" - + "rty\030\001 \001(\t\022;\n\ndimensions\030\002 \003(\0132\'.google.a" - + "nalytics.data.v1beta.Dimension\0225\n\007metric" - + "s\030\003 \003(\0132$.google.analytics.data.v1beta.M" - + "etric\022<\n\013date_ranges\030\004 \003(\0132\'.google.anal" - + "ytics.data.v1beta.DateRange\0223\n\006pivots\030\005 " - + "\003(\0132#.google.analytics.data.v1beta.Pivot" - + "\022H\n\020dimension_filter\030\006 \001(\0132..google.anal" - + "ytics.data.v1beta.FilterExpression\022E\n\rme" - + "tric_filter\030\007 \001(\0132..google.analytics.dat" - + "a.v1beta.FilterExpression\022\025\n\rcurrency_co" - + "de\030\010 \001(\t\022=\n\013cohort_spec\030\t \001(\0132(.google.a" - + "nalytics.data.v1beta.CohortSpec\022\027\n\017keep_" - + "empty_rows\030\n \001(\010\022\035\n\025return_property_quot" - + "a\030\013 \001(\010\"\345\003\n\026RunPivotReportResponse\022@\n\rpi" - + "vot_headers\030\001 \003(\0132).google.analytics.dat" - + "a.v1beta.PivotHeader\022H\n\021dimension_header" - + "s\030\002 \003(\0132-.google.analytics.data.v1beta.D" - + "imensionHeader\022B\n\016metric_headers\030\003 \003(\0132*" - + ".google.analytics.data.v1beta.MetricHead" - + "er\022/\n\004rows\030\004 \003(\0132!.google.analytics.data" - + ".v1beta.Row\0225\n\naggregates\030\005 \003(\0132!.google" - + ".analytics.data.v1beta.Row\022@\n\010metadata\030\006" - + " \001(\0132..google.analytics.data.v1beta.Resp" - + "onseMetaData\022C\n\016property_quota\030\007 \001(\0132+.g" - + "oogle.analytics.data.v1beta.PropertyQuot" - + "a\022\014\n\004kind\030\010 \001(\t\"l\n\026BatchRunReportsReques" - + "t\022\020\n\010property\030\001 \001(\t\022@\n\010requests\030\002 \003(\0132.." - + "google.analytics.data.v1beta.RunReportRe" - + "quest\"i\n\027BatchRunReportsResponse\022@\n\007repo" - + "rts\030\001 \003(\0132/.google.analytics.data.v1beta" - + ".RunReportResponse\022\014\n\004kind\030\002 \001(\t\"v\n\033Batc" - + "hRunPivotReportsRequest\022\020\n\010property\030\001 \001(" - + "\t\022E\n\010requests\030\002 \003(\01323.google.analytics.d" - + "ata.v1beta.RunPivotReportRequest\"y\n\034Batc" - + "hRunPivotReportsResponse\022K\n\rpivot_report" - + "s\030\001 \003(\01324.google.analytics.data.v1beta.R" - + "unPivotReportResponse\022\014\n\004kind\030\002 \001(\t\"Q\n\022G" - + "etMetadataRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n" - + "%analyticsdata.googleapis.com/Metadata\"\251" - + "\004\n\030RunRealtimeReportRequest\022\020\n\010property\030" - + "\001 \001(\t\022;\n\ndimensions\030\002 \003(\0132\'.google.analy" - + "tics.data.v1beta.Dimension\0225\n\007metrics\030\003 " - + "\003(\0132$.google.analytics.data.v1beta.Metri" - + "c\022H\n\020dimension_filter\030\004 \001(\0132..google.ana" - + "lytics.data.v1beta.FilterExpression\022E\n\rm" - + "etric_filter\030\005 \001(\0132..google.analytics.da" - + "ta.v1beta.FilterExpression\022\r\n\005limit\030\006 \001(" - + "\003\022L\n\023metric_aggregations\030\007 \003(\0162/.google." - + "analytics.data.v1beta.MetricAggregation\022" - + "8\n\torder_bys\030\010 \003(\0132%.google.analytics.da" - + "ta.v1beta.OrderBy\022\035\n\025return_property_quo" - + "ta\030\t \001(\010\022@\n\rminute_ranges\030\n \003(\0132).google" - + ".analytics.data.v1beta.MinuteRange\"\335\003\n\031R" - + "unRealtimeReportResponse\022H\n\021dimension_he" - + "aders\030\001 \003(\0132-.google.analytics.data.v1be" - + "ta.DimensionHeader\022B\n\016metric_headers\030\002 \003" - + "(\0132*.google.analytics.data.v1beta.Metric" - + "Header\022/\n\004rows\030\003 \003(\0132!.google.analytics." - + "data.v1beta.Row\0221\n\006totals\030\004 \003(\0132!.google" - + ".analytics.data.v1beta.Row\0223\n\010maximums\030\005" - + " \003(\0132!.google.analytics.data.v1beta.Row\022" - + "3\n\010minimums\030\006 \003(\0132!.google.analytics.dat" - + "a.v1beta.Row\022\021\n\trow_count\030\007 \001(\005\022C\n\016prope" - + "rty_quota\030\010 \001(\0132+.google.analytics.data." - + "v1beta.PropertyQuota\022\014\n\004kind\030\t \001(\t2\343\t\n\021B" - + "etaAnalyticsData\022\242\001\n\tRunReport\022..google." - + "analytics.data.v1beta.RunReportRequest\032/" - + ".google.analytics.data.v1beta.RunReportR" - + "esponse\"4\202\323\344\223\002.\")/v1beta/{property=prope" - + "rties/*}:runReport:\001*\022\266\001\n\016RunPivotReport" - + "\0223.google.analytics.data.v1beta.RunPivot" - + "ReportRequest\0324.google.analytics.data.v1" - + "beta.RunPivotReportResponse\"9\202\323\344\223\0023\"./v1" - + "beta/{property=properties/*}:runPivotRep" - + "ort:\001*\022\272\001\n\017BatchRunReports\0224.google.anal" - + "ytics.data.v1beta.BatchRunReportsRequest" - + "\0325.google.analytics.data.v1beta.BatchRun" - + "ReportsResponse\":\202\323\344\223\0024\"//v1beta/{proper" - + "ty=properties/*}:batchRunReports:\001*\022\316\001\n\024" - + "BatchRunPivotReports\0229.google.analytics." - + "data.v1beta.BatchRunPivotReportsRequest\032" - + ":.google.analytics.data.v1beta.BatchRunP" - + "ivotReportsResponse\"?\202\323\344\223\0029\"4/v1beta/{pr" - + "operty=properties/*}:batchRunPivotReport" - + "s:\001*\022\234\001\n\013GetMetadata\0220.google.analytics." - + "data.v1beta.GetMetadataRequest\032&.google." - + "analytics.data.v1beta.Metadata\"3\202\323\344\223\002&\022$" - + "/v1beta/{name=properties/*/metadata}\332A\004n" - + "ame\022\302\001\n\021RunRealtimeReport\0226.google.analy" - + "tics.data.v1beta.RunRealtimeReportReques" - + "t\0327.google.analytics.data.v1beta.RunReal" - + "timeReportResponse\"<\202\323\344\223\0026\"1/v1beta/{pro" - + "perty=properties/*}:runRealtimeReport:\001*" - + "\032~\312A\034analyticsdata.googleapis.com\322A\\http" - + "s://www.googleapis.com/auth/analytics,ht" - + "tps://www.googleapis.com/auth/analytics." - + "readonlyB}\n com.google.analytics.data.v1" - + "betaB\025AnalyticsDataApiProtoP\001Z@google.go" - + "lang.org/genproto/googleapis/analytics/d" - + "ata/v1beta;datab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.data.v1beta.ReportingApiProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_analytics_data_v1beta_Metadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Metadata_descriptor, - new java.lang.String[] { - "Name", "Dimensions", "Metrics", - }); - internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor, - new java.lang.String[] { - "Property", - "Dimensions", - "Metrics", - "DateRanges", - "DimensionFilter", - "MetricFilter", - "Offset", - "Limit", - "MetricAggregations", - "OrderBys", - "CurrencyCode", - "CohortSpec", - "KeepEmptyRows", - "ReturnPropertyQuota", - }); - internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor, - new java.lang.String[] { - "DimensionHeaders", - "MetricHeaders", - "Rows", - "Totals", - "Maximums", - "Minimums", - "RowCount", - "Metadata", - "PropertyQuota", - "Kind", - }); - internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor, - new java.lang.String[] { - "Property", - "Dimensions", - "Metrics", - "DateRanges", - "Pivots", - "DimensionFilter", - "MetricFilter", - "CurrencyCode", - "CohortSpec", - "KeepEmptyRows", - "ReturnPropertyQuota", - }); - internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor, - new java.lang.String[] { - "PivotHeaders", - "DimensionHeaders", - "MetricHeaders", - "Rows", - "Aggregates", - "Metadata", - "PropertyQuota", - "Kind", - }); - internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor, - new java.lang.String[] { - "Property", "Requests", - }); - internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor, - new java.lang.String[] { - "Reports", "Kind", - }); - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor, - new java.lang.String[] { - "Property", "Requests", - }); - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor, - new java.lang.String[] { - "PivotReports", "Kind", - }); - internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor, - new java.lang.String[] { - "Property", - "Dimensions", - "Metrics", - "DimensionFilter", - "MetricFilter", - "Limit", - "MetricAggregations", - "OrderBys", - "ReturnPropertyQuota", - "MinuteRanges", - }); - internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor, - new java.lang.String[] { - "DimensionHeaders", - "MetricHeaders", - "Rows", - "Totals", - "Maximums", - "Minimums", - "RowCount", - "PropertyQuota", - "Kind", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.analytics.data.v1beta.ReportingApiProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java deleted file mode 100644 index fb5b56a0..00000000 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java +++ /dev/null @@ -1,39 +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/analytics/data/v1beta/data.proto - -package com.google.analytics.data.v1beta; - -public interface CohortReportSettingsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CohortReportSettings) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * If true, accumulates the result from first touch day to the end day. Not
-   * supported in `RunReportRequest`.
-   * 
- * - * bool accumulate = 1; - * - * @return The accumulate. - */ - boolean getAccumulate(); -} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java deleted file mode 100644 index 75b20154..00000000 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java +++ /dev/null @@ -1,50 +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/analytics/data/v1beta/data.proto - -package com.google.analytics.data.v1beta; - -public interface DimensionHeaderOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionHeader) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The dimension's name.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The dimension's name.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java deleted file mode 100644 index e507a751..00000000 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.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/analytics/data/v1beta/data.proto - -package com.google.analytics.data.v1beta; - -public interface QuotaStatusOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.QuotaStatus) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Quota consumed by this request.
-   * 
- * - * int32 consumed = 1; - * - * @return The consumed. - */ - int getConsumed(); - - /** - * - * - *
-   * Quota remaining after this request.
-   * 
- * - * int32 remaining = 2; - * - * @return The remaining. - */ - int getRemaining(); -} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java deleted file mode 100644 index 633ef547..00000000 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java +++ /dev/null @@ -1,659 +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/analytics/data/v1beta/data.proto - -package com.google.analytics.data.v1beta; - -public final class ReportingApiProto { - private ReportingApiProto() {} - - 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_analytics_data_v1beta_DateRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_MinuteRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Dimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Metric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_FilterExpression_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Filter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_OrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Pivot_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_CohortSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Cohort_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_CohortsRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_MetricHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Row_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_MetricValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_NumericValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_MetricMetadata_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/analytics/data/v1beta/data.prot" - + "o\022\034google.analytics.data.v1beta\"?\n\tDateR" - + "ange\022\022\n\nstart_date\030\001 \001(\t\022\020\n\010end_date\030\002 \001" - + "(\t\022\014\n\004name\030\003 \001(\t\"\203\001\n\013MinuteRange\022\036\n\021star" - + "t_minutes_ago\030\001 \001(\005H\000\210\001\001\022\034\n\017end_minutes_" - + "ago\030\002 \001(\005H\001\210\001\001\022\014\n\004name\030\003 \001(\tB\024\n\022_start_m" - + "inutes_agoB\022\n\020_end_minutes_ago\"j\n\tDimens" - + "ion\022\014\n\004name\030\001 \001(\t\022O\n\024dimension_expressio" - + "n\030\002 \001(\01321.google.analytics.data.v1beta.D" - + "imensionExpression\"\246\003\n\023DimensionExpressi" - + "on\022V\n\nlower_case\030\004 \001(\0132@.google.analytic" - + "s.data.v1beta.DimensionExpression.CaseEx" - + "pressionH\000\022V\n\nupper_case\030\005 \001(\0132@.google." - + "analytics.data.v1beta.DimensionExpressio" - + "n.CaseExpressionH\000\022^\n\013concatenate\030\006 \001(\0132" - + "G.google.analytics.data.v1beta.Dimension" - + "Expression.ConcatenateExpressionH\000\032(\n\016Ca" - + "seExpression\022\026\n\016dimension_name\030\001 \001(\t\032C\n\025" - + "ConcatenateExpression\022\027\n\017dimension_names" - + "\030\001 \003(\t\022\021\n\tdelimiter\030\002 \001(\tB\020\n\016one_express" - + "ion\"=\n\006Metric\022\014\n\004name\030\001 \001(\t\022\022\n\nexpressio" - + "n\030\002 \001(\t\022\021\n\tinvisible\030\003 \001(\010\"\255\002\n\020FilterExp" - + "ression\022G\n\tand_group\030\001 \001(\01322.google.anal" - + "ytics.data.v1beta.FilterExpressionListH\000" - + "\022F\n\010or_group\030\002 \001(\01322.google.analytics.da" - + "ta.v1beta.FilterExpressionListH\000\022H\n\016not_" - + "expression\030\003 \001(\0132..google.analytics.data" - + ".v1beta.FilterExpressionH\000\0226\n\006filter\030\004 \001" - + "(\0132$.google.analytics.data.v1beta.Filter" - + "H\000B\006\n\004expr\"[\n\024FilterExpressionList\022C\n\013ex" - + "pressions\030\001 \003(\0132..google.analytics.data." - + "v1beta.FilterExpression\"\336\010\n\006Filter\022\022\n\nfi" - + "eld_name\030\001 \001(\t\022J\n\rstring_filter\030\003 \001(\01321." - + "google.analytics.data.v1beta.Filter.Stri" - + "ngFilterH\000\022K\n\016in_list_filter\030\004 \001(\01321.goo" - + "gle.analytics.data.v1beta.Filter.InListF" - + "ilterH\000\022L\n\016numeric_filter\030\005 \001(\01322.google" - + ".analytics.data.v1beta.Filter.NumericFil" - + "terH\000\022L\n\016between_filter\030\006 \001(\01322.google.a" - + "nalytics.data.v1beta.Filter.BetweenFilte" - + "rH\000\032\216\002\n\014StringFilter\022O\n\nmatch_type\030\001 \001(\016" - + "2;.google.analytics.data.v1beta.Filter.S" - + "tringFilter.MatchType\022\r\n\005value\030\002 \001(\t\022\026\n\016" - + "case_sensitive\030\003 \001(\010\"\205\001\n\tMatchType\022\032\n\026MA" - + "TCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013BEG" - + "INS_WITH\020\002\022\r\n\tENDS_WITH\020\003\022\014\n\010CONTAINS\020\004\022" - + "\017\n\013FULL_REGEXP\020\005\022\022\n\016PARTIAL_REGEXP\020\006\0326\n\014" - + "InListFilter\022\016\n\006values\030\001 \003(\t\022\026\n\016case_sen" - + "sitive\030\002 \001(\010\032\243\002\n\rNumericFilter\022O\n\toperat" - + "ion\030\001 \001(\0162<.google.analytics.data.v1beta" - + ".Filter.NumericFilter.Operation\0229\n\005value" - + "\030\002 \001(\0132*.google.analytics.data.v1beta.Nu" - + "mericValue\"\205\001\n\tOperation\022\031\n\025OPERATION_UN" - + "SPECIFIED\020\000\022\t\n\005EQUAL\020\001\022\r\n\tLESS_THAN\020\002\022\026\n" - + "\022LESS_THAN_OR_EQUAL\020\003\022\020\n\014GREATER_THAN\020\004\022" - + "\031\n\025GREATER_THAN_OR_EQUAL\020\005\032\215\001\n\rBetweenFi" - + "lter\022>\n\nfrom_value\030\001 \001(\0132*.google.analyt" - + "ics.data.v1beta.NumericValue\022<\n\010to_value" - + "\030\002 \001(\0132*.google.analytics.data.v1beta.Nu" - + "mericValueB\014\n\none_filter\"\332\005\n\007OrderBy\022E\n\006" - + "metric\030\001 \001(\01323.google.analytics.data.v1b" - + "eta.OrderBy.MetricOrderByH\000\022K\n\tdimension" - + "\030\002 \001(\01326.google.analytics.data.v1beta.Or" - + "derBy.DimensionOrderByH\000\022C\n\005pivot\030\003 \001(\0132" - + "2.google.analytics.data.v1beta.OrderBy.P" - + "ivotOrderByH\000\022\014\n\004desc\030\004 \001(\010\032$\n\rMetricOrd" - + "erBy\022\023\n\013metric_name\030\001 \001(\t\032\353\001\n\020DimensionO" - + "rderBy\022\026\n\016dimension_name\030\001 \001(\t\022T\n\norder_" - + "type\030\002 \001(\0162@.google.analytics.data.v1bet" - + "a.OrderBy.DimensionOrderBy.OrderType\"i\n\t" - + "OrderType\022\032\n\026ORDER_TYPE_UNSPECIFIED\020\000\022\020\n" - + "\014ALPHANUMERIC\020\001\022!\n\035CASE_INSENSITIVE_ALPH" - + "ANUMERIC\020\002\022\013\n\007NUMERIC\020\003\032\303\001\n\014PivotOrderBy" - + "\022\023\n\013metric_name\030\001 \001(\t\022[\n\020pivot_selection" - + "s\030\002 \003(\0132A.google.analytics.data.v1beta.O" - + "rderBy.PivotOrderBy.PivotSelection\032A\n\016Pi" - + "votSelection\022\026\n\016dimension_name\030\001 \001(\t\022\027\n\017" - + "dimension_value\030\002 \001(\tB\016\n\014one_order_by\"\303\001" - + "\n\005Pivot\022\023\n\013field_names\030\001 \003(\t\0228\n\torder_by" - + "s\030\002 \003(\0132%.google.analytics.data.v1beta.O" - + "rderBy\022\016\n\006offset\030\003 \001(\003\022\r\n\005limit\030\004 \001(\003\022L\n" - + "\023metric_aggregations\030\005 \003(\0162/.google.anal" - + "ytics.data.v1beta.MetricAggregation\"\332\001\n\n" - + "CohortSpec\0225\n\007cohorts\030\001 \003(\0132$.google.ana" - + "lytics.data.v1beta.Cohort\022A\n\rcohorts_ran" - + "ge\030\002 \001(\0132*.google.analytics.data.v1beta." - + "CohortsRange\022R\n\026cohort_report_settings\030\003" - + " \001(\01322.google.analytics.data.v1beta.Coho" - + "rtReportSettings\"f\n\006Cohort\022\014\n\004name\030\001 \001(\t" - + "\022\021\n\tdimension\030\002 \001(\t\022;\n\ndate_range\030\003 \001(\0132" - + "\'.google.analytics.data.v1beta.DateRange" - + "\"\325\001\n\014CohortsRange\022K\n\013granularity\030\001 \001(\01626" - + ".google.analytics.data.v1beta.CohortsRan" - + "ge.Granularity\022\024\n\014start_offset\030\002 \001(\005\022\022\n\n" - + "end_offset\030\003 \001(\005\"N\n\013Granularity\022\033\n\027GRANU" - + "LARITY_UNSPECIFIED\020\000\022\t\n\005DAILY\020\001\022\n\n\006WEEKL" - + "Y\020\002\022\013\n\007MONTHLY\020\003\"*\n\024CohortReportSettings" - + "\022\022\n\naccumulate\030\001 \001(\010\"4\n\020ResponseMetaData" - + "\022 \n\030data_loss_from_other_row\030\003 \001(\010\"\037\n\017Di" - + "mensionHeader\022\014\n\004name\030\001 \001(\t\"T\n\014MetricHea" - + "der\022\014\n\004name\030\001 \001(\t\0226\n\004type\030\002 \001(\0162(.google" - + ".analytics.data.v1beta.MetricType\"u\n\013Piv" - + "otHeader\022S\n\027pivot_dimension_headers\030\001 \003(" - + "\01322.google.analytics.data.v1beta.PivotDi" - + "mensionHeader\022\021\n\trow_count\030\002 \001(\005\"^\n\024Pivo" - + "tDimensionHeader\022F\n\020dimension_values\030\001 \003" - + "(\0132,.google.analytics.data.v1beta.Dimens" - + "ionValue\"\217\001\n\003Row\022F\n\020dimension_values\030\001 \003" - + "(\0132,.google.analytics.data.v1beta.Dimens" - + "ionValue\022@\n\rmetric_values\030\002 \003(\0132).google" - + ".analytics.data.v1beta.MetricValue\".\n\016Di" - + "mensionValue\022\017\n\005value\030\001 \001(\tH\000B\013\n\tone_val" - + "ue\"+\n\013MetricValue\022\017\n\005value\030\004 \001(\tH\000B\013\n\ton" - + "e_value\"J\n\014NumericValue\022\025\n\013int64_value\030\001" - + " \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone_va" - + "lue\"\223\003\n\rPropertyQuota\022A\n\016tokens_per_day\030" - + "\001 \001(\0132).google.analytics.data.v1beta.Quo" - + "taStatus\022B\n\017tokens_per_hour\030\002 \001(\0132).goog" - + "le.analytics.data.v1beta.QuotaStatus\022F\n\023" - + "concurrent_requests\030\003 \001(\0132).google.analy" - + "tics.data.v1beta.QuotaStatus\022U\n\"server_e" - + "rrors_per_project_per_hour\030\004 \001(\0132).googl" - + "e.analytics.data.v1beta.QuotaStatus\022\\\n)p" - + "otentially_thresholded_requests_per_hour" - + "\030\005 \001(\0132).google.analytics.data.v1beta.Qu" - + "otaStatus\"2\n\013QuotaStatus\022\020\n\010consumed\030\001 \001" - + "(\005\022\021\n\tremaining\030\002 \001(\005\"\204\001\n\021DimensionMetad" - + "ata\022\020\n\010api_name\030\001 \001(\t\022\017\n\007ui_name\030\002 \001(\t\022\023" - + "\n\013description\030\003 \001(\t\022\034\n\024deprecated_api_na" - + "mes\030\004 \003(\t\022\031\n\021custom_definition\030\005 \001(\010\"\315\001\n" - + "\016MetricMetadata\022\020\n\010api_name\030\001 \001(\t\022\017\n\007ui_" - + "name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022\034\n\024depre" - + "cated_api_names\030\004 \003(\t\0226\n\004type\030\005 \001(\0162(.go" - + "ogle.analytics.data.v1beta.MetricType\022\022\n" - + "\nexpression\030\006 \001(\t\022\031\n\021custom_definition\030\007" - + " \001(\010*g\n\021MetricAggregation\022\"\n\036METRIC_AGGR" - + "EGATION_UNSPECIFIED\020\000\022\t\n\005TOTAL\020\001\022\013\n\007MINI" - + "MUM\020\005\022\013\n\007MAXIMUM\020\006\022\t\n\005COUNT\020\004*\201\002\n\nMetric" - + "Type\022\033\n\027METRIC_TYPE_UNSPECIFIED\020\000\022\020\n\014TYP" - + "E_INTEGER\020\001\022\016\n\nTYPE_FLOAT\020\002\022\020\n\014TYPE_SECO" - + "NDS\020\004\022\025\n\021TYPE_MILLISECONDS\020\005\022\020\n\014TYPE_MIN" - + "UTES\020\006\022\016\n\nTYPE_HOURS\020\007\022\021\n\rTYPE_STANDARD\020" - + "\010\022\021\n\rTYPE_CURRENCY\020\t\022\r\n\tTYPE_FEET\020\n\022\016\n\nT" - + "YPE_MILES\020\013\022\017\n\013TYPE_METERS\020\014\022\023\n\017TYPE_KIL" - + "OMETERS\020\rBy\n com.google.analytics.data.v" - + "1betaB\021ReportingApiProtoP\001Z@google.golan" - + "g.org/genproto/googleapis/analytics/data" - + "/v1beta;datab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_analytics_data_v1beta_DateRange_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DateRange_descriptor, - new java.lang.String[] { - "StartDate", "EndDate", "Name", - }); - internal_static_google_analytics_data_v1beta_MinuteRange_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_MinuteRange_descriptor, - new java.lang.String[] { - "StartMinutesAgo", "EndMinutesAgo", "Name", "StartMinutesAgo", "EndMinutesAgo", - }); - internal_static_google_analytics_data_v1beta_Dimension_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Dimension_descriptor, - new java.lang.String[] { - "Name", "DimensionExpression", - }); - internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor, - new java.lang.String[] { - "LowerCase", "UpperCase", "Concatenate", "OneExpression", - }); - internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor = - internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor - .getNestedTypes() - .get(0); - internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor, - new java.lang.String[] { - "DimensionName", - }); - internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor = - internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor - .getNestedTypes() - .get(1); - internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor, - new java.lang.String[] { - "DimensionNames", "Delimiter", - }); - internal_static_google_analytics_data_v1beta_Metric_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Metric_descriptor, - new java.lang.String[] { - "Name", "Expression", "Invisible", - }); - internal_static_google_analytics_data_v1beta_FilterExpression_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_FilterExpression_descriptor, - new java.lang.String[] { - "AndGroup", "OrGroup", "NotExpression", "Filter", "Expr", - }); - internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor, - new java.lang.String[] { - "Expressions", - }); - internal_static_google_analytics_data_v1beta_Filter_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Filter_descriptor, - new java.lang.String[] { - "FieldName", - "StringFilter", - "InListFilter", - "NumericFilter", - "BetweenFilter", - "OneFilter", - }); - internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor = - internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor, - new java.lang.String[] { - "MatchType", "Value", "CaseSensitive", - }); - internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor = - internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor, - new java.lang.String[] { - "Values", "CaseSensitive", - }); - internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor = - internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor, - new java.lang.String[] { - "Operation", "Value", - }); - internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor = - internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(3); - internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor, - new java.lang.String[] { - "FromValue", "ToValue", - }); - internal_static_google_analytics_data_v1beta_OrderBy_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_OrderBy_descriptor, - new java.lang.String[] { - "Metric", "Dimension", "Pivot", "Desc", "OneOrderBy", - }); - internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor = - internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor, - new java.lang.String[] { - "MetricName", - }); - internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor = - internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor, - new java.lang.String[] { - "DimensionName", "OrderType", - }); - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor = - internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor, - new java.lang.String[] { - "MetricName", "PivotSelections", - }); - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor = - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor, - new java.lang.String[] { - "DimensionName", "DimensionValue", - }); - internal_static_google_analytics_data_v1beta_Pivot_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Pivot_descriptor, - new java.lang.String[] { - "FieldNames", "OrderBys", "Offset", "Limit", "MetricAggregations", - }); - internal_static_google_analytics_data_v1beta_CohortSpec_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_CohortSpec_descriptor, - new java.lang.String[] { - "Cohorts", "CohortsRange", "CohortReportSettings", - }); - internal_static_google_analytics_data_v1beta_Cohort_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Cohort_descriptor, - new java.lang.String[] { - "Name", "Dimension", "DateRange", - }); - internal_static_google_analytics_data_v1beta_CohortsRange_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_CohortsRange_descriptor, - new java.lang.String[] { - "Granularity", "StartOffset", "EndOffset", - }); - internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor, - new java.lang.String[] { - "Accumulate", - }); - internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor, - new java.lang.String[] { - "DataLossFromOtherRow", - }); - internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_analytics_data_v1beta_MetricHeader_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_MetricHeader_descriptor, - new java.lang.String[] { - "Name", "Type", - }); - internal_static_google_analytics_data_v1beta_PivotHeader_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_PivotHeader_descriptor, - new java.lang.String[] { - "PivotDimensionHeaders", "RowCount", - }); - internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor, - new java.lang.String[] { - "DimensionValues", - }); - internal_static_google_analytics_data_v1beta_Row_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Row_descriptor, - new java.lang.String[] { - "DimensionValues", "MetricValues", - }); - internal_static_google_analytics_data_v1beta_DimensionValue_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionValue_descriptor, - new java.lang.String[] { - "Value", "OneValue", - }); - internal_static_google_analytics_data_v1beta_MetricValue_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_MetricValue_descriptor, - new java.lang.String[] { - "Value", "OneValue", - }); - internal_static_google_analytics_data_v1beta_NumericValue_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_NumericValue_descriptor, - new java.lang.String[] { - "Int64Value", "DoubleValue", "OneValue", - }); - internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor, - new java.lang.String[] { - "TokensPerDay", - "TokensPerHour", - "ConcurrentRequests", - "ServerErrorsPerProjectPerHour", - "PotentiallyThresholdedRequestsPerHour", - }); - internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor, - new java.lang.String[] { - "Consumed", "Remaining", - }); - internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor, - new java.lang.String[] { - "ApiName", "UiName", "Description", "DeprecatedApiNames", "CustomDefinition", - }); - internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor, - new java.lang.String[] { - "ApiName", - "UiName", - "Description", - "DeprecatedApiNames", - "Type", - "Expression", - "CustomDefinition", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java deleted file mode 100644 index 30d8d054..00000000 --- a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java +++ /dev/null @@ -1,39 +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/analytics/data/v1beta/data.proto - -package com.google.analytics.data.v1beta; - -public interface ResponseMetaDataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.ResponseMetaData) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * If true, indicates some buckets of dimension combinations are rolled into
-   * "(other)" row. This can happen for high cardinality reports.
-   * 
- * - * bool data_loss_from_other_row = 3; - * - * @return The dataLossFromOtherRow. - */ - boolean getDataLossFromOtherRow(); -} From da694afa80273454b7f48bbbdb212088d8ffc266 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 29 Oct 2021 22:32:20 +0000 Subject: [PATCH 2/4] =?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 --- .../data/v1beta/BetaAnalyticsDataClient.java | 6 +- .../v1beta/BetaAnalyticsDataSettings.java | 8 +- .../analytics/data/v1beta/gapic_metadata.json | 0 .../analytics/data/v1beta/package-info.java | 0 .../v1beta/stub/BetaAnalyticsDataStub.java | 0 .../stub/BetaAnalyticsDataStubSettings.java | 7 +- .../GrpcBetaAnalyticsDataCallableFactory.java | 0 .../stub/GrpcBetaAnalyticsDataStub.java | 1 - .../v1beta/BetaAnalyticsDataClientTest.java | 0 .../data/v1beta/MockBetaAnalyticsData.java | 0 .../v1beta/MockBetaAnalyticsDataImpl.java | 0 .../data/v1beta/BetaAnalyticsDataGrpc.java | 1208 ++++++++ .../data/v1beta/BetaAnalyticsDataGrpc.java | 934 ------ .../data/v1beta/AnalyticsDataApiProto.java | 372 --- .../v1beta/CohortReportSettingsOrBuilder.java | 20 - .../data/v1beta/DimensionHeaderOrBuilder.java | 29 - .../data/v1beta/QuotaStatusOrBuilder.java | 29 - .../data/v1beta/ReportingApiProto.java | 625 ---- .../v1beta/ResponseMetaDataOrBuilder.java | 20 - .../data/v1beta/AnalyticsDataApiProto.java | 461 +++ .../v1beta/BatchRunPivotReportsRequest.java | 463 +-- .../BatchRunPivotReportsRequestOrBuilder.java | 45 +- .../v1beta/BatchRunPivotReportsResponse.java | 481 +-- ...BatchRunPivotReportsResponseOrBuilder.java | 42 +- .../data/v1beta/BatchRunReportsRequest.java | 460 +-- .../BatchRunReportsRequestOrBuilder.java | 45 +- .../data/v1beta/BatchRunReportsResponse.java | 460 +-- .../BatchRunReportsResponseOrBuilder.java | 45 +- .../v1beta/CheckCompatibilityRequest.java | 876 ++++-- .../CheckCompatibilityRequestOrBuilder.java | 85 +- .../v1beta/CheckCompatibilityResponse.java | 753 +++-- .../CheckCompatibilityResponseOrBuilder.java | 85 +- .../google/analytics/data/v1beta/Cohort.java | 475 +-- .../data/v1beta/CohortOrBuilder.java | 44 +- .../data/v1beta/CohortReportSettings.java | 275 +- .../v1beta/CohortReportSettingsOrBuilder.java | 39 + .../analytics/data/v1beta/CohortSpec.java | 586 ++-- .../data/v1beta/CohortSpecOrBuilder.java | 52 +- .../analytics/data/v1beta/CohortsRange.java | 433 +-- .../data/v1beta/CohortsRangeOrBuilder.java | 30 +- .../analytics/data/v1beta/Compatibility.java | 82 +- .../analytics/data/v1beta/DateRange.java | 459 +-- .../data/v1beta/DateRangeOrBuilder.java | 45 +- .../analytics/data/v1beta/Dimension.java | 415 ++- .../data/v1beta/DimensionCompatibility.java | 419 ++- .../DimensionCompatibilityOrBuilder.java | 35 +- .../data/v1beta/DimensionExpression.java | 1693 +++++++---- .../v1beta/DimensionExpressionOrBuilder.java | 63 +- .../data/v1beta/DimensionHeader.java | 308 +- .../data/v1beta/DimensionHeaderOrBuilder.java | 50 + .../data/v1beta/DimensionMetadata.java | 698 +++-- .../v1beta/DimensionMetadataOrBuilder.java | 75 +- .../data/v1beta/DimensionOrBuilder.java | 35 +- .../analytics/data/v1beta/DimensionValue.java | 361 ++- .../data/v1beta/DimensionValueOrBuilder.java | 30 +- .../google/analytics/data/v1beta/Filter.java | 2643 +++++++++++------ .../data/v1beta/FilterExpression.java | 724 +++-- .../data/v1beta/FilterExpressionList.java | 370 ++- .../v1beta/FilterExpressionListOrBuilder.java | 36 +- .../v1beta/FilterExpressionOrBuilder.java | 50 +- .../data/v1beta/FilterOrBuilder.java | 59 +- .../data/v1beta/GetMetadataRequest.java | 339 ++- .../v1beta/GetMetadataRequestOrBuilder.java | 35 +- .../analytics/data/v1beta/Metadata.java | 586 ++-- .../analytics/data/v1beta/MetadataName.java | 0 .../data/v1beta/MetadataOrBuilder.java | 63 +- .../google/analytics/data/v1beta/Metric.java | 414 +-- .../data/v1beta/MetricAggregation.java | 94 +- .../data/v1beta/MetricCompatibility.java | 403 ++- .../v1beta/MetricCompatibilityOrBuilder.java | 35 +- .../analytics/data/v1beta/MetricHeader.java | 357 ++- .../data/v1beta/MetricHeaderOrBuilder.java | 33 +- .../analytics/data/v1beta/MetricMetadata.java | 824 ++--- .../data/v1beta/MetricMetadataOrBuilder.java | 90 +- .../data/v1beta/MetricOrBuilder.java | 39 +- .../analytics/data/v1beta/MetricType.java | 150 +- .../analytics/data/v1beta/MetricValue.java | 358 ++- .../data/v1beta/MetricValueOrBuilder.java | 30 +- .../analytics/data/v1beta/MinuteRange.java | 376 ++- .../data/v1beta/MinuteRangeOrBuilder.java | 39 +- .../analytics/data/v1beta/NumericValue.java | 374 ++- .../data/v1beta/NumericValueOrBuilder.java | 30 +- .../google/analytics/data/v1beta/OrderBy.java | 2509 ++++++++++------ .../data/v1beta/OrderByOrBuilder.java | 45 +- .../google/analytics/data/v1beta/Pivot.java | 721 +++-- .../data/v1beta/PivotDimensionHeader.java | 366 ++- .../v1beta/PivotDimensionHeaderOrBuilder.java | 36 +- .../analytics/data/v1beta/PivotHeader.java | 515 ++-- .../data/v1beta/PivotHeaderOrBuilder.java | 50 +- .../analytics/data/v1beta/PivotOrBuilder.java | 78 +- .../analytics/data/v1beta/PropertyQuota.java | 849 ++++-- .../data/v1beta/PropertyQuotaOrBuilder.java | 70 +- .../analytics/data/v1beta/QuotaStatus.java | 293 +- .../data/v1beta/QuotaStatusOrBuilder.java | 51 + .../data/v1beta/ReportingApiProto.java | 703 +++++ .../data/v1beta/ResponseMetaData.java | 272 +- .../v1beta/ResponseMetaDataOrBuilder.java | 39 + .../com/google/analytics/data/v1beta/Row.java | 493 +-- .../analytics/data/v1beta/RowOrBuilder.java | 54 +- .../data/v1beta/RunPivotReportRequest.java | 1360 ++++++--- .../RunPivotReportRequestOrBuilder.java | 138 +- .../data/v1beta/RunPivotReportResponse.java | 1218 +++++--- .../RunPivotReportResponseOrBuilder.java | 134 +- .../data/v1beta/RunRealtimeReportRequest.java | 1355 ++++++--- .../RunRealtimeReportRequestOrBuilder.java | 139 +- .../v1beta/RunRealtimeReportResponse.java | 1302 +++++--- .../RunRealtimeReportResponseOrBuilder.java | 148 +- .../data/v1beta/RunReportRequest.java | 1603 ++++++---- .../v1beta/RunReportRequestOrBuilder.java | 162 +- .../data/v1beta/RunReportResponse.java | 1400 ++++++--- .../v1beta/RunReportResponseOrBuilder.java | 156 +- .../data/v1beta/analytics_data_api.proto | 0 .../google/analytics/data/v1beta/data.proto | 0 113 files changed, 24840 insertions(+), 14232 deletions(-) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java (99%) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java (96%) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/package-info.java (100%) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java (100%) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java (98%) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataCallableFactory.java (100%) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java (99%) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java (100%) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsData.java (100%) rename {owl-bot-staging/v1beta/google-analytics-data => google-analytics-data}/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java (100%) create mode 100644 grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java delete mode 100644 owl-bot-staging/v1beta/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java delete mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java delete mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java delete mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java delete mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java delete mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java delete mode 100644 owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java create mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java (76%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java (78%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java (73%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java (74%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java (76%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java (78%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java (74%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java (72%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.java (77%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.java (86%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.java (67%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java (57%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Cohort.java (79%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java (86%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java (67%) create mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java (76%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java (82%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java (76%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java (79%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Compatibility.java (69%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DateRange.java (74%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java (75%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Dimension.java (74%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.java (71%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.java (78%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java (66%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java (73%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java (68%) create mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java (74%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java (78%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java (79%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java (69%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java (55%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Filter.java (73%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java (71%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java (73%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java (65%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java (82%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java (81%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java (70%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Metadata.java (75%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetadataName.java (100%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java (74%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Metric.java (75%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java (69%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.java (72%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.java (77%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java (70%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java (57%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java (75%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java (80%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java (76%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricType.java (74%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricValue.java (69%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java (55%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java (78%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java (83%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/NumericValue.java (69%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java (59%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/OrderBy.java (71%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java (78%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Pivot.java (79%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java (74%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java (66%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java (68%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java (67%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java (86%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java (71%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java (85%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java (68%) create mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java create mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java (68%) create mode 100644 proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/Row.java (78%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java (76%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java (81%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java (89%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java (83%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java (90%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java (79%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java (88%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java (80%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java (85%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java (80%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java (89%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java (79%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java (86%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto (100%) rename {owl-bot-staging/v1beta/proto-google-analytics-data-v1beta => proto-google-analytics-data-v1beta}/src/main/proto/google/analytics/data/v1beta/data.proto (100%) diff --git a/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java similarity index 99% rename from owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java rename to google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java index a82cacbd..6bc3ea3f 100644 --- a/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java +++ b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClient.java @@ -63,13 +63,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. *
* diff --git a/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java similarity index 96% rename from owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java rename to google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java index 10c71939..1b53659a 100644 --- a/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java +++ b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import java.io.IOException; @@ -39,10 +38,9 @@ *

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

    - *
  • The default service address (analyticsdata.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 (analyticsdata.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/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json rename to google-analytics-data/src/main/java/com/google/analytics/data/v1beta/gapic_metadata.json diff --git a/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/package-info.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/package-info.java similarity index 100% rename from owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/package-info.java rename to google-analytics-data/src/main/java/com/google/analytics/data/v1beta/package-info.java diff --git a/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java similarity index 100% rename from owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java rename to google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStub.java diff --git a/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java similarity index 98% rename from owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java rename to google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java index 46ddff54..4606ba3a 100644 --- a/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java +++ b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/BetaAnalyticsDataStubSettings.java @@ -61,10 +61,9 @@ *

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

    - *
  • The default service address (analyticsdata.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 (analyticsdata.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/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataCallableFactory.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataCallableFactory.java rename to google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataCallableFactory.java diff --git a/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java similarity index 99% rename from owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java rename to google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java index 286bf4b6..5994aba8 100644 --- a/owl-bot-staging/v1beta/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java +++ b/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/GrpcBetaAnalyticsDataStub.java @@ -42,7 +42,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java b/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java similarity index 100% rename from owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java rename to google-analytics-data/src/test/java/com/google/analytics/data/v1beta/BetaAnalyticsDataClientTest.java diff --git a/owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsData.java b/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsData.java similarity index 100% rename from owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsData.java rename to google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsData.java diff --git a/owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java b/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java similarity index 100% rename from owl-bot-staging/v1beta/google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java rename to google-analytics-data/src/test/java/com/google/analytics/data/v1beta/MockBetaAnalyticsDataImpl.java diff --git a/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java b/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java new file mode 100644 index 00000000..96a73f49 --- /dev/null +++ b/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java @@ -0,0 +1,1208 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.analytics.data.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * Google Analytics reporting data service.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/analytics/data/v1beta/analytics_data_api.proto") +public final class BetaAnalyticsDataGrpc { + + private BetaAnalyticsDataGrpc() {} + + public static final String SERVICE_NAME = "google.analytics.data.v1beta.BetaAnalyticsData"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.RunReportRequest, + com.google.analytics.data.v1beta.RunReportResponse> + getRunReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunReport", + requestType = com.google.analytics.data.v1beta.RunReportRequest.class, + responseType = com.google.analytics.data.v1beta.RunReportResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.RunReportRequest, + com.google.analytics.data.v1beta.RunReportResponse> + getRunReportMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.RunReportRequest, + com.google.analytics.data.v1beta.RunReportResponse> + getRunReportMethod; + if ((getRunReportMethod = BetaAnalyticsDataGrpc.getRunReportMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getRunReportMethod = BetaAnalyticsDataGrpc.getRunReportMethod) == null) { + BetaAnalyticsDataGrpc.getRunReportMethod = + getRunReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunReportResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BetaAnalyticsDataMethodDescriptorSupplier("RunReport")) + .build(); + } + } + } + return getRunReportMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.RunPivotReportRequest, + com.google.analytics.data.v1beta.RunPivotReportResponse> + getRunPivotReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunPivotReport", + requestType = com.google.analytics.data.v1beta.RunPivotReportRequest.class, + responseType = com.google.analytics.data.v1beta.RunPivotReportResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.RunPivotReportRequest, + com.google.analytics.data.v1beta.RunPivotReportResponse> + getRunPivotReportMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.RunPivotReportRequest, + com.google.analytics.data.v1beta.RunPivotReportResponse> + getRunPivotReportMethod; + if ((getRunPivotReportMethod = BetaAnalyticsDataGrpc.getRunPivotReportMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getRunPivotReportMethod = BetaAnalyticsDataGrpc.getRunPivotReportMethod) == null) { + BetaAnalyticsDataGrpc.getRunPivotReportMethod = + getRunPivotReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunPivotReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunPivotReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunPivotReportResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BetaAnalyticsDataMethodDescriptorSupplier("RunPivotReport")) + .build(); + } + } + } + return getRunPivotReportMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.BatchRunReportsRequest, + com.google.analytics.data.v1beta.BatchRunReportsResponse> + getBatchRunReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchRunReports", + requestType = com.google.analytics.data.v1beta.BatchRunReportsRequest.class, + responseType = com.google.analytics.data.v1beta.BatchRunReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.BatchRunReportsRequest, + com.google.analytics.data.v1beta.BatchRunReportsResponse> + getBatchRunReportsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.BatchRunReportsRequest, + com.google.analytics.data.v1beta.BatchRunReportsResponse> + getBatchRunReportsMethod; + if ((getBatchRunReportsMethod = BetaAnalyticsDataGrpc.getBatchRunReportsMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getBatchRunReportsMethod = BetaAnalyticsDataGrpc.getBatchRunReportsMethod) == null) { + BetaAnalyticsDataGrpc.getBatchRunReportsMethod = + getBatchRunReportsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchRunReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.BatchRunReportsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.BatchRunReportsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BetaAnalyticsDataMethodDescriptorSupplier("BatchRunReports")) + .build(); + } + } + } + return getBatchRunReportsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest, + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse> + getBatchRunPivotReportsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchRunPivotReports", + requestType = com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, + responseType = com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest, + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse> + getBatchRunPivotReportsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest, + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse> + getBatchRunPivotReportsMethod; + if ((getBatchRunPivotReportsMethod = BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod) + == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getBatchRunPivotReportsMethod = BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod) + == null) { + BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod = + getBatchRunPivotReportsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchRunPivotReports")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BetaAnalyticsDataMethodDescriptorSupplier("BatchRunPivotReports")) + .build(); + } + } + } + return getBatchRunPivotReportsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.GetMetadataRequest, + com.google.analytics.data.v1beta.Metadata> + getGetMetadataMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMetadata", + requestType = com.google.analytics.data.v1beta.GetMetadataRequest.class, + responseType = com.google.analytics.data.v1beta.Metadata.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.GetMetadataRequest, + com.google.analytics.data.v1beta.Metadata> + getGetMetadataMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.GetMetadataRequest, + com.google.analytics.data.v1beta.Metadata> + getGetMetadataMethod; + if ((getGetMetadataMethod = BetaAnalyticsDataGrpc.getGetMetadataMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getGetMetadataMethod = BetaAnalyticsDataGrpc.getGetMetadataMethod) == null) { + BetaAnalyticsDataGrpc.getGetMetadataMethod = + getGetMetadataMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMetadata")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.GetMetadataRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.Metadata.getDefaultInstance())) + .setSchemaDescriptor( + new BetaAnalyticsDataMethodDescriptorSupplier("GetMetadata")) + .build(); + } + } + } + return getGetMetadataMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.RunRealtimeReportRequest, + com.google.analytics.data.v1beta.RunRealtimeReportResponse> + getRunRealtimeReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunRealtimeReport", + requestType = com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, + responseType = com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.RunRealtimeReportRequest, + com.google.analytics.data.v1beta.RunRealtimeReportResponse> + getRunRealtimeReportMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.RunRealtimeReportRequest, + com.google.analytics.data.v1beta.RunRealtimeReportResponse> + getRunRealtimeReportMethod; + if ((getRunRealtimeReportMethod = BetaAnalyticsDataGrpc.getRunRealtimeReportMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getRunRealtimeReportMethod = BetaAnalyticsDataGrpc.getRunRealtimeReportMethod) + == null) { + BetaAnalyticsDataGrpc.getRunRealtimeReportMethod = + getRunRealtimeReportMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunRealtimeReport")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunRealtimeReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.RunRealtimeReportResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BetaAnalyticsDataMethodDescriptorSupplier("RunRealtimeReport")) + .build(); + } + } + } + return getRunRealtimeReportMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.CheckCompatibilityRequest, + com.google.analytics.data.v1beta.CheckCompatibilityResponse> + getCheckCompatibilityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckCompatibility", + requestType = com.google.analytics.data.v1beta.CheckCompatibilityRequest.class, + responseType = com.google.analytics.data.v1beta.CheckCompatibilityResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.CheckCompatibilityRequest, + com.google.analytics.data.v1beta.CheckCompatibilityResponse> + getCheckCompatibilityMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.data.v1beta.CheckCompatibilityRequest, + com.google.analytics.data.v1beta.CheckCompatibilityResponse> + getCheckCompatibilityMethod; + if ((getCheckCompatibilityMethod = BetaAnalyticsDataGrpc.getCheckCompatibilityMethod) == null) { + synchronized (BetaAnalyticsDataGrpc.class) { + if ((getCheckCompatibilityMethod = BetaAnalyticsDataGrpc.getCheckCompatibilityMethod) + == null) { + BetaAnalyticsDataGrpc.getCheckCompatibilityMethod = + getCheckCompatibilityMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckCompatibility")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.CheckCompatibilityRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.data.v1beta.CheckCompatibilityResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BetaAnalyticsDataMethodDescriptorSupplier("CheckCompatibility")) + .build(); + } + } + } + return getCheckCompatibilityMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static BetaAnalyticsDataStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BetaAnalyticsDataStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataStub(channel, callOptions); + } + }; + return BetaAnalyticsDataStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BetaAnalyticsDataBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BetaAnalyticsDataBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataBlockingStub(channel, callOptions); + } + }; + return BetaAnalyticsDataBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static BetaAnalyticsDataFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BetaAnalyticsDataFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataFutureStub(channel, callOptions); + } + }; + return BetaAnalyticsDataFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Google Analytics reporting data service.
+   * 
+ */ + public abstract static class BetaAnalyticsDataImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Returns a customized report of your Google Analytics event data. Reports
+     * contain statistics derived from data collected by the Google Analytics
+     * tracking code. The data returned from the API is as a table with columns
+     * for the requested dimensions and metrics. Metrics are individual
+     * measurements of user activity on your property, such as active users or
+     * event count. Dimensions break down metrics across some common criteria,
+     * such as country or event name.
+     * 
+ */ + public void runReport( + com.google.analytics.data.v1beta.RunReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunReportMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a customized pivot report of your Google Analytics event data.
+     * Pivot reports are more advanced and expressive formats than regular
+     * reports. In a pivot report, dimensions are only visible if they are
+     * included in a pivot. Multiple pivots can be specified to further dissect
+     * your data.
+     * 
+ */ + public void runPivotReport( + com.google.analytics.data.v1beta.RunPivotReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRunPivotReportMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns multiple reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public void batchRunReports( + com.google.analytics.data.v1beta.BatchRunReportsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchRunReportsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns multiple pivot reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public void batchRunPivotReports( + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchRunPivotReportsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns metadata for dimensions and metrics available in reporting methods.
+     * Used to explore the dimensions and metrics. In this method, a Google
+     * Analytics GA4 Property Identifier is specified in the request, and
+     * the metadata response includes Custom dimensions and metrics as well as
+     * Universal metadata.
+     * For example if a custom metric with parameter name `levels_unlocked` is
+     * registered to a property, the Metadata response will contain
+     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
+     * metrics applicable to any property such as `country` and `totalUsers`.
+     * 
+ */ + public void getMetadata( + com.google.analytics.data.v1beta.GetMetadataRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMetadataMethod(), responseObserver); + } + + /** + * + * + *
+     * The Google Analytics Realtime API returns a customized report of realtime
+     * event data for your property. These reports show events and usage from the
+     * last 30 minutes.
+     * 
+ */ + public void runRealtimeReport( + com.google.analytics.data.v1beta.RunRealtimeReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRunRealtimeReportMethod(), responseObserver); + } + + /** + * + * + *
+     * This compatibility method lists dimensions and metrics that can be added to
+     * a report request and maintain compatibility. This method fails if the
+     * request's dimensions and metrics are incompatible.
+     * In Google Analytics, reports fail if they request incompatible dimensions
+     * and/or metrics; in that case, you will need to remove dimensions and/or
+     * metrics from the incompatible report until the report is compatible.
+     * The Realtime and Core reports have different compatibility rules. This
+     * method checks compatibility for Core reports.
+     * 
+ */ + public void checkCompatibility( + com.google.analytics.data.v1beta.CheckCompatibilityRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCheckCompatibilityMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getRunReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.RunReportRequest, + com.google.analytics.data.v1beta.RunReportResponse>( + this, METHODID_RUN_REPORT))) + .addMethod( + getRunPivotReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.RunPivotReportRequest, + com.google.analytics.data.v1beta.RunPivotReportResponse>( + this, METHODID_RUN_PIVOT_REPORT))) + .addMethod( + getBatchRunReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.BatchRunReportsRequest, + com.google.analytics.data.v1beta.BatchRunReportsResponse>( + this, METHODID_BATCH_RUN_REPORTS))) + .addMethod( + getBatchRunPivotReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest, + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse>( + this, METHODID_BATCH_RUN_PIVOT_REPORTS))) + .addMethod( + getGetMetadataMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.GetMetadataRequest, + com.google.analytics.data.v1beta.Metadata>(this, METHODID_GET_METADATA))) + .addMethod( + getRunRealtimeReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.RunRealtimeReportRequest, + com.google.analytics.data.v1beta.RunRealtimeReportResponse>( + this, METHODID_RUN_REALTIME_REPORT))) + .addMethod( + getCheckCompatibilityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.data.v1beta.CheckCompatibilityRequest, + com.google.analytics.data.v1beta.CheckCompatibilityResponse>( + this, METHODID_CHECK_COMPATIBILITY))) + .build(); + } + } + + /** + * + * + *
+   * Google Analytics reporting data service.
+   * 
+ */ + public static final class BetaAnalyticsDataStub + extends io.grpc.stub.AbstractAsyncStub { + private BetaAnalyticsDataStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BetaAnalyticsDataStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns a customized report of your Google Analytics event data. Reports
+     * contain statistics derived from data collected by the Google Analytics
+     * tracking code. The data returned from the API is as a table with columns
+     * for the requested dimensions and metrics. Metrics are individual
+     * measurements of user activity on your property, such as active users or
+     * event count. Dimensions break down metrics across some common criteria,
+     * such as country or event name.
+     * 
+ */ + public void runReport( + com.google.analytics.data.v1beta.RunReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunReportMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Returns a customized pivot report of your Google Analytics event data.
+     * Pivot reports are more advanced and expressive formats than regular
+     * reports. In a pivot report, dimensions are only visible if they are
+     * included in a pivot. Multiple pivots can be specified to further dissect
+     * your data.
+     * 
+ */ + public void runPivotReport( + com.google.analytics.data.v1beta.RunPivotReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns multiple reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public void batchRunReports( + com.google.analytics.data.v1beta.BatchRunReportsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns multiple pivot reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public void batchRunPivotReports( + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns metadata for dimensions and metrics available in reporting methods.
+     * Used to explore the dimensions and metrics. In this method, a Google
+     * Analytics GA4 Property Identifier is specified in the request, and
+     * the metadata response includes Custom dimensions and metrics as well as
+     * Universal metadata.
+     * For example if a custom metric with parameter name `levels_unlocked` is
+     * registered to a property, the Metadata response will contain
+     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
+     * metrics applicable to any property such as `country` and `totalUsers`.
+     * 
+ */ + public void getMetadata( + com.google.analytics.data.v1beta.GetMetadataRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMetadataMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * The Google Analytics Realtime API returns a customized report of realtime
+     * event data for your property. These reports show events and usage from the
+     * last 30 minutes.
+     * 
+ */ + public void runRealtimeReport( + com.google.analytics.data.v1beta.RunRealtimeReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * This compatibility method lists dimensions and metrics that can be added to
+     * a report request and maintain compatibility. This method fails if the
+     * request's dimensions and metrics are incompatible.
+     * In Google Analytics, reports fail if they request incompatible dimensions
+     * and/or metrics; in that case, you will need to remove dimensions and/or
+     * metrics from the incompatible report until the report is compatible.
+     * The Realtime and Core reports have different compatibility rules. This
+     * method checks compatibility for Core reports.
+     * 
+ */ + public void checkCompatibility( + com.google.analytics.data.v1beta.CheckCompatibilityRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckCompatibilityMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Google Analytics reporting data service.
+   * 
+ */ + public static final class BetaAnalyticsDataBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BetaAnalyticsDataBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BetaAnalyticsDataBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns a customized report of your Google Analytics event data. Reports
+     * contain statistics derived from data collected by the Google Analytics
+     * tracking code. The data returned from the API is as a table with columns
+     * for the requested dimensions and metrics. Metrics are individual
+     * measurements of user activity on your property, such as active users or
+     * event count. Dimensions break down metrics across some common criteria,
+     * such as country or event name.
+     * 
+ */ + public com.google.analytics.data.v1beta.RunReportResponse runReport( + com.google.analytics.data.v1beta.RunReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunReportMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a customized pivot report of your Google Analytics event data.
+     * Pivot reports are more advanced and expressive formats than regular
+     * reports. In a pivot report, dimensions are only visible if they are
+     * included in a pivot. Multiple pivots can be specified to further dissect
+     * your data.
+     * 
+ */ + public com.google.analytics.data.v1beta.RunPivotReportResponse runPivotReport( + com.google.analytics.data.v1beta.RunPivotReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunPivotReportMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns multiple reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public com.google.analytics.data.v1beta.BatchRunReportsResponse batchRunReports( + com.google.analytics.data.v1beta.BatchRunReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchRunReportsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns multiple pivot reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse batchRunPivotReports( + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchRunPivotReportsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns metadata for dimensions and metrics available in reporting methods.
+     * Used to explore the dimensions and metrics. In this method, a Google
+     * Analytics GA4 Property Identifier is specified in the request, and
+     * the metadata response includes Custom dimensions and metrics as well as
+     * Universal metadata.
+     * For example if a custom metric with parameter name `levels_unlocked` is
+     * registered to a property, the Metadata response will contain
+     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
+     * metrics applicable to any property such as `country` and `totalUsers`.
+     * 
+ */ + public com.google.analytics.data.v1beta.Metadata getMetadata( + com.google.analytics.data.v1beta.GetMetadataRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMetadataMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * The Google Analytics Realtime API returns a customized report of realtime
+     * event data for your property. These reports show events and usage from the
+     * last 30 minutes.
+     * 
+ */ + public com.google.analytics.data.v1beta.RunRealtimeReportResponse runRealtimeReport( + com.google.analytics.data.v1beta.RunRealtimeReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunRealtimeReportMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * This compatibility method lists dimensions and metrics that can be added to
+     * a report request and maintain compatibility. This method fails if the
+     * request's dimensions and metrics are incompatible.
+     * In Google Analytics, reports fail if they request incompatible dimensions
+     * and/or metrics; in that case, you will need to remove dimensions and/or
+     * metrics from the incompatible report until the report is compatible.
+     * The Realtime and Core reports have different compatibility rules. This
+     * method checks compatibility for Core reports.
+     * 
+ */ + public com.google.analytics.data.v1beta.CheckCompatibilityResponse checkCompatibility( + com.google.analytics.data.v1beta.CheckCompatibilityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckCompatibilityMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Google Analytics reporting data service.
+   * 
+ */ + public static final class BetaAnalyticsDataFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BetaAnalyticsDataFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BetaAnalyticsDataFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BetaAnalyticsDataFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns a customized report of your Google Analytics event data. Reports
+     * contain statistics derived from data collected by the Google Analytics
+     * tracking code. The data returned from the API is as a table with columns
+     * for the requested dimensions and metrics. Metrics are individual
+     * measurements of user activity on your property, such as active users or
+     * event count. Dimensions break down metrics across some common criteria,
+     * such as country or event name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.data.v1beta.RunReportResponse> + runReport(com.google.analytics.data.v1beta.RunReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a customized pivot report of your Google Analytics event data.
+     * Pivot reports are more advanced and expressive formats than regular
+     * reports. In a pivot report, dimensions are only visible if they are
+     * included in a pivot. Multiple pivots can be specified to further dissect
+     * your data.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.data.v1beta.RunPivotReportResponse> + runPivotReport(com.google.analytics.data.v1beta.RunPivotReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns multiple reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.data.v1beta.BatchRunReportsResponse> + batchRunReports(com.google.analytics.data.v1beta.BatchRunReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns multiple pivot reports in a batch. All reports must be for the same
+     * GA4 Property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse> + batchRunPivotReports(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns metadata for dimensions and metrics available in reporting methods.
+     * Used to explore the dimensions and metrics. In this method, a Google
+     * Analytics GA4 Property Identifier is specified in the request, and
+     * the metadata response includes Custom dimensions and metrics as well as
+     * Universal metadata.
+     * For example if a custom metric with parameter name `levels_unlocked` is
+     * registered to a property, the Metadata response will contain
+     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
+     * metrics applicable to any property such as `country` and `totalUsers`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.data.v1beta.Metadata> + getMetadata(com.google.analytics.data.v1beta.GetMetadataRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * The Google Analytics Realtime API returns a customized report of realtime
+     * event data for your property. These reports show events and usage from the
+     * last 30 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.data.v1beta.RunRealtimeReportResponse> + runRealtimeReport(com.google.analytics.data.v1beta.RunRealtimeReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * This compatibility method lists dimensions and metrics that can be added to
+     * a report request and maintain compatibility. This method fails if the
+     * request's dimensions and metrics are incompatible.
+     * In Google Analytics, reports fail if they request incompatible dimensions
+     * and/or metrics; in that case, you will need to remove dimensions and/or
+     * metrics from the incompatible report until the report is compatible.
+     * The Realtime and Core reports have different compatibility rules. This
+     * method checks compatibility for Core reports.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.data.v1beta.CheckCompatibilityResponse> + checkCompatibility(com.google.analytics.data.v1beta.CheckCompatibilityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckCompatibilityMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_RUN_REPORT = 0; + private static final int METHODID_RUN_PIVOT_REPORT = 1; + private static final int METHODID_BATCH_RUN_REPORTS = 2; + private static final int METHODID_BATCH_RUN_PIVOT_REPORTS = 3; + private static final int METHODID_GET_METADATA = 4; + private static final int METHODID_RUN_REALTIME_REPORT = 5; + private static final int METHODID_CHECK_COMPATIBILITY = 6; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final BetaAnalyticsDataImplBase serviceImpl; + private final int methodId; + + MethodHandlers(BetaAnalyticsDataImplBase 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_RUN_REPORT: + serviceImpl.runReport( + (com.google.analytics.data.v1beta.RunReportRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RUN_PIVOT_REPORT: + serviceImpl.runPivotReport( + (com.google.analytics.data.v1beta.RunPivotReportRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BATCH_RUN_REPORTS: + serviceImpl.batchRunReports( + (com.google.analytics.data.v1beta.BatchRunReportsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.data.v1beta.BatchRunReportsResponse>) + responseObserver); + break; + case METHODID_BATCH_RUN_PIVOT_REPORTS: + serviceImpl.batchRunPivotReports( + (com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse>) + responseObserver); + break; + case METHODID_GET_METADATA: + serviceImpl.getMetadata( + (com.google.analytics.data.v1beta.GetMetadataRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RUN_REALTIME_REPORT: + serviceImpl.runRealtimeReport( + (com.google.analytics.data.v1beta.RunRealtimeReportRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.data.v1beta.RunRealtimeReportResponse>) + responseObserver); + break; + case METHODID_CHECK_COMPATIBILITY: + serviceImpl.checkCompatibility( + (com.google.analytics.data.v1beta.CheckCompatibilityRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.data.v1beta.CheckCompatibilityResponse>) + 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 BetaAnalyticsDataBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BetaAnalyticsDataBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BetaAnalyticsData"); + } + } + + private static final class BetaAnalyticsDataFileDescriptorSupplier + extends BetaAnalyticsDataBaseDescriptorSupplier { + BetaAnalyticsDataFileDescriptorSupplier() {} + } + + private static final class BetaAnalyticsDataMethodDescriptorSupplier + extends BetaAnalyticsDataBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + BetaAnalyticsDataMethodDescriptorSupplier(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 (BetaAnalyticsDataGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BetaAnalyticsDataFileDescriptorSupplier()) + .addMethod(getRunReportMethod()) + .addMethod(getRunPivotReportMethod()) + .addMethod(getBatchRunReportsMethod()) + .addMethod(getBatchRunPivotReportsMethod()) + .addMethod(getGetMetadataMethod()) + .addMethod(getRunRealtimeReportMethod()) + .addMethod(getCheckCompatibilityMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1beta/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java b/owl-bot-staging/v1beta/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java deleted file mode 100644 index 79ad1941..00000000 --- a/owl-bot-staging/v1beta/grpc-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BetaAnalyticsDataGrpc.java +++ /dev/null @@ -1,934 +0,0 @@ -package com.google.analytics.data.v1beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Google Analytics reporting data service.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/analytics/data/v1beta/analytics_data_api.proto") -public final class BetaAnalyticsDataGrpc { - - private BetaAnalyticsDataGrpc() {} - - public static final String SERVICE_NAME = "google.analytics.data.v1beta.BetaAnalyticsData"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getRunReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunReport", - requestType = com.google.analytics.data.v1beta.RunReportRequest.class, - responseType = com.google.analytics.data.v1beta.RunReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRunReportMethod() { - io.grpc.MethodDescriptor getRunReportMethod; - if ((getRunReportMethod = BetaAnalyticsDataGrpc.getRunReportMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getRunReportMethod = BetaAnalyticsDataGrpc.getRunReportMethod) == null) { - BetaAnalyticsDataGrpc.getRunReportMethod = getRunReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance())) - .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("RunReport")) - .build(); - } - } - } - return getRunReportMethod; - } - - private static volatile io.grpc.MethodDescriptor getRunPivotReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunPivotReport", - requestType = com.google.analytics.data.v1beta.RunPivotReportRequest.class, - responseType = com.google.analytics.data.v1beta.RunPivotReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRunPivotReportMethod() { - io.grpc.MethodDescriptor getRunPivotReportMethod; - if ((getRunPivotReportMethod = BetaAnalyticsDataGrpc.getRunPivotReportMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getRunPivotReportMethod = BetaAnalyticsDataGrpc.getRunPivotReportMethod) == null) { - BetaAnalyticsDataGrpc.getRunPivotReportMethod = getRunPivotReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunPivotReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance())) - .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("RunPivotReport")) - .build(); - } - } - } - return getRunPivotReportMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchRunReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchRunReports", - requestType = com.google.analytics.data.v1beta.BatchRunReportsRequest.class, - responseType = com.google.analytics.data.v1beta.BatchRunReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchRunReportsMethod() { - io.grpc.MethodDescriptor getBatchRunReportsMethod; - if ((getBatchRunReportsMethod = BetaAnalyticsDataGrpc.getBatchRunReportsMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getBatchRunReportsMethod = BetaAnalyticsDataGrpc.getBatchRunReportsMethod) == null) { - BetaAnalyticsDataGrpc.getBatchRunReportsMethod = getBatchRunReportsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchRunReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.BatchRunReportsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.BatchRunReportsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("BatchRunReports")) - .build(); - } - } - } - return getBatchRunReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchRunPivotReportsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchRunPivotReports", - requestType = com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, - responseType = com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchRunPivotReportsMethod() { - io.grpc.MethodDescriptor getBatchRunPivotReportsMethod; - if ((getBatchRunPivotReportsMethod = BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getBatchRunPivotReportsMethod = BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod) == null) { - BetaAnalyticsDataGrpc.getBatchRunPivotReportsMethod = getBatchRunPivotReportsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchRunPivotReports")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("BatchRunPivotReports")) - .build(); - } - } - } - return getBatchRunPivotReportsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMetadataMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMetadata", - requestType = com.google.analytics.data.v1beta.GetMetadataRequest.class, - responseType = com.google.analytics.data.v1beta.Metadata.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMetadataMethod() { - io.grpc.MethodDescriptor getGetMetadataMethod; - if ((getGetMetadataMethod = BetaAnalyticsDataGrpc.getGetMetadataMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getGetMetadataMethod = BetaAnalyticsDataGrpc.getGetMetadataMethod) == null) { - BetaAnalyticsDataGrpc.getGetMetadataMethod = getGetMetadataMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMetadata")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.GetMetadataRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.Metadata.getDefaultInstance())) - .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("GetMetadata")) - .build(); - } - } - } - return getGetMetadataMethod; - } - - private static volatile io.grpc.MethodDescriptor getRunRealtimeReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunRealtimeReport", - requestType = com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, - responseType = com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRunRealtimeReportMethod() { - io.grpc.MethodDescriptor getRunRealtimeReportMethod; - if ((getRunRealtimeReportMethod = BetaAnalyticsDataGrpc.getRunRealtimeReportMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getRunRealtimeReportMethod = BetaAnalyticsDataGrpc.getRunRealtimeReportMethod) == null) { - BetaAnalyticsDataGrpc.getRunRealtimeReportMethod = getRunRealtimeReportMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunRealtimeReport")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunRealtimeReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.RunRealtimeReportResponse.getDefaultInstance())) - .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("RunRealtimeReport")) - .build(); - } - } - } - return getRunRealtimeReportMethod; - } - - private static volatile io.grpc.MethodDescriptor getCheckCompatibilityMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CheckCompatibility", - requestType = com.google.analytics.data.v1beta.CheckCompatibilityRequest.class, - responseType = com.google.analytics.data.v1beta.CheckCompatibilityResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCheckCompatibilityMethod() { - io.grpc.MethodDescriptor getCheckCompatibilityMethod; - if ((getCheckCompatibilityMethod = BetaAnalyticsDataGrpc.getCheckCompatibilityMethod) == null) { - synchronized (BetaAnalyticsDataGrpc.class) { - if ((getCheckCompatibilityMethod = BetaAnalyticsDataGrpc.getCheckCompatibilityMethod) == null) { - BetaAnalyticsDataGrpc.getCheckCompatibilityMethod = getCheckCompatibilityMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckCompatibility")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.CheckCompatibilityRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.data.v1beta.CheckCompatibilityResponse.getDefaultInstance())) - .setSchemaDescriptor(new BetaAnalyticsDataMethodDescriptorSupplier("CheckCompatibility")) - .build(); - } - } - } - return getCheckCompatibilityMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static BetaAnalyticsDataStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BetaAnalyticsDataStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataStub(channel, callOptions); - } - }; - return BetaAnalyticsDataStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static BetaAnalyticsDataBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BetaAnalyticsDataBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataBlockingStub(channel, callOptions); - } - }; - return BetaAnalyticsDataBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static BetaAnalyticsDataFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BetaAnalyticsDataFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataFutureStub(channel, callOptions); - } - }; - return BetaAnalyticsDataFutureStub.newStub(factory, channel); - } - - /** - *
-   * Google Analytics reporting data service.
-   * 
- */ - public static abstract class BetaAnalyticsDataImplBase implements io.grpc.BindableService { - - /** - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public void runReport(com.google.analytics.data.v1beta.RunReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunReportMethod(), responseObserver); - } - - /** - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public void runPivotReport(com.google.analytics.data.v1beta.RunPivotReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunPivotReportMethod(), responseObserver); - } - - /** - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public void batchRunReports(com.google.analytics.data.v1beta.BatchRunReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchRunReportsMethod(), responseObserver); - } - - /** - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public void batchRunPivotReports(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchRunPivotReportsMethod(), responseObserver); - } - - /** - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public void getMetadata(com.google.analytics.data.v1beta.GetMetadataRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMetadataMethod(), responseObserver); - } - - /** - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public void runRealtimeReport(com.google.analytics.data.v1beta.RunRealtimeReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunRealtimeReportMethod(), responseObserver); - } - - /** - *
-     * This compatibility method lists dimensions and metrics that can be added to
-     * a report request and maintain compatibility. This method fails if the
-     * request's dimensions and metrics are incompatible.
-     * In Google Analytics, reports fail if they request incompatible dimensions
-     * and/or metrics; in that case, you will need to remove dimensions and/or
-     * metrics from the incompatible report until the report is compatible.
-     * The Realtime and Core reports have different compatibility rules. This
-     * method checks compatibility for Core reports.
-     * 
- */ - public void checkCompatibility(com.google.analytics.data.v1beta.CheckCompatibilityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckCompatibilityMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getRunReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.RunReportRequest, - com.google.analytics.data.v1beta.RunReportResponse>( - this, METHODID_RUN_REPORT))) - .addMethod( - getRunPivotReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.RunPivotReportRequest, - com.google.analytics.data.v1beta.RunPivotReportResponse>( - this, METHODID_RUN_PIVOT_REPORT))) - .addMethod( - getBatchRunReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.BatchRunReportsRequest, - com.google.analytics.data.v1beta.BatchRunReportsResponse>( - this, METHODID_BATCH_RUN_REPORTS))) - .addMethod( - getBatchRunPivotReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest, - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse>( - this, METHODID_BATCH_RUN_PIVOT_REPORTS))) - .addMethod( - getGetMetadataMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.GetMetadataRequest, - com.google.analytics.data.v1beta.Metadata>( - this, METHODID_GET_METADATA))) - .addMethod( - getRunRealtimeReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.RunRealtimeReportRequest, - com.google.analytics.data.v1beta.RunRealtimeReportResponse>( - this, METHODID_RUN_REALTIME_REPORT))) - .addMethod( - getCheckCompatibilityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.data.v1beta.CheckCompatibilityRequest, - com.google.analytics.data.v1beta.CheckCompatibilityResponse>( - this, METHODID_CHECK_COMPATIBILITY))) - .build(); - } - } - - /** - *
-   * Google Analytics reporting data service.
-   * 
- */ - public static final class BetaAnalyticsDataStub extends io.grpc.stub.AbstractAsyncStub { - private BetaAnalyticsDataStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BetaAnalyticsDataStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataStub(channel, callOptions); - } - - /** - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public void runReport(com.google.analytics.data.v1beta.RunReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public void runPivotReport(com.google.analytics.data.v1beta.RunPivotReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public void batchRunReports(com.google.analytics.data.v1beta.BatchRunReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public void batchRunPivotReports(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public void getMetadata(com.google.analytics.data.v1beta.GetMetadataRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public void runRealtimeReport(com.google.analytics.data.v1beta.RunRealtimeReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * This compatibility method lists dimensions and metrics that can be added to
-     * a report request and maintain compatibility. This method fails if the
-     * request's dimensions and metrics are incompatible.
-     * In Google Analytics, reports fail if they request incompatible dimensions
-     * and/or metrics; in that case, you will need to remove dimensions and/or
-     * metrics from the incompatible report until the report is compatible.
-     * The Realtime and Core reports have different compatibility rules. This
-     * method checks compatibility for Core reports.
-     * 
- */ - public void checkCompatibility(com.google.analytics.data.v1beta.CheckCompatibilityRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckCompatibilityMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Google Analytics reporting data service.
-   * 
- */ - public static final class BetaAnalyticsDataBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private BetaAnalyticsDataBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BetaAnalyticsDataBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataBlockingStub(channel, callOptions); - } - - /** - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public com.google.analytics.data.v1beta.RunReportResponse runReport(com.google.analytics.data.v1beta.RunReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunReportMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public com.google.analytics.data.v1beta.RunPivotReportResponse runPivotReport(com.google.analytics.data.v1beta.RunPivotReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunPivotReportMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public com.google.analytics.data.v1beta.BatchRunReportsResponse batchRunReports(com.google.analytics.data.v1beta.BatchRunReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchRunReportsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse batchRunPivotReports(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchRunPivotReportsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public com.google.analytics.data.v1beta.Metadata getMetadata(com.google.analytics.data.v1beta.GetMetadataRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMetadataMethod(), getCallOptions(), request); - } - - /** - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public com.google.analytics.data.v1beta.RunRealtimeReportResponse runRealtimeReport(com.google.analytics.data.v1beta.RunRealtimeReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunRealtimeReportMethod(), getCallOptions(), request); - } - - /** - *
-     * This compatibility method lists dimensions and metrics that can be added to
-     * a report request and maintain compatibility. This method fails if the
-     * request's dimensions and metrics are incompatible.
-     * In Google Analytics, reports fail if they request incompatible dimensions
-     * and/or metrics; in that case, you will need to remove dimensions and/or
-     * metrics from the incompatible report until the report is compatible.
-     * The Realtime and Core reports have different compatibility rules. This
-     * method checks compatibility for Core reports.
-     * 
- */ - public com.google.analytics.data.v1beta.CheckCompatibilityResponse checkCompatibility(com.google.analytics.data.v1beta.CheckCompatibilityRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCheckCompatibilityMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Google Analytics reporting data service.
-   * 
- */ - public static final class BetaAnalyticsDataFutureStub extends io.grpc.stub.AbstractFutureStub { - private BetaAnalyticsDataFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BetaAnalyticsDataFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BetaAnalyticsDataFutureStub(channel, callOptions); - } - - /** - *
-     * Returns a customized report of your Google Analytics event data. Reports
-     * contain statistics derived from data collected by the Google Analytics
-     * tracking code. The data returned from the API is as a table with columns
-     * for the requested dimensions and metrics. Metrics are individual
-     * measurements of user activity on your property, such as active users or
-     * event count. Dimensions break down metrics across some common criteria,
-     * such as country or event name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture runReport( - com.google.analytics.data.v1beta.RunReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunReportMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a customized pivot report of your Google Analytics event data.
-     * Pivot reports are more advanced and expressive formats than regular
-     * reports. In a pivot report, dimensions are only visible if they are
-     * included in a pivot. Multiple pivots can be specified to further dissect
-     * your data.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture runPivotReport( - com.google.analytics.data.v1beta.RunPivotReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunPivotReportMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns multiple reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchRunReports( - com.google.analytics.data.v1beta.BatchRunReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchRunReportsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns multiple pivot reports in a batch. All reports must be for the same
-     * GA4 Property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchRunPivotReports( - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchRunPivotReportsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns metadata for dimensions and metrics available in reporting methods.
-     * Used to explore the dimensions and metrics. In this method, a Google
-     * Analytics GA4 Property Identifier is specified in the request, and
-     * the metadata response includes Custom dimensions and metrics as well as
-     * Universal metadata.
-     * For example if a custom metric with parameter name `levels_unlocked` is
-     * registered to a property, the Metadata response will contain
-     * `customEvent:levels_unlocked`. Universal metadata are dimensions and
-     * metrics applicable to any property such as `country` and `totalUsers`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMetadata( - com.google.analytics.data.v1beta.GetMetadataRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request); - } - - /** - *
-     * The Google Analytics Realtime API returns a customized report of realtime
-     * event data for your property. These reports show events and usage from the
-     * last 30 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture runRealtimeReport( - com.google.analytics.data.v1beta.RunRealtimeReportRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), request); - } - - /** - *
-     * This compatibility method lists dimensions and metrics that can be added to
-     * a report request and maintain compatibility. This method fails if the
-     * request's dimensions and metrics are incompatible.
-     * In Google Analytics, reports fail if they request incompatible dimensions
-     * and/or metrics; in that case, you will need to remove dimensions and/or
-     * metrics from the incompatible report until the report is compatible.
-     * The Realtime and Core reports have different compatibility rules. This
-     * method checks compatibility for Core reports.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture checkCompatibility( - com.google.analytics.data.v1beta.CheckCompatibilityRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckCompatibilityMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_RUN_REPORT = 0; - private static final int METHODID_RUN_PIVOT_REPORT = 1; - private static final int METHODID_BATCH_RUN_REPORTS = 2; - private static final int METHODID_BATCH_RUN_PIVOT_REPORTS = 3; - private static final int METHODID_GET_METADATA = 4; - private static final int METHODID_RUN_REALTIME_REPORT = 5; - private static final int METHODID_CHECK_COMPATIBILITY = 6; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final BetaAnalyticsDataImplBase serviceImpl; - private final int methodId; - - MethodHandlers(BetaAnalyticsDataImplBase 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_RUN_REPORT: - serviceImpl.runReport((com.google.analytics.data.v1beta.RunReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_PIVOT_REPORT: - serviceImpl.runPivotReport((com.google.analytics.data.v1beta.RunPivotReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_RUN_REPORTS: - serviceImpl.batchRunReports((com.google.analytics.data.v1beta.BatchRunReportsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_RUN_PIVOT_REPORTS: - serviceImpl.batchRunPivotReports((com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_METADATA: - serviceImpl.getMetadata((com.google.analytics.data.v1beta.GetMetadataRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_REALTIME_REPORT: - serviceImpl.runRealtimeReport((com.google.analytics.data.v1beta.RunRealtimeReportRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CHECK_COMPATIBILITY: - serviceImpl.checkCompatibility((com.google.analytics.data.v1beta.CheckCompatibilityRequest) 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 BetaAnalyticsDataBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BetaAnalyticsDataBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("BetaAnalyticsData"); - } - } - - private static final class BetaAnalyticsDataFileDescriptorSupplier - extends BetaAnalyticsDataBaseDescriptorSupplier { - BetaAnalyticsDataFileDescriptorSupplier() {} - } - - private static final class BetaAnalyticsDataMethodDescriptorSupplier - extends BetaAnalyticsDataBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - BetaAnalyticsDataMethodDescriptorSupplier(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 (BetaAnalyticsDataGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BetaAnalyticsDataFileDescriptorSupplier()) - .addMethod(getRunReportMethod()) - .addMethod(getRunPivotReportMethod()) - .addMethod(getBatchRunReportsMethod()) - .addMethod(getBatchRunPivotReportsMethod()) - .addMethod(getGetMetadataMethod()) - .addMethod(getRunRealtimeReportMethod()) - .addMethod(getCheckCompatibilityMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java deleted file mode 100644 index ea24f89b..00000000 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java +++ /dev/null @@ -1,372 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/data/v1beta/analytics_data_api.proto - -package com.google.analytics.data.v1beta; - -public final class AnalyticsDataApiProto { - private AnalyticsDataApiProto() {} - 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_analytics_data_v1beta_CheckCompatibilityRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Metadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n5google/analytics/data/v1beta/analytics" + - "_data_api.proto\022\034google.analytics.data.v" + - "1beta\032\'google/analytics/data/v1beta/data" + - ".proto\032\034google/api/annotations.proto\032\027go" + - "ogle/api/client.proto\032\037google/api/field_" + - "behavior.proto\032\031google/api/resource.prot" + - "o\"\375\002\n\031CheckCompatibilityRequest\022\020\n\010prope" + - "rty\030\001 \001(\t\022;\n\ndimensions\030\002 \003(\0132\'.google.a" + - "nalytics.data.v1beta.Dimension\0225\n\007metric" + - "s\030\003 \003(\0132$.google.analytics.data.v1beta.M" + - "etric\022H\n\020dimension_filter\030\004 \001(\0132..google" + - ".analytics.data.v1beta.FilterExpression\022" + - "E\n\rmetric_filter\030\005 \001(\0132..google.analytic" + - "s.data.v1beta.FilterExpression\022I\n\024compat" + - "ibility_filter\030\006 \001(\0162+.google.analytics." + - "data.v1beta.Compatibility\"\310\001\n\032CheckCompa" + - "tibilityResponse\022W\n\031dimension_compatibil" + - "ities\030\001 \003(\01324.google.analytics.data.v1be" + - "ta.DimensionCompatibility\022Q\n\026metric_comp" + - "atibilities\030\002 \003(\01321.google.analytics.dat" + - "a.v1beta.MetricCompatibility\"\350\001\n\010Metadat" + - "a\022\014\n\004name\030\003 \001(\t\022C\n\ndimensions\030\001 \003(\0132/.go" + - "ogle.analytics.data.v1beta.DimensionMeta" + - "data\022=\n\007metrics\030\002 \003(\0132,.google.analytics" + - ".data.v1beta.MetricMetadata:J\352AG\n%analyt" + - "icsdata.googleapis.com/Metadata\022\036propert" + - "ies/{property}/metadata\"\234\005\n\020RunReportReq" + - "uest\022\020\n\010property\030\001 \001(\t\022;\n\ndimensions\030\002 \003" + - "(\0132\'.google.analytics.data.v1beta.Dimens" + - "ion\0225\n\007metrics\030\003 \003(\0132$.google.analytics." + - "data.v1beta.Metric\022<\n\013date_ranges\030\004 \003(\0132" + - "\'.google.analytics.data.v1beta.DateRange" + - "\022H\n\020dimension_filter\030\005 \001(\0132..google.anal" + - "ytics.data.v1beta.FilterExpression\022E\n\rme" + - "tric_filter\030\006 \001(\0132..google.analytics.dat" + - "a.v1beta.FilterExpression\022\016\n\006offset\030\007 \001(" + - "\003\022\r\n\005limit\030\010 \001(\003\022L\n\023metric_aggregations\030" + - "\t \003(\0162/.google.analytics.data.v1beta.Met" + - "ricAggregation\0228\n\torder_bys\030\n \003(\0132%.goog" + - "le.analytics.data.v1beta.OrderBy\022\025\n\rcurr" + - "ency_code\030\013 \001(\t\022=\n\013cohort_spec\030\014 \001(\0132(.g" + - "oogle.analytics.data.v1beta.CohortSpec\022\027" + - "\n\017keep_empty_rows\030\r \001(\010\022\035\n\025return_proper" + - "ty_quota\030\016 \001(\010\"\227\004\n\021RunReportResponse\022H\n\021" + - "dimension_headers\030\001 \003(\0132-.google.analyti" + - "cs.data.v1beta.DimensionHeader\022B\n\016metric" + - "_headers\030\002 \003(\0132*.google.analytics.data.v" + - "1beta.MetricHeader\022/\n\004rows\030\003 \003(\0132!.googl" + - "e.analytics.data.v1beta.Row\0221\n\006totals\030\004 " + - "\003(\0132!.google.analytics.data.v1beta.Row\0223" + - "\n\010maximums\030\005 \003(\0132!.google.analytics.data" + - ".v1beta.Row\0223\n\010minimums\030\006 \003(\0132!.google.a" + - "nalytics.data.v1beta.Row\022\021\n\trow_count\030\007 " + - "\001(\005\022@\n\010metadata\030\010 \001(\0132..google.analytics" + - ".data.v1beta.ResponseMetaData\022C\n\016propert" + - "y_quota\030\t \001(\0132+.google.analytics.data.v1" + - "beta.PropertyQuota\022\014\n\004kind\030\n \001(\t\"\257\004\n\025Run" + - "PivotReportRequest\022\020\n\010property\030\001 \001(\t\022;\n\n" + - "dimensions\030\002 \003(\0132\'.google.analytics.data" + - ".v1beta.Dimension\0225\n\007metrics\030\003 \003(\0132$.goo" + - "gle.analytics.data.v1beta.Metric\022<\n\013date" + - "_ranges\030\004 \003(\0132\'.google.analytics.data.v1" + - "beta.DateRange\0223\n\006pivots\030\005 \003(\0132#.google." + - "analytics.data.v1beta.Pivot\022H\n\020dimension" + - "_filter\030\006 \001(\0132..google.analytics.data.v1" + - "beta.FilterExpression\022E\n\rmetric_filter\030\007" + - " \001(\0132..google.analytics.data.v1beta.Filt" + - "erExpression\022\025\n\rcurrency_code\030\010 \001(\t\022=\n\013c" + - "ohort_spec\030\t \001(\0132(.google.analytics.data" + - ".v1beta.CohortSpec\022\027\n\017keep_empty_rows\030\n " + - "\001(\010\022\035\n\025return_property_quota\030\013 \001(\010\"\345\003\n\026R" + - "unPivotReportResponse\022@\n\rpivot_headers\030\001" + - " \003(\0132).google.analytics.data.v1beta.Pivo" + - "tHeader\022H\n\021dimension_headers\030\002 \003(\0132-.goo" + - "gle.analytics.data.v1beta.DimensionHeade" + - "r\022B\n\016metric_headers\030\003 \003(\0132*.google.analy" + - "tics.data.v1beta.MetricHeader\022/\n\004rows\030\004 " + - "\003(\0132!.google.analytics.data.v1beta.Row\0225" + - "\n\naggregates\030\005 \003(\0132!.google.analytics.da" + - "ta.v1beta.Row\022@\n\010metadata\030\006 \001(\0132..google" + - ".analytics.data.v1beta.ResponseMetaData\022" + - "C\n\016property_quota\030\007 \001(\0132+.google.analyti" + - "cs.data.v1beta.PropertyQuota\022\014\n\004kind\030\010 \001" + - "(\t\"l\n\026BatchRunReportsRequest\022\020\n\010property" + - "\030\001 \001(\t\022@\n\010requests\030\002 \003(\0132..google.analyt" + - "ics.data.v1beta.RunReportRequest\"i\n\027Batc" + - "hRunReportsResponse\022@\n\007reports\030\001 \003(\0132/.g" + - "oogle.analytics.data.v1beta.RunReportRes" + - "ponse\022\014\n\004kind\030\002 \001(\t\"v\n\033BatchRunPivotRepo" + - "rtsRequest\022\020\n\010property\030\001 \001(\t\022E\n\010requests" + - "\030\002 \003(\01323.google.analytics.data.v1beta.Ru" + - "nPivotReportRequest\"y\n\034BatchRunPivotRepo" + - "rtsResponse\022K\n\rpivot_reports\030\001 \003(\01324.goo" + - "gle.analytics.data.v1beta.RunPivotReport" + - "Response\022\014\n\004kind\030\002 \001(\t\"Q\n\022GetMetadataReq" + - "uest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsdat" + - "a.googleapis.com/Metadata\"\251\004\n\030RunRealtim" + - "eReportRequest\022\020\n\010property\030\001 \001(\t\022;\n\ndime" + - "nsions\030\002 \003(\0132\'.google.analytics.data.v1b" + - "eta.Dimension\0225\n\007metrics\030\003 \003(\0132$.google." + - "analytics.data.v1beta.Metric\022H\n\020dimensio" + - "n_filter\030\004 \001(\0132..google.analytics.data.v" + - "1beta.FilterExpression\022E\n\rmetric_filter\030" + - "\005 \001(\0132..google.analytics.data.v1beta.Fil" + - "terExpression\022\r\n\005limit\030\006 \001(\003\022L\n\023metric_a" + - "ggregations\030\007 \003(\0162/.google.analytics.dat" + - "a.v1beta.MetricAggregation\0228\n\torder_bys\030" + - "\010 \003(\0132%.google.analytics.data.v1beta.Ord" + - "erBy\022\035\n\025return_property_quota\030\t \001(\010\022@\n\rm" + - "inute_ranges\030\n \003(\0132).google.analytics.da" + - "ta.v1beta.MinuteRange\"\335\003\n\031RunRealtimeRep" + - "ortResponse\022H\n\021dimension_headers\030\001 \003(\0132-" + - ".google.analytics.data.v1beta.DimensionH" + - "eader\022B\n\016metric_headers\030\002 \003(\0132*.google.a" + - "nalytics.data.v1beta.MetricHeader\022/\n\004row" + - "s\030\003 \003(\0132!.google.analytics.data.v1beta.R" + - "ow\0221\n\006totals\030\004 \003(\0132!.google.analytics.da" + - "ta.v1beta.Row\0223\n\010maximums\030\005 \003(\0132!.google" + - ".analytics.data.v1beta.Row\0223\n\010minimums\030\006" + - " \003(\0132!.google.analytics.data.v1beta.Row\022" + - "\021\n\trow_count\030\007 \001(\005\022C\n\016property_quota\030\010 \001" + - "(\0132+.google.analytics.data.v1beta.Proper" + - "tyQuota\022\014\n\004kind\030\t \001(\t2\254\013\n\021BetaAnalyticsD" + - "ata\022\242\001\n\tRunReport\022..google.analytics.dat" + - "a.v1beta.RunReportRequest\032/.google.analy" + - "tics.data.v1beta.RunReportResponse\"4\202\323\344\223" + - "\002.\")/v1beta/{property=properties/*}:runR" + - "eport:\001*\022\266\001\n\016RunPivotReport\0223.google.ana" + - "lytics.data.v1beta.RunPivotReportRequest" + - "\0324.google.analytics.data.v1beta.RunPivot" + - "ReportResponse\"9\202\323\344\223\0023\"./v1beta/{propert" + - "y=properties/*}:runPivotReport:\001*\022\272\001\n\017Ba" + - "tchRunReports\0224.google.analytics.data.v1" + - "beta.BatchRunReportsRequest\0325.google.ana" + - "lytics.data.v1beta.BatchRunReportsRespon" + - "se\":\202\323\344\223\0024\"//v1beta/{property=properties" + - "/*}:batchRunReports:\001*\022\316\001\n\024BatchRunPivot" + - "Reports\0229.google.analytics.data.v1beta.B" + - "atchRunPivotReportsRequest\032:.google.anal" + - "ytics.data.v1beta.BatchRunPivotReportsRe" + - "sponse\"?\202\323\344\223\0029\"4/v1beta/{property=proper" + - "ties/*}:batchRunPivotReports:\001*\022\234\001\n\013GetM" + - "etadata\0220.google.analytics.data.v1beta.G" + - "etMetadataRequest\032&.google.analytics.dat" + - "a.v1beta.Metadata\"3\202\323\344\223\002&\022$/v1beta/{name" + - "=properties/*/metadata}\332A\004name\022\302\001\n\021RunRe" + - "altimeReport\0226.google.analytics.data.v1b" + - "eta.RunRealtimeReportRequest\0327.google.an" + - "alytics.data.v1beta.RunRealtimeReportRes" + - "ponse\"<\202\323\344\223\0026\"1/v1beta/{property=propert" + - "ies/*}:runRealtimeReport:\001*\022\306\001\n\022CheckCom" + - "patibility\0227.google.analytics.data.v1bet" + - "a.CheckCompatibilityRequest\0328.google.ana" + - "lytics.data.v1beta.CheckCompatibilityRes" + - "ponse\"=\202\323\344\223\0027\"2/v1beta/{property=propert" + - "ies/*}:checkCompatibility:\001*\032~\312A\034analyti" + - "csdata.googleapis.com\322A\\https://www.goog" + - "leapis.com/auth/analytics,https://www.go" + - "ogleapis.com/auth/analytics.readonlyB}\n " + - "com.google.analytics.data.v1betaB\025Analyt" + - "icsDataApiProtoP\001Z@google.golang.org/gen" + - "proto/googleapis/analytics/data/v1beta;d" + - "atab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.data.v1beta.ReportingApiProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor, - new java.lang.String[] { "Property", "Dimensions", "Metrics", "DimensionFilter", "MetricFilter", "CompatibilityFilter", }); - internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor, - new java.lang.String[] { "DimensionCompatibilities", "MetricCompatibilities", }); - internal_static_google_analytics_data_v1beta_Metadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Metadata_descriptor, - new java.lang.String[] { "Name", "Dimensions", "Metrics", }); - internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor, - new java.lang.String[] { "Property", "Dimensions", "Metrics", "DateRanges", "DimensionFilter", "MetricFilter", "Offset", "Limit", "MetricAggregations", "OrderBys", "CurrencyCode", "CohortSpec", "KeepEmptyRows", "ReturnPropertyQuota", }); - internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor, - new java.lang.String[] { "DimensionHeaders", "MetricHeaders", "Rows", "Totals", "Maximums", "Minimums", "RowCount", "Metadata", "PropertyQuota", "Kind", }); - internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor, - new java.lang.String[] { "Property", "Dimensions", "Metrics", "DateRanges", "Pivots", "DimensionFilter", "MetricFilter", "CurrencyCode", "CohortSpec", "KeepEmptyRows", "ReturnPropertyQuota", }); - internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor, - new java.lang.String[] { "PivotHeaders", "DimensionHeaders", "MetricHeaders", "Rows", "Aggregates", "Metadata", "PropertyQuota", "Kind", }); - internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor, - new java.lang.String[] { "Property", "Requests", }); - internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor, - new java.lang.String[] { "Reports", "Kind", }); - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor, - new java.lang.String[] { "Property", "Requests", }); - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor, - new java.lang.String[] { "PivotReports", "Kind", }); - internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor, - new java.lang.String[] { "Property", "Dimensions", "Metrics", "DimensionFilter", "MetricFilter", "Limit", "MetricAggregations", "OrderBys", "ReturnPropertyQuota", "MinuteRanges", }); - internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor, - new java.lang.String[] { "DimensionHeaders", "MetricHeaders", "Rows", "Totals", "Maximums", "Minimums", "RowCount", "PropertyQuota", "Kind", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.analytics.data.v1beta.ReportingApiProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java deleted file mode 100644 index e557dc35..00000000 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/data/v1beta/data.proto - -package com.google.analytics.data.v1beta; - -public interface CohortReportSettingsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CohortReportSettings) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * If true, accumulates the result from first touch day to the end day. Not
-   * supported in `RunReportRequest`.
-   * 
- * - * bool accumulate = 1; - * @return The accumulate. - */ - boolean getAccumulate(); -} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java deleted file mode 100644 index f967ca8a..00000000 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/data/v1beta/data.proto - -package com.google.analytics.data.v1beta; - -public interface DimensionHeaderOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionHeader) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The dimension's name.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The dimension's name.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java deleted file mode 100644 index 9715e2d3..00000000 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/data/v1beta/data.proto - -package com.google.analytics.data.v1beta; - -public interface QuotaStatusOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.QuotaStatus) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Quota consumed by this request.
-   * 
- * - * int32 consumed = 1; - * @return The consumed. - */ - int getConsumed(); - - /** - *
-   * Quota remaining after this request.
-   * 
- * - * int32 remaining = 2; - * @return The remaining. - */ - int getRemaining(); -} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java deleted file mode 100644 index 2e58e783..00000000 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java +++ /dev/null @@ -1,625 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/data/v1beta/data.proto - -package com.google.analytics.data.v1beta; - -public final class ReportingApiProto { - private ReportingApiProto() {} - 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_analytics_data_v1beta_DateRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_MinuteRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Dimension_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Metric_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_FilterExpression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Filter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_OrderBy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Pivot_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_CohortSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Cohort_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_CohortsRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_MetricHeader_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_Row_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_MetricValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_NumericValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_data_v1beta_MetricCompatibility_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/analytics/data/v1beta/data.prot" + - "o\022\034google.analytics.data.v1beta\"?\n\tDateR" + - "ange\022\022\n\nstart_date\030\001 \001(\t\022\020\n\010end_date\030\002 \001" + - "(\t\022\014\n\004name\030\003 \001(\t\"\203\001\n\013MinuteRange\022\036\n\021star" + - "t_minutes_ago\030\001 \001(\005H\000\210\001\001\022\034\n\017end_minutes_" + - "ago\030\002 \001(\005H\001\210\001\001\022\014\n\004name\030\003 \001(\tB\024\n\022_start_m" + - "inutes_agoB\022\n\020_end_minutes_ago\"j\n\tDimens" + - "ion\022\014\n\004name\030\001 \001(\t\022O\n\024dimension_expressio" + - "n\030\002 \001(\01321.google.analytics.data.v1beta.D" + - "imensionExpression\"\246\003\n\023DimensionExpressi" + - "on\022V\n\nlower_case\030\004 \001(\0132@.google.analytic" + - "s.data.v1beta.DimensionExpression.CaseEx" + - "pressionH\000\022V\n\nupper_case\030\005 \001(\0132@.google." + - "analytics.data.v1beta.DimensionExpressio" + - "n.CaseExpressionH\000\022^\n\013concatenate\030\006 \001(\0132" + - "G.google.analytics.data.v1beta.Dimension" + - "Expression.ConcatenateExpressionH\000\032(\n\016Ca" + - "seExpression\022\026\n\016dimension_name\030\001 \001(\t\032C\n\025" + - "ConcatenateExpression\022\027\n\017dimension_names" + - "\030\001 \003(\t\022\021\n\tdelimiter\030\002 \001(\tB\020\n\016one_express" + - "ion\"=\n\006Metric\022\014\n\004name\030\001 \001(\t\022\022\n\nexpressio" + - "n\030\002 \001(\t\022\021\n\tinvisible\030\003 \001(\010\"\255\002\n\020FilterExp" + - "ression\022G\n\tand_group\030\001 \001(\01322.google.anal" + - "ytics.data.v1beta.FilterExpressionListH\000" + - "\022F\n\010or_group\030\002 \001(\01322.google.analytics.da" + - "ta.v1beta.FilterExpressionListH\000\022H\n\016not_" + - "expression\030\003 \001(\0132..google.analytics.data" + - ".v1beta.FilterExpressionH\000\0226\n\006filter\030\004 \001" + - "(\0132$.google.analytics.data.v1beta.Filter" + - "H\000B\006\n\004expr\"[\n\024FilterExpressionList\022C\n\013ex" + - "pressions\030\001 \003(\0132..google.analytics.data." + - "v1beta.FilterExpression\"\336\010\n\006Filter\022\022\n\nfi" + - "eld_name\030\001 \001(\t\022J\n\rstring_filter\030\003 \001(\01321." + - "google.analytics.data.v1beta.Filter.Stri" + - "ngFilterH\000\022K\n\016in_list_filter\030\004 \001(\01321.goo" + - "gle.analytics.data.v1beta.Filter.InListF" + - "ilterH\000\022L\n\016numeric_filter\030\005 \001(\01322.google" + - ".analytics.data.v1beta.Filter.NumericFil" + - "terH\000\022L\n\016between_filter\030\006 \001(\01322.google.a" + - "nalytics.data.v1beta.Filter.BetweenFilte" + - "rH\000\032\216\002\n\014StringFilter\022O\n\nmatch_type\030\001 \001(\016" + - "2;.google.analytics.data.v1beta.Filter.S" + - "tringFilter.MatchType\022\r\n\005value\030\002 \001(\t\022\026\n\016" + - "case_sensitive\030\003 \001(\010\"\205\001\n\tMatchType\022\032\n\026MA" + - "TCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013BEG" + - "INS_WITH\020\002\022\r\n\tENDS_WITH\020\003\022\014\n\010CONTAINS\020\004\022" + - "\017\n\013FULL_REGEXP\020\005\022\022\n\016PARTIAL_REGEXP\020\006\0326\n\014" + - "InListFilter\022\016\n\006values\030\001 \003(\t\022\026\n\016case_sen" + - "sitive\030\002 \001(\010\032\243\002\n\rNumericFilter\022O\n\toperat" + - "ion\030\001 \001(\0162<.google.analytics.data.v1beta" + - ".Filter.NumericFilter.Operation\0229\n\005value" + - "\030\002 \001(\0132*.google.analytics.data.v1beta.Nu" + - "mericValue\"\205\001\n\tOperation\022\031\n\025OPERATION_UN" + - "SPECIFIED\020\000\022\t\n\005EQUAL\020\001\022\r\n\tLESS_THAN\020\002\022\026\n" + - "\022LESS_THAN_OR_EQUAL\020\003\022\020\n\014GREATER_THAN\020\004\022" + - "\031\n\025GREATER_THAN_OR_EQUAL\020\005\032\215\001\n\rBetweenFi" + - "lter\022>\n\nfrom_value\030\001 \001(\0132*.google.analyt" + - "ics.data.v1beta.NumericValue\022<\n\010to_value" + - "\030\002 \001(\0132*.google.analytics.data.v1beta.Nu" + - "mericValueB\014\n\none_filter\"\332\005\n\007OrderBy\022E\n\006" + - "metric\030\001 \001(\01323.google.analytics.data.v1b" + - "eta.OrderBy.MetricOrderByH\000\022K\n\tdimension" + - "\030\002 \001(\01326.google.analytics.data.v1beta.Or" + - "derBy.DimensionOrderByH\000\022C\n\005pivot\030\003 \001(\0132" + - "2.google.analytics.data.v1beta.OrderBy.P" + - "ivotOrderByH\000\022\014\n\004desc\030\004 \001(\010\032$\n\rMetricOrd" + - "erBy\022\023\n\013metric_name\030\001 \001(\t\032\353\001\n\020DimensionO" + - "rderBy\022\026\n\016dimension_name\030\001 \001(\t\022T\n\norder_" + - "type\030\002 \001(\0162@.google.analytics.data.v1bet" + - "a.OrderBy.DimensionOrderBy.OrderType\"i\n\t" + - "OrderType\022\032\n\026ORDER_TYPE_UNSPECIFIED\020\000\022\020\n" + - "\014ALPHANUMERIC\020\001\022!\n\035CASE_INSENSITIVE_ALPH" + - "ANUMERIC\020\002\022\013\n\007NUMERIC\020\003\032\303\001\n\014PivotOrderBy" + - "\022\023\n\013metric_name\030\001 \001(\t\022[\n\020pivot_selection" + - "s\030\002 \003(\0132A.google.analytics.data.v1beta.O" + - "rderBy.PivotOrderBy.PivotSelection\032A\n\016Pi" + - "votSelection\022\026\n\016dimension_name\030\001 \001(\t\022\027\n\017" + - "dimension_value\030\002 \001(\tB\016\n\014one_order_by\"\303\001" + - "\n\005Pivot\022\023\n\013field_names\030\001 \003(\t\0228\n\torder_by" + - "s\030\002 \003(\0132%.google.analytics.data.v1beta.O" + - "rderBy\022\016\n\006offset\030\003 \001(\003\022\r\n\005limit\030\004 \001(\003\022L\n" + - "\023metric_aggregations\030\005 \003(\0162/.google.anal" + - "ytics.data.v1beta.MetricAggregation\"\332\001\n\n" + - "CohortSpec\0225\n\007cohorts\030\001 \003(\0132$.google.ana" + - "lytics.data.v1beta.Cohort\022A\n\rcohorts_ran" + - "ge\030\002 \001(\0132*.google.analytics.data.v1beta." + - "CohortsRange\022R\n\026cohort_report_settings\030\003" + - " \001(\01322.google.analytics.data.v1beta.Coho" + - "rtReportSettings\"f\n\006Cohort\022\014\n\004name\030\001 \001(\t" + - "\022\021\n\tdimension\030\002 \001(\t\022;\n\ndate_range\030\003 \001(\0132" + - "\'.google.analytics.data.v1beta.DateRange" + - "\"\325\001\n\014CohortsRange\022K\n\013granularity\030\001 \001(\01626" + - ".google.analytics.data.v1beta.CohortsRan" + - "ge.Granularity\022\024\n\014start_offset\030\002 \001(\005\022\022\n\n" + - "end_offset\030\003 \001(\005\"N\n\013Granularity\022\033\n\027GRANU" + - "LARITY_UNSPECIFIED\020\000\022\t\n\005DAILY\020\001\022\n\n\006WEEKL" + - "Y\020\002\022\013\n\007MONTHLY\020\003\"*\n\024CohortReportSettings" + - "\022\022\n\naccumulate\030\001 \001(\010\"4\n\020ResponseMetaData" + - "\022 \n\030data_loss_from_other_row\030\003 \001(\010\"\037\n\017Di" + - "mensionHeader\022\014\n\004name\030\001 \001(\t\"T\n\014MetricHea" + - "der\022\014\n\004name\030\001 \001(\t\0226\n\004type\030\002 \001(\0162(.google" + - ".analytics.data.v1beta.MetricType\"u\n\013Piv" + - "otHeader\022S\n\027pivot_dimension_headers\030\001 \003(" + - "\01322.google.analytics.data.v1beta.PivotDi" + - "mensionHeader\022\021\n\trow_count\030\002 \001(\005\"^\n\024Pivo" + - "tDimensionHeader\022F\n\020dimension_values\030\001 \003" + - "(\0132,.google.analytics.data.v1beta.Dimens" + - "ionValue\"\217\001\n\003Row\022F\n\020dimension_values\030\001 \003" + - "(\0132,.google.analytics.data.v1beta.Dimens" + - "ionValue\022@\n\rmetric_values\030\002 \003(\0132).google" + - ".analytics.data.v1beta.MetricValue\".\n\016Di" + - "mensionValue\022\017\n\005value\030\001 \001(\tH\000B\013\n\tone_val" + - "ue\"+\n\013MetricValue\022\017\n\005value\030\004 \001(\tH\000B\013\n\ton" + - "e_value\"J\n\014NumericValue\022\025\n\013int64_value\030\001" + - " \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone_va" + - "lue\"\223\003\n\rPropertyQuota\022A\n\016tokens_per_day\030" + - "\001 \001(\0132).google.analytics.data.v1beta.Quo" + - "taStatus\022B\n\017tokens_per_hour\030\002 \001(\0132).goog" + - "le.analytics.data.v1beta.QuotaStatus\022F\n\023" + - "concurrent_requests\030\003 \001(\0132).google.analy" + - "tics.data.v1beta.QuotaStatus\022U\n\"server_e" + - "rrors_per_project_per_hour\030\004 \001(\0132).googl" + - "e.analytics.data.v1beta.QuotaStatus\022\\\n)p" + - "otentially_thresholded_requests_per_hour" + - "\030\005 \001(\0132).google.analytics.data.v1beta.Qu" + - "otaStatus\"2\n\013QuotaStatus\022\020\n\010consumed\030\001 \001" + - "(\005\022\021\n\tremaining\030\002 \001(\005\"\226\001\n\021DimensionMetad" + - "ata\022\020\n\010api_name\030\001 \001(\t\022\017\n\007ui_name\030\002 \001(\t\022\023" + - "\n\013description\030\003 \001(\t\022\034\n\024deprecated_api_na" + - "mes\030\004 \003(\t\022\031\n\021custom_definition\030\005 \001(\010\022\020\n\010" + - "category\030\007 \001(\t\"\337\001\n\016MetricMetadata\022\020\n\010api" + - "_name\030\001 \001(\t\022\017\n\007ui_name\030\002 \001(\t\022\023\n\013descript" + - "ion\030\003 \001(\t\022\034\n\024deprecated_api_names\030\004 \003(\t\022" + - "6\n\004type\030\005 \001(\0162(.google.analytics.data.v1" + - "beta.MetricType\022\022\n\nexpression\030\006 \001(\t\022\031\n\021c" + - "ustom_definition\030\007 \001(\010\022\020\n\010category\030\n \001(\t" + - "\"\334\001\n\026DimensionCompatibility\022P\n\022dimension" + - "_metadata\030\001 \001(\0132/.google.analytics.data." + - "v1beta.DimensionMetadataH\000\210\001\001\022G\n\rcompati" + - "bility\030\002 \001(\0162+.google.analytics.data.v1b" + - "eta.CompatibilityH\001\210\001\001B\025\n\023_dimension_met" + - "adataB\020\n\016_compatibility\"\320\001\n\023MetricCompat" + - "ibility\022J\n\017metric_metadata\030\001 \001(\0132,.googl" + - "e.analytics.data.v1beta.MetricMetadataH\000" + - "\210\001\001\022G\n\rcompatibility\030\002 \001(\0162+.google.anal" + - "ytics.data.v1beta.CompatibilityH\001\210\001\001B\022\n\020" + - "_metric_metadataB\020\n\016_compatibility*g\n\021Me" + - "tricAggregation\022\"\n\036METRIC_AGGREGATION_UN" + - "SPECIFIED\020\000\022\t\n\005TOTAL\020\001\022\013\n\007MINIMUM\020\005\022\013\n\007M" + - "AXIMUM\020\006\022\t\n\005COUNT\020\004*\201\002\n\nMetricType\022\033\n\027ME" + - "TRIC_TYPE_UNSPECIFIED\020\000\022\020\n\014TYPE_INTEGER\020" + - "\001\022\016\n\nTYPE_FLOAT\020\002\022\020\n\014TYPE_SECONDS\020\004\022\025\n\021T" + - "YPE_MILLISECONDS\020\005\022\020\n\014TYPE_MINUTES\020\006\022\016\n\n" + - "TYPE_HOURS\020\007\022\021\n\rTYPE_STANDARD\020\010\022\021\n\rTYPE_" + - "CURRENCY\020\t\022\r\n\tTYPE_FEET\020\n\022\016\n\nTYPE_MILES\020" + - "\013\022\017\n\013TYPE_METERS\020\014\022\023\n\017TYPE_KILOMETERS\020\r*" + - "P\n\rCompatibility\022\035\n\031COMPATIBILITY_UNSPEC" + - "IFIED\020\000\022\016\n\nCOMPATIBLE\020\001\022\020\n\014INCOMPATIBLE\020" + - "\002By\n com.google.analytics.data.v1betaB\021R" + - "eportingApiProtoP\001Z@google.golang.org/ge" + - "nproto/googleapis/analytics/data/v1beta;" + - "datab\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_analytics_data_v1beta_DateRange_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DateRange_descriptor, - new java.lang.String[] { "StartDate", "EndDate", "Name", }); - internal_static_google_analytics_data_v1beta_MinuteRange_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_MinuteRange_descriptor, - new java.lang.String[] { "StartMinutesAgo", "EndMinutesAgo", "Name", "StartMinutesAgo", "EndMinutesAgo", }); - internal_static_google_analytics_data_v1beta_Dimension_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Dimension_descriptor, - new java.lang.String[] { "Name", "DimensionExpression", }); - internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor, - new java.lang.String[] { "LowerCase", "UpperCase", "Concatenate", "OneExpression", }); - internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor = - internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor, - new java.lang.String[] { "DimensionName", }); - internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor = - internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor, - new java.lang.String[] { "DimensionNames", "Delimiter", }); - internal_static_google_analytics_data_v1beta_Metric_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Metric_descriptor, - new java.lang.String[] { "Name", "Expression", "Invisible", }); - internal_static_google_analytics_data_v1beta_FilterExpression_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_FilterExpression_descriptor, - new java.lang.String[] { "AndGroup", "OrGroup", "NotExpression", "Filter", "Expr", }); - internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor, - new java.lang.String[] { "Expressions", }); - internal_static_google_analytics_data_v1beta_Filter_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Filter_descriptor, - new java.lang.String[] { "FieldName", "StringFilter", "InListFilter", "NumericFilter", "BetweenFilter", "OneFilter", }); - internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor = - internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor, - new java.lang.String[] { "MatchType", "Value", "CaseSensitive", }); - internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor = - internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor, - new java.lang.String[] { "Values", "CaseSensitive", }); - internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor = - internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor, - new java.lang.String[] { "Operation", "Value", }); - internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor = - internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(3); - internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor, - new java.lang.String[] { "FromValue", "ToValue", }); - internal_static_google_analytics_data_v1beta_OrderBy_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_OrderBy_descriptor, - new java.lang.String[] { "Metric", "Dimension", "Pivot", "Desc", "OneOrderBy", }); - internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor = - internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor, - new java.lang.String[] { "MetricName", }); - internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor = - internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor, - new java.lang.String[] { "DimensionName", "OrderType", }); - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor = - internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(2); - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor, - new java.lang.String[] { "MetricName", "PivotSelections", }); - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor = - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor, - new java.lang.String[] { "DimensionName", "DimensionValue", }); - internal_static_google_analytics_data_v1beta_Pivot_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Pivot_descriptor, - new java.lang.String[] { "FieldNames", "OrderBys", "Offset", "Limit", "MetricAggregations", }); - internal_static_google_analytics_data_v1beta_CohortSpec_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_CohortSpec_descriptor, - new java.lang.String[] { "Cohorts", "CohortsRange", "CohortReportSettings", }); - internal_static_google_analytics_data_v1beta_Cohort_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Cohort_descriptor, - new java.lang.String[] { "Name", "Dimension", "DateRange", }); - internal_static_google_analytics_data_v1beta_CohortsRange_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_CohortsRange_descriptor, - new java.lang.String[] { "Granularity", "StartOffset", "EndOffset", }); - internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor, - new java.lang.String[] { "Accumulate", }); - internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor, - new java.lang.String[] { "DataLossFromOtherRow", }); - internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_data_v1beta_MetricHeader_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_MetricHeader_descriptor, - new java.lang.String[] { "Name", "Type", }); - internal_static_google_analytics_data_v1beta_PivotHeader_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_PivotHeader_descriptor, - new java.lang.String[] { "PivotDimensionHeaders", "RowCount", }); - internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor, - new java.lang.String[] { "DimensionValues", }); - internal_static_google_analytics_data_v1beta_Row_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_Row_descriptor, - new java.lang.String[] { "DimensionValues", "MetricValues", }); - internal_static_google_analytics_data_v1beta_DimensionValue_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionValue_descriptor, - new java.lang.String[] { "Value", "OneValue", }); - internal_static_google_analytics_data_v1beta_MetricValue_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_MetricValue_descriptor, - new java.lang.String[] { "Value", "OneValue", }); - internal_static_google_analytics_data_v1beta_NumericValue_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_NumericValue_descriptor, - new java.lang.String[] { "Int64Value", "DoubleValue", "OneValue", }); - internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor, - new java.lang.String[] { "TokensPerDay", "TokensPerHour", "ConcurrentRequests", "ServerErrorsPerProjectPerHour", "PotentiallyThresholdedRequestsPerHour", }); - internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor, - new java.lang.String[] { "Consumed", "Remaining", }); - internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor, - new java.lang.String[] { "ApiName", "UiName", "Description", "DeprecatedApiNames", "CustomDefinition", "Category", }); - internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor, - new java.lang.String[] { "ApiName", "UiName", "Description", "DeprecatedApiNames", "Type", "Expression", "CustomDefinition", "Category", }); - internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor, - new java.lang.String[] { "DimensionMetadata", "Compatibility", "DimensionMetadata", "Compatibility", }); - internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_analytics_data_v1beta_MetricCompatibility_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor, - new java.lang.String[] { "MetricMetadata", "Compatibility", "MetricMetadata", "Compatibility", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java b/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java deleted file mode 100644 index 485c3a44..00000000 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/data/v1beta/data.proto - -package com.google.analytics.data.v1beta; - -public interface ResponseMetaDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.ResponseMetaData) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * If true, indicates some buckets of dimension combinations are rolled into
-   * "(other)" row. This can happen for high cardinality reports.
-   * 
- * - * bool data_loss_from_other_row = 3; - * @return The dataLossFromOtherRow. - */ - boolean getDataLossFromOtherRow(); -} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java new file mode 100644 index 00000000..4099fcbb --- /dev/null +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/AnalyticsDataApiProto.java @@ -0,0 +1,461 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/analytics_data_api.proto + +package com.google.analytics.data.v1beta; + +public final class AnalyticsDataApiProto { + private AnalyticsDataApiProto() {} + + 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_analytics_data_v1beta_CheckCompatibilityRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Metadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n5google/analytics/data/v1beta/analytics" + + "_data_api.proto\022\034google.analytics.data.v" + + "1beta\032\'google/analytics/data/v1beta/data" + + ".proto\032\034google/api/annotations.proto\032\027go" + + "ogle/api/client.proto\032\037google/api/field_" + + "behavior.proto\032\031google/api/resource.prot" + + "o\"\375\002\n\031CheckCompatibilityRequest\022\020\n\010prope" + + "rty\030\001 \001(\t\022;\n\ndimensions\030\002 \003(\0132\'.google.a" + + "nalytics.data.v1beta.Dimension\0225\n\007metric" + + "s\030\003 \003(\0132$.google.analytics.data.v1beta.M" + + "etric\022H\n\020dimension_filter\030\004 \001(\0132..google" + + ".analytics.data.v1beta.FilterExpression\022" + + "E\n\rmetric_filter\030\005 \001(\0132..google.analytic" + + "s.data.v1beta.FilterExpression\022I\n\024compat" + + "ibility_filter\030\006 \001(\0162+.google.analytics." + + "data.v1beta.Compatibility\"\310\001\n\032CheckCompa" + + "tibilityResponse\022W\n\031dimension_compatibil" + + "ities\030\001 \003(\01324.google.analytics.data.v1be" + + "ta.DimensionCompatibility\022Q\n\026metric_comp" + + "atibilities\030\002 \003(\01321.google.analytics.dat" + + "a.v1beta.MetricCompatibility\"\350\001\n\010Metadat" + + "a\022\014\n\004name\030\003 \001(\t\022C\n\ndimensions\030\001 \003(\0132/.go" + + "ogle.analytics.data.v1beta.DimensionMeta" + + "data\022=\n\007metrics\030\002 \003(\0132,.google.analytics" + + ".data.v1beta.MetricMetadata:J\352AG\n%analyt" + + "icsdata.googleapis.com/Metadata\022\036propert" + + "ies/{property}/metadata\"\234\005\n\020RunReportReq" + + "uest\022\020\n\010property\030\001 \001(\t\022;\n\ndimensions\030\002 \003" + + "(\0132\'.google.analytics.data.v1beta.Dimens" + + "ion\0225\n\007metrics\030\003 \003(\0132$.google.analytics." + + "data.v1beta.Metric\022<\n\013date_ranges\030\004 \003(\0132" + + "\'.google.analytics.data.v1beta.DateRange" + + "\022H\n\020dimension_filter\030\005 \001(\0132..google.anal" + + "ytics.data.v1beta.FilterExpression\022E\n\rme" + + "tric_filter\030\006 \001(\0132..google.analytics.dat" + + "a.v1beta.FilterExpression\022\016\n\006offset\030\007 \001(" + + "\003\022\r\n\005limit\030\010 \001(\003\022L\n\023metric_aggregations\030" + + "\t \003(\0162/.google.analytics.data.v1beta.Met" + + "ricAggregation\0228\n\torder_bys\030\n \003(\0132%.goog" + + "le.analytics.data.v1beta.OrderBy\022\025\n\rcurr" + + "ency_code\030\013 \001(\t\022=\n\013cohort_spec\030\014 \001(\0132(.g" + + "oogle.analytics.data.v1beta.CohortSpec\022\027" + + "\n\017keep_empty_rows\030\r \001(\010\022\035\n\025return_proper" + + "ty_quota\030\016 \001(\010\"\227\004\n\021RunReportResponse\022H\n\021" + + "dimension_headers\030\001 \003(\0132-.google.analyti" + + "cs.data.v1beta.DimensionHeader\022B\n\016metric" + + "_headers\030\002 \003(\0132*.google.analytics.data.v" + + "1beta.MetricHeader\022/\n\004rows\030\003 \003(\0132!.googl" + + "e.analytics.data.v1beta.Row\0221\n\006totals\030\004 " + + "\003(\0132!.google.analytics.data.v1beta.Row\0223" + + "\n\010maximums\030\005 \003(\0132!.google.analytics.data" + + ".v1beta.Row\0223\n\010minimums\030\006 \003(\0132!.google.a" + + "nalytics.data.v1beta.Row\022\021\n\trow_count\030\007 " + + "\001(\005\022@\n\010metadata\030\010 \001(\0132..google.analytics" + + ".data.v1beta.ResponseMetaData\022C\n\016propert" + + "y_quota\030\t \001(\0132+.google.analytics.data.v1" + + "beta.PropertyQuota\022\014\n\004kind\030\n \001(\t\"\257\004\n\025Run" + + "PivotReportRequest\022\020\n\010property\030\001 \001(\t\022;\n\n" + + "dimensions\030\002 \003(\0132\'.google.analytics.data" + + ".v1beta.Dimension\0225\n\007metrics\030\003 \003(\0132$.goo" + + "gle.analytics.data.v1beta.Metric\022<\n\013date" + + "_ranges\030\004 \003(\0132\'.google.analytics.data.v1" + + "beta.DateRange\0223\n\006pivots\030\005 \003(\0132#.google." + + "analytics.data.v1beta.Pivot\022H\n\020dimension" + + "_filter\030\006 \001(\0132..google.analytics.data.v1" + + "beta.FilterExpression\022E\n\rmetric_filter\030\007" + + " \001(\0132..google.analytics.data.v1beta.Filt" + + "erExpression\022\025\n\rcurrency_code\030\010 \001(\t\022=\n\013c" + + "ohort_spec\030\t \001(\0132(.google.analytics.data" + + ".v1beta.CohortSpec\022\027\n\017keep_empty_rows\030\n " + + "\001(\010\022\035\n\025return_property_quota\030\013 \001(\010\"\345\003\n\026R" + + "unPivotReportResponse\022@\n\rpivot_headers\030\001" + + " \003(\0132).google.analytics.data.v1beta.Pivo" + + "tHeader\022H\n\021dimension_headers\030\002 \003(\0132-.goo" + + "gle.analytics.data.v1beta.DimensionHeade" + + "r\022B\n\016metric_headers\030\003 \003(\0132*.google.analy" + + "tics.data.v1beta.MetricHeader\022/\n\004rows\030\004 " + + "\003(\0132!.google.analytics.data.v1beta.Row\0225" + + "\n\naggregates\030\005 \003(\0132!.google.analytics.da" + + "ta.v1beta.Row\022@\n\010metadata\030\006 \001(\0132..google" + + ".analytics.data.v1beta.ResponseMetaData\022" + + "C\n\016property_quota\030\007 \001(\0132+.google.analyti" + + "cs.data.v1beta.PropertyQuota\022\014\n\004kind\030\010 \001" + + "(\t\"l\n\026BatchRunReportsRequest\022\020\n\010property" + + "\030\001 \001(\t\022@\n\010requests\030\002 \003(\0132..google.analyt" + + "ics.data.v1beta.RunReportRequest\"i\n\027Batc" + + "hRunReportsResponse\022@\n\007reports\030\001 \003(\0132/.g" + + "oogle.analytics.data.v1beta.RunReportRes" + + "ponse\022\014\n\004kind\030\002 \001(\t\"v\n\033BatchRunPivotRepo" + + "rtsRequest\022\020\n\010property\030\001 \001(\t\022E\n\010requests" + + "\030\002 \003(\01323.google.analytics.data.v1beta.Ru" + + "nPivotReportRequest\"y\n\034BatchRunPivotRepo" + + "rtsResponse\022K\n\rpivot_reports\030\001 \003(\01324.goo" + + "gle.analytics.data.v1beta.RunPivotReport" + + "Response\022\014\n\004kind\030\002 \001(\t\"Q\n\022GetMetadataReq" + + "uest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyticsdat" + + "a.googleapis.com/Metadata\"\251\004\n\030RunRealtim" + + "eReportRequest\022\020\n\010property\030\001 \001(\t\022;\n\ndime" + + "nsions\030\002 \003(\0132\'.google.analytics.data.v1b" + + "eta.Dimension\0225\n\007metrics\030\003 \003(\0132$.google." + + "analytics.data.v1beta.Metric\022H\n\020dimensio" + + "n_filter\030\004 \001(\0132..google.analytics.data.v" + + "1beta.FilterExpression\022E\n\rmetric_filter\030" + + "\005 \001(\0132..google.analytics.data.v1beta.Fil" + + "terExpression\022\r\n\005limit\030\006 \001(\003\022L\n\023metric_a" + + "ggregations\030\007 \003(\0162/.google.analytics.dat" + + "a.v1beta.MetricAggregation\0228\n\torder_bys\030" + + "\010 \003(\0132%.google.analytics.data.v1beta.Ord" + + "erBy\022\035\n\025return_property_quota\030\t \001(\010\022@\n\rm" + + "inute_ranges\030\n \003(\0132).google.analytics.da" + + "ta.v1beta.MinuteRange\"\335\003\n\031RunRealtimeRep" + + "ortResponse\022H\n\021dimension_headers\030\001 \003(\0132-" + + ".google.analytics.data.v1beta.DimensionH" + + "eader\022B\n\016metric_headers\030\002 \003(\0132*.google.a" + + "nalytics.data.v1beta.MetricHeader\022/\n\004row" + + "s\030\003 \003(\0132!.google.analytics.data.v1beta.R" + + "ow\0221\n\006totals\030\004 \003(\0132!.google.analytics.da" + + "ta.v1beta.Row\0223\n\010maximums\030\005 \003(\0132!.google" + + ".analytics.data.v1beta.Row\0223\n\010minimums\030\006" + + " \003(\0132!.google.analytics.data.v1beta.Row\022" + + "\021\n\trow_count\030\007 \001(\005\022C\n\016property_quota\030\010 \001" + + "(\0132+.google.analytics.data.v1beta.Proper" + + "tyQuota\022\014\n\004kind\030\t \001(\t2\254\013\n\021BetaAnalyticsD" + + "ata\022\242\001\n\tRunReport\022..google.analytics.dat" + + "a.v1beta.RunReportRequest\032/.google.analy" + + "tics.data.v1beta.RunReportResponse\"4\202\323\344\223" + + "\002.\")/v1beta/{property=properties/*}:runR" + + "eport:\001*\022\266\001\n\016RunPivotReport\0223.google.ana" + + "lytics.data.v1beta.RunPivotReportRequest" + + "\0324.google.analytics.data.v1beta.RunPivot" + + "ReportResponse\"9\202\323\344\223\0023\"./v1beta/{propert" + + "y=properties/*}:runPivotReport:\001*\022\272\001\n\017Ba" + + "tchRunReports\0224.google.analytics.data.v1" + + "beta.BatchRunReportsRequest\0325.google.ana" + + "lytics.data.v1beta.BatchRunReportsRespon" + + "se\":\202\323\344\223\0024\"//v1beta/{property=properties" + + "/*}:batchRunReports:\001*\022\316\001\n\024BatchRunPivot" + + "Reports\0229.google.analytics.data.v1beta.B" + + "atchRunPivotReportsRequest\032:.google.anal" + + "ytics.data.v1beta.BatchRunPivotReportsRe" + + "sponse\"?\202\323\344\223\0029\"4/v1beta/{property=proper" + + "ties/*}:batchRunPivotReports:\001*\022\234\001\n\013GetM" + + "etadata\0220.google.analytics.data.v1beta.G" + + "etMetadataRequest\032&.google.analytics.dat" + + "a.v1beta.Metadata\"3\202\323\344\223\002&\022$/v1beta/{name" + + "=properties/*/metadata}\332A\004name\022\302\001\n\021RunRe" + + "altimeReport\0226.google.analytics.data.v1b" + + "eta.RunRealtimeReportRequest\0327.google.an" + + "alytics.data.v1beta.RunRealtimeReportRes" + + "ponse\"<\202\323\344\223\0026\"1/v1beta/{property=propert" + + "ies/*}:runRealtimeReport:\001*\022\306\001\n\022CheckCom" + + "patibility\0227.google.analytics.data.v1bet" + + "a.CheckCompatibilityRequest\0328.google.ana" + + "lytics.data.v1beta.CheckCompatibilityRes" + + "ponse\"=\202\323\344\223\0027\"2/v1beta/{property=propert" + + "ies/*}:checkCompatibility:\001*\032~\312A\034analyti" + + "csdata.googleapis.com\322A\\https://www.goog" + + "leapis.com/auth/analytics,https://www.go" + + "ogleapis.com/auth/analytics.readonlyB}\n " + + "com.google.analytics.data.v1betaB\025Analyt" + + "icsDataApiProtoP\001Z@google.golang.org/gen" + + "proto/googleapis/analytics/data/v1beta;d" + + "atab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.data.v1beta.ReportingApiProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor, + new java.lang.String[] { + "Property", + "Dimensions", + "Metrics", + "DimensionFilter", + "MetricFilter", + "CompatibilityFilter", + }); + internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor, + new java.lang.String[] { + "DimensionCompatibilities", "MetricCompatibilities", + }); + internal_static_google_analytics_data_v1beta_Metadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Metadata_descriptor, + new java.lang.String[] { + "Name", "Dimensions", "Metrics", + }); + internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor, + new java.lang.String[] { + "Property", + "Dimensions", + "Metrics", + "DateRanges", + "DimensionFilter", + "MetricFilter", + "Offset", + "Limit", + "MetricAggregations", + "OrderBys", + "CurrencyCode", + "CohortSpec", + "KeepEmptyRows", + "ReturnPropertyQuota", + }); + internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor, + new java.lang.String[] { + "DimensionHeaders", + "MetricHeaders", + "Rows", + "Totals", + "Maximums", + "Minimums", + "RowCount", + "Metadata", + "PropertyQuota", + "Kind", + }); + internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor, + new java.lang.String[] { + "Property", + "Dimensions", + "Metrics", + "DateRanges", + "Pivots", + "DimensionFilter", + "MetricFilter", + "CurrencyCode", + "CohortSpec", + "KeepEmptyRows", + "ReturnPropertyQuota", + }); + internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor, + new java.lang.String[] { + "PivotHeaders", + "DimensionHeaders", + "MetricHeaders", + "Rows", + "Aggregates", + "Metadata", + "PropertyQuota", + "Kind", + }); + internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor, + new java.lang.String[] { + "Property", "Requests", + }); + internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor, + new java.lang.String[] { + "Reports", "Kind", + }); + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor, + new java.lang.String[] { + "Property", "Requests", + }); + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor, + new java.lang.String[] { + "PivotReports", "Kind", + }); + internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor, + new java.lang.String[] { + "Property", + "Dimensions", + "Metrics", + "DimensionFilter", + "MetricFilter", + "Limit", + "MetricAggregations", + "OrderBys", + "ReturnPropertyQuota", + "MinuteRanges", + }); + internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor, + new java.lang.String[] { + "DimensionHeaders", + "MetricHeaders", + "Rows", + "Totals", + "Maximums", + "Minimums", + "RowCount", + "PropertyQuota", + "Kind", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.analytics.data.v1beta.ReportingApiProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java similarity index 76% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java index 92069668..fd3e5ae2 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The batch request containing multiple pivot report requests.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunPivotReportsRequest} */ -public final class BatchRunPivotReportsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchRunPivotReportsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.BatchRunPivotReportsRequest) BatchRunPivotReportsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchRunPivotReportsRequest.newBuilder() to construct. private BatchRunPivotReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchRunPivotReportsRequest() { property_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private BatchRunPivotReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchRunPivotReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchRunPivotReportsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,40 @@ private BatchRunPivotReportsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + property_ = s; + break; } - requests_.add( - input.readMessage(com.google.analytics.data.v1beta.RunPivotReportRequest.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + requests_ = + new java.util.ArrayList< + com.google.analytics.data.v1beta.RunPivotReportRequest>(); + mutable_bitField0_ |= 0x00000001; + } + requests_.add( + input.readMessage( + com.google.analytics.data.v1beta.RunPivotReportRequest.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)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -92,22 +114,27 @@ private BatchRunPivotReportsRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.Builder.class); + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -120,6 +147,7 @@ private BatchRunPivotReportsRequest(
    * 
* * string property = 1; + * * @return The property. */ @java.lang.Override @@ -128,14 +156,15 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -148,16 +177,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -168,6 +196,8 @@ public java.lang.String getProperty() { public static final int REQUESTS_FIELD_NUMBER = 2; private java.util.List requests_; /** + * + * *
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -180,6 +210,8 @@ public java.util.List ge
     return requests_;
   }
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -188,11 +220,13 @@ public java.util.List ge
    * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRequestsOrBuilderList() {
     return requests_;
   }
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -205,6 +239,8 @@ public int getRequestsCount() {
     return requests_.size();
   }
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -217,6 +253,8 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest getRequests(int in
     return requests_.get(index);
   }
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -231,6 +269,7 @@ public com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getReques
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -242,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 (!getPropertyBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_);
     }
@@ -263,8 +301,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_);
     }
     for (int i = 0; i < requests_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, requests_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -274,17 +311,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.analytics.data.v1beta.BatchRunPivotReportsRequest)) {
       return super.equals(obj);
     }
-    com.google.analytics.data.v1beta.BatchRunPivotReportsRequest other = (com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) obj;
+    com.google.analytics.data.v1beta.BatchRunPivotReportsRequest other =
+        (com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) obj;
 
-    if (!getProperty()
-        .equals(other.getProperty())) return false;
-    if (!getRequestsList()
-        .equals(other.getRequestsList())) return false;
+    if (!getProperty().equals(other.getProperty())) return false;
+    if (!getRequestsList().equals(other.getRequestsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -308,117 +344,127 @@ public int hashCode() {
   }
 
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.analytics.data.v1beta.BatchRunPivotReportsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 batch request containing multiple pivot report requests.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunPivotReportsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.BatchRunPivotReportsRequest) com.google.analytics.data.v1beta.BatchRunPivotReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.Builder.class); + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.class, + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.newBuilder() @@ -426,17 +472,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) { getRequestsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -452,13 +498,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsRequest_descriptor; } @java.lang.Override - public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest getDefaultInstanceForType() { + public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest + getDefaultInstanceForType() { return com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.getDefaultInstance(); } @@ -473,7 +520,8 @@ public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest buildPartial() { - com.google.analytics.data.v1beta.BatchRunPivotReportsRequest result = new com.google.analytics.data.v1beta.BatchRunPivotReportsRequest(this); + com.google.analytics.data.v1beta.BatchRunPivotReportsRequest result = + new com.google.analytics.data.v1beta.BatchRunPivotReportsRequest(this); int from_bitField0_ = bitField0_; result.property_ = property_; if (requestsBuilder_ == null) { @@ -493,38 +541,39 @@ public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) { - return mergeFrom((com.google.analytics.data.v1beta.BatchRunPivotReportsRequest)other); + return mergeFrom((com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) other); } else { super.mergeFrom(other); return this; @@ -532,7 +581,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunPivotReportsRequest other) { - if (other == com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.data.v1beta.BatchRunPivotReportsRequest.getDefaultInstance()) + return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -555,9 +606,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunPivotReportsRe requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestsFieldBuilder() : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRequestsFieldBuilder() + : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -582,7 +634,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.BatchRunPivotReportsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,10 +644,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -607,13 +663,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -622,6 +678,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -634,15 +692,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -650,6 +707,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -662,20 +721,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { + public Builder setProperty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -688,15 +749,18 @@ public Builder setProperty(
      * 
* * string property = 1; + * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -709,34 +773,42 @@ public Builder clearProperty() {
      * 
* * string property = 1; + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List requests_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(requests_); + requests_ = + new java.util.ArrayList( + requests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunPivotReportRequest, com.google.analytics.data.v1beta.RunPivotReportRequest.Builder, com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder> requestsBuilder_; + com.google.analytics.data.v1beta.RunPivotReportRequest, + com.google.analytics.data.v1beta.RunPivotReportRequest.Builder, + com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -744,7 +816,8 @@ private void ensureRequestsIsMutable() {
      *
      * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
      */
-    public java.util.List getRequestsList() {
+    public java.util.List
+        getRequestsList() {
       if (requestsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(requests_);
       } else {
@@ -752,6 +825,8 @@ public java.util.List ge
       }
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -767,6 +842,8 @@ public int getRequestsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -782,6 +859,8 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest getRequests(int in
       }
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -804,6 +883,8 @@ public Builder setRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -823,6 +904,8 @@ public Builder setRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -844,6 +927,8 @@ public Builder addRequests(com.google.analytics.data.v1beta.RunPivotReportReques
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -866,6 +951,8 @@ public Builder addRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -885,6 +972,8 @@ public Builder addRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -904,6 +993,8 @@ public Builder addRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -912,11 +1003,11 @@ public Builder addRequests(
      * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
      */
     public Builder addAllRequests(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (requestsBuilder_ == null) {
         ensureRequestsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, requests_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_);
         onChanged();
       } else {
         requestsBuilder_.addAllMessages(values);
@@ -924,6 +1015,8 @@ public Builder addAllRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -942,6 +1035,8 @@ public Builder clearRequests() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -960,6 +1055,8 @@ public Builder removeRequests(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -972,6 +1069,8 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder getRequest
       return getRequestsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -982,11 +1081,14 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder getRequest
     public com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getRequestsOrBuilder(
         int index) {
       if (requestsBuilder_ == null) {
-        return requests_.get(index);  } else {
+        return requests_.get(index);
+      } else {
         return requestsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -994,8 +1096,8 @@ public com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getReques
      *
      * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
      */
-    public java.util.List 
-         getRequestsOrBuilderList() {
+    public java.util.List
+        getRequestsOrBuilderList() {
       if (requestsBuilder_ != null) {
         return requestsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1003,6 +1105,8 @@ public com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getReques
       }
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1011,10 +1115,12 @@ public com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getReques
      * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
      */
     public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder addRequestsBuilder() {
-      return getRequestsFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance());
+      return getRequestsFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1024,10 +1130,13 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder addRequest
      */
     public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder addRequestsBuilder(
         int index) {
-      return getRequestsFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance());
+      return getRequestsFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate pivot report response.
      * Each batch request is allowed up to 5 requests.
@@ -1035,27 +1144,30 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest.Builder addRequest
      *
      * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
      */
-    public java.util.List 
-         getRequestsBuilderList() {
+    public java.util.List
+        getRequestsBuilderList() {
       return getRequestsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.RunPivotReportRequest, com.google.analytics.data.v1beta.RunPivotReportRequest.Builder, com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder> 
+            com.google.analytics.data.v1beta.RunPivotReportRequest,
+            com.google.analytics.data.v1beta.RunPivotReportRequest.Builder,
+            com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder>
         getRequestsFieldBuilder() {
       if (requestsBuilder_ == null) {
-        requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.RunPivotReportRequest, com.google.analytics.data.v1beta.RunPivotReportRequest.Builder, com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder>(
-                requests_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        requestsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.RunPivotReportRequest,
+                com.google.analytics.data.v1beta.RunPivotReportRequest.Builder,
+                com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder>(
+                requests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         requests_ = null;
       }
       return requestsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1065,12 +1177,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.BatchRunPivotReportsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.BatchRunPivotReportsRequest)
-  private static final com.google.analytics.data.v1beta.BatchRunPivotReportsRequest DEFAULT_INSTANCE;
+  private static final com.google.analytics.data.v1beta.BatchRunPivotReportsRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.BatchRunPivotReportsRequest();
   }
@@ -1079,16 +1192,16 @@ public static com.google.analytics.data.v1beta.BatchRunPivotReportsRequest getDe
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchRunPivotReportsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new BatchRunPivotReportsRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchRunPivotReportsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new BatchRunPivotReportsRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1103,6 +1216,4 @@ public com.google.protobuf.Parser getParserForType(
   public com.google.analytics.data.v1beta.BatchRunPivotReportsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java
index 71a71655..20522666 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
-public interface BatchRunPivotReportsRequestOrBuilder extends
+public interface BatchRunPivotReportsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.BatchRunPivotReportsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -20,10 +38,13 @@ public interface BatchRunPivotReportsRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -36,12 +57,14 @@ public interface BatchRunPivotReportsRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -49,9 +72,10 @@ public interface BatchRunPivotReportsRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
    */
-  java.util.List 
-      getRequestsList();
+  java.util.List getRequestsList();
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -61,6 +85,8 @@ public interface BatchRunPivotReportsRequestOrBuilder extends
    */
   com.google.analytics.data.v1beta.RunPivotReportRequest getRequests(int index);
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -70,6 +96,8 @@ public interface BatchRunPivotReportsRequestOrBuilder extends
    */
   int getRequestsCount();
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -77,9 +105,11 @@ public interface BatchRunPivotReportsRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
    */
-  java.util.List 
+  java.util.List
       getRequestsOrBuilderList();
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate pivot report response.
    * Each batch request is allowed up to 5 requests.
@@ -87,6 +117,5 @@ public interface BatchRunPivotReportsRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;
    */
-  com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getRequestsOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder getRequestsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java
similarity index 73%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java
index b69860f3..660701e0 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponse.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
+ *
+ *
  * 
  * The batch response containing multiple pivot reports.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunPivotReportsResponse} */ -public final class BatchRunPivotReportsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchRunPivotReportsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.BatchRunPivotReportsResponse) BatchRunPivotReportsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchRunPivotReportsResponse.newBuilder() to construct. private BatchRunPivotReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchRunPivotReportsResponse() { pivotReports_ = java.util.Collections.emptyList(); kind_ = ""; @@ -26,16 +44,15 @@ private BatchRunPivotReportsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchRunPivotReportsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchRunPivotReportsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,40 @@ private BatchRunPivotReportsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotReports_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pivotReports_ = + new java.util.ArrayList< + com.google.analytics.data.v1beta.RunPivotReportResponse>(); + mutable_bitField0_ |= 0x00000001; + } + pivotReports_.add( + input.readMessage( + com.google.analytics.data.v1beta.RunPivotReportResponse.parser(), + extensionRegistry)); + break; } - pivotReports_.add( - input.readMessage(com.google.analytics.data.v1beta.RunPivotReportResponse.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - kind_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + kind_ = 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)) { pivotReports_ = java.util.Collections.unmodifiableList(pivotReports_); @@ -92,22 +114,27 @@ private BatchRunPivotReportsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.Builder.class); + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.Builder.class); } public static final int PIVOT_REPORTS_FIELD_NUMBER = 1; private java.util.List pivotReports_; /** + * + * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -115,10 +142,13 @@ private BatchRunPivotReportsResponse( * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ @java.lang.Override - public java.util.List getPivotReportsList() { + public java.util.List + getPivotReportsList() { return pivotReports_; } /** + * + * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -126,11 +156,13 @@ public java.util.List g * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPivotReportsOrBuilderList() { return pivotReports_; } /** + * + * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -142,6 +174,8 @@ public int getPivotReportsCount() { return pivotReports_.size(); } /** + * + * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -153,6 +187,8 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse getPivotReports(i return pivotReports_.get(index); } /** + * + * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -168,6 +204,8 @@ public com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivot public static final int KIND_FIELD_NUMBER = 2; private volatile java.lang.Object kind_; /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -175,6 +213,7 @@ public com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivot
    * 
* * string kind = 2; + * * @return The kind. */ @java.lang.Override @@ -183,14 +222,15 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -198,16 +238,15 @@ public java.lang.String getKind() {
    * 
* * string kind = 2; + * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -216,6 +255,7 @@ public java.lang.String getKind() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < pivotReports_.size(); i++) { output.writeMessage(1, pivotReports_.get(i)); } @@ -245,8 +284,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < pivotReports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, pivotReports_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, pivotReports_.get(i)); } if (!getKindBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_); @@ -259,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.analytics.data.v1beta.BatchRunPivotReportsResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse other = (com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) obj; + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse other = + (com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) obj; - if (!getPivotReportsList() - .equals(other.getPivotReportsList())) return false; - if (!getKind() - .equals(other.getKind())) return false; + if (!getPivotReportsList().equals(other.getPivotReportsList())) return false; + if (!getKind().equals(other.getKind())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +330,127 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.BatchRunPivotReportsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 batch response containing multiple pivot reports.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunPivotReportsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.BatchRunPivotReportsResponse) com.google.analytics.data.v1beta.BatchRunPivotReportsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.Builder.class); + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.class, + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.newBuilder() @@ -411,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) { getPivotReportsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunPivotReportsResponse_descriptor; } @java.lang.Override - public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse getDefaultInstanceForType() { + public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse + getDefaultInstanceForType() { return com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.getDefaultInstance(); } @@ -458,7 +506,8 @@ public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse buildPartial() { - com.google.analytics.data.v1beta.BatchRunPivotReportsResponse result = new com.google.analytics.data.v1beta.BatchRunPivotReportsResponse(this); + com.google.analytics.data.v1beta.BatchRunPivotReportsResponse result = + new com.google.analytics.data.v1beta.BatchRunPivotReportsResponse(this); int from_bitField0_ = bitField0_; if (pivotReportsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +527,39 @@ public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) { - return mergeFrom((com.google.analytics.data.v1beta.BatchRunPivotReportsResponse)other); + return mergeFrom((com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +567,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunPivotReportsResponse other) { - if (other == com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.data.v1beta.BatchRunPivotReportsResponse.getDefaultInstance()) + return this; if (pivotReportsBuilder_ == null) { if (!other.pivotReports_.isEmpty()) { if (pivotReports_.isEmpty()) { @@ -536,9 +588,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunPivotReportsRe pivotReportsBuilder_ = null; pivotReports_ = other.pivotReports_; bitField0_ = (bitField0_ & ~0x00000001); - pivotReportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPivotReportsFieldBuilder() : null; + pivotReportsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPivotReportsFieldBuilder() + : null; } else { pivotReportsBuilder_.addAllMessages(other.pivotReports_); } @@ -567,7 +620,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.BatchRunPivotReportsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +631,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List pivotReports_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePivotReportsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pivotReports_ = new java.util.ArrayList(pivotReports_); + pivotReports_ = + new java.util.ArrayList( + pivotReports_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunPivotReportResponse, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder> pivotReportsBuilder_; + com.google.analytics.data.v1beta.RunPivotReportResponse, + com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, + com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder> + pivotReportsBuilder_; /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - public java.util.List getPivotReportsList() { + public java.util.List + getPivotReportsList() { if (pivotReportsBuilder_ == null) { return java.util.Collections.unmodifiableList(pivotReports_); } else { @@ -605,6 +670,8 @@ public java.util.List g } } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -619,6 +686,8 @@ public int getPivotReportsCount() { } } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -633,6 +702,8 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse getPivotReports(i } } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -654,6 +725,8 @@ public Builder setPivotReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -661,7 +734,8 @@ public Builder setPivotReports( * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ public Builder setPivotReports( - int index, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder builderForValue) { + int index, + com.google.analytics.data.v1beta.RunPivotReportResponse.Builder builderForValue) { if (pivotReportsBuilder_ == null) { ensurePivotReportsIsMutable(); pivotReports_.set(index, builderForValue.build()); @@ -672,6 +746,8 @@ public Builder setPivotReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -692,6 +768,8 @@ public Builder addPivotReports(com.google.analytics.data.v1beta.RunPivotReportRe return this; } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -713,6 +791,8 @@ public Builder addPivotReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -731,6 +811,8 @@ public Builder addPivotReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -738,7 +820,8 @@ public Builder addPivotReports( * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ public Builder addPivotReports( - int index, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder builderForValue) { + int index, + com.google.analytics.data.v1beta.RunPivotReportResponse.Builder builderForValue) { if (pivotReportsBuilder_ == null) { ensurePivotReportsIsMutable(); pivotReports_.add(index, builderForValue.build()); @@ -749,6 +832,8 @@ public Builder addPivotReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -756,11 +841,11 @@ public Builder addPivotReports( * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ public Builder addAllPivotReports( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (pivotReportsBuilder_ == null) { ensurePivotReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pivotReports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotReports_); onChanged(); } else { pivotReportsBuilder_.addAllMessages(values); @@ -768,6 +853,8 @@ public Builder addAllPivotReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -785,6 +872,8 @@ public Builder clearPivotReports() { return this; } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -802,6 +891,8 @@ public Builder removePivotReports(int index) { return this; } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -813,28 +904,34 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder getPivotR return getPivotReportsFieldBuilder().getBuilder(index); } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - public com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivotReportsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder + getPivotReportsOrBuilder(int index) { if (pivotReportsBuilder_ == null) { - return pivotReports_.get(index); } else { + return pivotReports_.get(index); + } else { return pivotReportsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - public java.util.List - getPivotReportsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder> + getPivotReportsOrBuilderList() { if (pivotReportsBuilder_ != null) { return pivotReportsBuilder_.getMessageOrBuilderList(); } else { @@ -842,17 +939,22 @@ public com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivot } } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder addPivotReportsBuilder() { - return getPivotReportsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()); + public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder + addPivotReportsBuilder() { + return getPivotReportsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()); } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
@@ -861,30 +963,36 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder addPivotR */ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder addPivotReportsBuilder( int index) { - return getPivotReportsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()); + return getPivotReportsFieldBuilder() + .addBuilder( + index, com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()); } /** + * + * *
      * Individual responses. Each response has a separate pivot report request.
      * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - public java.util.List - getPivotReportsBuilderList() { + public java.util.List + getPivotReportsBuilderList() { return getPivotReportsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunPivotReportResponse, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder> + com.google.analytics.data.v1beta.RunPivotReportResponse, + com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, + com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder> getPivotReportsFieldBuilder() { if (pivotReportsBuilder_ == null) { - pivotReportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunPivotReportResponse, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder>( - pivotReports_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + pivotReportsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.RunPivotReportResponse, + com.google.analytics.data.v1beta.RunPivotReportResponse.Builder, + com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder>( + pivotReports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); pivotReports_ = null; } return pivotReportsBuilder_; @@ -892,6 +1000,8 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder addPivotR private java.lang.Object kind_ = ""; /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -899,13 +1009,13 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse.Builder addPivotR
      * 
* * string kind = 2; + * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -914,6 +1024,8 @@ public java.lang.String getKind() { } } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -921,15 +1033,14 @@ public java.lang.String getKind() {
      * 
* * string kind = 2; + * * @return The bytes for kind. */ - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -937,6 +1048,8 @@ public java.lang.String getKind() { } } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -944,20 +1057,22 @@ public java.lang.String getKind() {
      * 
* * string kind = 2; + * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind( - java.lang.String value) { + public Builder setKind(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -965,15 +1080,18 @@ public Builder setKind(
      * 
* * string kind = 2; + * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -981,23 +1099,23 @@ public Builder clearKind() {
      * 
* * string kind = 2; + * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { + public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = 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 +1125,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.BatchRunPivotReportsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.BatchRunPivotReportsResponse) - private static final com.google.analytics.data.v1beta.BatchRunPivotReportsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.data.v1beta.BatchRunPivotReportsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.BatchRunPivotReportsResponse(); } @@ -1021,16 +1140,16 @@ public static com.google.analytics.data.v1beta.BatchRunPivotReportsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchRunPivotReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchRunPivotReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchRunPivotReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchRunPivotReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,6 +1164,4 @@ public com.google.protobuf.Parser getParserForType public com.google.analytics.data.v1beta.BatchRunPivotReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java index ce5f30bd..97e2320f 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunPivotReportsResponseOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface BatchRunPivotReportsResponseOrBuilder extends +public interface BatchRunPivotReportsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.BatchRunPivotReportsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Individual responses. Each response has a separate pivot report request.
    * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - java.util.List - getPivotReportsList(); + java.util.List getPivotReportsList(); /** + * + * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -25,6 +44,8 @@ public interface BatchRunPivotReportsResponseOrBuilder extends */ com.google.analytics.data.v1beta.RunPivotReportResponse getPivotReports(int index); /** + * + * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -33,15 +54,19 @@ public interface BatchRunPivotReportsResponseOrBuilder extends */ int getPivotReportsCount(); /** + * + * *
    * Individual responses. Each response has a separate pivot report request.
    * 
* * repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1; */ - java.util.List + java.util.List getPivotReportsOrBuilderList(); /** + * + * *
    * Individual responses. Each response has a separate pivot report request.
    * 
@@ -52,6 +77,8 @@ com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivotReports int index); /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -59,10 +86,13 @@ com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivotReports
    * 
* * string kind = 2; + * * @return The kind. */ java.lang.String getKind(); /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
@@ -70,8 +100,8 @@ com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder getPivotReports
    * 
* * string kind = 2; + * * @return The bytes for kind. */ - com.google.protobuf.ByteString - getKindBytes(); + com.google.protobuf.ByteString getKindBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java similarity index 76% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java index 0c99387a..afe702f1 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The batch request containing multiple report requests.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunReportsRequest} */ -public final class BatchRunReportsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchRunReportsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.BatchRunReportsRequest) BatchRunReportsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchRunReportsRequest.newBuilder() to construct. private BatchRunReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchRunReportsRequest() { property_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private BatchRunReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchRunReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchRunReportsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,39 @@ private BatchRunReportsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + property_ = s; + break; } - requests_.add( - input.readMessage(com.google.analytics.data.v1beta.RunReportRequest.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + requests_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + requests_.add( + input.readMessage( + com.google.analytics.data.v1beta.RunReportRequest.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)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -92,22 +113,27 @@ private BatchRunReportsRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunReportsRequest.class, com.google.analytics.data.v1beta.BatchRunReportsRequest.Builder.class); + com.google.analytics.data.v1beta.BatchRunReportsRequest.class, + com.google.analytics.data.v1beta.BatchRunReportsRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -120,6 +146,7 @@ private BatchRunReportsRequest(
    * 
* * string property = 1; + * * @return The property. */ @java.lang.Override @@ -128,14 +155,15 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -148,16 +176,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -168,6 +195,8 @@ public java.lang.String getProperty() { public static final int REQUESTS_FIELD_NUMBER = 2; private java.util.List requests_; /** + * + * *
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -180,6 +209,8 @@ public java.util.List getRequ
     return requests_;
   }
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -188,11 +219,13 @@ public java.util.List getRequ
    * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRequestsOrBuilderList() {
     return requests_;
   }
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -205,6 +238,8 @@ public int getRequestsCount() {
     return requests_.size();
   }
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -217,6 +252,8 @@ public com.google.analytics.data.v1beta.RunReportRequest getRequests(int index)
     return requests_.get(index);
   }
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -231,6 +268,7 @@ public com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrB
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -242,8 +280,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!getPropertyBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_);
     }
@@ -263,8 +300,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_);
     }
     for (int i = 0; i < requests_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, requests_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requests_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -274,17 +310,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.analytics.data.v1beta.BatchRunReportsRequest)) {
       return super.equals(obj);
     }
-    com.google.analytics.data.v1beta.BatchRunReportsRequest other = (com.google.analytics.data.v1beta.BatchRunReportsRequest) obj;
+    com.google.analytics.data.v1beta.BatchRunReportsRequest other =
+        (com.google.analytics.data.v1beta.BatchRunReportsRequest) obj;
 
-    if (!getProperty()
-        .equals(other.getProperty())) return false;
-    if (!getRequestsList()
-        .equals(other.getRequestsList())) return false;
+    if (!getProperty().equals(other.getProperty())) return false;
+    if (!getRequestsList().equals(other.getRequestsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -308,117 +343,127 @@ public int hashCode() {
   }
 
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.BatchRunReportsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.analytics.data.v1beta.BatchRunReportsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.analytics.data.v1beta.BatchRunReportsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 batch request containing multiple report requests.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunReportsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.BatchRunReportsRequest) com.google.analytics.data.v1beta.BatchRunReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunReportsRequest.class, com.google.analytics.data.v1beta.BatchRunReportsRequest.Builder.class); + com.google.analytics.data.v1beta.BatchRunReportsRequest.class, + com.google.analytics.data.v1beta.BatchRunReportsRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.BatchRunReportsRequest.newBuilder() @@ -426,17 +471,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) { getRequestsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +497,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunReportsRequest_descriptor; } @java.lang.Override @@ -473,7 +518,8 @@ public com.google.analytics.data.v1beta.BatchRunReportsRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.BatchRunReportsRequest buildPartial() { - com.google.analytics.data.v1beta.BatchRunReportsRequest result = new com.google.analytics.data.v1beta.BatchRunReportsRequest(this); + com.google.analytics.data.v1beta.BatchRunReportsRequest result = + new com.google.analytics.data.v1beta.BatchRunReportsRequest(this); int from_bitField0_ = bitField0_; result.property_ = property_; if (requestsBuilder_ == null) { @@ -493,38 +539,39 @@ public com.google.analytics.data.v1beta.BatchRunReportsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.BatchRunReportsRequest) { - return mergeFrom((com.google.analytics.data.v1beta.BatchRunReportsRequest)other); + return mergeFrom((com.google.analytics.data.v1beta.BatchRunReportsRequest) other); } else { super.mergeFrom(other); return this; @@ -532,7 +579,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunReportsRequest other) { - if (other == com.google.analytics.data.v1beta.BatchRunReportsRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.BatchRunReportsRequest.getDefaultInstance()) + return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -555,9 +603,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunReportsRequest requestsBuilder_ = null; requests_ = other.requests_; bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestsFieldBuilder() : null; + requestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRequestsFieldBuilder() + : null; } else { requestsBuilder_.addAllMessages(other.requests_); } @@ -582,7 +631,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.BatchRunReportsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.BatchRunReportsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,10 +641,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -607,13 +660,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -622,6 +675,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -634,15 +689,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -650,6 +704,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -662,20 +718,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { + public Builder setProperty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -688,15 +746,18 @@ public Builder setProperty(
      * 
* * string property = 1; + * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -709,34 +770,41 @@ public Builder clearProperty() {
      * 
* * string property = 1; + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List requests_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(requests_); + requests_ = + new java.util.ArrayList(requests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunReportRequest, com.google.analytics.data.v1beta.RunReportRequest.Builder, com.google.analytics.data.v1beta.RunReportRequestOrBuilder> requestsBuilder_; + com.google.analytics.data.v1beta.RunReportRequest, + com.google.analytics.data.v1beta.RunReportRequest.Builder, + com.google.analytics.data.v1beta.RunReportRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -752,6 +820,8 @@ public java.util.List getRequ
       }
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -767,6 +837,8 @@ public int getRequestsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -782,6 +854,8 @@ public com.google.analytics.data.v1beta.RunReportRequest getRequests(int index)
       }
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -789,8 +863,7 @@ public com.google.analytics.data.v1beta.RunReportRequest getRequests(int index)
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public Builder setRequests(
-        int index, com.google.analytics.data.v1beta.RunReportRequest value) {
+    public Builder setRequests(int index, com.google.analytics.data.v1beta.RunReportRequest value) {
       if (requestsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -804,6 +877,8 @@ public Builder setRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -823,6 +898,8 @@ public Builder setRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -844,6 +921,8 @@ public Builder addRequests(com.google.analytics.data.v1beta.RunReportRequest val
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -851,8 +930,7 @@ public Builder addRequests(com.google.analytics.data.v1beta.RunReportRequest val
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public Builder addRequests(
-        int index, com.google.analytics.data.v1beta.RunReportRequest value) {
+    public Builder addRequests(int index, com.google.analytics.data.v1beta.RunReportRequest value) {
       if (requestsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -866,6 +944,8 @@ public Builder addRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -885,6 +965,8 @@ public Builder addRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -904,6 +986,8 @@ public Builder addRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -915,8 +999,7 @@ public Builder addAllRequests(
         java.lang.Iterable values) {
       if (requestsBuilder_ == null) {
         ensureRequestsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, requests_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_);
         onChanged();
       } else {
         requestsBuilder_.addAllMessages(values);
@@ -924,6 +1007,8 @@ public Builder addAllRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -942,6 +1027,8 @@ public Builder clearRequests() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -960,6 +1047,8 @@ public Builder removeRequests(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -967,11 +1056,12 @@ public Builder removeRequests(int index) {
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public com.google.analytics.data.v1beta.RunReportRequest.Builder getRequestsBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.RunReportRequest.Builder getRequestsBuilder(int index) {
       return getRequestsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -982,11 +1072,14 @@ public com.google.analytics.data.v1beta.RunReportRequest.Builder getRequestsBuil
     public com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrBuilder(
         int index) {
       if (requestsBuilder_ == null) {
-        return requests_.get(index);  } else {
+        return requests_.get(index);
+      } else {
         return requestsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -994,8 +1087,8 @@ public com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrB
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public java.util.List 
-         getRequestsOrBuilderList() {
+    public java.util.List
+        getRequestsOrBuilderList() {
       if (requestsBuilder_ != null) {
         return requestsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1003,6 +1096,8 @@ public com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrB
       }
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1011,10 +1106,12 @@ public com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrB
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
     public com.google.analytics.data.v1beta.RunReportRequest.Builder addRequestsBuilder() {
-      return getRequestsFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance());
+      return getRequestsFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1022,12 +1119,14 @@ public com.google.analytics.data.v1beta.RunReportRequest.Builder addRequestsBuil
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public com.google.analytics.data.v1beta.RunReportRequest.Builder addRequestsBuilder(
-        int index) {
-      return getRequestsFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance());
+    public com.google.analytics.data.v1beta.RunReportRequest.Builder addRequestsBuilder(int index) {
+      return getRequestsFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Individual requests. Each request has a separate report response. Each
      * batch request is allowed up to 5 requests.
@@ -1035,27 +1134,30 @@ public com.google.analytics.data.v1beta.RunReportRequest.Builder addRequestsBuil
      *
      * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      */
-    public java.util.List 
-         getRequestsBuilderList() {
+    public java.util.List
+        getRequestsBuilderList() {
       return getRequestsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.RunReportRequest, com.google.analytics.data.v1beta.RunReportRequest.Builder, com.google.analytics.data.v1beta.RunReportRequestOrBuilder> 
+            com.google.analytics.data.v1beta.RunReportRequest,
+            com.google.analytics.data.v1beta.RunReportRequest.Builder,
+            com.google.analytics.data.v1beta.RunReportRequestOrBuilder>
         getRequestsFieldBuilder() {
       if (requestsBuilder_ == null) {
-        requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.RunReportRequest, com.google.analytics.data.v1beta.RunReportRequest.Builder, com.google.analytics.data.v1beta.RunReportRequestOrBuilder>(
-                requests_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        requestsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.RunReportRequest,
+                com.google.analytics.data.v1beta.RunReportRequest.Builder,
+                com.google.analytics.data.v1beta.RunReportRequestOrBuilder>(
+                requests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         requests_ = null;
       }
       return requestsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1065,12 +1167,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.BatchRunReportsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.BatchRunReportsRequest)
   private static final com.google.analytics.data.v1beta.BatchRunReportsRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.BatchRunReportsRequest();
   }
@@ -1079,16 +1181,16 @@ public static com.google.analytics.data.v1beta.BatchRunReportsRequest getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchRunReportsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new BatchRunReportsRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchRunReportsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new BatchRunReportsRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1103,6 +1205,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.data.v1beta.BatchRunReportsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java
index 5f646a06..636115b7 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
-public interface BatchRunReportsRequestOrBuilder extends
+public interface BatchRunReportsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.BatchRunReportsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -20,10 +38,13 @@ public interface BatchRunReportsRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -36,12 +57,14 @@ public interface BatchRunReportsRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -49,9 +72,10 @@ public interface BatchRunReportsRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    */
-  java.util.List 
-      getRequestsList();
+  java.util.List getRequestsList();
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -61,6 +85,8 @@ public interface BatchRunReportsRequestOrBuilder extends
    */
   com.google.analytics.data.v1beta.RunReportRequest getRequests(int index);
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -70,6 +96,8 @@ public interface BatchRunReportsRequestOrBuilder extends
    */
   int getRequestsCount();
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -77,9 +105,11 @@ public interface BatchRunReportsRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    */
-  java.util.List 
+  java.util.List
       getRequestsOrBuilderList();
   /**
+   *
+   *
    * 
    * Individual requests. Each request has a separate report response. Each
    * batch request is allowed up to 5 requests.
@@ -87,6 +117,5 @@ public interface BatchRunReportsRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    */
-  com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.RunReportRequestOrBuilder getRequestsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java
similarity index 74%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java
index 636c850f..ae433bfd 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponse.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
+ *
+ *
  * 
  * The batch response containing multiple reports.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunReportsResponse} */ -public final class BatchRunReportsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchRunReportsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.BatchRunReportsResponse) BatchRunReportsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchRunReportsResponse.newBuilder() to construct. private BatchRunReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchRunReportsResponse() { reports_ = java.util.Collections.emptyList(); kind_ = ""; @@ -26,16 +44,15 @@ private BatchRunReportsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchRunReportsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchRunReportsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,39 @@ private BatchRunReportsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - reports_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + reports_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + reports_.add( + input.readMessage( + com.google.analytics.data.v1beta.RunReportResponse.parser(), + extensionRegistry)); + break; } - reports_.add( - input.readMessage(com.google.analytics.data.v1beta.RunReportResponse.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - kind_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + kind_ = 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)) { reports_ = java.util.Collections.unmodifiableList(reports_); @@ -92,22 +113,27 @@ private BatchRunReportsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunReportsResponse.class, com.google.analytics.data.v1beta.BatchRunReportsResponse.Builder.class); + com.google.analytics.data.v1beta.BatchRunReportsResponse.class, + com.google.analytics.data.v1beta.BatchRunReportsResponse.Builder.class); } public static final int REPORTS_FIELD_NUMBER = 1; private java.util.List reports_; /** + * + * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -119,6 +145,8 @@ public java.util.List getRep return reports_; } /** + * + * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -126,11 +154,13 @@ public java.util.List getRep * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ @java.lang.Override - public java.util.List + public java.util.List getReportsOrBuilderList() { return reports_; } /** + * + * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -142,6 +172,8 @@ public int getReportsCount() { return reports_.size(); } /** + * + * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -153,6 +185,8 @@ public com.google.analytics.data.v1beta.RunReportResponse getReports(int index) return reports_.get(index); } /** + * + * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -168,6 +202,8 @@ public com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrB public static final int KIND_FIELD_NUMBER = 2; private volatile java.lang.Object kind_; /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -175,6 +211,7 @@ public com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrB
    * 
* * string kind = 2; + * * @return The kind. */ @java.lang.Override @@ -183,14 +220,15 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -198,16 +236,15 @@ public java.lang.String getKind() {
    * 
* * string kind = 2; + * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getKind() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < reports_.size(); i++) { output.writeMessage(1, reports_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < reports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, reports_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, reports_.get(i)); } if (!getKindBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_); @@ -259,17 +295,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.data.v1beta.BatchRunReportsResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.BatchRunReportsResponse other = (com.google.analytics.data.v1beta.BatchRunReportsResponse) obj; + com.google.analytics.data.v1beta.BatchRunReportsResponse other = + (com.google.analytics.data.v1beta.BatchRunReportsResponse) obj; - if (!getReportsList() - .equals(other.getReportsList())) return false; - if (!getKind() - .equals(other.getKind())) return false; + if (!getReportsList().equals(other.getReportsList())) return false; + if (!getKind().equals(other.getKind())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.BatchRunReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.BatchRunReportsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.BatchRunReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 batch response containing multiple reports.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.BatchRunReportsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.BatchRunReportsResponse) com.google.analytics.data.v1beta.BatchRunReportsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.BatchRunReportsResponse.class, com.google.analytics.data.v1beta.BatchRunReportsResponse.Builder.class); + com.google.analytics.data.v1beta.BatchRunReportsResponse.class, + com.google.analytics.data.v1beta.BatchRunReportsResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.BatchRunReportsResponse.newBuilder() @@ -411,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getReportsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +482,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_BatchRunReportsResponse_descriptor; } @java.lang.Override @@ -458,7 +503,8 @@ public com.google.analytics.data.v1beta.BatchRunReportsResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.BatchRunReportsResponse buildPartial() { - com.google.analytics.data.v1beta.BatchRunReportsResponse result = new com.google.analytics.data.v1beta.BatchRunReportsResponse(this); + com.google.analytics.data.v1beta.BatchRunReportsResponse result = + new com.google.analytics.data.v1beta.BatchRunReportsResponse(this); int from_bitField0_ = bitField0_; if (reportsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +524,39 @@ public com.google.analytics.data.v1beta.BatchRunReportsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.BatchRunReportsResponse) { - return mergeFrom((com.google.analytics.data.v1beta.BatchRunReportsResponse)other); + return mergeFrom((com.google.analytics.data.v1beta.BatchRunReportsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +564,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunReportsResponse other) { - if (other == com.google.analytics.data.v1beta.BatchRunReportsResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.BatchRunReportsResponse.getDefaultInstance()) + return this; if (reportsBuilder_ == null) { if (!other.reports_.isEmpty()) { if (reports_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.BatchRunReportsRespons reportsBuilder_ = null; reports_ = other.reports_; bitField0_ = (bitField0_ & ~0x00000001); - reportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getReportsFieldBuilder() : null; + reportsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getReportsFieldBuilder() + : null; } else { reportsBuilder_.addAllMessages(other.reports_); } @@ -567,7 +616,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.BatchRunReportsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.BatchRunReportsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +626,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List reports_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureReportsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - reports_ = new java.util.ArrayList(reports_); + reports_ = + new java.util.ArrayList(reports_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunReportResponse, com.google.analytics.data.v1beta.RunReportResponse.Builder, com.google.analytics.data.v1beta.RunReportResponseOrBuilder> reportsBuilder_; + com.google.analytics.data.v1beta.RunReportResponse, + com.google.analytics.data.v1beta.RunReportResponse.Builder, + com.google.analytics.data.v1beta.RunReportResponseOrBuilder> + reportsBuilder_; /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -605,6 +663,8 @@ public java.util.List getRep } } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -619,6 +679,8 @@ public int getReportsCount() { } } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -633,14 +695,15 @@ public com.google.analytics.data.v1beta.RunReportResponse getReports(int index) } } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public Builder setReports( - int index, com.google.analytics.data.v1beta.RunReportResponse value) { + public Builder setReports(int index, com.google.analytics.data.v1beta.RunReportResponse value) { if (reportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -672,6 +737,8 @@ public Builder setReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -692,14 +759,15 @@ public Builder addReports(com.google.analytics.data.v1beta.RunReportResponse val return this; } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public Builder addReports( - int index, com.google.analytics.data.v1beta.RunReportResponse value) { + public Builder addReports(int index, com.google.analytics.data.v1beta.RunReportResponse value) { if (reportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -731,6 +801,8 @@ public Builder addReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -749,6 +821,8 @@ public Builder addReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -759,8 +833,7 @@ public Builder addAllReports( java.lang.Iterable values) { if (reportsBuilder_ == null) { ensureReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, reports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reports_); onChanged(); } else { reportsBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllReports( return this; } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -785,6 +860,8 @@ public Builder clearReports() { return this; } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -802,17 +879,20 @@ public Builder removeReports(int index) { return this; } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public com.google.analytics.data.v1beta.RunReportResponse.Builder getReportsBuilder( - int index) { + public com.google.analytics.data.v1beta.RunReportResponse.Builder getReportsBuilder(int index) { return getReportsFieldBuilder().getBuilder(index); } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -822,19 +902,22 @@ public com.google.analytics.data.v1beta.RunReportResponse.Builder getReportsBuil public com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrBuilder( int index) { if (reportsBuilder_ == null) { - return reports_.get(index); } else { + return reports_.get(index); + } else { return reportsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public java.util.List - getReportsOrBuilderList() { + public java.util.List + getReportsOrBuilderList() { if (reportsBuilder_ != null) { return reportsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrB } } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
@@ -849,42 +934,49 @@ public com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrB * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ public com.google.analytics.data.v1beta.RunReportResponse.Builder addReportsBuilder() { - return getReportsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()); + return getReportsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()); } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public com.google.analytics.data.v1beta.RunReportResponse.Builder addReportsBuilder( - int index) { - return getReportsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()); + public com.google.analytics.data.v1beta.RunReportResponse.Builder addReportsBuilder(int index) { + return getReportsFieldBuilder() + .addBuilder( + index, com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()); } /** + * + * *
      * Individual responses. Each response has a separate report request.
      * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - public java.util.List - getReportsBuilderList() { + public java.util.List + getReportsBuilderList() { return getReportsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunReportResponse, com.google.analytics.data.v1beta.RunReportResponse.Builder, com.google.analytics.data.v1beta.RunReportResponseOrBuilder> + com.google.analytics.data.v1beta.RunReportResponse, + com.google.analytics.data.v1beta.RunReportResponse.Builder, + com.google.analytics.data.v1beta.RunReportResponseOrBuilder> getReportsFieldBuilder() { if (reportsBuilder_ == null) { - reportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.RunReportResponse, com.google.analytics.data.v1beta.RunReportResponse.Builder, com.google.analytics.data.v1beta.RunReportResponseOrBuilder>( - reports_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + reportsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.RunReportResponse, + com.google.analytics.data.v1beta.RunReportResponse.Builder, + com.google.analytics.data.v1beta.RunReportResponseOrBuilder>( + reports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); reports_ = null; } return reportsBuilder_; @@ -892,6 +984,8 @@ public com.google.analytics.data.v1beta.RunReportResponse.Builder addReportsBuil private java.lang.Object kind_ = ""; /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -899,13 +993,13 @@ public com.google.analytics.data.v1beta.RunReportResponse.Builder addReportsBuil
      * 
* * string kind = 2; + * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -914,6 +1008,8 @@ public java.lang.String getKind() { } } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -921,15 +1017,14 @@ public java.lang.String getKind() {
      * 
* * string kind = 2; + * * @return The bytes for kind. */ - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -937,6 +1032,8 @@ public java.lang.String getKind() { } } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -944,20 +1041,22 @@ public java.lang.String getKind() {
      * 
* * string kind = 2; + * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind( - java.lang.String value) { + public Builder setKind(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -965,15 +1064,18 @@ public Builder setKind(
      * 
* * string kind = 2; + * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -981,23 +1083,23 @@ public Builder clearKind() {
      * 
* * string kind = 2; + * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { + public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = 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 +1109,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.BatchRunReportsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.BatchRunReportsResponse) private static final com.google.analytics.data.v1beta.BatchRunReportsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.BatchRunReportsResponse(); } @@ -1021,16 +1123,16 @@ public static com.google.analytics.data.v1beta.BatchRunReportsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchRunReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchRunReportsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchRunReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchRunReportsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,6 +1147,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.BatchRunReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java index 6b6f9480..1fd1ce9e 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/BatchRunReportsResponseOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface BatchRunReportsResponseOrBuilder extends +public interface BatchRunReportsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.BatchRunReportsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Individual responses. Each response has a separate report request.
    * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - java.util.List - getReportsList(); + java.util.List getReportsList(); /** + * + * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -25,6 +44,8 @@ public interface BatchRunReportsResponseOrBuilder extends */ com.google.analytics.data.v1beta.RunReportResponse getReports(int index); /** + * + * *
    * Individual responses. Each response has a separate report request.
    * 
@@ -33,25 +54,30 @@ public interface BatchRunReportsResponseOrBuilder extends */ int getReportsCount(); /** + * + * *
    * Individual responses. Each response has a separate report request.
    * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - java.util.List + java.util.List getReportsOrBuilderList(); /** + * + * *
    * Individual responses. Each response has a separate report request.
    * 
* * repeated .google.analytics.data.v1beta.RunReportResponse reports = 1; */ - com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrBuilder( - int index); + com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrBuilder(int index); /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -59,10 +85,13 @@ com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrBuilder(
    * 
* * string kind = 2; + * * @return The kind. */ java.lang.String getKind(); /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#batchRunReports". Useful to distinguish between
@@ -70,8 +99,8 @@ com.google.analytics.data.v1beta.RunReportResponseOrBuilder getReportsOrBuilder(
    * 
* * string kind = 2; + * * @return The bytes for kind. */ - com.google.protobuf.ByteString - getKindBytes(); + com.google.protobuf.ByteString getKindBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.java similarity index 77% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.java index 02ddcf9d..0b1729f1 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The request for compatibility information for a report's dimensions and
  * metrics. Check compatibility provides a preview of the compatibility of a
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.CheckCompatibilityRequest}
  */
-public final class CheckCompatibilityRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CheckCompatibilityRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.CheckCompatibilityRequest)
     CheckCompatibilityRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CheckCompatibilityRequest.newBuilder() to construct.
   private CheckCompatibilityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CheckCompatibilityRequest() {
     property_ = "";
     dimensions_ = java.util.Collections.emptyList();
@@ -31,16 +49,15 @@ private CheckCompatibilityRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CheckCompatibilityRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CheckCompatibilityRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,76 +77,89 @@ private CheckCompatibilityRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            property_ = s;
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              dimensions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              property_ = s;
+              break;
             }
-            dimensions_.add(
-                input.readMessage(com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry));
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              metrics_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                dimensions_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              dimensions_.add(
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry));
+              break;
             }
-            metrics_.add(
-                input.readMessage(com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry));
-            break;
-          }
-          case 34: {
-            com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null;
-            if (dimensionFilter_ != null) {
-              subBuilder = dimensionFilter_.toBuilder();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                metrics_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              metrics_.add(
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry));
+              break;
             }
-            dimensionFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(dimensionFilter_);
-              dimensionFilter_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null;
+              if (dimensionFilter_ != null) {
+                subBuilder = dimensionFilter_.toBuilder();
+              }
+              dimensionFilter_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.FilterExpression.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(dimensionFilter_);
+                dimensionFilter_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 42: {
-            com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null;
-            if (metricFilter_ != null) {
-              subBuilder = metricFilter_.toBuilder();
+          case 42:
+            {
+              com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null;
+              if (metricFilter_ != null) {
+                subBuilder = metricFilter_.toBuilder();
+              }
+              metricFilter_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.FilterExpression.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metricFilter_);
+                metricFilter_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            metricFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metricFilter_);
-              metricFilter_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 48: {
-            int rawValue = input.readEnum();
+          case 48:
+            {
+              int rawValue = input.readEnum();
 
-            compatibilityFilter_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              compatibilityFilter_ = 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)) {
         dimensions_ = java.util.Collections.unmodifiableList(dimensions_);
@@ -141,22 +171,27 @@ private CheckCompatibilityRequest(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.AnalyticsDataApiProto
+        .internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable
+    return com.google.analytics.data.v1beta.AnalyticsDataApiProto
+        .internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.CheckCompatibilityRequest.class, com.google.analytics.data.v1beta.CheckCompatibilityRequest.Builder.class);
+            com.google.analytics.data.v1beta.CheckCompatibilityRequest.class,
+            com.google.analytics.data.v1beta.CheckCompatibilityRequest.Builder.class);
   }
 
   public static final int PROPERTY_FIELD_NUMBER = 1;
   private volatile java.lang.Object property_;
   /**
+   *
+   *
    * 
    * A Google Analytics GA4 property identifier whose events are tracked. To
    * learn more, see [where to find your Property
@@ -169,6 +204,7 @@ private CheckCompatibilityRequest(
    * 
* * string property = 1; + * * @return The property. */ @java.lang.Override @@ -177,14 +213,15 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked. To
    * learn more, see [where to find your Property
@@ -197,16 +234,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -217,6 +253,8 @@ public java.lang.String getProperty() { public static final int DIMENSIONS_FIELD_NUMBER = 2; private java.util.List dimensions_; /** + * + * *
    * The dimensions in this report. `dimensions` should be the same value as in
    * your `runReport` request.
@@ -229,6 +267,8 @@ public java.util.List getDimensionsL
     return dimensions_;
   }
   /**
+   *
+   *
    * 
    * The dimensions in this report. `dimensions` should be the same value as in
    * your `runReport` request.
@@ -237,11 +277,13 @@ public java.util.List getDimensionsL
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDimensionsOrBuilderList() {
     return dimensions_;
   }
   /**
+   *
+   *
    * 
    * The dimensions in this report. `dimensions` should be the same value as in
    * your `runReport` request.
@@ -254,6 +296,8 @@ public int getDimensionsCount() {
     return dimensions_.size();
   }
   /**
+   *
+   *
    * 
    * The dimensions in this report. `dimensions` should be the same value as in
    * your `runReport` request.
@@ -266,6 +310,8 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
     return dimensions_.get(index);
   }
   /**
+   *
+   *
    * 
    * The dimensions in this report. `dimensions` should be the same value as in
    * your `runReport` request.
@@ -274,14 +320,15 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) {
     return dimensions_.get(index);
   }
 
   public static final int METRICS_FIELD_NUMBER = 3;
   private java.util.List metrics_;
   /**
+   *
+   *
    * 
    * The metrics in this report. `metrics` should be the same value as in your
    * `runReport` request.
@@ -294,6 +341,8 @@ public java.util.List getMetricsList()
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * The metrics in this report. `metrics` should be the same value as in your
    * `runReport` request.
@@ -302,11 +351,13 @@ public java.util.List getMetricsList()
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricsOrBuilderList() {
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * The metrics in this report. `metrics` should be the same value as in your
    * `runReport` request.
@@ -319,6 +370,8 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
+   *
+   *
    * 
    * The metrics in this report. `metrics` should be the same value as in your
    * `runReport` request.
@@ -331,6 +384,8 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
     return metrics_.get(index);
   }
   /**
+   *
+   *
    * 
    * The metrics in this report. `metrics` should be the same value as in your
    * `runReport` request.
@@ -339,20 +394,22 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) {
     return metrics_.get(index);
   }
 
   public static final int DIMENSION_FILTER_FIELD_NUMBER = 4;
   private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_;
   /**
+   *
+   *
    * 
    * The filter clause of dimensions. `dimensionFilter` should be the same value
    * as in your `runReport` request.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return Whether the dimensionFilter field is set. */ @java.lang.Override @@ -360,19 +417,26 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** + * + * *
    * The filter clause of dimensions. `dimensionFilter` should be the same value
    * as in your `runReport` request.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return The dimensionFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { - return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : dimensionFilter_; } /** + * + * *
    * The filter clause of dimensions. `dimensionFilter` should be the same value
    * as in your `runReport` request.
@@ -388,12 +452,15 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
   public static final int METRIC_FILTER_FIELD_NUMBER = 5;
   private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
   /**
+   *
+   *
    * 
    * The filter clause of metrics. `metricFilter` should be the same value as in
    * your `runReport` request
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return Whether the metricFilter field is set. */ @java.lang.Override @@ -401,19 +468,26 @@ public boolean hasMetricFilter() { return metricFilter_ != null; } /** + * + * *
    * The filter clause of metrics. `metricFilter` should be the same value as in
    * your `runReport` request
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return The metricFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { - return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : metricFilter_; } /** + * + * *
    * The filter clause of metrics. `metricFilter` should be the same value as in
    * your `runReport` request
@@ -429,6 +503,8 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
   public static final int COMPATIBILITY_FILTER_FIELD_NUMBER = 6;
   private int compatibilityFilter_;
   /**
+   *
+   *
    * 
    * Filters the dimensions and metrics in the response to just this
    * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
@@ -436,12 +512,16 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * * @return The enum numeric value on the wire for compatibilityFilter. */ - @java.lang.Override public int getCompatibilityFilterValue() { + @java.lang.Override + public int getCompatibilityFilterValue() { return compatibilityFilter_; } /** + * + * *
    * Filters the dimensions and metrics in the response to just this
    * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
@@ -449,15 +529,19 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * * @return The compatibilityFilter. */ - @java.lang.Override public com.google.analytics.data.v1beta.Compatibility getCompatibilityFilter() { + @java.lang.Override + public com.google.analytics.data.v1beta.Compatibility getCompatibilityFilter() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibilityFilter_); + com.google.analytics.data.v1beta.Compatibility result = + com.google.analytics.data.v1beta.Compatibility.valueOf(compatibilityFilter_); return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -469,8 +553,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getPropertyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -486,7 +569,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (metricFilter_ != null) { output.writeMessage(5, getMetricFilter()); } - if (compatibilityFilter_ != com.google.analytics.data.v1beta.Compatibility.COMPATIBILITY_UNSPECIFIED.getNumber()) { + if (compatibilityFilter_ + != com.google.analytics.data.v1beta.Compatibility.COMPATIBILITY_UNSPECIFIED.getNumber()) { output.writeEnum(6, compatibilityFilter_); } unknownFields.writeTo(output); @@ -502,24 +586,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); } for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); } if (dimensionFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getDimensionFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDimensionFilter()); } if (metricFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getMetricFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetricFilter()); } - if (compatibilityFilter_ != com.google.analytics.data.v1beta.Compatibility.COMPATIBILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, compatibilityFilter_); + if (compatibilityFilter_ + != com.google.analytics.data.v1beta.Compatibility.COMPATIBILITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, compatibilityFilter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -529,28 +609,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.analytics.data.v1beta.CheckCompatibilityRequest)) { return super.equals(obj); } - com.google.analytics.data.v1beta.CheckCompatibilityRequest other = (com.google.analytics.data.v1beta.CheckCompatibilityRequest) obj; + com.google.analytics.data.v1beta.CheckCompatibilityRequest other = + (com.google.analytics.data.v1beta.CheckCompatibilityRequest) obj; - if (!getProperty() - .equals(other.getProperty())) return false; - if (!getDimensionsList() - .equals(other.getDimensionsList())) return false; - if (!getMetricsList() - .equals(other.getMetricsList())) return false; + if (!getProperty().equals(other.getProperty())) return false; + if (!getDimensionsList().equals(other.getDimensionsList())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; if (hasDimensionFilter() != other.hasDimensionFilter()) return false; if (hasDimensionFilter()) { - if (!getDimensionFilter() - .equals(other.getDimensionFilter())) return false; + if (!getDimensionFilter().equals(other.getDimensionFilter())) return false; } if (hasMetricFilter() != other.hasMetricFilter()) return false; if (hasMetricFilter()) { - if (!getMetricFilter() - .equals(other.getMetricFilter())) return false; + if (!getMetricFilter().equals(other.getMetricFilter())) return false; } if (compatibilityFilter_ != other.compatibilityFilter_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -590,96 +666,104 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CheckCompatibilityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.CheckCompatibilityRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.CheckCompatibilityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 request for compatibility information for a report's dimensions and
    * metrics. Check compatibility provides a preview of the compatibility of a
@@ -689,21 +773,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.CheckCompatibilityRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.CheckCompatibilityRequest)
       com.google.analytics.data.v1beta.CheckCompatibilityRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.AnalyticsDataApiProto
+          .internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable
+      return com.google.analytics.data.v1beta.AnalyticsDataApiProto
+          .internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.CheckCompatibilityRequest.class, com.google.analytics.data.v1beta.CheckCompatibilityRequest.Builder.class);
+              com.google.analytics.data.v1beta.CheckCompatibilityRequest.class,
+              com.google.analytics.data.v1beta.CheckCompatibilityRequest.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.CheckCompatibilityRequest.newBuilder()
@@ -711,18 +797,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) {
         getDimensionsFieldBuilder();
         getMetricsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -758,9 +844,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.AnalyticsDataApiProto
+          .internal_static_google_analytics_data_v1beta_CheckCompatibilityRequest_descriptor;
     }
 
     @java.lang.Override
@@ -779,7 +865,8 @@ public com.google.analytics.data.v1beta.CheckCompatibilityRequest build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.CheckCompatibilityRequest buildPartial() {
-      com.google.analytics.data.v1beta.CheckCompatibilityRequest result = new com.google.analytics.data.v1beta.CheckCompatibilityRequest(this);
+      com.google.analytics.data.v1beta.CheckCompatibilityRequest result =
+          new com.google.analytics.data.v1beta.CheckCompatibilityRequest(this);
       int from_bitField0_ = bitField0_;
       result.property_ = property_;
       if (dimensionsBuilder_ == null) {
@@ -819,38 +906,39 @@ public com.google.analytics.data.v1beta.CheckCompatibilityRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.CheckCompatibilityRequest) {
-        return mergeFrom((com.google.analytics.data.v1beta.CheckCompatibilityRequest)other);
+        return mergeFrom((com.google.analytics.data.v1beta.CheckCompatibilityRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -858,7 +946,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.data.v1beta.CheckCompatibilityRequest other) {
-      if (other == com.google.analytics.data.v1beta.CheckCompatibilityRequest.getDefaultInstance()) return this;
+      if (other == com.google.analytics.data.v1beta.CheckCompatibilityRequest.getDefaultInstance())
+        return this;
       if (!other.getProperty().isEmpty()) {
         property_ = other.property_;
         onChanged();
@@ -881,9 +970,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.CheckCompatibilityRequ
             dimensionsBuilder_ = null;
             dimensions_ = other.dimensions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            dimensionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getDimensionsFieldBuilder() : null;
+            dimensionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getDimensionsFieldBuilder()
+                    : null;
           } else {
             dimensionsBuilder_.addAllMessages(other.dimensions_);
           }
@@ -907,9 +997,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.CheckCompatibilityRequ
             metricsBuilder_ = null;
             metrics_ = other.metrics_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            metricsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getMetricsFieldBuilder() : null;
+            metricsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getMetricsFieldBuilder()
+                    : null;
           } else {
             metricsBuilder_.addAllMessages(other.metrics_);
           }
@@ -943,7 +1034,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.analytics.data.v1beta.CheckCompatibilityRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.analytics.data.v1beta.CheckCompatibilityRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -952,10 +1044,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object property_ = "";
     /**
+     *
+     *
      * 
      * A Google Analytics GA4 property identifier whose events are tracked. To
      * learn more, see [where to find your Property
@@ -968,13 +1063,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -983,6 +1078,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked. To
      * learn more, see [where to find your Property
@@ -995,15 +1092,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -1011,6 +1107,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked. To
      * learn more, see [where to find your Property
@@ -1023,20 +1121,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { + public Builder setProperty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked. To
      * learn more, see [where to find your Property
@@ -1049,15 +1149,18 @@ public Builder setProperty(
      * 
* * string property = 1; + * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked. To
      * learn more, see [where to find your Property
@@ -1070,34 +1173,41 @@ public Builder clearProperty() {
      * 
* * string property = 1; + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List dimensions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(dimensions_); + dimensions_ = + new java.util.ArrayList(dimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> dimensionsBuilder_; + com.google.analytics.data.v1beta.Dimension, + com.google.analytics.data.v1beta.Dimension.Builder, + com.google.analytics.data.v1beta.DimensionOrBuilder> + dimensionsBuilder_; /** + * + * *
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1113,6 +1223,8 @@ public java.util.List getDimensionsL
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1128,6 +1240,8 @@ public int getDimensionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1143,6 +1257,8 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1150,8 +1266,7 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public Builder setDimensions(
-        int index, com.google.analytics.data.v1beta.Dimension value) {
+    public Builder setDimensions(int index, com.google.analytics.data.v1beta.Dimension value) {
       if (dimensionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1165,6 +1280,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1184,6 +1301,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1205,6 +1324,8 @@ public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1212,8 +1333,7 @@ public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) {
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public Builder addDimensions(
-        int index, com.google.analytics.data.v1beta.Dimension value) {
+    public Builder addDimensions(int index, com.google.analytics.data.v1beta.Dimension value) {
       if (dimensionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1227,6 +1347,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1246,6 +1368,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1265,6 +1389,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1276,8 +1402,7 @@ public Builder addAllDimensions(
         java.lang.Iterable values) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dimensions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_);
         onChanged();
       } else {
         dimensionsBuilder_.addAllMessages(values);
@@ -1285,6 +1410,8 @@ public Builder addAllDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1303,6 +1430,8 @@ public Builder clearDimensions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1321,6 +1450,8 @@ public Builder removeDimensions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1328,11 +1459,12 @@ public Builder removeDimensions(int index) {
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(int index) {
       return getDimensionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1340,14 +1472,16 @@ public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) {
       if (dimensionsBuilder_ == null) {
-        return dimensions_.get(index);  } else {
+        return dimensions_.get(index);
+      } else {
         return dimensionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1355,8 +1489,8 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public java.util.List 
-         getDimensionsOrBuilderList() {
+    public java.util.List
+        getDimensionsOrBuilderList() {
       if (dimensionsBuilder_ != null) {
         return dimensionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1364,6 +1498,8 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1372,10 +1508,12 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
     public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder() {
-      return getDimensionsFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
+      return getDimensionsFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1383,12 +1521,13 @@ public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder()
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(
-        int index) {
-      return getDimensionsFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(int index) {
+      return getDimensionsFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The dimensions in this report. `dimensions` should be the same value as in
      * your `runReport` request.
@@ -1396,38 +1535,47 @@ public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public java.util.List 
-         getDimensionsBuilderList() {
+    public java.util.List
+        getDimensionsBuilderList() {
       return getDimensionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> 
+            com.google.analytics.data.v1beta.Dimension,
+            com.google.analytics.data.v1beta.Dimension.Builder,
+            com.google.analytics.data.v1beta.DimensionOrBuilder>
         getDimensionsFieldBuilder() {
       if (dimensionsBuilder_ == null) {
-        dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder>(
-                dimensions_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        dimensionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.Dimension,
+                com.google.analytics.data.v1beta.Dimension.Builder,
+                com.google.analytics.data.v1beta.DimensionOrBuilder>(
+                dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         dimensions_ = null;
       }
       return dimensionsBuilder_;
     }
 
     private java.util.List metrics_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMetricsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         metrics_ = new java.util.ArrayList(metrics_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> metricsBuilder_;
+            com.google.analytics.data.v1beta.Metric,
+            com.google.analytics.data.v1beta.Metric.Builder,
+            com.google.analytics.data.v1beta.MetricOrBuilder>
+        metricsBuilder_;
 
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1443,6 +1591,8 @@ public java.util.List getMetricsList()
       }
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1458,6 +1608,8 @@ public int getMetricsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1473,6 +1625,8 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1480,8 +1634,7 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public Builder setMetrics(
-        int index, com.google.analytics.data.v1beta.Metric value) {
+    public Builder setMetrics(int index, com.google.analytics.data.v1beta.Metric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1495,6 +1648,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1514,6 +1669,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1535,6 +1692,8 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1542,8 +1701,7 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public Builder addMetrics(
-        int index, com.google.analytics.data.v1beta.Metric value) {
+    public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1557,6 +1715,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1564,8 +1724,7 @@ public Builder addMetrics(
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public Builder addMetrics(
-        com.google.analytics.data.v1beta.Metric.Builder builderForValue) {
+    public Builder addMetrics(com.google.analytics.data.v1beta.Metric.Builder builderForValue) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
         metrics_.add(builderForValue.build());
@@ -1576,6 +1735,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1595,6 +1756,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1606,8 +1769,7 @@ public Builder addAllMetrics(
         java.lang.Iterable values) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metrics_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
         onChanged();
       } else {
         metricsBuilder_.addAllMessages(values);
@@ -1615,6 +1777,8 @@ public Builder addAllMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1633,6 +1797,8 @@ public Builder clearMetrics() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1651,6 +1817,8 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1658,11 +1826,12 @@ public Builder removeMetrics(int index) {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(int index) {
       return getMetricsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1670,14 +1839,16 @@ public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) {
       if (metricsBuilder_ == null) {
-        return metrics_.get(index);  } else {
+        return metrics_.get(index);
+      } else {
         return metricsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1685,8 +1856,8 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public java.util.List 
-         getMetricsOrBuilderList() {
+    public java.util.List
+        getMetricsOrBuilderList() {
       if (metricsBuilder_ != null) {
         return metricsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1694,6 +1865,8 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1702,10 +1875,12 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
     public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() {
-      return getMetricsFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.Metric.getDefaultInstance());
+      return getMetricsFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.Metric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1713,12 +1888,13 @@ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(
-        int index) {
-      return getMetricsFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.Metric.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(int index) {
+      return getMetricsFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.Metric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The metrics in this report. `metrics` should be the same value as in your
      * `runReport` request.
@@ -1726,20 +1902,22 @@ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public java.util.List 
-         getMetricsBuilderList() {
+    public java.util.List getMetricsBuilderList() {
       return getMetricsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> 
+            com.google.analytics.data.v1beta.Metric,
+            com.google.analytics.data.v1beta.Metric.Builder,
+            com.google.analytics.data.v1beta.MetricOrBuilder>
         getMetricsFieldBuilder() {
       if (metricsBuilder_ == null) {
-        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder>(
-                metrics_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        metricsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.Metric,
+                com.google.analytics.data.v1beta.Metric.Builder,
+                com.google.analytics.data.v1beta.MetricOrBuilder>(
+                metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         metrics_ = null;
       }
       return metricsBuilder_;
@@ -1747,36 +1925,49 @@ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(
 
     private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> dimensionFilterBuilder_;
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        dimensionFilterBuilder_;
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. `dimensionFilter` should be the same value
      * as in your `runReport` request.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return Whether the dimensionFilter field is set. */ public boolean hasDimensionFilter() { return dimensionFilterBuilder_ != null || dimensionFilter_ != null; } /** + * + * *
      * The filter clause of dimensions. `dimensionFilter` should be the same value
      * as in your `runReport` request.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return The dimensionFilter. */ public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : dimensionFilter_; } else { return dimensionFilterBuilder_.getMessage(); } } /** + * + * *
      * The filter clause of dimensions. `dimensionFilter` should be the same value
      * as in your `runReport` request.
@@ -1798,6 +1989,8 @@ public Builder setDimensionFilter(com.google.analytics.data.v1beta.FilterExpress
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. `dimensionFilter` should be the same value
      * as in your `runReport` request.
@@ -1817,6 +2010,8 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. `dimensionFilter` should be the same value
      * as in your `runReport` request.
@@ -1828,7 +2023,9 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       if (dimensionFilterBuilder_ == null) {
         if (dimensionFilter_ != null) {
           dimensionFilter_ =
-            com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dimensionFilter_ = value;
         }
@@ -1840,6 +2037,8 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. `dimensionFilter` should be the same value
      * as in your `runReport` request.
@@ -1859,6 +2058,8 @@ public Builder clearDimensionFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. `dimensionFilter` should be the same value
      * as in your `runReport` request.
@@ -1867,11 +2068,13 @@ public Builder clearDimensionFilter() {
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFilterBuilder() {
-      
+
       onChanged();
       return getDimensionFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. `dimensionFilter` should be the same value
      * as in your `runReport` request.
@@ -1879,15 +2082,19 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
      *
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      */
-    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder() {
+    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder
+        getDimensionFilterOrBuilder() {
       if (dimensionFilterBuilder_ != null) {
         return dimensionFilterBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionFilter_ == null ?
-            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_;
+        return dimensionFilter_ == null
+            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
+            : dimensionFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. `dimensionFilter` should be the same value
      * as in your `runReport` request.
@@ -1896,14 +2103,17 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
         getDimensionFilterFieldBuilder() {
       if (dimensionFilterBuilder_ == null) {
-        dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getDimensionFilter(),
-                getParentForChildren(),
-                isClean());
+        dimensionFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.FilterExpression,
+                com.google.analytics.data.v1beta.FilterExpression.Builder,
+                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getDimensionFilter(), getParentForChildren(), isClean());
         dimensionFilter_ = null;
       }
       return dimensionFilterBuilder_;
@@ -1911,36 +2121,49 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
 
     private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> metricFilterBuilder_;
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        metricFilterBuilder_;
     /**
+     *
+     *
      * 
      * The filter clause of metrics. `metricFilter` should be the same value as in
      * your `runReport` request
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return Whether the metricFilter field is set. */ public boolean hasMetricFilter() { return metricFilterBuilder_ != null || metricFilter_ != null; } /** + * + * *
      * The filter clause of metrics. `metricFilter` should be the same value as in
      * your `runReport` request
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return The metricFilter. */ public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { if (metricFilterBuilder_ == null) { - return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : metricFilter_; } else { return metricFilterBuilder_.getMessage(); } } /** + * + * *
      * The filter clause of metrics. `metricFilter` should be the same value as in
      * your `runReport` request
@@ -1962,6 +2185,8 @@ public Builder setMetricFilter(com.google.analytics.data.v1beta.FilterExpression
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. `metricFilter` should be the same value as in
      * your `runReport` request
@@ -1981,6 +2206,8 @@ public Builder setMetricFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. `metricFilter` should be the same value as in
      * your `runReport` request
@@ -1992,7 +2219,9 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       if (metricFilterBuilder_ == null) {
         if (metricFilter_ != null) {
           metricFilter_ =
-            com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metricFilter_ = value;
         }
@@ -2004,6 +2233,8 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. `metricFilter` should be the same value as in
      * your `runReport` request
@@ -2023,6 +2254,8 @@ public Builder clearMetricFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. `metricFilter` should be the same value as in
      * your `runReport` request
@@ -2031,11 +2264,13 @@ public Builder clearMetricFilter() {
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 5;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getMetricFilterBuilder() {
-      
+
       onChanged();
       return getMetricFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. `metricFilter` should be the same value as in
      * your `runReport` request
@@ -2047,11 +2282,14 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
       if (metricFilterBuilder_ != null) {
         return metricFilterBuilder_.getMessageOrBuilder();
       } else {
-        return metricFilter_ == null ?
-            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_;
+        return metricFilter_ == null
+            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
+            : metricFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. `metricFilter` should be the same value as in
      * your `runReport` request
@@ -2060,14 +2298,17 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
         getMetricFilterFieldBuilder() {
       if (metricFilterBuilder_ == null) {
-        metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getMetricFilter(),
-                getParentForChildren(),
-                isClean());
+        metricFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.FilterExpression,
+                com.google.analytics.data.v1beta.FilterExpression.Builder,
+                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getMetricFilter(), getParentForChildren(), isClean());
         metricFilter_ = null;
       }
       return metricFilterBuilder_;
@@ -2075,6 +2316,8 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
 
     private int compatibilityFilter_ = 0;
     /**
+     *
+     *
      * 
      * Filters the dimensions and metrics in the response to just this
      * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
@@ -2082,12 +2325,16 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * * @return The enum numeric value on the wire for compatibilityFilter. */ - @java.lang.Override public int getCompatibilityFilterValue() { + @java.lang.Override + public int getCompatibilityFilterValue() { return compatibilityFilter_; } /** + * + * *
      * Filters the dimensions and metrics in the response to just this
      * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
@@ -2095,16 +2342,19 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * * @param value The enum numeric value on the wire for compatibilityFilter to set. * @return This builder for chaining. */ public Builder setCompatibilityFilterValue(int value) { - + compatibilityFilter_ = value; onChanged(); return this; } /** + * + * *
      * Filters the dimensions and metrics in the response to just this
      * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
@@ -2112,15 +2362,19 @@ public Builder setCompatibilityFilterValue(int value) {
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * * @return The compatibilityFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.Compatibility getCompatibilityFilter() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibilityFilter_); + com.google.analytics.data.v1beta.Compatibility result = + com.google.analytics.data.v1beta.Compatibility.valueOf(compatibilityFilter_); return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; } /** + * + * *
      * Filters the dimensions and metrics in the response to just this
      * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
@@ -2128,6 +2382,7 @@ public com.google.analytics.data.v1beta.Compatibility getCompatibilityFilter() {
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * * @param value The compatibilityFilter to set. * @return This builder for chaining. */ @@ -2135,12 +2390,14 @@ public Builder setCompatibilityFilter(com.google.analytics.data.v1beta.Compatibi if (value == null) { throw new NullPointerException(); } - + compatibilityFilter_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Filters the dimensions and metrics in the response to just this
      * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
@@ -2148,17 +2405,18 @@ public Builder setCompatibilityFilter(com.google.analytics.data.v1beta.Compatibi
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * * @return This builder for chaining. */ public Builder clearCompatibilityFilter() { - + compatibilityFilter_ = 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); } @@ -2168,12 +2426,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.CheckCompatibilityRequest) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.CheckCompatibilityRequest) private static final com.google.analytics.data.v1beta.CheckCompatibilityRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.CheckCompatibilityRequest(); } @@ -2182,16 +2440,16 @@ public static com.google.analytics.data.v1beta.CheckCompatibilityRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckCompatibilityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CheckCompatibilityRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckCompatibilityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CheckCompatibilityRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2206,6 +2464,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.data.v1beta.CheckCompatibilityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.java similarity index 86% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.java index 3c7b2759..fcce7901 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface CheckCompatibilityRequestOrBuilder extends +public interface CheckCompatibilityRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CheckCompatibilityRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked. To
    * learn more, see [where to find your Property
@@ -20,10 +38,13 @@ public interface CheckCompatibilityRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked. To
    * learn more, see [where to find your Property
@@ -36,12 +57,14 @@ public interface CheckCompatibilityRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * The dimensions in this report. `dimensions` should be the same value as in
    * your `runReport` request.
@@ -49,9 +72,10 @@ public interface CheckCompatibilityRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
-  java.util.List 
-      getDimensionsList();
+  java.util.List getDimensionsList();
   /**
+   *
+   *
    * 
    * The dimensions in this report. `dimensions` should be the same value as in
    * your `runReport` request.
@@ -61,6 +85,8 @@ public interface CheckCompatibilityRequestOrBuilder extends
    */
   com.google.analytics.data.v1beta.Dimension getDimensions(int index);
   /**
+   *
+   *
    * 
    * The dimensions in this report. `dimensions` should be the same value as in
    * your `runReport` request.
@@ -70,6 +96,8 @@ public interface CheckCompatibilityRequestOrBuilder extends
    */
   int getDimensionsCount();
   /**
+   *
+   *
    * 
    * The dimensions in this report. `dimensions` should be the same value as in
    * your `runReport` request.
@@ -77,9 +105,11 @@ public interface CheckCompatibilityRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
-  java.util.List 
+  java.util.List
       getDimensionsOrBuilderList();
   /**
+   *
+   *
    * 
    * The dimensions in this report. `dimensions` should be the same value as in
    * your `runReport` request.
@@ -87,10 +117,11 @@ public interface CheckCompatibilityRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
-  com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The metrics in this report. `metrics` should be the same value as in your
    * `runReport` request.
@@ -98,9 +129,10 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
-  java.util.List 
-      getMetricsList();
+  java.util.List getMetricsList();
   /**
+   *
+   *
    * 
    * The metrics in this report. `metrics` should be the same value as in your
    * `runReport` request.
@@ -110,6 +142,8 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
    */
   com.google.analytics.data.v1beta.Metric getMetrics(int index);
   /**
+   *
+   *
    * 
    * The metrics in this report. `metrics` should be the same value as in your
    * `runReport` request.
@@ -119,6 +153,8 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
    */
   int getMetricsCount();
   /**
+   *
+   *
    * 
    * The metrics in this report. `metrics` should be the same value as in your
    * `runReport` request.
@@ -126,9 +162,11 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
-  java.util.List 
+  java.util.List
       getMetricsOrBuilderList();
   /**
+   *
+   *
    * 
    * The metrics in this report. `metrics` should be the same value as in your
    * `runReport` request.
@@ -136,30 +174,37 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
-  com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The filter clause of dimensions. `dimensionFilter` should be the same value
    * as in your `runReport` request.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return Whether the dimensionFilter field is set. */ boolean hasDimensionFilter(); /** + * + * *
    * The filter clause of dimensions. `dimensionFilter` should be the same value
    * as in your `runReport` request.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return The dimensionFilter. */ com.google.analytics.data.v1beta.FilterExpression getDimensionFilter(); /** + * + * *
    * The filter clause of dimensions. `dimensionFilter` should be the same value
    * as in your `runReport` request.
@@ -170,26 +215,34 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * The filter clause of metrics. `metricFilter` should be the same value as in
    * your `runReport` request
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return Whether the metricFilter field is set. */ boolean hasMetricFilter(); /** + * + * *
    * The filter clause of metrics. `metricFilter` should be the same value as in
    * your `runReport` request
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return The metricFilter. */ com.google.analytics.data.v1beta.FilterExpression getMetricFilter(); /** + * + * *
    * The filter clause of metrics. `metricFilter` should be the same value as in
    * your `runReport` request
@@ -200,6 +253,8 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * Filters the dimensions and metrics in the response to just this
    * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
@@ -207,10 +262,13 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * * @return The enum numeric value on the wire for compatibilityFilter. */ int getCompatibilityFilterValue(); /** + * + * *
    * Filters the dimensions and metrics in the response to just this
    * compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
@@ -218,6 +276,7 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility_filter = 6; + * * @return The compatibilityFilter. */ com.google.analytics.data.v1beta.Compatibility getCompatibilityFilter(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.java similarity index 67% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.java index 70814d4f..d4bdc8c6 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponse.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The compatibility response with the compatibility of each dimension & metric.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.CheckCompatibilityResponse} */ -public final class CheckCompatibilityResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CheckCompatibilityResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.CheckCompatibilityResponse) CheckCompatibilityResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CheckCompatibilityResponse.newBuilder() to construct. private CheckCompatibilityResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CheckCompatibilityResponse() { dimensionCompatibilities_ = java.util.Collections.emptyList(); metricCompatibilities_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private CheckCompatibilityResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CheckCompatibilityResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CheckCompatibilityResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,41 +72,50 @@ private CheckCompatibilityResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionCompatibilities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionCompatibilities_ = + new java.util.ArrayList< + com.google.analytics.data.v1beta.DimensionCompatibility>(); + mutable_bitField0_ |= 0x00000001; + } + dimensionCompatibilities_.add( + input.readMessage( + com.google.analytics.data.v1beta.DimensionCompatibility.parser(), + extensionRegistry)); + break; } - dimensionCompatibilities_.add( - input.readMessage(com.google.analytics.data.v1beta.DimensionCompatibility.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metricCompatibilities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metricCompatibilities_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + metricCompatibilities_.add( + input.readMessage( + com.google.analytics.data.v1beta.MetricCompatibility.parser(), + extensionRegistry)); + break; } - metricCompatibilities_.add( - input.readMessage(com.google.analytics.data.v1beta.MetricCompatibility.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)) { - dimensionCompatibilities_ = java.util.Collections.unmodifiableList(dimensionCompatibilities_); + dimensionCompatibilities_ = + java.util.Collections.unmodifiableList(dimensionCompatibilities_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { metricCompatibilities_ = java.util.Collections.unmodifiableList(metricCompatibilities_); @@ -98,140 +124,184 @@ private CheckCompatibilityResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.CheckCompatibilityResponse.class, com.google.analytics.data.v1beta.CheckCompatibilityResponse.Builder.class); + com.google.analytics.data.v1beta.CheckCompatibilityResponse.class, + com.google.analytics.data.v1beta.CheckCompatibilityResponse.Builder.class); } public static final int DIMENSION_COMPATIBILITIES_FIELD_NUMBER = 1; - private java.util.List dimensionCompatibilities_; + private java.util.List + dimensionCompatibilities_; /** + * + * *
    * The compatibility of each dimension.
    * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ @java.lang.Override - public java.util.List getDimensionCompatibilitiesList() { + public java.util.List + getDimensionCompatibilitiesList() { return dimensionCompatibilities_; } /** + * + * *
    * The compatibility of each dimension.
    * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getDimensionCompatibilitiesOrBuilderList() { return dimensionCompatibilities_; } /** + * + * *
    * The compatibility of each dimension.
    * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ @java.lang.Override public int getDimensionCompatibilitiesCount() { return dimensionCompatibilities_.size(); } /** + * + * *
    * The compatibility of each dimension.
    * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionCompatibility getDimensionCompatibilities(int index) { + public com.google.analytics.data.v1beta.DimensionCompatibility getDimensionCompatibilities( + int index) { return dimensionCompatibilities_.get(index); } /** + * + * *
    * The compatibility of each dimension.
    * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder getDimensionCompatibilitiesOrBuilder( - int index) { + public com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder + getDimensionCompatibilitiesOrBuilder(int index) { return dimensionCompatibilities_.get(index); } public static final int METRIC_COMPATIBILITIES_FIELD_NUMBER = 2; - private java.util.List metricCompatibilities_; + private java.util.List + metricCompatibilities_; /** + * + * *
    * The compatibility of each metric.
    * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ @java.lang.Override - public java.util.List getMetricCompatibilitiesList() { + public java.util.List + getMetricCompatibilitiesList() { return metricCompatibilities_; } /** + * + * *
    * The compatibility of each metric.
    * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List getMetricCompatibilitiesOrBuilderList() { return metricCompatibilities_; } /** + * + * *
    * The compatibility of each metric.
    * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ @java.lang.Override public int getMetricCompatibilitiesCount() { return metricCompatibilities_.size(); } /** + * + * *
    * The compatibility of each metric.
    * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ @java.lang.Override public com.google.analytics.data.v1beta.MetricCompatibility getMetricCompatibilities(int index) { return metricCompatibilities_.get(index); } /** + * + * *
    * The compatibility of each metric.
    * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ @java.lang.Override - public com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder getMetricCompatibilitiesOrBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder + getMetricCompatibilitiesOrBuilder(int index) { return metricCompatibilities_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,8 +313,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensionCompatibilities_.size(); i++) { output.writeMessage(1, dimensionCompatibilities_.get(i)); } @@ -261,12 +330,14 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionCompatibilities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dimensionCompatibilities_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, dimensionCompatibilities_.get(i)); } for (int i = 0; i < metricCompatibilities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, metricCompatibilities_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, metricCompatibilities_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,17 +347,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.analytics.data.v1beta.CheckCompatibilityResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.CheckCompatibilityResponse other = (com.google.analytics.data.v1beta.CheckCompatibilityResponse) obj; + com.google.analytics.data.v1beta.CheckCompatibilityResponse other = + (com.google.analytics.data.v1beta.CheckCompatibilityResponse) obj; - if (!getDimensionCompatibilitiesList() - .equals(other.getDimensionCompatibilitiesList())) return false; - if (!getMetricCompatibilitiesList() - .equals(other.getMetricCompatibilitiesList())) return false; + if (!getDimensionCompatibilitiesList().equals(other.getDimensionCompatibilitiesList())) + return false; + if (!getMetricCompatibilitiesList().equals(other.getMetricCompatibilitiesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -312,117 +383,127 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CheckCompatibilityResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.CheckCompatibilityResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.CheckCompatibilityResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 compatibility response with the compatibility of each dimension & metric.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.CheckCompatibilityResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.CheckCompatibilityResponse) com.google.analytics.data.v1beta.CheckCompatibilityResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.CheckCompatibilityResponse.class, com.google.analytics.data.v1beta.CheckCompatibilityResponse.Builder.class); + com.google.analytics.data.v1beta.CheckCompatibilityResponse.class, + com.google.analytics.data.v1beta.CheckCompatibilityResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.CheckCompatibilityResponse.newBuilder() @@ -430,18 +511,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) { getDimensionCompatibilitiesFieldBuilder(); getMetricCompatibilitiesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -461,9 +542,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_CheckCompatibilityResponse_descriptor; } @java.lang.Override @@ -482,11 +563,13 @@ public com.google.analytics.data.v1beta.CheckCompatibilityResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.CheckCompatibilityResponse buildPartial() { - com.google.analytics.data.v1beta.CheckCompatibilityResponse result = new com.google.analytics.data.v1beta.CheckCompatibilityResponse(this); + com.google.analytics.data.v1beta.CheckCompatibilityResponse result = + new com.google.analytics.data.v1beta.CheckCompatibilityResponse(this); int from_bitField0_ = bitField0_; if (dimensionCompatibilitiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - dimensionCompatibilities_ = java.util.Collections.unmodifiableList(dimensionCompatibilities_); + dimensionCompatibilities_ = + java.util.Collections.unmodifiableList(dimensionCompatibilities_); bitField0_ = (bitField0_ & ~0x00000001); } result.dimensionCompatibilities_ = dimensionCompatibilities_; @@ -510,38 +593,39 @@ public com.google.analytics.data.v1beta.CheckCompatibilityResponse buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.CheckCompatibilityResponse) { - return mergeFrom((com.google.analytics.data.v1beta.CheckCompatibilityResponse)other); + return mergeFrom((com.google.analytics.data.v1beta.CheckCompatibilityResponse) other); } else { super.mergeFrom(other); return this; @@ -549,7 +633,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.CheckCompatibilityResponse other) { - if (other == com.google.analytics.data.v1beta.CheckCompatibilityResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.CheckCompatibilityResponse.getDefaultInstance()) + return this; if (dimensionCompatibilitiesBuilder_ == null) { if (!other.dimensionCompatibilities_.isEmpty()) { if (dimensionCompatibilities_.isEmpty()) { @@ -568,9 +653,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.CheckCompatibilityResp dimensionCompatibilitiesBuilder_ = null; dimensionCompatibilities_ = other.dimensionCompatibilities_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionCompatibilitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionCompatibilitiesFieldBuilder() : null; + dimensionCompatibilitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionCompatibilitiesFieldBuilder() + : null; } else { dimensionCompatibilitiesBuilder_.addAllMessages(other.dimensionCompatibilities_); } @@ -594,9 +680,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.CheckCompatibilityResp metricCompatibilitiesBuilder_ = null; metricCompatibilities_ = other.metricCompatibilities_; bitField0_ = (bitField0_ & ~0x00000002); - metricCompatibilitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricCompatibilitiesFieldBuilder() : null; + metricCompatibilitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricCompatibilitiesFieldBuilder() + : null; } else { metricCompatibilitiesBuilder_.addAllMessages(other.metricCompatibilities_); } @@ -621,7 +708,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.CheckCompatibilityResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.CheckCompatibilityResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,28 +718,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List dimensionCompatibilities_ = - java.util.Collections.emptyList(); + private java.util.List + dimensionCompatibilities_ = java.util.Collections.emptyList(); + private void ensureDimensionCompatibilitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionCompatibilities_ = new java.util.ArrayList(dimensionCompatibilities_); + dimensionCompatibilities_ = + new java.util.ArrayList( + dimensionCompatibilities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionCompatibility, com.google.analytics.data.v1beta.DimensionCompatibility.Builder, com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder> dimensionCompatibilitiesBuilder_; + com.google.analytics.data.v1beta.DimensionCompatibility, + com.google.analytics.data.v1beta.DimensionCompatibility.Builder, + com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder> + dimensionCompatibilitiesBuilder_; /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - public java.util.List getDimensionCompatibilitiesList() { + public java.util.List + getDimensionCompatibilitiesList() { if (dimensionCompatibilitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensionCompatibilities_); } else { @@ -659,11 +759,15 @@ public java.util.List g } } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ public int getDimensionCompatibilitiesCount() { if (dimensionCompatibilitiesBuilder_ == null) { @@ -673,13 +777,18 @@ public int getDimensionCompatibilitiesCount() { } } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - public com.google.analytics.data.v1beta.DimensionCompatibility getDimensionCompatibilities(int index) { + public com.google.analytics.data.v1beta.DimensionCompatibility getDimensionCompatibilities( + int index) { if (dimensionCompatibilitiesBuilder_ == null) { return dimensionCompatibilities_.get(index); } else { @@ -687,11 +796,15 @@ public com.google.analytics.data.v1beta.DimensionCompatibility getDimensionCompa } } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ public Builder setDimensionCompatibilities( int index, com.google.analytics.data.v1beta.DimensionCompatibility value) { @@ -708,14 +821,19 @@ public Builder setDimensionCompatibilities( return this; } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ public Builder setDimensionCompatibilities( - int index, com.google.analytics.data.v1beta.DimensionCompatibility.Builder builderForValue) { + int index, + com.google.analytics.data.v1beta.DimensionCompatibility.Builder builderForValue) { if (dimensionCompatibilitiesBuilder_ == null) { ensureDimensionCompatibilitiesIsMutable(); dimensionCompatibilities_.set(index, builderForValue.build()); @@ -726,13 +844,18 @@ public Builder setDimensionCompatibilities( return this; } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - public Builder addDimensionCompatibilities(com.google.analytics.data.v1beta.DimensionCompatibility value) { + public Builder addDimensionCompatibilities( + com.google.analytics.data.v1beta.DimensionCompatibility value) { if (dimensionCompatibilitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -746,11 +869,15 @@ public Builder addDimensionCompatibilities(com.google.analytics.data.v1beta.Dime return this; } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ public Builder addDimensionCompatibilities( int index, com.google.analytics.data.v1beta.DimensionCompatibility value) { @@ -767,11 +894,15 @@ public Builder addDimensionCompatibilities( return this; } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ public Builder addDimensionCompatibilities( com.google.analytics.data.v1beta.DimensionCompatibility.Builder builderForValue) { @@ -785,14 +916,19 @@ public Builder addDimensionCompatibilities( return this; } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ public Builder addDimensionCompatibilities( - int index, com.google.analytics.data.v1beta.DimensionCompatibility.Builder builderForValue) { + int index, + com.google.analytics.data.v1beta.DimensionCompatibility.Builder builderForValue) { if (dimensionCompatibilitiesBuilder_ == null) { ensureDimensionCompatibilitiesIsMutable(); dimensionCompatibilities_.add(index, builderForValue.build()); @@ -803,18 +939,22 @@ public Builder addDimensionCompatibilities( return this; } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ public Builder addAllDimensionCompatibilities( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (dimensionCompatibilitiesBuilder_ == null) { ensureDimensionCompatibilitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dimensionCompatibilities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionCompatibilities_); onChanged(); } else { dimensionCompatibilitiesBuilder_.addAllMessages(values); @@ -822,11 +962,15 @@ public Builder addAllDimensionCompatibilities( return this; } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ public Builder clearDimensionCompatibilities() { if (dimensionCompatibilitiesBuilder_ == null) { @@ -839,11 +983,15 @@ public Builder clearDimensionCompatibilities() { return this; } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ public Builder removeDimensionCompatibilities(int index) { if (dimensionCompatibilitiesBuilder_ == null) { @@ -856,39 +1004,53 @@ public Builder removeDimensionCompatibilities(int index) { return this; } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - public com.google.analytics.data.v1beta.DimensionCompatibility.Builder getDimensionCompatibilitiesBuilder( - int index) { + public com.google.analytics.data.v1beta.DimensionCompatibility.Builder + getDimensionCompatibilitiesBuilder(int index) { return getDimensionCompatibilitiesFieldBuilder().getBuilder(index); } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - public com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder getDimensionCompatibilitiesOrBuilder( - int index) { + public com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder + getDimensionCompatibilitiesOrBuilder(int index) { if (dimensionCompatibilitiesBuilder_ == null) { - return dimensionCompatibilities_.get(index); } else { + return dimensionCompatibilities_.get(index); + } else { return dimensionCompatibilitiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - public java.util.List - getDimensionCompatibilitiesOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder> + getDimensionCompatibilitiesOrBuilderList() { if (dimensionCompatibilitiesBuilder_ != null) { return dimensionCompatibilitiesBuilder_.getMessageOrBuilderList(); } else { @@ -896,45 +1058,65 @@ public com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder getDimen } } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - public com.google.analytics.data.v1beta.DimensionCompatibility.Builder addDimensionCompatibilitiesBuilder() { - return getDimensionCompatibilitiesFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.DimensionCompatibility.getDefaultInstance()); + public com.google.analytics.data.v1beta.DimensionCompatibility.Builder + addDimensionCompatibilitiesBuilder() { + return getDimensionCompatibilitiesFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.DimensionCompatibility.getDefaultInstance()); } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - public com.google.analytics.data.v1beta.DimensionCompatibility.Builder addDimensionCompatibilitiesBuilder( - int index) { - return getDimensionCompatibilitiesFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.DimensionCompatibility.getDefaultInstance()); + public com.google.analytics.data.v1beta.DimensionCompatibility.Builder + addDimensionCompatibilitiesBuilder(int index) { + return getDimensionCompatibilitiesFieldBuilder() + .addBuilder( + index, com.google.analytics.data.v1beta.DimensionCompatibility.getDefaultInstance()); } /** + * + * *
      * The compatibility of each dimension.
      * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - public java.util.List - getDimensionCompatibilitiesBuilderList() { + public java.util.List + getDimensionCompatibilitiesBuilderList() { return getDimensionCompatibilitiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionCompatibility, com.google.analytics.data.v1beta.DimensionCompatibility.Builder, com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder> + com.google.analytics.data.v1beta.DimensionCompatibility, + com.google.analytics.data.v1beta.DimensionCompatibility.Builder, + com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder> getDimensionCompatibilitiesFieldBuilder() { if (dimensionCompatibilitiesBuilder_ == null) { - dimensionCompatibilitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionCompatibility, com.google.analytics.data.v1beta.DimensionCompatibility.Builder, com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder>( + dimensionCompatibilitiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionCompatibility, + com.google.analytics.data.v1beta.DimensionCompatibility.Builder, + com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder>( dimensionCompatibilities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -944,26 +1126,36 @@ public com.google.analytics.data.v1beta.DimensionCompatibility.Builder addDimens return dimensionCompatibilitiesBuilder_; } - private java.util.List metricCompatibilities_ = - java.util.Collections.emptyList(); + private java.util.List + metricCompatibilities_ = java.util.Collections.emptyList(); + private void ensureMetricCompatibilitiesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metricCompatibilities_ = new java.util.ArrayList(metricCompatibilities_); + metricCompatibilities_ = + new java.util.ArrayList( + metricCompatibilities_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricCompatibility, com.google.analytics.data.v1beta.MetricCompatibility.Builder, com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder> metricCompatibilitiesBuilder_; + com.google.analytics.data.v1beta.MetricCompatibility, + com.google.analytics.data.v1beta.MetricCompatibility.Builder, + com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder> + metricCompatibilitiesBuilder_; /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - public java.util.List getMetricCompatibilitiesList() { + public java.util.List + getMetricCompatibilitiesList() { if (metricCompatibilitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(metricCompatibilities_); } else { @@ -971,11 +1163,14 @@ public java.util.List getM } } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ public int getMetricCompatibilitiesCount() { if (metricCompatibilitiesBuilder_ == null) { @@ -985,13 +1180,17 @@ public int getMetricCompatibilitiesCount() { } } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - public com.google.analytics.data.v1beta.MetricCompatibility getMetricCompatibilities(int index) { + public com.google.analytics.data.v1beta.MetricCompatibility getMetricCompatibilities( + int index) { if (metricCompatibilitiesBuilder_ == null) { return metricCompatibilities_.get(index); } else { @@ -999,11 +1198,14 @@ public com.google.analytics.data.v1beta.MetricCompatibility getMetricCompatibili } } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ public Builder setMetricCompatibilities( int index, com.google.analytics.data.v1beta.MetricCompatibility value) { @@ -1020,11 +1222,14 @@ public Builder setMetricCompatibilities( return this; } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ public Builder setMetricCompatibilities( int index, com.google.analytics.data.v1beta.MetricCompatibility.Builder builderForValue) { @@ -1038,13 +1243,17 @@ public Builder setMetricCompatibilities( return this; } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - public Builder addMetricCompatibilities(com.google.analytics.data.v1beta.MetricCompatibility value) { + public Builder addMetricCompatibilities( + com.google.analytics.data.v1beta.MetricCompatibility value) { if (metricCompatibilitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1058,11 +1267,14 @@ public Builder addMetricCompatibilities(com.google.analytics.data.v1beta.MetricC return this; } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ public Builder addMetricCompatibilities( int index, com.google.analytics.data.v1beta.MetricCompatibility value) { @@ -1079,11 +1291,14 @@ public Builder addMetricCompatibilities( return this; } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ public Builder addMetricCompatibilities( com.google.analytics.data.v1beta.MetricCompatibility.Builder builderForValue) { @@ -1097,11 +1312,14 @@ public Builder addMetricCompatibilities( return this; } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ public Builder addMetricCompatibilities( int index, com.google.analytics.data.v1beta.MetricCompatibility.Builder builderForValue) { @@ -1115,18 +1333,20 @@ public Builder addMetricCompatibilities( return this; } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ public Builder addAllMetricCompatibilities( java.lang.Iterable values) { if (metricCompatibilitiesBuilder_ == null) { ensureMetricCompatibilitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metricCompatibilities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricCompatibilities_); onChanged(); } else { metricCompatibilitiesBuilder_.addAllMessages(values); @@ -1134,11 +1354,14 @@ public Builder addAllMetricCompatibilities( return this; } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ public Builder clearMetricCompatibilities() { if (metricCompatibilitiesBuilder_ == null) { @@ -1151,11 +1374,14 @@ public Builder clearMetricCompatibilities() { return this; } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ public Builder removeMetricCompatibilities(int index) { if (metricCompatibilitiesBuilder_ == null) { @@ -1168,39 +1394,49 @@ public Builder removeMetricCompatibilities(int index) { return this; } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - public com.google.analytics.data.v1beta.MetricCompatibility.Builder getMetricCompatibilitiesBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricCompatibility.Builder + getMetricCompatibilitiesBuilder(int index) { return getMetricCompatibilitiesFieldBuilder().getBuilder(index); } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - public com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder getMetricCompatibilitiesOrBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder + getMetricCompatibilitiesOrBuilder(int index) { if (metricCompatibilitiesBuilder_ == null) { - return metricCompatibilities_.get(index); } else { + return metricCompatibilities_.get(index); + } else { return metricCompatibilitiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - public java.util.List - getMetricCompatibilitiesOrBuilderList() { + public java.util.List + getMetricCompatibilitiesOrBuilderList() { if (metricCompatibilitiesBuilder_ != null) { return metricCompatibilitiesBuilder_.getMessageOrBuilderList(); } else { @@ -1208,45 +1444,62 @@ public com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder getMetricCo } } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - public com.google.analytics.data.v1beta.MetricCompatibility.Builder addMetricCompatibilitiesBuilder() { - return getMetricCompatibilitiesFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.MetricCompatibility.getDefaultInstance()); + public com.google.analytics.data.v1beta.MetricCompatibility.Builder + addMetricCompatibilitiesBuilder() { + return getMetricCompatibilitiesFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.MetricCompatibility.getDefaultInstance()); } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - public com.google.analytics.data.v1beta.MetricCompatibility.Builder addMetricCompatibilitiesBuilder( - int index) { - return getMetricCompatibilitiesFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.MetricCompatibility.getDefaultInstance()); + public com.google.analytics.data.v1beta.MetricCompatibility.Builder + addMetricCompatibilitiesBuilder(int index) { + return getMetricCompatibilitiesFieldBuilder() + .addBuilder( + index, com.google.analytics.data.v1beta.MetricCompatibility.getDefaultInstance()); } /** + * + * *
      * The compatibility of each metric.
      * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - public java.util.List - getMetricCompatibilitiesBuilderList() { + public java.util.List + getMetricCompatibilitiesBuilderList() { return getMetricCompatibilitiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricCompatibility, com.google.analytics.data.v1beta.MetricCompatibility.Builder, com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder> + com.google.analytics.data.v1beta.MetricCompatibility, + com.google.analytics.data.v1beta.MetricCompatibility.Builder, + com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder> getMetricCompatibilitiesFieldBuilder() { if (metricCompatibilitiesBuilder_ == null) { - metricCompatibilitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricCompatibility, com.google.analytics.data.v1beta.MetricCompatibility.Builder, com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder>( + metricCompatibilitiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.MetricCompatibility, + com.google.analytics.data.v1beta.MetricCompatibility.Builder, + com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder>( metricCompatibilities_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1255,9 +1508,9 @@ public com.google.analytics.data.v1beta.MetricCompatibility.Builder addMetricCom } return metricCompatibilitiesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1267,12 +1520,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.CheckCompatibilityResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.CheckCompatibilityResponse) private static final com.google.analytics.data.v1beta.CheckCompatibilityResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.CheckCompatibilityResponse(); } @@ -1281,16 +1534,16 @@ public static com.google.analytics.data.v1beta.CheckCompatibilityResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckCompatibilityResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CheckCompatibilityResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckCompatibilityResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CheckCompatibilityResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1305,6 +1558,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.data.v1beta.CheckCompatibilityResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java similarity index 57% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java index cca4fbd0..820ea15c 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CheckCompatibilityResponseOrBuilder.java @@ -1,96 +1,147 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface CheckCompatibilityResponseOrBuilder extends +public interface CheckCompatibilityResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CheckCompatibilityResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The compatibility of each dimension.
    * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - java.util.List + java.util.List getDimensionCompatibilitiesList(); /** + * + * *
    * The compatibility of each dimension.
    * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ com.google.analytics.data.v1beta.DimensionCompatibility getDimensionCompatibilities(int index); /** + * + * *
    * The compatibility of each dimension.
    * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ int getDimensionCompatibilitiesCount(); /** + * + * *
    * The compatibility of each dimension.
    * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - java.util.List + java.util.List getDimensionCompatibilitiesOrBuilderList(); /** + * + * *
    * The compatibility of each dimension.
    * 
* - * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * + * repeated .google.analytics.data.v1beta.DimensionCompatibility dimension_compatibilities = 1; + * */ - com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder getDimensionCompatibilitiesOrBuilder( - int index); + com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder + getDimensionCompatibilitiesOrBuilder(int index); /** + * + * *
    * The compatibility of each metric.
    * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - java.util.List + java.util.List getMetricCompatibilitiesList(); /** + * + * *
    * The compatibility of each metric.
    * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ com.google.analytics.data.v1beta.MetricCompatibility getMetricCompatibilities(int index); /** + * + * *
    * The compatibility of each metric.
    * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ int getMetricCompatibilitiesCount(); /** + * + * *
    * The compatibility of each metric.
    * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ - java.util.List + java.util.List getMetricCompatibilitiesOrBuilderList(); /** + * + * *
    * The compatibility of each metric.
    * 
* - * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * repeated .google.analytics.data.v1beta.MetricCompatibility metric_compatibilities = 2; + * */ com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder getMetricCompatibilitiesOrBuilder( int index); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.java similarity index 79% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.java index b979b543..47ce0c7f 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Cohort.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Defines a cohort selection criteria. A cohort is a group of users who share
  * a common characteristic. For example, users with the same `firstSessionDate`
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.Cohort}
  */
-public final class Cohort extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Cohort extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Cohort)
     CohortOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Cohort.newBuilder() to construct.
   private Cohort(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Cohort() {
     name_ = "";
     dimension_ = "";
@@ -28,16 +46,15 @@ private Cohort() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Cohort();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Cohort(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,66 +73,75 @@ private Cohort(
           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();
 
-            dimension_ = s;
-            break;
-          }
-          case 26: {
-            com.google.analytics.data.v1beta.DateRange.Builder subBuilder = null;
-            if (dateRange_ != null) {
-              subBuilder = dateRange_.toBuilder();
+              name_ = s;
+              break;
             }
-            dateRange_ = input.readMessage(com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(dateRange_);
-              dateRange_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              dimension_ = s;
+              break;
             }
+          case 26:
+            {
+              com.google.analytics.data.v1beta.DateRange.Builder subBuilder = null;
+              if (dateRange_ != null) {
+                subBuilder = dateRange_.toBuilder();
+              }
+              dateRange_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(dateRange_);
+                dateRange_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Cohort_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_Cohort_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.Cohort.class, com.google.analytics.data.v1beta.Cohort.Builder.class);
+            com.google.analytics.data.v1beta.Cohort.class,
+            com.google.analytics.data.v1beta.Cohort.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Assigns a name to this cohort. The dimension `cohort` is valued to this
    * name in a report response. If set, cannot begin with `cohort_` or
@@ -124,6 +150,7 @@ private Cohort(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -132,14 +159,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; } } /** + * + * *
    * Assigns a name to this cohort. The dimension `cohort` is valued to this
    * name in a report response. If set, cannot begin with `cohort_` or
@@ -148,16 +176,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 { @@ -168,12 +195,15 @@ public java.lang.String getName() { public static final int DIMENSION_FIELD_NUMBER = 2; private volatile java.lang.Object dimension_; /** + * + * *
    * Dimension used by the cohort. Required and only supports
    * `firstSessionDate`.
    * 
* * string dimension = 2; + * * @return The dimension. */ @java.lang.Override @@ -182,30 +212,30 @@ public java.lang.String getDimension() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimension_ = s; return s; } } /** + * + * *
    * Dimension used by the cohort. Required and only supports
    * `firstSessionDate`.
    * 
* * string dimension = 2; + * * @return The bytes for dimension. */ @java.lang.Override - public com.google.protobuf.ByteString - getDimensionBytes() { + public com.google.protobuf.ByteString getDimensionBytes() { java.lang.Object ref = dimension_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimension_ = b; return b; } else { @@ -216,6 +246,8 @@ public java.lang.String getDimension() { public static final int DATE_RANGE_FIELD_NUMBER = 3; private com.google.analytics.data.v1beta.DateRange dateRange_; /** + * + * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -234,6 +266,7 @@ public java.lang.String getDimension() {
    * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; + * * @return Whether the dateRange field is set. */ @java.lang.Override @@ -241,6 +274,8 @@ public boolean hasDateRange() { return dateRange_ != null; } /** + * + * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -259,13 +294,18 @@ public boolean hasDateRange() {
    * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; + * * @return The dateRange. */ @java.lang.Override public com.google.analytics.data.v1beta.DateRange getDateRange() { - return dateRange_ == null ? com.google.analytics.data.v1beta.DateRange.getDefaultInstance() : dateRange_; + return dateRange_ == null + ? com.google.analytics.data.v1beta.DateRange.getDefaultInstance() + : dateRange_; } /** + * + * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -291,6 +331,7 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangeOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -302,8 +343,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!getNameBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -329,8 +369,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dimension_);
     }
     if (dateRange_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getDateRange());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDateRange());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -340,21 +379,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.analytics.data.v1beta.Cohort)) {
       return super.equals(obj);
     }
     com.google.analytics.data.v1beta.Cohort other = (com.google.analytics.data.v1beta.Cohort) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDimension()
-        .equals(other.getDimension())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDimension().equals(other.getDimension())) return false;
     if (hasDateRange() != other.hasDateRange()) return false;
     if (hasDateRange()) {
-      if (!getDateRange()
-          .equals(other.getDateRange())) return false;
+      if (!getDateRange().equals(other.getDateRange())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -380,97 +416,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.analytics.data.v1beta.Cohort parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.analytics.data.v1beta.Cohort parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.Cohort parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.Cohort 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.analytics.data.v1beta.Cohort parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.data.v1beta.Cohort parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.data.v1beta.Cohort parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.Cohort parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.Cohort parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.analytics.data.v1beta.Cohort prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Defines a cohort selection criteria. A cohort is a group of users who share
    * a common characteristic. For example, users with the same `firstSessionDate`
@@ -479,21 +522,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.Cohort}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Cohort)
       com.google.analytics.data.v1beta.CohortOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Cohort_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Cohort_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.Cohort.class, com.google.analytics.data.v1beta.Cohort.Builder.class);
+              com.google.analytics.data.v1beta.Cohort.class,
+              com.google.analytics.data.v1beta.Cohort.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.Cohort.newBuilder()
@@ -501,16 +546,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();
@@ -528,9 +572,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Cohort_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Cohort_descriptor;
     }
 
     @java.lang.Override
@@ -549,7 +593,8 @@ public com.google.analytics.data.v1beta.Cohort build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.Cohort buildPartial() {
-      com.google.analytics.data.v1beta.Cohort result = new com.google.analytics.data.v1beta.Cohort(this);
+      com.google.analytics.data.v1beta.Cohort result =
+          new com.google.analytics.data.v1beta.Cohort(this);
       result.name_ = name_;
       result.dimension_ = dimension_;
       if (dateRangeBuilder_ == null) {
@@ -565,38 +610,39 @@ public com.google.analytics.data.v1beta.Cohort buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.Cohort) {
-        return mergeFrom((com.google.analytics.data.v1beta.Cohort)other);
+        return mergeFrom((com.google.analytics.data.v1beta.Cohort) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -647,6 +693,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Assigns a name to this cohort. The dimension `cohort` is valued to this
      * name in a report response. If set, cannot begin with `cohort_` or
@@ -655,13 +703,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; @@ -670,6 +718,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Assigns a name to this cohort. The dimension `cohort` is valued to this
      * name in a report response. If set, cannot begin with `cohort_` or
@@ -678,15 +728,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 { @@ -694,6 +743,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Assigns a name to this cohort. The dimension `cohort` is valued to this
      * name in a report response. If set, cannot begin with `cohort_` or
@@ -702,20 +753,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; } /** + * + * *
      * Assigns a name to this cohort. The dimension `cohort` is valued to this
      * name in a report response. If set, cannot begin with `cohort_` or
@@ -724,15 +777,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Assigns a name to this cohort. The dimension `cohort` is valued to this
      * name in a report response. If set, cannot begin with `cohort_` or
@@ -741,16 +797,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; @@ -758,19 +814,21 @@ public Builder setNameBytes( private java.lang.Object dimension_ = ""; /** + * + * *
      * Dimension used by the cohort. Required and only supports
      * `firstSessionDate`.
      * 
* * string dimension = 2; + * * @return The dimension. */ public java.lang.String getDimension() { java.lang.Object ref = dimension_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimension_ = s; return s; @@ -779,21 +837,22 @@ public java.lang.String getDimension() { } } /** + * + * *
      * Dimension used by the cohort. Required and only supports
      * `firstSessionDate`.
      * 
* * string dimension = 2; + * * @return The bytes for dimension. */ - public com.google.protobuf.ByteString - getDimensionBytes() { + public com.google.protobuf.ByteString getDimensionBytes() { java.lang.Object ref = dimension_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimension_ = b; return b; } else { @@ -801,57 +860,64 @@ public java.lang.String getDimension() { } } /** + * + * *
      * Dimension used by the cohort. Required and only supports
      * `firstSessionDate`.
      * 
* * string dimension = 2; + * * @param value The dimension to set. * @return This builder for chaining. */ - public Builder setDimension( - java.lang.String value) { + public Builder setDimension(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dimension_ = value; onChanged(); return this; } /** + * + * *
      * Dimension used by the cohort. Required and only supports
      * `firstSessionDate`.
      * 
* * string dimension = 2; + * * @return This builder for chaining. */ public Builder clearDimension() { - + dimension_ = getDefaultInstance().getDimension(); onChanged(); return this; } /** + * + * *
      * Dimension used by the cohort. Required and only supports
      * `firstSessionDate`.
      * 
* * string dimension = 2; + * * @param value The bytes for dimension to set. * @return This builder for chaining. */ - public Builder setDimensionBytes( - com.google.protobuf.ByteString value) { + public Builder setDimensionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dimension_ = value; onChanged(); return this; @@ -859,8 +925,13 @@ public Builder setDimensionBytes( private com.google.analytics.data.v1beta.DateRange dateRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> dateRangeBuilder_; + com.google.analytics.data.v1beta.DateRange, + com.google.analytics.data.v1beta.DateRange.Builder, + com.google.analytics.data.v1beta.DateRangeOrBuilder> + dateRangeBuilder_; /** + * + * *
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -879,12 +950,15 @@ public Builder setDimensionBytes(
      * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; + * * @return Whether the dateRange field is set. */ public boolean hasDateRange() { return dateRangeBuilder_ != null || dateRange_ != null; } /** + * + * *
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -903,16 +977,21 @@ public boolean hasDateRange() {
      * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; + * * @return The dateRange. */ public com.google.analytics.data.v1beta.DateRange getDateRange() { if (dateRangeBuilder_ == null) { - return dateRange_ == null ? com.google.analytics.data.v1beta.DateRange.getDefaultInstance() : dateRange_; + return dateRange_ == null + ? com.google.analytics.data.v1beta.DateRange.getDefaultInstance() + : dateRange_; } else { return dateRangeBuilder_.getMessage(); } } /** + * + * *
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -946,6 +1025,8 @@ public Builder setDateRange(com.google.analytics.data.v1beta.DateRange value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -977,6 +1058,8 @@ public Builder setDateRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1000,7 +1083,9 @@ public Builder mergeDateRange(com.google.analytics.data.v1beta.DateRange value)
       if (dateRangeBuilder_ == null) {
         if (dateRange_ != null) {
           dateRange_ =
-            com.google.analytics.data.v1beta.DateRange.newBuilder(dateRange_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.DateRange.newBuilder(dateRange_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dateRange_ = value;
         }
@@ -1012,6 +1097,8 @@ public Builder mergeDateRange(com.google.analytics.data.v1beta.DateRange value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1043,6 +1130,8 @@ public Builder clearDateRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1063,11 +1152,13 @@ public Builder clearDateRange() {
      * .google.analytics.data.v1beta.DateRange date_range = 3;
      */
     public com.google.analytics.data.v1beta.DateRange.Builder getDateRangeBuilder() {
-      
+
       onChanged();
       return getDateRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1091,11 +1182,14 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangeOrBuilder
       if (dateRangeBuilder_ != null) {
         return dateRangeBuilder_.getMessageOrBuilder();
       } else {
-        return dateRange_ == null ?
-            com.google.analytics.data.v1beta.DateRange.getDefaultInstance() : dateRange_;
+        return dateRange_ == null
+            ? com.google.analytics.data.v1beta.DateRange.getDefaultInstance()
+            : dateRange_;
       }
     }
     /**
+     *
+     *
      * 
      * The cohort selects users whose first touch date is between start date and
      * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -1116,21 +1210,24 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangeOrBuilder
      * .google.analytics.data.v1beta.DateRange date_range = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> 
+            com.google.analytics.data.v1beta.DateRange,
+            com.google.analytics.data.v1beta.DateRange.Builder,
+            com.google.analytics.data.v1beta.DateRangeOrBuilder>
         getDateRangeFieldBuilder() {
       if (dateRangeBuilder_ == null) {
-        dateRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder>(
-                getDateRange(),
-                getParentForChildren(),
-                isClean());
+        dateRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.DateRange,
+                com.google.analytics.data.v1beta.DateRange.Builder,
+                com.google.analytics.data.v1beta.DateRangeOrBuilder>(
+                getDateRange(), getParentForChildren(), isClean());
         dateRange_ = null;
       }
       return dateRangeBuilder_;
     }
+
     @java.lang.Override
-    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 +1237,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Cohort)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Cohort)
   private static final com.google.analytics.data.v1beta.Cohort DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Cohort();
   }
@@ -1154,16 +1251,16 @@ public static com.google.analytics.data.v1beta.Cohort getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Cohort parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Cohort(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Cohort parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Cohort(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1178,6 +1275,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.data.v1beta.Cohort getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java
index d6cfb817..90348f44 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortOrBuilder.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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
-public interface CohortOrBuilder extends
+public interface CohortOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Cohort)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Assigns a name to this cohort. The dimension `cohort` is valued to this
    * name in a report response. If set, cannot begin with `cohort_` or
@@ -16,10 +34,13 @@ public interface CohortOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Assigns a name to this cohort. The dimension `cohort` is valued to this
    * name in a report response. If set, cannot begin with `cohort_` or
@@ -28,34 +49,41 @@ public interface CohortOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Dimension used by the cohort. Required and only supports
    * `firstSessionDate`.
    * 
* * string dimension = 2; + * * @return The dimension. */ java.lang.String getDimension(); /** + * + * *
    * Dimension used by the cohort. Required and only supports
    * `firstSessionDate`.
    * 
* * string dimension = 2; + * * @return The bytes for dimension. */ - com.google.protobuf.ByteString - getDimensionBytes(); + com.google.protobuf.ByteString getDimensionBytes(); /** + * + * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -74,10 +102,13 @@ public interface CohortOrBuilder extends
    * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; + * * @return Whether the dateRange field is set. */ boolean hasDateRange(); /** + * + * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
@@ -96,10 +127,13 @@ public interface CohortOrBuilder extends
    * 
* * .google.analytics.data.v1beta.DateRange date_range = 3; + * * @return The dateRange. */ com.google.analytics.data.v1beta.DateRange getDateRange(); /** + * + * *
    * The cohort selects users whose first touch date is between start date and
    * end date defined in the `dateRange`. This `dateRange` does not specify the
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java
similarity index 67%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java
index 362de0e8..a7be7e46 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettings.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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
+ *
+ *
  * 
  * Optional settings of a cohort report.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.CohortReportSettings} */ -public final class CohortReportSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CohortReportSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.CohortReportSettings) CohortReportSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CohortReportSettings.newBuilder() to construct. private CohortReportSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CohortReportSettings() { - } + + private CohortReportSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CohortReportSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CohortReportSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,57 @@ private CohortReportSettings( case 0: done = true; break; - case 8: { - - accumulate_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + accumulate_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.CohortReportSettings.class, com.google.analytics.data.v1beta.CohortReportSettings.Builder.class); + com.google.analytics.data.v1beta.CohortReportSettings.class, + com.google.analytics.data.v1beta.CohortReportSettings.Builder.class); } public static final int ACCUMULATE_FIELD_NUMBER = 1; private boolean accumulate_; /** + * + * *
    * If true, accumulates the result from first touch day to the end day. Not
    * supported in `RunReportRequest`.
    * 
* * bool accumulate = 1; + * * @return The accumulate. */ @java.lang.Override @@ -106,6 +127,7 @@ public boolean getAccumulate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (accumulate_ != false) { output.writeBool(1, accumulate_); } @@ -132,8 +153,7 @@ public int getSerializedSize() { size = 0; if (accumulate_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, accumulate_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, accumulate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -143,15 +163,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.analytics.data.v1beta.CohortReportSettings)) { return super.equals(obj); } - com.google.analytics.data.v1beta.CohortReportSettings other = (com.google.analytics.data.v1beta.CohortReportSettings) obj; + com.google.analytics.data.v1beta.CohortReportSettings other = + (com.google.analytics.data.v1beta.CohortReportSettings) obj; - if (getAccumulate() - != other.getAccumulate()) return false; + if (getAccumulate() != other.getAccumulate()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -164,125 +184,134 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACCUMULATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAccumulate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAccumulate()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortReportSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.CohortReportSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CohortReportSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CohortReportSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.CohortReportSettings prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.CohortReportSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Optional settings of a cohort report.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.CohortReportSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.CohortReportSettings) com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.CohortReportSettings.class, com.google.analytics.data.v1beta.CohortReportSettings.Builder.class); + com.google.analytics.data.v1beta.CohortReportSettings.class, + com.google.analytics.data.v1beta.CohortReportSettings.Builder.class); } // Construct using com.google.analytics.data.v1beta.CohortReportSettings.newBuilder() @@ -290,16 +319,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(); @@ -309,9 +337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; } @java.lang.Override @@ -330,7 +358,8 @@ public com.google.analytics.data.v1beta.CohortReportSettings build() { @java.lang.Override public com.google.analytics.data.v1beta.CohortReportSettings buildPartial() { - com.google.analytics.data.v1beta.CohortReportSettings result = new com.google.analytics.data.v1beta.CohortReportSettings(this); + com.google.analytics.data.v1beta.CohortReportSettings result = + new com.google.analytics.data.v1beta.CohortReportSettings(this); result.accumulate_ = accumulate_; onBuilt(); return result; @@ -340,38 +369,39 @@ public com.google.analytics.data.v1beta.CohortReportSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.CohortReportSettings) { - return mergeFrom((com.google.analytics.data.v1beta.CohortReportSettings)other); + return mergeFrom((com.google.analytics.data.v1beta.CohortReportSettings) other); } else { super.mergeFrom(other); return this; @@ -379,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.CohortReportSettings other) { - if (other == com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance()) + return this; if (other.getAccumulate() != false) { setAccumulate(other.getAccumulate()); } @@ -402,7 +433,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.CohortReportSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.CohortReportSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -412,14 +444,17 @@ public Builder mergeFrom( return this; } - private boolean accumulate_ ; + private boolean accumulate_; /** + * + * *
      * If true, accumulates the result from first touch day to the end day. Not
      * supported in `RunReportRequest`.
      * 
* * bool accumulate = 1; + * * @return The accumulate. */ @java.lang.Override @@ -427,39 +462,45 @@ public boolean getAccumulate() { return accumulate_; } /** + * + * *
      * If true, accumulates the result from first touch day to the end day. Not
      * supported in `RunReportRequest`.
      * 
* * bool accumulate = 1; + * * @param value The accumulate to set. * @return This builder for chaining. */ public Builder setAccumulate(boolean value) { - + accumulate_ = value; onChanged(); return this; } /** + * + * *
      * If true, accumulates the result from first touch day to the end day. Not
      * supported in `RunReportRequest`.
      * 
* * bool accumulate = 1; + * * @return This builder for chaining. */ public Builder clearAccumulate() { - + accumulate_ = 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); } @@ -469,12 +510,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.CohortReportSettings) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.CohortReportSettings) private static final com.google.analytics.data.v1beta.CohortReportSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.CohortReportSettings(); } @@ -483,16 +524,16 @@ public static com.google.analytics.data.v1beta.CohortReportSettings getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CohortReportSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CohortReportSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CohortReportSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CohortReportSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -507,6 +548,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.CohortReportSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java new file mode 100644 index 00000000..fb5b56a0 --- /dev/null +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortReportSettingsOrBuilder.java @@ -0,0 +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/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public interface CohortReportSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CohortReportSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * If true, accumulates the result from first touch day to the end day. Not
+   * supported in `RunReportRequest`.
+   * 
+ * + * bool accumulate = 1; + * + * @return The accumulate. + */ + boolean getAccumulate(); +} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java similarity index 76% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java index 179bc6a0..85ac27e7 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpec.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The specification of cohorts for a cohort report.
  * Cohort reports create a time series of user retention for the cohort. For
@@ -22,31 +39,31 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.CohortSpec}
  */
-public final class CohortSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CohortSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.CohortSpec)
     CohortSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CohortSpec.newBuilder() to construct.
   private CohortSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CohortSpec() {
     cohorts_ = 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 CohortSpec();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CohortSpec(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -66,55 +83,63 @@ private CohortSpec(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              cohorts_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
-            }
-            cohorts_.add(
-                input.readMessage(com.google.analytics.data.v1beta.Cohort.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            com.google.analytics.data.v1beta.CohortsRange.Builder subBuilder = null;
-            if (cohortsRange_ != null) {
-              subBuilder = cohortsRange_.toBuilder();
-            }
-            cohortsRange_ = input.readMessage(com.google.analytics.data.v1beta.CohortsRange.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(cohortsRange_);
-              cohortsRange_ = subBuilder.buildPartial();
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                cohorts_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              cohorts_.add(
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.Cohort.parser(), extensionRegistry));
+              break;
             }
+          case 18:
+            {
+              com.google.analytics.data.v1beta.CohortsRange.Builder subBuilder = null;
+              if (cohortsRange_ != null) {
+                subBuilder = cohortsRange_.toBuilder();
+              }
+              cohortsRange_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.CohortsRange.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(cohortsRange_);
+                cohortsRange_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.analytics.data.v1beta.CohortReportSettings.Builder subBuilder = null;
-            if (cohortReportSettings_ != null) {
-              subBuilder = cohortReportSettings_.toBuilder();
-            }
-            cohortReportSettings_ = input.readMessage(com.google.analytics.data.v1beta.CohortReportSettings.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(cohortReportSettings_);
-              cohortReportSettings_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.analytics.data.v1beta.CohortReportSettings.Builder subBuilder = null;
+              if (cohortReportSettings_ != null) {
+                subBuilder = cohortReportSettings_.toBuilder();
+              }
+              cohortReportSettings_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.CohortReportSettings.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(cohortReportSettings_);
+                cohortReportSettings_ = 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_ & 0x00000001) != 0)) {
         cohorts_ = java.util.Collections.unmodifiableList(cohorts_);
@@ -123,22 +148,27 @@ private CohortSpec(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.CohortSpec.class, com.google.analytics.data.v1beta.CohortSpec.Builder.class);
+            com.google.analytics.data.v1beta.CohortSpec.class,
+            com.google.analytics.data.v1beta.CohortSpec.Builder.class);
   }
 
   public static final int COHORTS_FIELD_NUMBER = 1;
   private java.util.List cohorts_;
   /**
+   *
+   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -152,6 +182,8 @@ public java.util.List getCohortsList()
     return cohorts_;
   }
   /**
+   *
+   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -161,11 +193,13 @@ public java.util.List getCohortsList()
    * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCohortsOrBuilderList() {
     return cohorts_;
   }
   /**
+   *
+   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -179,6 +213,8 @@ public int getCohortsCount() {
     return cohorts_.size();
   }
   /**
+   *
+   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -192,6 +228,8 @@ public com.google.analytics.data.v1beta.Cohort getCohorts(int index) {
     return cohorts_.get(index);
   }
   /**
+   *
+   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -201,20 +239,22 @@ public com.google.analytics.data.v1beta.Cohort getCohorts(int index) {
    * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(int index) {
     return cohorts_.get(index);
   }
 
   public static final int COHORTS_RANGE_FIELD_NUMBER = 2;
   private com.google.analytics.data.v1beta.CohortsRange cohortsRange_;
   /**
+   *
+   *
    * 
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
    * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; + * * @return Whether the cohortsRange field is set. */ @java.lang.Override @@ -222,19 +262,26 @@ public boolean hasCohortsRange() { return cohortsRange_ != null; } /** + * + * *
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
    * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; + * * @return The cohortsRange. */ @java.lang.Override public com.google.analytics.data.v1beta.CohortsRange getCohortsRange() { - return cohortsRange_ == null ? com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance() : cohortsRange_; + return cohortsRange_ == null + ? com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance() + : cohortsRange_; } /** + * + * *
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
@@ -250,11 +297,14 @@ public com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrB
   public static final int COHORT_REPORT_SETTINGS_FIELD_NUMBER = 3;
   private com.google.analytics.data.v1beta.CohortReportSettings cohortReportSettings_;
   /**
+   *
+   *
    * 
    * Optional settings for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; + * * @return Whether the cohortReportSettings field is set. */ @java.lang.Override @@ -262,18 +312,25 @@ public boolean hasCohortReportSettings() { return cohortReportSettings_ != null; } /** + * + * *
    * Optional settings for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; + * * @return The cohortReportSettings. */ @java.lang.Override public com.google.analytics.data.v1beta.CohortReportSettings getCohortReportSettings() { - return cohortReportSettings_ == null ? com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() : cohortReportSettings_; + return cohortReportSettings_ == null + ? com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() + : cohortReportSettings_; } /** + * + * *
    * Optional settings for a cohort report.
    * 
@@ -281,11 +338,13 @@ public com.google.analytics.data.v1beta.CohortReportSettings getCohortReportSett * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder getCohortReportSettingsOrBuilder() { + public com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder + getCohortReportSettingsOrBuilder() { return getCohortReportSettings(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,8 +356,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < cohorts_.size(); i++) { output.writeMessage(1, cohorts_.get(i)); } @@ -318,16 +376,14 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < cohorts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, cohorts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, cohorts_.get(i)); } if (cohortsRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCohortsRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCohortsRange()); } if (cohortReportSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCohortReportSettings()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCohortReportSettings()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -337,24 +393,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.analytics.data.v1beta.CohortSpec)) { return super.equals(obj); } - com.google.analytics.data.v1beta.CohortSpec other = (com.google.analytics.data.v1beta.CohortSpec) obj; + com.google.analytics.data.v1beta.CohortSpec other = + (com.google.analytics.data.v1beta.CohortSpec) obj; - if (!getCohortsList() - .equals(other.getCohortsList())) return false; + if (!getCohortsList().equals(other.getCohortsList())) return false; if (hasCohortsRange() != other.hasCohortsRange()) return false; if (hasCohortsRange()) { - if (!getCohortsRange() - .equals(other.getCohortsRange())) return false; + if (!getCohortsRange().equals(other.getCohortsRange())) return false; } if (hasCohortReportSettings() != other.hasCohortReportSettings()) return false; if (hasCohortReportSettings()) { - if (!getCohortReportSettings() - .equals(other.getCohortReportSettings())) return false; + if (!getCohortReportSettings().equals(other.getCohortReportSettings())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -384,97 +438,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.CohortSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.CohortSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CohortSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CohortSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CohortSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortSpec 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.analytics.data.v1beta.CohortSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.CohortSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CohortSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CohortSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.CohortSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 specification of cohorts for a cohort report.
    * Cohort reports create a time series of user retention for the cohort. For
@@ -493,21 +554,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.CohortSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.CohortSpec)
       com.google.analytics.data.v1beta.CohortSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.CohortSpec.class, com.google.analytics.data.v1beta.CohortSpec.Builder.class);
+              com.google.analytics.data.v1beta.CohortSpec.class,
+              com.google.analytics.data.v1beta.CohortSpec.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.CohortSpec.newBuilder()
@@ -515,17 +578,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) {
         getCohortsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -551,9 +614,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_CohortSpec_descriptor;
     }
 
     @java.lang.Override
@@ -572,7 +635,8 @@ public com.google.analytics.data.v1beta.CohortSpec build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.CohortSpec buildPartial() {
-      com.google.analytics.data.v1beta.CohortSpec result = new com.google.analytics.data.v1beta.CohortSpec(this);
+      com.google.analytics.data.v1beta.CohortSpec result =
+          new com.google.analytics.data.v1beta.CohortSpec(this);
       int from_bitField0_ = bitField0_;
       if (cohortsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -601,38 +665,39 @@ public com.google.analytics.data.v1beta.CohortSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.CohortSpec) {
-        return mergeFrom((com.google.analytics.data.v1beta.CohortSpec)other);
+        return mergeFrom((com.google.analytics.data.v1beta.CohortSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -659,9 +724,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.CohortSpec other) {
             cohortsBuilder_ = null;
             cohorts_ = other.cohorts_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cohortsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCohortsFieldBuilder() : null;
+            cohortsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCohortsFieldBuilder()
+                    : null;
           } else {
             cohortsBuilder_.addAllMessages(other.cohorts_);
           }
@@ -701,21 +767,28 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List cohorts_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureCohortsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         cohorts_ = new java.util.ArrayList(cohorts_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Cohort, com.google.analytics.data.v1beta.Cohort.Builder, com.google.analytics.data.v1beta.CohortOrBuilder> cohortsBuilder_;
+            com.google.analytics.data.v1beta.Cohort,
+            com.google.analytics.data.v1beta.Cohort.Builder,
+            com.google.analytics.data.v1beta.CohortOrBuilder>
+        cohortsBuilder_;
 
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -732,6 +805,8 @@ public java.util.List getCohortsList()
       }
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -748,6 +823,8 @@ public int getCohortsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -764,6 +841,8 @@ public com.google.analytics.data.v1beta.Cohort getCohorts(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -772,8 +851,7 @@ public com.google.analytics.data.v1beta.Cohort getCohorts(int index) {
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public Builder setCohorts(
-        int index, com.google.analytics.data.v1beta.Cohort value) {
+    public Builder setCohorts(int index, com.google.analytics.data.v1beta.Cohort value) {
       if (cohortsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -787,6 +865,8 @@ public Builder setCohorts(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -807,6 +887,8 @@ public Builder setCohorts(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -829,6 +911,8 @@ public Builder addCohorts(com.google.analytics.data.v1beta.Cohort value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -837,8 +921,7 @@ public Builder addCohorts(com.google.analytics.data.v1beta.Cohort value) {
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public Builder addCohorts(
-        int index, com.google.analytics.data.v1beta.Cohort value) {
+    public Builder addCohorts(int index, com.google.analytics.data.v1beta.Cohort value) {
       if (cohortsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -852,6 +935,8 @@ public Builder addCohorts(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -860,8 +945,7 @@ public Builder addCohorts(
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public Builder addCohorts(
-        com.google.analytics.data.v1beta.Cohort.Builder builderForValue) {
+    public Builder addCohorts(com.google.analytics.data.v1beta.Cohort.Builder builderForValue) {
       if (cohortsBuilder_ == null) {
         ensureCohortsIsMutable();
         cohorts_.add(builderForValue.build());
@@ -872,6 +956,8 @@ public Builder addCohorts(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -892,6 +978,8 @@ public Builder addCohorts(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -904,8 +992,7 @@ public Builder addAllCohorts(
         java.lang.Iterable values) {
       if (cohortsBuilder_ == null) {
         ensureCohortsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, cohorts_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cohorts_);
         onChanged();
       } else {
         cohortsBuilder_.addAllMessages(values);
@@ -913,6 +1000,8 @@ public Builder addAllCohorts(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -932,6 +1021,8 @@ public Builder clearCohorts() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -951,6 +1042,8 @@ public Builder removeCohorts(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -959,11 +1052,12 @@ public Builder removeCohorts(int index) {
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public com.google.analytics.data.v1beta.Cohort.Builder getCohortsBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.Cohort.Builder getCohortsBuilder(int index) {
       return getCohortsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -972,14 +1066,16 @@ public com.google.analytics.data.v1beta.Cohort.Builder getCohortsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(int index) {
       if (cohortsBuilder_ == null) {
-        return cohorts_.get(index);  } else {
+        return cohorts_.get(index);
+      } else {
         return cohortsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -988,8 +1084,8 @@ public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public java.util.List 
-         getCohortsOrBuilderList() {
+    public java.util.List
+        getCohortsOrBuilderList() {
       if (cohortsBuilder_ != null) {
         return cohortsBuilder_.getMessageOrBuilderList();
       } else {
@@ -997,6 +1093,8 @@ public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1006,10 +1104,12 @@ public com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
     public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder() {
-      return getCohortsFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.Cohort.getDefaultInstance());
+      return getCohortsFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.Cohort.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1018,12 +1118,13 @@ public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder() {
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder(
-        int index) {
-      return getCohortsFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.Cohort.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder(int index) {
+      return getCohortsFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.Cohort.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Defines the selection criteria to group users into cohorts.
      * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -1032,20 +1133,22 @@ public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
      */
-    public java.util.List 
-         getCohortsBuilderList() {
+    public java.util.List getCohortsBuilderList() {
       return getCohortsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Cohort, com.google.analytics.data.v1beta.Cohort.Builder, com.google.analytics.data.v1beta.CohortOrBuilder> 
+            com.google.analytics.data.v1beta.Cohort,
+            com.google.analytics.data.v1beta.Cohort.Builder,
+            com.google.analytics.data.v1beta.CohortOrBuilder>
         getCohortsFieldBuilder() {
       if (cohortsBuilder_ == null) {
-        cohortsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Cohort, com.google.analytics.data.v1beta.Cohort.Builder, com.google.analytics.data.v1beta.CohortOrBuilder>(
-                cohorts_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        cohortsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.Cohort,
+                com.google.analytics.data.v1beta.Cohort.Builder,
+                com.google.analytics.data.v1beta.CohortOrBuilder>(
+                cohorts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         cohorts_ = null;
       }
       return cohortsBuilder_;
@@ -1053,36 +1156,49 @@ public com.google.analytics.data.v1beta.Cohort.Builder addCohortsBuilder(
 
     private com.google.analytics.data.v1beta.CohortsRange cohortsRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.CohortsRange, com.google.analytics.data.v1beta.CohortsRange.Builder, com.google.analytics.data.v1beta.CohortsRangeOrBuilder> cohortsRangeBuilder_;
+            com.google.analytics.data.v1beta.CohortsRange,
+            com.google.analytics.data.v1beta.CohortsRange.Builder,
+            com.google.analytics.data.v1beta.CohortsRangeOrBuilder>
+        cohortsRangeBuilder_;
     /**
+     *
+     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
      * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; + * * @return Whether the cohortsRange field is set. */ public boolean hasCohortsRange() { return cohortsRangeBuilder_ != null || cohortsRange_ != null; } /** + * + * *
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
      * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; + * * @return The cohortsRange. */ public com.google.analytics.data.v1beta.CohortsRange getCohortsRange() { if (cohortsRangeBuilder_ == null) { - return cohortsRange_ == null ? com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance() : cohortsRange_; + return cohortsRange_ == null + ? com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance() + : cohortsRange_; } else { return cohortsRangeBuilder_.getMessage(); } } /** + * + * *
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1104,6 +1220,8 @@ public Builder setCohortsRange(com.google.analytics.data.v1beta.CohortsRange val
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1123,6 +1241,8 @@ public Builder setCohortsRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1134,7 +1254,9 @@ public Builder mergeCohortsRange(com.google.analytics.data.v1beta.CohortsRange v
       if (cohortsRangeBuilder_ == null) {
         if (cohortsRange_ != null) {
           cohortsRange_ =
-            com.google.analytics.data.v1beta.CohortsRange.newBuilder(cohortsRange_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.CohortsRange.newBuilder(cohortsRange_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           cohortsRange_ = value;
         }
@@ -1146,6 +1268,8 @@ public Builder mergeCohortsRange(com.google.analytics.data.v1beta.CohortsRange v
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1165,6 +1289,8 @@ public Builder clearCohortsRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1173,11 +1299,13 @@ public Builder clearCohortsRange() {
      * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2;
      */
     public com.google.analytics.data.v1beta.CohortsRange.Builder getCohortsRangeBuilder() {
-      
+
       onChanged();
       return getCohortsRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1189,11 +1317,14 @@ public com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrB
       if (cohortsRangeBuilder_ != null) {
         return cohortsRangeBuilder_.getMessageOrBuilder();
       } else {
-        return cohortsRange_ == null ?
-            com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance() : cohortsRange_;
+        return cohortsRange_ == null
+            ? com.google.analytics.data.v1beta.CohortsRange.getDefaultInstance()
+            : cohortsRange_;
       }
     }
     /**
+     *
+     *
      * 
      * Cohort reports follow cohorts over an extended reporting date range. This
      * range specifies an offset duration to follow the cohorts over.
@@ -1202,14 +1333,17 @@ public com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrB
      * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.CohortsRange, com.google.analytics.data.v1beta.CohortsRange.Builder, com.google.analytics.data.v1beta.CohortsRangeOrBuilder> 
+            com.google.analytics.data.v1beta.CohortsRange,
+            com.google.analytics.data.v1beta.CohortsRange.Builder,
+            com.google.analytics.data.v1beta.CohortsRangeOrBuilder>
         getCohortsRangeFieldBuilder() {
       if (cohortsRangeBuilder_ == null) {
-        cohortsRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.CohortsRange, com.google.analytics.data.v1beta.CohortsRange.Builder, com.google.analytics.data.v1beta.CohortsRangeOrBuilder>(
-                getCohortsRange(),
-                getParentForChildren(),
-                isClean());
+        cohortsRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.CohortsRange,
+                com.google.analytics.data.v1beta.CohortsRange.Builder,
+                com.google.analytics.data.v1beta.CohortsRangeOrBuilder>(
+                getCohortsRange(), getParentForChildren(), isClean());
         cohortsRange_ = null;
       }
       return cohortsRangeBuilder_;
@@ -1217,41 +1351,55 @@ public com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrB
 
     private com.google.analytics.data.v1beta.CohortReportSettings cohortReportSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.CohortReportSettings, com.google.analytics.data.v1beta.CohortReportSettings.Builder, com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder> cohortReportSettingsBuilder_;
+            com.google.analytics.data.v1beta.CohortReportSettings,
+            com.google.analytics.data.v1beta.CohortReportSettings.Builder,
+            com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder>
+        cohortReportSettingsBuilder_;
     /**
+     *
+     *
      * 
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; + * * @return Whether the cohortReportSettings field is set. */ public boolean hasCohortReportSettings() { return cohortReportSettingsBuilder_ != null || cohortReportSettings_ != null; } /** + * + * *
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; + * * @return The cohortReportSettings. */ public com.google.analytics.data.v1beta.CohortReportSettings getCohortReportSettings() { if (cohortReportSettingsBuilder_ == null) { - return cohortReportSettings_ == null ? com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() : cohortReportSettings_; + return cohortReportSettings_ == null + ? com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() + : cohortReportSettings_; } else { return cohortReportSettingsBuilder_.getMessage(); } } /** + * + * *
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ - public Builder setCohortReportSettings(com.google.analytics.data.v1beta.CohortReportSettings value) { + public Builder setCohortReportSettings( + com.google.analytics.data.v1beta.CohortReportSettings value) { if (cohortReportSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1265,6 +1413,8 @@ public Builder setCohortReportSettings(com.google.analytics.data.v1beta.CohortRe return this; } /** + * + * *
      * Optional settings for a cohort report.
      * 
@@ -1283,17 +1433,23 @@ public Builder setCohortReportSettings( return this; } /** + * + * *
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ - public Builder mergeCohortReportSettings(com.google.analytics.data.v1beta.CohortReportSettings value) { + public Builder mergeCohortReportSettings( + com.google.analytics.data.v1beta.CohortReportSettings value) { if (cohortReportSettingsBuilder_ == null) { if (cohortReportSettings_ != null) { cohortReportSettings_ = - com.google.analytics.data.v1beta.CohortReportSettings.newBuilder(cohortReportSettings_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.CohortReportSettings.newBuilder( + cohortReportSettings_) + .mergeFrom(value) + .buildPartial(); } else { cohortReportSettings_ = value; } @@ -1305,6 +1461,8 @@ public Builder mergeCohortReportSettings(com.google.analytics.data.v1beta.Cohort return this; } /** + * + * *
      * Optional settings for a cohort report.
      * 
@@ -1323,33 +1481,42 @@ public Builder clearCohortReportSettings() { return this; } /** + * + * *
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ - public com.google.analytics.data.v1beta.CohortReportSettings.Builder getCohortReportSettingsBuilder() { - + public com.google.analytics.data.v1beta.CohortReportSettings.Builder + getCohortReportSettingsBuilder() { + onChanged(); return getCohortReportSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional settings for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ - public com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder getCohortReportSettingsOrBuilder() { + public com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder + getCohortReportSettingsOrBuilder() { if (cohortReportSettingsBuilder_ != null) { return cohortReportSettingsBuilder_.getMessageOrBuilder(); } else { - return cohortReportSettings_ == null ? - com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() : cohortReportSettings_; + return cohortReportSettings_ == null + ? com.google.analytics.data.v1beta.CohortReportSettings.getDefaultInstance() + : cohortReportSettings_; } } /** + * + * *
      * Optional settings for a cohort report.
      * 
@@ -1357,21 +1524,24 @@ public com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder getCohortR * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.CohortReportSettings, com.google.analytics.data.v1beta.CohortReportSettings.Builder, com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder> + com.google.analytics.data.v1beta.CohortReportSettings, + com.google.analytics.data.v1beta.CohortReportSettings.Builder, + com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder> getCohortReportSettingsFieldBuilder() { if (cohortReportSettingsBuilder_ == null) { - cohortReportSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.CohortReportSettings, com.google.analytics.data.v1beta.CohortReportSettings.Builder, com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder>( - getCohortReportSettings(), - getParentForChildren(), - isClean()); + cohortReportSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.CohortReportSettings, + com.google.analytics.data.v1beta.CohortReportSettings.Builder, + com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder>( + getCohortReportSettings(), getParentForChildren(), isClean()); cohortReportSettings_ = null; } return cohortReportSettingsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1381,12 +1551,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.CohortSpec) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.CohortSpec) private static final com.google.analytics.data.v1beta.CohortSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.CohortSpec(); } @@ -1395,16 +1565,16 @@ public static com.google.analytics.data.v1beta.CohortSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CohortSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CohortSpec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CohortSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CohortSpec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1419,6 +1589,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.CohortSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java similarity index 82% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java index d45bbdb5..c06e217d 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortSpecOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface CohortSpecOrBuilder extends +public interface CohortSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CohortSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -16,9 +34,10 @@ public interface CohortSpecOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
    */
-  java.util.List 
-      getCohortsList();
+  java.util.List getCohortsList();
   /**
+   *
+   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -29,6 +48,8 @@ public interface CohortSpecOrBuilder extends
    */
   com.google.analytics.data.v1beta.Cohort getCohorts(int index);
   /**
+   *
+   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -39,6 +60,8 @@ public interface CohortSpecOrBuilder extends
    */
   int getCohortsCount();
   /**
+   *
+   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -47,9 +70,11 @@ public interface CohortSpecOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
    */
-  java.util.List 
+  java.util.List
       getCohortsOrBuilderList();
   /**
+   *
+   *
    * 
    * Defines the selection criteria to group users into cohorts.
    * Most cohort reports define only a single cohort. If multiple cohorts are
@@ -58,30 +83,37 @@ public interface CohortSpecOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.Cohort cohorts = 1;
    */
-  com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
    * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; + * * @return Whether the cohortsRange field is set. */ boolean hasCohortsRange(); /** + * + * *
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
    * 
* * .google.analytics.data.v1beta.CohortsRange cohorts_range = 2; + * * @return The cohortsRange. */ com.google.analytics.data.v1beta.CohortsRange getCohortsRange(); /** + * + * *
    * Cohort reports follow cohorts over an extended reporting date range. This
    * range specifies an offset duration to follow the cohorts over.
@@ -92,24 +124,32 @@ com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(
   com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional settings for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; + * * @return Whether the cohortReportSettings field is set. */ boolean hasCohortReportSettings(); /** + * + * *
    * Optional settings for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3; + * * @return The cohortReportSettings. */ com.google.analytics.data.v1beta.CohortReportSettings getCohortReportSettings(); /** + * + * *
    * Optional settings for a cohort report.
    * 
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java similarity index 76% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java index f37d97bd..89faa7b5 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRange.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Configures the extended reporting date range for a cohort report. Specifies
  * an offset duration to follow the cohorts over.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.CohortsRange}
  */
-public final class CohortsRange extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CohortsRange extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.CohortsRange)
     CohortsRangeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CohortsRange.newBuilder() to construct.
   private CohortsRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CohortsRange() {
     granularity_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CohortsRange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CohortsRange(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,55 +71,60 @@ private CohortsRange(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            granularity_ = rawValue;
-            break;
-          }
-          case 16: {
-
-            startOffset_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            endOffset_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              granularity_ = rawValue;
+              break;
+            }
+          case 16:
+            {
+              startOffset_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              endOffset_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.CohortsRange.class, com.google.analytics.data.v1beta.CohortsRange.Builder.class);
+            com.google.analytics.data.v1beta.CohortsRange.class,
+            com.google.analytics.data.v1beta.CohortsRange.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The granularity used to interpret the `startOffset` and `endOffset` for the
    * extended reporting date range for a cohort report.
@@ -110,9 +132,10 @@ private CohortsRange(
    *
    * Protobuf enum {@code google.analytics.data.v1beta.CohortsRange.Granularity}
    */
-  public enum Granularity
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Granularity implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Should never be specified.
      * 
@@ -121,6 +144,8 @@ public enum Granularity */ GRANULARITY_UNSPECIFIED(0), /** + * + * *
      * Daily granularity. Commonly used if the cohort's `dateRange` is a single
      * day and the request contains `cohortNthDay`.
@@ -130,6 +155,8 @@ public enum Granularity
      */
     DAILY(1),
     /**
+     *
+     *
      * 
      * Weekly granularity. Commonly used if the cohort's `dateRange` is a week
      * in duration (starting on Sunday and ending on Saturday) and the request
@@ -140,6 +167,8 @@ public enum Granularity
      */
     WEEKLY(2),
     /**
+     *
+     *
      * 
      * Monthly granularity. Commonly used if the cohort's `dateRange` is a month
      * in duration and the request contains `cohortNthMonth`.
@@ -152,6 +181,8 @@ public enum Granularity
     ;
 
     /**
+     *
+     *
      * 
      * Should never be specified.
      * 
@@ -160,6 +191,8 @@ public enum Granularity */ public static final int GRANULARITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Daily granularity. Commonly used if the cohort's `dateRange` is a single
      * day and the request contains `cohortNthDay`.
@@ -169,6 +202,8 @@ public enum Granularity
      */
     public static final int DAILY_VALUE = 1;
     /**
+     *
+     *
      * 
      * Weekly granularity. Commonly used if the cohort's `dateRange` is a week
      * in duration (starting on Sunday and ending on Saturday) and the request
@@ -179,6 +214,8 @@ public enum Granularity
      */
     public static final int WEEKLY_VALUE = 2;
     /**
+     *
+     *
      * 
      * Monthly granularity. Commonly used if the cohort's `dateRange` is a month
      * in duration and the request contains `cohortNthMonth`.
@@ -188,7 +225,6 @@ public enum Granularity
      */
     public static final int MONTHLY_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -213,50 +249,51 @@ public static Granularity valueOf(int value) {
      */
     public static Granularity forNumber(int value) {
       switch (value) {
-        case 0: return GRANULARITY_UNSPECIFIED;
-        case 1: return DAILY;
-        case 2: return WEEKLY;
-        case 3: return MONTHLY;
-        default: return null;
+        case 0:
+          return GRANULARITY_UNSPECIFIED;
+        case 1:
+          return DAILY;
+        case 2:
+          return WEEKLY;
+        case 3:
+          return MONTHLY;
+        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<
-        Granularity> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Granularity findValueByNumber(int number) {
-              return Granularity.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 Granularity findValueByNumber(int number) {
+            return Granularity.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.analytics.data.v1beta.CohortsRange.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Granularity[] VALUES = values();
 
-    public static Granularity valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Granularity 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;
@@ -276,35 +313,48 @@ private Granularity(int value) {
   public static final int GRANULARITY_FIELD_NUMBER = 1;
   private int granularity_;
   /**
+   *
+   *
    * 
    * Required. The granularity used to interpret the `startOffset` and
    * `endOffset` for the extended reporting date range for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; + * * @return The enum numeric value on the wire for granularity. */ - @java.lang.Override public int getGranularityValue() { + @java.lang.Override + public int getGranularityValue() { return granularity_; } /** + * + * *
    * Required. The granularity used to interpret the `startOffset` and
    * `endOffset` for the extended reporting date range for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; + * * @return The granularity. */ - @java.lang.Override public com.google.analytics.data.v1beta.CohortsRange.Granularity getGranularity() { + @java.lang.Override + public com.google.analytics.data.v1beta.CohortsRange.Granularity getGranularity() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.CohortsRange.Granularity result = com.google.analytics.data.v1beta.CohortsRange.Granularity.valueOf(granularity_); - return result == null ? com.google.analytics.data.v1beta.CohortsRange.Granularity.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.CohortsRange.Granularity result = + com.google.analytics.data.v1beta.CohortsRange.Granularity.valueOf(granularity_); + return result == null + ? com.google.analytics.data.v1beta.CohortsRange.Granularity.UNRECOGNIZED + : result; } public static final int START_OFFSET_FIELD_NUMBER = 2; private int startOffset_; /** + * + * *
    * `startOffset` specifies the start date of the extended reporting date range
    * for a cohort report. `startOffset` is commonly set to 0 so that reports
@@ -318,6 +368,7 @@ private Granularity(int value) {
    * 
* * int32 start_offset = 2; + * * @return The startOffset. */ @java.lang.Override @@ -328,6 +379,8 @@ public int getStartOffset() { public static final int END_OFFSET_FIELD_NUMBER = 3; private int endOffset_; /** + * + * *
    * Required. `endOffset` specifies the end date of the extended reporting date
    * range for a cohort report. `endOffset` can be any positive integer but is
@@ -342,6 +395,7 @@ public int getStartOffset() {
    * 
* * int32 end_offset = 3; + * * @return The endOffset. */ @java.lang.Override @@ -350,6 +404,7 @@ public int getEndOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -361,9 +416,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (granularity_ != com.google.analytics.data.v1beta.CohortsRange.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (granularity_ + != com.google.analytics.data.v1beta.CohortsRange.Granularity.GRANULARITY_UNSPECIFIED + .getNumber()) { output.writeEnum(1, granularity_); } if (startOffset_ != 0) { @@ -381,17 +437,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (granularity_ != com.google.analytics.data.v1beta.CohortsRange.Granularity.GRANULARITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, granularity_); + if (granularity_ + != com.google.analytics.data.v1beta.CohortsRange.Granularity.GRANULARITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, granularity_); } if (startOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, startOffset_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, startOffset_); } if (endOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, endOffset_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, endOffset_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -401,18 +456,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.analytics.data.v1beta.CohortsRange)) { return super.equals(obj); } - com.google.analytics.data.v1beta.CohortsRange other = (com.google.analytics.data.v1beta.CohortsRange) obj; + com.google.analytics.data.v1beta.CohortsRange other = + (com.google.analytics.data.v1beta.CohortsRange) obj; if (granularity_ != other.granularity_) return false; - if (getStartOffset() - != other.getStartOffset()) return false; - if (getEndOffset() - != other.getEndOffset()) return false; + if (getStartOffset() != other.getStartOffset()) return false; + if (getEndOffset() != other.getEndOffset()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -435,97 +489,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.CohortsRange parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.CohortsRange parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CohortsRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortsRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CohortsRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortsRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.CohortsRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortsRange 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.analytics.data.v1beta.CohortsRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.CohortsRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.CohortsRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CohortsRange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.CohortsRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.CohortsRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.CohortsRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configures the extended reporting date range for a cohort report. Specifies
    * an offset duration to follow the cohorts over.
@@ -533,21 +594,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.CohortsRange}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.CohortsRange)
       com.google.analytics.data.v1beta.CohortsRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.CohortsRange.class, com.google.analytics.data.v1beta.CohortsRange.Builder.class);
+              com.google.analytics.data.v1beta.CohortsRange.class,
+              com.google.analytics.data.v1beta.CohortsRange.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.CohortsRange.newBuilder()
@@ -555,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();
@@ -578,9 +640,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_CohortsRange_descriptor;
     }
 
     @java.lang.Override
@@ -599,7 +661,8 @@ public com.google.analytics.data.v1beta.CohortsRange build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.CohortsRange buildPartial() {
-      com.google.analytics.data.v1beta.CohortsRange result = new com.google.analytics.data.v1beta.CohortsRange(this);
+      com.google.analytics.data.v1beta.CohortsRange result =
+          new com.google.analytics.data.v1beta.CohortsRange(this);
       result.granularity_ = granularity_;
       result.startOffset_ = startOffset_;
       result.endOffset_ = endOffset_;
@@ -611,38 +674,39 @@ public com.google.analytics.data.v1beta.CohortsRange buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.CohortsRange) {
-        return mergeFrom((com.google.analytics.data.v1beta.CohortsRange)other);
+        return mergeFrom((com.google.analytics.data.v1beta.CohortsRange) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -691,55 +755,71 @@ public Builder mergeFrom(
 
     private int granularity_ = 0;
     /**
+     *
+     *
      * 
      * Required. The granularity used to interpret the `startOffset` and
      * `endOffset` for the extended reporting date range for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; + * * @return The enum numeric value on the wire for granularity. */ - @java.lang.Override public int getGranularityValue() { + @java.lang.Override + public int getGranularityValue() { return granularity_; } /** + * + * *
      * Required. The granularity used to interpret the `startOffset` and
      * `endOffset` for the extended reporting date range for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; + * * @param value The enum numeric value on the wire for granularity to set. * @return This builder for chaining. */ public Builder setGranularityValue(int value) { - + granularity_ = value; onChanged(); return this; } /** + * + * *
      * Required. The granularity used to interpret the `startOffset` and
      * `endOffset` for the extended reporting date range for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; + * * @return The granularity. */ @java.lang.Override public com.google.analytics.data.v1beta.CohortsRange.Granularity getGranularity() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.CohortsRange.Granularity result = com.google.analytics.data.v1beta.CohortsRange.Granularity.valueOf(granularity_); - return result == null ? com.google.analytics.data.v1beta.CohortsRange.Granularity.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.CohortsRange.Granularity result = + com.google.analytics.data.v1beta.CohortsRange.Granularity.valueOf(granularity_); + return result == null + ? com.google.analytics.data.v1beta.CohortsRange.Granularity.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The granularity used to interpret the `startOffset` and
      * `endOffset` for the extended reporting date range for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; + * * @param value The granularity to set. * @return This builder for chaining. */ @@ -747,29 +827,34 @@ public Builder setGranularity(com.google.analytics.data.v1beta.CohortsRange.Gran if (value == null) { throw new NullPointerException(); } - + granularity_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The granularity used to interpret the `startOffset` and
      * `endOffset` for the extended reporting date range for a cohort report.
      * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; + * * @return This builder for chaining. */ public Builder clearGranularity() { - + granularity_ = 0; onChanged(); return this; } - private int startOffset_ ; + private int startOffset_; /** + * + * *
      * `startOffset` specifies the start date of the extended reporting date range
      * for a cohort report. `startOffset` is commonly set to 0 so that reports
@@ -783,6 +868,7 @@ public Builder clearGranularity() {
      * 
* * int32 start_offset = 2; + * * @return The startOffset. */ @java.lang.Override @@ -790,6 +876,8 @@ public int getStartOffset() { return startOffset_; } /** + * + * *
      * `startOffset` specifies the start date of the extended reporting date range
      * for a cohort report. `startOffset` is commonly set to 0 so that reports
@@ -803,16 +891,19 @@ public int getStartOffset() {
      * 
* * int32 start_offset = 2; + * * @param value The startOffset to set. * @return This builder for chaining. */ public Builder setStartOffset(int value) { - + startOffset_ = value; onChanged(); return this; } /** + * + * *
      * `startOffset` specifies the start date of the extended reporting date range
      * for a cohort report. `startOffset` is commonly set to 0 so that reports
@@ -826,17 +917,20 @@ public Builder setStartOffset(int value) {
      * 
* * int32 start_offset = 2; + * * @return This builder for chaining. */ public Builder clearStartOffset() { - + startOffset_ = 0; onChanged(); return this; } - private int endOffset_ ; + private int endOffset_; /** + * + * *
      * Required. `endOffset` specifies the end date of the extended reporting date
      * range for a cohort report. `endOffset` can be any positive integer but is
@@ -851,6 +945,7 @@ public Builder clearStartOffset() {
      * 
* * int32 end_offset = 3; + * * @return The endOffset. */ @java.lang.Override @@ -858,6 +953,8 @@ public int getEndOffset() { return endOffset_; } /** + * + * *
      * Required. `endOffset` specifies the end date of the extended reporting date
      * range for a cohort report. `endOffset` can be any positive integer but is
@@ -872,16 +969,19 @@ public int getEndOffset() {
      * 
* * int32 end_offset = 3; + * * @param value The endOffset to set. * @return This builder for chaining. */ public Builder setEndOffset(int value) { - + endOffset_ = value; onChanged(); return this; } /** + * + * *
      * Required. `endOffset` specifies the end date of the extended reporting date
      * range for a cohort report. `endOffset` can be any positive integer but is
@@ -896,17 +996,18 @@ public Builder setEndOffset(int value) {
      * 
* * int32 end_offset = 3; + * * @return This builder for chaining. */ public Builder clearEndOffset() { - + endOffset_ = 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); } @@ -916,12 +1017,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.CohortsRange) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.CohortsRange) private static final com.google.analytics.data.v1beta.CohortsRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.CohortsRange(); } @@ -930,16 +1031,16 @@ public static com.google.analytics.data.v1beta.CohortsRange getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CohortsRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CohortsRange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CohortsRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CohortsRange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -954,6 +1055,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.CohortsRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java similarity index 79% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java index cd76b62d..45e963a3 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/CohortsRangeOrBuilder.java @@ -1,34 +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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface CohortsRangeOrBuilder extends +public interface CohortsRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CohortsRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The granularity used to interpret the `startOffset` and
    * `endOffset` for the extended reporting date range for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; + * * @return The enum numeric value on the wire for granularity. */ int getGranularityValue(); /** + * + * *
    * Required. The granularity used to interpret the `startOffset` and
    * `endOffset` for the extended reporting date range for a cohort report.
    * 
* * .google.analytics.data.v1beta.CohortsRange.Granularity granularity = 1; + * * @return The granularity. */ com.google.analytics.data.v1beta.CohortsRange.Granularity getGranularity(); /** + * + * *
    * `startOffset` specifies the start date of the extended reporting date range
    * for a cohort report. `startOffset` is commonly set to 0 so that reports
@@ -42,11 +66,14 @@ public interface CohortsRangeOrBuilder extends
    * 
* * int32 start_offset = 2; + * * @return The startOffset. */ int getStartOffset(); /** + * + * *
    * Required. `endOffset` specifies the end date of the extended reporting date
    * range for a cohort report. `endOffset` can be any positive integer but is
@@ -61,6 +88,7 @@ public interface CohortsRangeOrBuilder extends
    * 
* * int32 end_offset = 3; + * * @return The endOffset. */ int getEndOffset(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Compatibility.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Compatibility.java similarity index 69% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Compatibility.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Compatibility.java index c2882047..f60a7ea8 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Compatibility.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Compatibility.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The compatibility types for a single dimension or metric.
  * 
* * Protobuf enum {@code google.analytics.data.v1beta.Compatibility} */ -public enum Compatibility - implements com.google.protobuf.ProtocolMessageEnum { +public enum Compatibility implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified compatibility.
    * 
@@ -21,6 +39,8 @@ public enum Compatibility */ COMPATIBILITY_UNSPECIFIED(0), /** + * + * *
    * The dimension or metric is compatible. This dimension or metric can be
    * successfully added to a report.
@@ -30,6 +50,8 @@ public enum Compatibility
    */
   COMPATIBLE(1),
   /**
+   *
+   *
    * 
    * The dimension or metric is incompatible. This dimension or metric cannot be
    * successfully added to a report.
@@ -42,6 +64,8 @@ public enum Compatibility
   ;
 
   /**
+   *
+   *
    * 
    * Unspecified compatibility.
    * 
@@ -50,6 +74,8 @@ public enum Compatibility */ public static final int COMPATIBILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The dimension or metric is compatible. This dimension or metric can be
    * successfully added to a report.
@@ -59,6 +85,8 @@ public enum Compatibility
    */
   public static final int COMPATIBLE_VALUE = 1;
   /**
+   *
+   *
    * 
    * The dimension or metric is incompatible. This dimension or metric cannot be
    * successfully added to a report.
@@ -68,7 +96,6 @@ public enum Compatibility
    */
   public static final int INCOMPATIBLE_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,49 +120,49 @@ public static Compatibility valueOf(int value) {
    */
   public static Compatibility forNumber(int value) {
     switch (value) {
-      case 0: return COMPATIBILITY_UNSPECIFIED;
-      case 1: return COMPATIBLE;
-      case 2: return INCOMPATIBLE;
-      default: return null;
+      case 0:
+        return COMPATIBILITY_UNSPECIFIED;
+      case 1:
+        return COMPATIBLE;
+      case 2:
+        return INCOMPATIBLE;
+      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<
-      Compatibility> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Compatibility findValueByNumber(int number) {
-            return Compatibility.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 Compatibility findValueByNumber(int number) {
+          return Compatibility.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.analytics.data.v1beta.ReportingApiProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final Compatibility[] VALUES = values();
 
-  public static Compatibility valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static Compatibility 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;
@@ -151,4 +178,3 @@ private Compatibility(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.analytics.data.v1beta.Compatibility)
 }
-
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.java
similarity index 74%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.java
index 792f767a..09368707 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRange.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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
+ *
+ *
  * 
  * A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests
  * are allowed up to 4 date ranges.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.DateRange}
  */
-public final class DateRange extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DateRange extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DateRange)
     DateRangeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DateRange.newBuilder() to construct.
   private DateRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DateRange() {
     startDate_ = "";
     endDate_ = "";
@@ -28,16 +46,15 @@ private DateRange() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DateRange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DateRange(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,59 +73,66 @@ private DateRange(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            startDate_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              startDate_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            endDate_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              endDate_ = s;
+              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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DateRange_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_DateRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.DateRange.class, com.google.analytics.data.v1beta.DateRange.Builder.class);
+            com.google.analytics.data.v1beta.DateRange.class,
+            com.google.analytics.data.v1beta.DateRange.Builder.class);
   }
 
   public static final int START_DATE_FIELD_NUMBER = 1;
   private volatile java.lang.Object startDate_;
   /**
+   *
+   *
    * 
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -117,6 +141,7 @@ private DateRange(
    * 
* * string start_date = 1; + * * @return The startDate. */ @java.lang.Override @@ -125,14 +150,15 @@ public java.lang.String getStartDate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; } } /** + * + * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -141,16 +167,15 @@ public java.lang.String getStartDate() {
    * 
* * string start_date = 1; + * * @return The bytes for startDate. */ @java.lang.Override - public com.google.protobuf.ByteString - getStartDateBytes() { + public com.google.protobuf.ByteString getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startDate_ = b; return b; } else { @@ -161,6 +186,8 @@ public java.lang.String getStartDate() { public static final int END_DATE_FIELD_NUMBER = 2; private volatile java.lang.Object endDate_; /** + * + * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -169,6 +196,7 @@ public java.lang.String getStartDate() {
    * 
* * string end_date = 2; + * * @return The endDate. */ @java.lang.Override @@ -177,14 +205,15 @@ public java.lang.String getEndDate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; } } /** + * + * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -193,16 +222,15 @@ public java.lang.String getEndDate() {
    * 
* * string end_date = 2; + * * @return The bytes for endDate. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndDateBytes() { + public com.google.protobuf.ByteString getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endDate_ = b; return b; } else { @@ -213,6 +241,8 @@ public java.lang.String getEndDate() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Assigns a name to this date range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -221,6 +251,7 @@ public java.lang.String getEndDate() {
    * 
* * string name = 3; + * * @return The name. */ @java.lang.Override @@ -229,14 +260,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; } } /** + * + * *
    * Assigns a name to this date range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -245,16 +277,15 @@ public java.lang.String getName() {
    * 
* * string name = 3; + * * @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 { @@ -263,6 +294,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,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 (!getStartDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, startDate_); } @@ -311,19 +342,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.analytics.data.v1beta.DateRange)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DateRange other = (com.google.analytics.data.v1beta.DateRange) obj; + com.google.analytics.data.v1beta.DateRange other = + (com.google.analytics.data.v1beta.DateRange) obj; - if (!getStartDate() - .equals(other.getStartDate())) return false; - if (!getEndDate() - .equals(other.getEndDate())) return false; - if (!getName() - .equals(other.getName())) return false; + if (!getStartDate().equals(other.getStartDate())) return false; + if (!getEndDate().equals(other.getEndDate())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -346,97 +375,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.DateRange parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.DateRange parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DateRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DateRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DateRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DateRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DateRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DateRange 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.analytics.data.v1beta.DateRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DateRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DateRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DateRange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.DateRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DateRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.DateRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 contiguous set of days: startDate, startDate + 1, ..., endDate. Requests
    * are allowed up to 4 date ranges.
@@ -444,21 +480,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.DateRange}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DateRange)
       com.google.analytics.data.v1beta.DateRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DateRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_DateRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.DateRange.class, com.google.analytics.data.v1beta.DateRange.Builder.class);
+              com.google.analytics.data.v1beta.DateRange.class,
+              com.google.analytics.data.v1beta.DateRange.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.DateRange.newBuilder()
@@ -466,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();
@@ -489,9 +526,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DateRange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_DateRange_descriptor;
     }
 
     @java.lang.Override
@@ -510,7 +547,8 @@ public com.google.analytics.data.v1beta.DateRange build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.DateRange buildPartial() {
-      com.google.analytics.data.v1beta.DateRange result = new com.google.analytics.data.v1beta.DateRange(this);
+      com.google.analytics.data.v1beta.DateRange result =
+          new com.google.analytics.data.v1beta.DateRange(this);
       result.startDate_ = startDate_;
       result.endDate_ = endDate_;
       result.name_ = name_;
@@ -522,38 +560,39 @@ public com.google.analytics.data.v1beta.DateRange buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.DateRange) {
-        return mergeFrom((com.google.analytics.data.v1beta.DateRange)other);
+        return mergeFrom((com.google.analytics.data.v1beta.DateRange) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -605,6 +644,8 @@ public Builder mergeFrom(
 
     private java.lang.Object startDate_ = "";
     /**
+     *
+     *
      * 
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -613,13 +654,13 @@ public Builder mergeFrom(
      * 
* * string start_date = 1; + * * @return The startDate. */ public java.lang.String getStartDate() { java.lang.Object ref = startDate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; @@ -628,6 +669,8 @@ public java.lang.String getStartDate() { } } /** + * + * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -636,15 +679,14 @@ public java.lang.String getStartDate() {
      * 
* * string start_date = 1; + * * @return The bytes for startDate. */ - public com.google.protobuf.ByteString - getStartDateBytes() { + public com.google.protobuf.ByteString getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startDate_ = b; return b; } else { @@ -652,6 +694,8 @@ public java.lang.String getStartDate() { } } /** + * + * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -660,20 +704,22 @@ public java.lang.String getStartDate() {
      * 
* * string start_date = 1; + * * @param value The startDate to set. * @return This builder for chaining. */ - public Builder setStartDate( - java.lang.String value) { + public Builder setStartDate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startDate_ = value; onChanged(); return this; } /** + * + * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -682,15 +728,18 @@ public Builder setStartDate(
      * 
* * string start_date = 1; + * * @return This builder for chaining. */ public Builder clearStartDate() { - + startDate_ = getDefaultInstance().getStartDate(); onChanged(); return this; } /** + * + * *
      * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
      * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -699,16 +748,16 @@ public Builder clearStartDate() {
      * 
* * string start_date = 1; + * * @param value The bytes for startDate to set. * @return This builder for chaining. */ - public Builder setStartDateBytes( - com.google.protobuf.ByteString value) { + public Builder setStartDateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startDate_ = value; onChanged(); return this; @@ -716,6 +765,8 @@ public Builder setStartDateBytes( private java.lang.Object endDate_ = ""; /** + * + * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -724,13 +775,13 @@ public Builder setStartDateBytes(
      * 
* * string end_date = 2; + * * @return The endDate. */ public java.lang.String getEndDate() { java.lang.Object ref = endDate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; @@ -739,6 +790,8 @@ public java.lang.String getEndDate() { } } /** + * + * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -747,15 +800,14 @@ public java.lang.String getEndDate() {
      * 
* * string end_date = 2; + * * @return The bytes for endDate. */ - public com.google.protobuf.ByteString - getEndDateBytes() { + public com.google.protobuf.ByteString getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endDate_ = b; return b; } else { @@ -763,6 +815,8 @@ public java.lang.String getEndDate() { } } /** + * + * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -771,20 +825,22 @@ public java.lang.String getEndDate() {
      * 
* * string end_date = 2; + * * @param value The endDate to set. * @return This builder for chaining. */ - public Builder setEndDate( - java.lang.String value) { + public Builder setEndDate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endDate_ = value; onChanged(); return this; } /** + * + * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -793,15 +849,18 @@ public Builder setEndDate(
      * 
* * string end_date = 2; + * * @return This builder for chaining. */ public Builder clearEndDate() { - + endDate_ = getDefaultInstance().getEndDate(); onChanged(); return this; } /** + * + * *
      * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
      * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -810,16 +869,16 @@ public Builder clearEndDate() {
      * 
* * string end_date = 2; + * * @param value The bytes for endDate to set. * @return This builder for chaining. */ - public Builder setEndDateBytes( - com.google.protobuf.ByteString value) { + public Builder setEndDateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endDate_ = value; onChanged(); return this; @@ -827,6 +886,8 @@ public Builder setEndDateBytes( private java.lang.Object name_ = ""; /** + * + * *
      * Assigns a name to this date range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -835,13 +896,13 @@ public Builder setEndDateBytes(
      * 
* * string name = 3; + * * @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; @@ -850,6 +911,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Assigns a name to this date range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -858,15 +921,14 @@ public java.lang.String getName() {
      * 
* * string name = 3; + * * @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 { @@ -874,6 +936,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Assigns a name to this date range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -882,20 +946,22 @@ public java.lang.String getName() {
      * 
* * string name = 3; + * * @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; } /** + * + * *
      * Assigns a name to this date range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -904,15 +970,18 @@ public Builder setName(
      * 
* * string name = 3; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Assigns a name to this date range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -921,23 +990,23 @@ public Builder clearName() {
      * 
* * string name = 3; + * * @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); } @@ -947,12 +1016,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DateRange) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DateRange) private static final com.google.analytics.data.v1beta.DateRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DateRange(); } @@ -961,16 +1030,16 @@ public static com.google.analytics.data.v1beta.DateRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DateRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DateRange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DateRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DateRange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -985,6 +1054,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DateRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java similarity index 75% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java index ea6bd8b8..b08bd6d1 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DateRangeOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DateRangeOrBuilder extends +public interface DateRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DateRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -16,10 +34,13 @@ public interface DateRangeOrBuilder extends
    * 
* * string start_date = 1; + * * @return The startDate. */ java.lang.String getStartDate(); /** + * + * *
    * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
    * be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
@@ -28,12 +49,14 @@ public interface DateRangeOrBuilder extends
    * 
* * string start_date = 1; + * * @return The bytes for startDate. */ - com.google.protobuf.ByteString - getStartDateBytes(); + com.google.protobuf.ByteString getStartDateBytes(); /** + * + * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -42,10 +65,13 @@ public interface DateRangeOrBuilder extends
    * 
* * string end_date = 2; + * * @return The endDate. */ java.lang.String getEndDate(); /** + * + * *
    * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
    * be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
@@ -54,12 +80,14 @@ public interface DateRangeOrBuilder extends
    * 
* * string end_date = 2; + * * @return The bytes for endDate. */ - com.google.protobuf.ByteString - getEndDateBytes(); + com.google.protobuf.ByteString getEndDateBytes(); /** + * + * *
    * Assigns a name to this date range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -68,10 +96,13 @@ public interface DateRangeOrBuilder extends
    * 
* * string name = 3; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Assigns a name to this date range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -80,8 +111,8 @@ public interface DateRangeOrBuilder extends
    * 
* * string name = 3; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.java similarity index 74% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.java index 56a907f5..92b8deba 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Dimension.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Dimensions are attributes of your data. For example, the dimension city
  * indicates the city from which an event originates. Dimension values in report
@@ -13,31 +30,31 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.Dimension}
  */
-public final class Dimension extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Dimension extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Dimension)
     DimensionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Dimension.newBuilder() to construct.
   private Dimension(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Dimension() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Dimension();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Dimension(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,60 +73,69 @@ private Dimension(
           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.analytics.data.v1beta.DimensionExpression.Builder subBuilder = null;
-            if (dimensionExpression_ != null) {
-              subBuilder = dimensionExpression_.toBuilder();
+              name_ = s;
+              break;
             }
-            dimensionExpression_ = input.readMessage(com.google.analytics.data.v1beta.DimensionExpression.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(dimensionExpression_);
-              dimensionExpression_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.analytics.data.v1beta.DimensionExpression.Builder subBuilder = null;
+              if (dimensionExpression_ != null) {
+                subBuilder = dimensionExpression_.toBuilder();
+              }
+              dimensionExpression_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.DimensionExpression.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(dimensionExpression_);
+                dimensionExpression_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Dimension_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_Dimension_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.Dimension.class, com.google.analytics.data.v1beta.Dimension.Builder.class);
+            com.google.analytics.data.v1beta.Dimension.class,
+            com.google.analytics.data.v1beta.Dimension.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the dimension. See the [API
    * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -124,6 +150,7 @@ private Dimension(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -132,14 +159,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 name of the dimension. See the [API
    * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -154,16 +182,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 { @@ -174,12 +201,15 @@ public java.lang.String getName() { public static final int DIMENSION_EXPRESSION_FIELD_NUMBER = 2; private com.google.analytics.data.v1beta.DimensionExpression dimensionExpression_; /** + * + * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; + * * @return Whether the dimensionExpression field is set. */ @java.lang.Override @@ -187,19 +217,26 @@ public boolean hasDimensionExpression() { return dimensionExpression_ != null; } /** + * + * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; + * * @return The dimensionExpression. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression getDimensionExpression() { - return dimensionExpression_ == null ? com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance() : dimensionExpression_; + return dimensionExpression_ == null + ? com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance() + : dimensionExpression_; } /** + * + * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -208,11 +245,13 @@ public com.google.analytics.data.v1beta.DimensionExpression getDimensionExpressi
    * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.DimensionExpressionOrBuilder getDimensionExpressionOrBuilder() {
+  public com.google.analytics.data.v1beta.DimensionExpressionOrBuilder
+      getDimensionExpressionOrBuilder() {
     return getDimensionExpression();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -224,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 {
     if (!getNameBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -245,8 +283,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (dimensionExpression_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDimensionExpression());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDimensionExpression());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -256,19 +293,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.analytics.data.v1beta.Dimension)) {
       return super.equals(obj);
     }
-    com.google.analytics.data.v1beta.Dimension other = (com.google.analytics.data.v1beta.Dimension) obj;
+    com.google.analytics.data.v1beta.Dimension other =
+        (com.google.analytics.data.v1beta.Dimension) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasDimensionExpression() != other.hasDimensionExpression()) return false;
     if (hasDimensionExpression()) {
-      if (!getDimensionExpression()
-          .equals(other.getDimensionExpression())) return false;
+      if (!getDimensionExpression().equals(other.getDimensionExpression())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -292,97 +328,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.analytics.data.v1beta.Dimension parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.analytics.data.v1beta.Dimension parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.Dimension parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.Dimension 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.analytics.data.v1beta.Dimension parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.data.v1beta.Dimension parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.data.v1beta.Dimension parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.Dimension parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.Dimension parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.analytics.data.v1beta.Dimension prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Dimensions are attributes of your data. For example, the dimension city
    * indicates the city from which an event originates. Dimension values in report
@@ -392,21 +435,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.Dimension}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Dimension)
       com.google.analytics.data.v1beta.DimensionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Dimension_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Dimension_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.Dimension.class, com.google.analytics.data.v1beta.Dimension.Builder.class);
+              com.google.analytics.data.v1beta.Dimension.class,
+              com.google.analytics.data.v1beta.Dimension.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.Dimension.newBuilder()
@@ -414,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();
@@ -439,9 +483,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Dimension_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Dimension_descriptor;
     }
 
     @java.lang.Override
@@ -460,7 +504,8 @@ public com.google.analytics.data.v1beta.Dimension build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.Dimension buildPartial() {
-      com.google.analytics.data.v1beta.Dimension result = new com.google.analytics.data.v1beta.Dimension(this);
+      com.google.analytics.data.v1beta.Dimension result =
+          new com.google.analytics.data.v1beta.Dimension(this);
       result.name_ = name_;
       if (dimensionExpressionBuilder_ == null) {
         result.dimensionExpression_ = dimensionExpression_;
@@ -475,38 +520,39 @@ public com.google.analytics.data.v1beta.Dimension buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.Dimension) {
-        return mergeFrom((com.google.analytics.data.v1beta.Dimension)other);
+        return mergeFrom((com.google.analytics.data.v1beta.Dimension) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -553,6 +599,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the dimension. See the [API
      * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -567,13 +615,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; @@ -582,6 +630,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the dimension. See the [API
      * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -596,15 +646,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 { @@ -612,6 +661,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the dimension. See the [API
      * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -626,20 +677,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the dimension. See the [API
      * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -654,15 +707,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the dimension. See the [API
      * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -677,16 +733,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; @@ -694,36 +750,49 @@ public Builder setNameBytes( private com.google.analytics.data.v1beta.DimensionExpression dimensionExpression_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression, com.google.analytics.data.v1beta.DimensionExpression.Builder, com.google.analytics.data.v1beta.DimensionExpressionOrBuilder> dimensionExpressionBuilder_; + com.google.analytics.data.v1beta.DimensionExpression, + com.google.analytics.data.v1beta.DimensionExpression.Builder, + com.google.analytics.data.v1beta.DimensionExpressionOrBuilder> + dimensionExpressionBuilder_; /** + * + * *
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; + * * @return Whether the dimensionExpression field is set. */ public boolean hasDimensionExpression() { return dimensionExpressionBuilder_ != null || dimensionExpression_ != null; } /** + * + * *
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; + * * @return The dimensionExpression. */ public com.google.analytics.data.v1beta.DimensionExpression getDimensionExpression() { if (dimensionExpressionBuilder_ == null) { - return dimensionExpression_ == null ? com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance() : dimensionExpression_; + return dimensionExpression_ == null + ? com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance() + : dimensionExpression_; } else { return dimensionExpressionBuilder_.getMessage(); } } /** + * + * *
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -731,7 +800,8 @@ public com.google.analytics.data.v1beta.DimensionExpression getDimensionExpressi
      *
      * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
      */
-    public Builder setDimensionExpression(com.google.analytics.data.v1beta.DimensionExpression value) {
+    public Builder setDimensionExpression(
+        com.google.analytics.data.v1beta.DimensionExpression value) {
       if (dimensionExpressionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -745,6 +815,8 @@ public Builder setDimensionExpression(com.google.analytics.data.v1beta.Dimension
       return this;
     }
     /**
+     *
+     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -764,6 +836,8 @@ public Builder setDimensionExpression(
       return this;
     }
     /**
+     *
+     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -771,11 +845,14 @@ public Builder setDimensionExpression(
      *
      * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
      */
-    public Builder mergeDimensionExpression(com.google.analytics.data.v1beta.DimensionExpression value) {
+    public Builder mergeDimensionExpression(
+        com.google.analytics.data.v1beta.DimensionExpression value) {
       if (dimensionExpressionBuilder_ == null) {
         if (dimensionExpression_ != null) {
           dimensionExpression_ =
-            com.google.analytics.data.v1beta.DimensionExpression.newBuilder(dimensionExpression_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.DimensionExpression.newBuilder(dimensionExpression_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dimensionExpression_ = value;
         }
@@ -787,6 +864,8 @@ public Builder mergeDimensionExpression(com.google.analytics.data.v1beta.Dimensi
       return this;
     }
     /**
+     *
+     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -806,6 +885,8 @@ public Builder clearDimensionExpression() {
       return this;
     }
     /**
+     *
+     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -813,12 +894,15 @@ public Builder clearDimensionExpression() {
      *
      * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
      */
-    public com.google.analytics.data.v1beta.DimensionExpression.Builder getDimensionExpressionBuilder() {
-      
+    public com.google.analytics.data.v1beta.DimensionExpression.Builder
+        getDimensionExpressionBuilder() {
+
       onChanged();
       return getDimensionExpressionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -826,15 +910,19 @@ public com.google.analytics.data.v1beta.DimensionExpression.Builder getDimension
      *
      * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
      */
-    public com.google.analytics.data.v1beta.DimensionExpressionOrBuilder getDimensionExpressionOrBuilder() {
+    public com.google.analytics.data.v1beta.DimensionExpressionOrBuilder
+        getDimensionExpressionOrBuilder() {
       if (dimensionExpressionBuilder_ != null) {
         return dimensionExpressionBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionExpression_ == null ?
-            com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance() : dimensionExpression_;
+        return dimensionExpression_ == null
+            ? com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance()
+            : dimensionExpression_;
       }
     }
     /**
+     *
+     *
      * 
      * One dimension can be the result of an expression of multiple dimensions.
      * For example, dimension "country, city": concatenate(country, ", ", city).
@@ -843,21 +931,24 @@ public com.google.analytics.data.v1beta.DimensionExpressionOrBuilder getDimensio
      * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.DimensionExpression, com.google.analytics.data.v1beta.DimensionExpression.Builder, com.google.analytics.data.v1beta.DimensionExpressionOrBuilder> 
+            com.google.analytics.data.v1beta.DimensionExpression,
+            com.google.analytics.data.v1beta.DimensionExpression.Builder,
+            com.google.analytics.data.v1beta.DimensionExpressionOrBuilder>
         getDimensionExpressionFieldBuilder() {
       if (dimensionExpressionBuilder_ == null) {
-        dimensionExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionExpression, com.google.analytics.data.v1beta.DimensionExpression.Builder, com.google.analytics.data.v1beta.DimensionExpressionOrBuilder>(
-                getDimensionExpression(),
-                getParentForChildren(),
-                isClean());
+        dimensionExpressionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.DimensionExpression,
+                com.google.analytics.data.v1beta.DimensionExpression.Builder,
+                com.google.analytics.data.v1beta.DimensionExpressionOrBuilder>(
+                getDimensionExpression(), getParentForChildren(), isClean());
         dimensionExpression_ = null;
       }
       return dimensionExpressionBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -867,12 +958,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Dimension)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Dimension)
   private static final com.google.analytics.data.v1beta.Dimension DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Dimension();
   }
@@ -881,16 +972,16 @@ public static com.google.analytics.data.v1beta.Dimension getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Dimension parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Dimension(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Dimension parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Dimension(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -905,6 +996,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.data.v1beta.Dimension getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.java
similarity index 71%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.java
index 9409095b..19dd191f 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibility.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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
+ *
+ *
  * 
  * The compatibility for a single dimension.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionCompatibility} */ -public final class DimensionCompatibility extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DimensionCompatibility extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionCompatibility) DimensionCompatibilityOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DimensionCompatibility.newBuilder() to construct. private DimensionCompatibility(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DimensionCompatibility() { compatibility_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DimensionCompatibility(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DimensionCompatibility( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,61 +71,70 @@ private DimensionCompatibility( case 0: done = true; break; - case 10: { - com.google.analytics.data.v1beta.DimensionMetadata.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) != 0)) { - subBuilder = dimensionMetadata_.toBuilder(); + case 10: + { + com.google.analytics.data.v1beta.DimensionMetadata.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = dimensionMetadata_.toBuilder(); + } + dimensionMetadata_ = + input.readMessage( + com.google.analytics.data.v1beta.DimensionMetadata.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dimensionMetadata_); + dimensionMetadata_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; } - dimensionMetadata_ = input.readMessage(com.google.analytics.data.v1beta.DimensionMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionMetadata_); - dimensionMetadata_ = subBuilder.buildPartial(); + case 16: + { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000002; + compatibility_ = rawValue; + break; } - bitField0_ |= 0x00000001; - break; - } - case 16: { - int rawValue = input.readEnum(); - bitField0_ |= 0x00000002; - compatibility_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionCompatibility.class, com.google.analytics.data.v1beta.DimensionCompatibility.Builder.class); + com.google.analytics.data.v1beta.DimensionCompatibility.class, + com.google.analytics.data.v1beta.DimensionCompatibility.Builder.class); } private int bitField0_; public static final int DIMENSION_METADATA_FIELD_NUMBER = 1; private com.google.analytics.data.v1beta.DimensionMetadata dimensionMetadata_; /** + * + * *
    * The dimension metadata contains the API name for this compatibility
    * information. The dimension metadata also contains other helpful information
@@ -116,6 +142,7 @@ private DimensionCompatibility(
    * 
* * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * * @return Whether the dimensionMetadata field is set. */ @java.lang.Override @@ -123,6 +150,8 @@ public boolean hasDimensionMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The dimension metadata contains the API name for this compatibility
    * information. The dimension metadata also contains other helpful information
@@ -130,13 +159,18 @@ public boolean hasDimensionMetadata() {
    * 
* * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * * @return The dimensionMetadata. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionMetadata getDimensionMetadata() { - return dimensionMetadata_ == null ? com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance() : dimensionMetadata_; + return dimensionMetadata_ == null + ? com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance() + : dimensionMetadata_; } /** + * + * *
    * The dimension metadata contains the API name for this compatibility
    * information. The dimension metadata also contains other helpful information
@@ -146,52 +180,69 @@ public com.google.analytics.data.v1beta.DimensionMetadata getDimensionMetadata()
    * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionMetadataOrBuilder() {
-    return dimensionMetadata_ == null ? com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance() : dimensionMetadata_;
+  public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder
+      getDimensionMetadataOrBuilder() {
+    return dimensionMetadata_ == null
+        ? com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()
+        : dimensionMetadata_;
   }
 
   public static final int COMPATIBILITY_FIELD_NUMBER = 2;
   private int compatibility_;
   /**
+   *
+   *
    * 
    * The compatibility of this dimension. If the compatibility is COMPATIBLE,
    * this dimension can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return Whether the compatibility field is set. */ - @java.lang.Override public boolean hasCompatibility() { + @java.lang.Override + public boolean hasCompatibility() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The compatibility of this dimension. If the compatibility is COMPATIBLE,
    * this dimension can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The enum numeric value on the wire for compatibility. */ - @java.lang.Override public int getCompatibilityValue() { + @java.lang.Override + public int getCompatibilityValue() { return compatibility_; } /** + * + * *
    * The compatibility of this dimension. If the compatibility is COMPATIBLE,
    * this dimension can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The compatibility. */ - @java.lang.Override public com.google.analytics.data.v1beta.Compatibility getCompatibility() { + @java.lang.Override + public com.google.analytics.data.v1beta.Compatibility getCompatibility() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); + com.google.analytics.data.v1beta.Compatibility result = + com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getDimensionMetadata()); } @@ -221,12 +271,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDimensionMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDimensionMetadata()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, compatibility_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, compatibility_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,17 +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.analytics.data.v1beta.DimensionCompatibility)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionCompatibility other = (com.google.analytics.data.v1beta.DimensionCompatibility) obj; + com.google.analytics.data.v1beta.DimensionCompatibility other = + (com.google.analytics.data.v1beta.DimensionCompatibility) obj; if (hasDimensionMetadata() != other.hasDimensionMetadata()) return false; if (hasDimensionMetadata()) { - if (!getDimensionMetadata() - .equals(other.getDimensionMetadata())) return false; + if (!getDimensionMetadata().equals(other.getDimensionMetadata())) return false; } if (hasCompatibility() != other.hasCompatibility()) return false; if (hasCompatibility()) { @@ -277,117 +325,127 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionCompatibility parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionCompatibility parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionCompatibility parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionCompatibility prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.DimensionCompatibility prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 compatibility for a single dimension.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionCompatibility} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionCompatibility) com.google.analytics.data.v1beta.DimensionCompatibilityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionCompatibility.class, com.google.analytics.data.v1beta.DimensionCompatibility.Builder.class); + com.google.analytics.data.v1beta.DimensionCompatibility.class, + com.google.analytics.data.v1beta.DimensionCompatibility.Builder.class); } // Construct using com.google.analytics.data.v1beta.DimensionCompatibility.newBuilder() @@ -395,17 +453,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) { getDimensionMetadataFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -421,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; } @java.lang.Override @@ -442,7 +500,8 @@ public com.google.analytics.data.v1beta.DimensionCompatibility build() { @java.lang.Override public com.google.analytics.data.v1beta.DimensionCompatibility buildPartial() { - com.google.analytics.data.v1beta.DimensionCompatibility result = new com.google.analytics.data.v1beta.DimensionCompatibility(this); + com.google.analytics.data.v1beta.DimensionCompatibility result = + new com.google.analytics.data.v1beta.DimensionCompatibility(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -466,38 +525,39 @@ public com.google.analytics.data.v1beta.DimensionCompatibility buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.DimensionCompatibility) { - return mergeFrom((com.google.analytics.data.v1beta.DimensionCompatibility)other); + return mergeFrom((com.google.analytics.data.v1beta.DimensionCompatibility) other); } else { super.mergeFrom(other); return this; @@ -505,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionCompatibility other) { - if (other == com.google.analytics.data.v1beta.DimensionCompatibility.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.DimensionCompatibility.getDefaultInstance()) + return this; if (other.hasDimensionMetadata()) { mergeDimensionMetadata(other.getDimensionMetadata()); } @@ -531,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.DimensionCompatibility) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.DimensionCompatibility) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -540,12 +602,18 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.analytics.data.v1beta.DimensionMetadata dimensionMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> dimensionMetadataBuilder_; + com.google.analytics.data.v1beta.DimensionMetadata, + com.google.analytics.data.v1beta.DimensionMetadata.Builder, + com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> + dimensionMetadataBuilder_; /** + * + * *
      * The dimension metadata contains the API name for this compatibility
      * information. The dimension metadata also contains other helpful information
@@ -553,12 +621,15 @@ public Builder mergeFrom(
      * 
* * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * * @return Whether the dimensionMetadata field is set. */ public boolean hasDimensionMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The dimension metadata contains the API name for this compatibility
      * information. The dimension metadata also contains other helpful information
@@ -566,16 +637,21 @@ public boolean hasDimensionMetadata() {
      * 
* * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * * @return The dimensionMetadata. */ public com.google.analytics.data.v1beta.DimensionMetadata getDimensionMetadata() { if (dimensionMetadataBuilder_ == null) { - return dimensionMetadata_ == null ? com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance() : dimensionMetadata_; + return dimensionMetadata_ == null + ? com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance() + : dimensionMetadata_; } else { return dimensionMetadataBuilder_.getMessage(); } } /** + * + * *
      * The dimension metadata contains the API name for this compatibility
      * information. The dimension metadata also contains other helpful information
@@ -598,6 +674,8 @@ public Builder setDimensionMetadata(com.google.analytics.data.v1beta.DimensionMe
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimension metadata contains the API name for this compatibility
      * information. The dimension metadata also contains other helpful information
@@ -618,6 +696,8 @@ public Builder setDimensionMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimension metadata contains the API name for this compatibility
      * information. The dimension metadata also contains other helpful information
@@ -626,13 +706,17 @@ public Builder setDimensionMetadata(
      *
      * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;
      */
-    public Builder mergeDimensionMetadata(com.google.analytics.data.v1beta.DimensionMetadata value) {
+    public Builder mergeDimensionMetadata(
+        com.google.analytics.data.v1beta.DimensionMetadata value) {
       if (dimensionMetadataBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-            dimensionMetadata_ != null &&
-            dimensionMetadata_ != com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && dimensionMetadata_ != null
+            && dimensionMetadata_
+                != com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()) {
           dimensionMetadata_ =
-            com.google.analytics.data.v1beta.DimensionMetadata.newBuilder(dimensionMetadata_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.DimensionMetadata.newBuilder(dimensionMetadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dimensionMetadata_ = value;
         }
@@ -644,6 +728,8 @@ public Builder mergeDimensionMetadata(com.google.analytics.data.v1beta.Dimension
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimension metadata contains the API name for this compatibility
      * information. The dimension metadata also contains other helpful information
@@ -663,6 +749,8 @@ public Builder clearDimensionMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimension metadata contains the API name for this compatibility
      * information. The dimension metadata also contains other helpful information
@@ -671,12 +759,15 @@ public Builder clearDimensionMetadata() {
      *
      * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;
      */
-    public com.google.analytics.data.v1beta.DimensionMetadata.Builder getDimensionMetadataBuilder() {
+    public com.google.analytics.data.v1beta.DimensionMetadata.Builder
+        getDimensionMetadataBuilder() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getDimensionMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The dimension metadata contains the API name for this compatibility
      * information. The dimension metadata also contains other helpful information
@@ -685,15 +776,19 @@ public com.google.analytics.data.v1beta.DimensionMetadata.Builder getDimensionMe
      *
      * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;
      */
-    public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionMetadataOrBuilder() {
+    public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder
+        getDimensionMetadataOrBuilder() {
       if (dimensionMetadataBuilder_ != null) {
         return dimensionMetadataBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionMetadata_ == null ?
-            com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance() : dimensionMetadata_;
+        return dimensionMetadata_ == null
+            ? com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()
+            : dimensionMetadata_;
       }
     }
     /**
+     *
+     *
      * 
      * The dimension metadata contains the API name for this compatibility
      * information. The dimension metadata also contains other helpful information
@@ -703,14 +798,17 @@ public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionM
      * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> 
+            com.google.analytics.data.v1beta.DimensionMetadata,
+            com.google.analytics.data.v1beta.DimensionMetadata.Builder,
+            com.google.analytics.data.v1beta.DimensionMetadataOrBuilder>
         getDimensionMetadataFieldBuilder() {
       if (dimensionMetadataBuilder_ == null) {
-        dimensionMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder>(
-                getDimensionMetadata(),
-                getParentForChildren(),
-                isClean());
+        dimensionMetadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.DimensionMetadata,
+                com.google.analytics.data.v1beta.DimensionMetadata.Builder,
+                com.google.analytics.data.v1beta.DimensionMetadataOrBuilder>(
+                getDimensionMetadata(), getParentForChildren(), isClean());
         dimensionMetadata_ = null;
       }
       return dimensionMetadataBuilder_;
@@ -718,36 +816,47 @@ public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionM
 
     private int compatibility_ = 0;
     /**
+     *
+     *
      * 
      * The compatibility of this dimension. If the compatibility is COMPATIBLE,
      * this dimension can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return Whether the compatibility field is set. */ - @java.lang.Override public boolean hasCompatibility() { + @java.lang.Override + public boolean hasCompatibility() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The compatibility of this dimension. If the compatibility is COMPATIBLE,
      * this dimension can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The enum numeric value on the wire for compatibility. */ - @java.lang.Override public int getCompatibilityValue() { + @java.lang.Override + public int getCompatibilityValue() { return compatibility_; } /** + * + * *
      * The compatibility of this dimension. If the compatibility is COMPATIBLE,
      * this dimension can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @param value The enum numeric value on the wire for compatibility to set. * @return This builder for chaining. */ @@ -758,27 +867,34 @@ public Builder setCompatibilityValue(int value) { return this; } /** + * + * *
      * The compatibility of this dimension. If the compatibility is COMPATIBLE,
      * this dimension can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The compatibility. */ @java.lang.Override public com.google.analytics.data.v1beta.Compatibility getCompatibility() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); + com.google.analytics.data.v1beta.Compatibility result = + com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; } /** + * + * *
      * The compatibility of this dimension. If the compatibility is COMPATIBLE,
      * this dimension can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @param value The compatibility to set. * @return This builder for chaining. */ @@ -792,12 +908,15 @@ public Builder setCompatibility(com.google.analytics.data.v1beta.Compatibility v return this; } /** + * + * *
      * The compatibility of this dimension. If the compatibility is COMPATIBLE,
      * this dimension can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return This builder for chaining. */ public Builder clearCompatibility() { @@ -806,9 +925,9 @@ public Builder clearCompatibility() { 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); } @@ -818,12 +937,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionCompatibility) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionCompatibility) private static final com.google.analytics.data.v1beta.DimensionCompatibility DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionCompatibility(); } @@ -832,16 +951,16 @@ public static com.google.analytics.data.v1beta.DimensionCompatibility getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionCompatibility parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionCompatibility(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionCompatibility parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionCompatibility(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -856,6 +975,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DimensionCompatibility getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.java similarity index 78% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.java index 6b93a436..71cddb17 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionCompatibilityOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DimensionCompatibilityOrBuilder extends +public interface DimensionCompatibilityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionCompatibility) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The dimension metadata contains the API name for this compatibility
    * information. The dimension metadata also contains other helpful information
@@ -15,10 +33,13 @@ public interface DimensionCompatibilityOrBuilder extends
    * 
* * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * * @return Whether the dimensionMetadata field is set. */ boolean hasDimensionMetadata(); /** + * + * *
    * The dimension metadata contains the API name for this compatibility
    * information. The dimension metadata also contains other helpful information
@@ -26,10 +47,13 @@ public interface DimensionCompatibilityOrBuilder extends
    * 
* * .google.analytics.data.v1beta.DimensionMetadata dimension_metadata = 1; + * * @return The dimensionMetadata. */ com.google.analytics.data.v1beta.DimensionMetadata getDimensionMetadata(); /** + * + * *
    * The dimension metadata contains the API name for this compatibility
    * information. The dimension metadata also contains other helpful information
@@ -41,32 +65,41 @@ public interface DimensionCompatibilityOrBuilder extends
   com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionMetadataOrBuilder();
 
   /**
+   *
+   *
    * 
    * The compatibility of this dimension. If the compatibility is COMPATIBLE,
    * this dimension can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return Whether the compatibility field is set. */ boolean hasCompatibility(); /** + * + * *
    * The compatibility of this dimension. If the compatibility is COMPATIBLE,
    * this dimension can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The enum numeric value on the wire for compatibility. */ int getCompatibilityValue(); /** + * + * *
    * The compatibility of this dimension. If the compatibility is COMPATIBLE,
    * this dimension can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The compatibility. */ com.google.analytics.data.v1beta.Compatibility getCompatibility(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java similarity index 66% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java index f8bd17ff..2482d358 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpression.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Used to express a dimension which is the result of a formula of multiple
  * dimensions. Example usages:
@@ -13,30 +30,29 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression}
  */
-public final class DimensionExpression extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DimensionExpression extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionExpression)
     DimensionExpressionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DimensionExpression.newBuilder() to construct.
   private DimensionExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private DimensionExpression() {
-  }
+
+  private DimensionExpression() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DimensionExpression();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DimensionExpression(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,138 +71,176 @@ private DimensionExpression(
           case 0:
             done = true;
             break;
-          case 34: {
-            com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder subBuilder = null;
-            if (oneExpressionCase_ == 4) {
-              subBuilder = ((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_).toBuilder();
-            }
-            oneExpression_ =
-                input.readMessage(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_);
-              oneExpression_ = subBuilder.buildPartial();
-            }
-            oneExpressionCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder subBuilder = null;
-            if (oneExpressionCase_ == 5) {
-              subBuilder = ((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_).toBuilder();
-            }
-            oneExpression_ =
-                input.readMessage(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_);
-              oneExpression_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder
+                  subBuilder = null;
+              if (oneExpressionCase_ == 4) {
+                subBuilder =
+                    ((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression)
+                            oneExpression_)
+                        .toBuilder();
+              }
+              oneExpression_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression)
+                        oneExpression_);
+                oneExpression_ = subBuilder.buildPartial();
+              }
+              oneExpressionCase_ = 4;
+              break;
             }
-            oneExpressionCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder subBuilder = null;
-            if (oneExpressionCase_ == 6) {
-              subBuilder = ((com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_).toBuilder();
+          case 42:
+            {
+              com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder
+                  subBuilder = null;
+              if (oneExpressionCase_ == 5) {
+                subBuilder =
+                    ((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression)
+                            oneExpression_)
+                        .toBuilder();
+              }
+              oneExpression_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression)
+                        oneExpression_);
+                oneExpression_ = subBuilder.buildPartial();
+              }
+              oneExpressionCase_ = 5;
+              break;
             }
-            oneExpression_ =
-                input.readMessage(com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_);
-              oneExpression_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder
+                  subBuilder = null;
+              if (oneExpressionCase_ == 6) {
+                subBuilder =
+                    ((com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression)
+                            oneExpression_)
+                        .toBuilder();
+              }
+              oneExpression_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression
+                          .parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression)
+                        oneExpression_);
+                oneExpression_ = subBuilder.buildPartial();
+              }
+              oneExpressionCase_ = 6;
+              break;
             }
-            oneExpressionCase_ = 6;
-            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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.DimensionExpression.class, com.google.analytics.data.v1beta.DimensionExpression.Builder.class);
+            com.google.analytics.data.v1beta.DimensionExpression.class,
+            com.google.analytics.data.v1beta.DimensionExpression.Builder.class);
   }
 
-  public interface CaseExpressionOrBuilder extends
+  public interface CaseExpressionOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionExpression.CaseExpression)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Name of a dimension. The name must refer back to a name in dimensions
      * field of the request.
      * 
* * string dimension_name = 1; + * * @return The dimensionName. */ java.lang.String getDimensionName(); /** + * + * *
      * Name of a dimension. The name must refer back to a name in dimensions
      * field of the request.
      * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - com.google.protobuf.ByteString - getDimensionNameBytes(); + com.google.protobuf.ByteString getDimensionNameBytes(); } /** + * + * *
    * Used to convert a dimension value to a single case.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression.CaseExpression} */ - public static final class CaseExpression extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CaseExpression extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionExpression.CaseExpression) CaseExpressionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CaseExpression.newBuilder() to construct. private CaseExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CaseExpression() { dimensionName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CaseExpression(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CaseExpression( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -205,53 +259,59 @@ private CaseExpression( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dimensionName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + dimensionName_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.class, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder.class); + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.class, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder.class); } public static final int DIMENSION_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object dimensionName_; /** + * + * *
      * Name of a dimension. The name must refer back to a name in dimensions
      * field of the request.
      * 
* * string dimension_name = 1; + * * @return The dimensionName. */ @java.lang.Override @@ -260,30 +320,30 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** + * + * *
      * Name of a dimension. The name must refer back to a name in dimensions
      * field of the request.
      * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -292,6 +352,7 @@ public java.lang.String getDimensionName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,8 +364,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getDimensionNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } @@ -328,15 +388,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.analytics.data.v1beta.DimensionExpression.CaseExpression)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression other = (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) obj; + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression other = + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) obj; - if (!getDimensionName() - .equals(other.getDimensionName())) return false; + if (!getDimensionName().equals(other.getDimensionName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -356,87 +416,95 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -446,44 +514,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Used to convert a dimension value to a single case.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression.CaseExpression} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionExpression.CaseExpression) com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.class, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder.class); + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.class, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder.class); } - // Construct using com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder() + // Construct using + // com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -493,14 +566,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; } @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getDefaultInstanceForType() { - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + getDefaultInstanceForType() { + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance(); } @java.lang.Override @@ -514,7 +589,8 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression build @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression buildPartial() { - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression result = new com.google.analytics.data.v1beta.DimensionExpression.CaseExpression(this); + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression result = + new com.google.analytics.data.v1beta.DimensionExpression.CaseExpression(this); result.dimensionName_ = dimensionName_; onBuilt(); return result; @@ -524,46 +600,53 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) { - return mergeFrom((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression)other); + return mergeFrom( + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression other) { - if (other == com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression other) { + if (other + == com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance()) return this; if (!other.getDimensionName().isEmpty()) { dimensionName_ = other.dimensionName_; onChanged(); @@ -587,7 +670,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,19 +684,21 @@ public Builder mergeFrom( private java.lang.Object dimensionName_ = ""; /** + * + * *
        * Name of a dimension. The name must refer back to a name in dimensions
        * field of the request.
        * 
* * string dimension_name = 1; + * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -620,21 +707,22 @@ public java.lang.String getDimensionName() { } } /** + * + * *
        * Name of a dimension. The name must refer back to a name in dimensions
        * field of the request.
        * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -642,61 +730,69 @@ public java.lang.String getDimensionName() { } } /** + * + * *
        * Name of a dimension. The name must refer back to a name in dimensions
        * field of the request.
        * 
* * string dimension_name = 1; + * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName( - java.lang.String value) { + public Builder setDimensionName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dimensionName_ = value; onChanged(); return this; } /** + * + * *
        * Name of a dimension. The name must refer back to a name in dimensions
        * field of the request.
        * 
* * string dimension_name = 1; + * * @return This builder for chaining. */ public Builder clearDimensionName() { - + dimensionName_ = getDefaultInstance().getDimensionName(); onChanged(); return this; } /** + * + * *
        * Name of a dimension. The name must refer back to a name in dimensions
        * field of the request.
        * 
* * string dimension_name = 1; + * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dimensionName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -709,30 +805,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionExpression.CaseExpression) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionExpression.CaseExpression) - private static final com.google.analytics.data.v1beta.DimensionExpression.CaseExpression DEFAULT_INSTANCE; + private static final com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionExpression.CaseExpression(); } - public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getDefaultInstance() { + public static com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CaseExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CaseExpression(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CaseExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CaseExpression(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -744,62 +842,75 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getDefaultInstanceForType() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ConcatenateExpressionOrBuilder extends + public interface ConcatenateExpressionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; + * * @return A list containing the dimensionNames. */ - java.util.List - getDimensionNamesList(); + java.util.List getDimensionNamesList(); /** + * + * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; + * * @return The count of dimensionNames. */ int getDimensionNamesCount(); /** + * + * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; + * * @param index The index of the element to return. * @return The dimensionNames at the given index. */ java.lang.String getDimensionNames(int index); /** + * + * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; + * * @param index The index of the value to return. * @return The bytes of the dimensionNames at the given index. */ - com.google.protobuf.ByteString - getDimensionNamesBytes(int index); + com.google.protobuf.ByteString getDimensionNamesBytes(int index); /** + * + * *
      * The delimiter placed between dimension names.
      * Delimiters are often single characters such as "|" or "," but can be
@@ -810,10 +921,13 @@ public interface ConcatenateExpressionOrBuilder extends
      * 
* * string delimiter = 2; + * * @return The delimiter. */ java.lang.String getDelimiter(); /** + * + * *
      * The delimiter placed between dimension names.
      * Delimiters are often single characters such as "|" or "," but can be
@@ -824,27 +938,30 @@ public interface ConcatenateExpressionOrBuilder extends
      * 
* * string delimiter = 2; + * * @return The bytes for delimiter. */ - com.google.protobuf.ByteString - getDelimiterBytes(); + com.google.protobuf.ByteString getDelimiterBytes(); } /** + * + * *
    * Used to combine dimension values to a single dimension.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression} */ - public static final class ConcatenateExpression extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ConcatenateExpression extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) ConcatenateExpressionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConcatenateExpression.newBuilder() to construct. private ConcatenateExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConcatenateExpression() { dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; delimiter_ = ""; @@ -852,16 +969,15 @@ private ConcatenateExpression() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConcatenateExpression(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConcatenateExpression( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -881,35 +997,36 @@ private ConcatenateExpression( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dimensionNames_.add(s); + break; } - dimensionNames_.add(s); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - delimiter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + delimiter_ = 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)) { dimensionNames_ = dimensionNames_.getUnmodifiableView(); @@ -918,53 +1035,65 @@ private ConcatenateExpression( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.class, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder.class); + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.class, + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder + .class); } public static final int DIMENSION_NAMES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList dimensionNames_; /** + * + * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; + * * @return A list containing the dimensionNames. */ - public com.google.protobuf.ProtocolStringList - getDimensionNamesList() { + public com.google.protobuf.ProtocolStringList getDimensionNamesList() { return dimensionNames_; } /** + * + * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; + * * @return The count of dimensionNames. */ public int getDimensionNamesCount() { return dimensionNames_.size(); } /** + * + * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; + * * @param index The index of the element to return. * @return The dimensionNames at the given index. */ @@ -972,23 +1101,27 @@ public java.lang.String getDimensionNames(int index) { return dimensionNames_.get(index); } /** + * + * *
      * Names of dimensions. The names must refer back to names in the dimensions
      * field of the request.
      * 
* * repeated string dimension_names = 1; + * * @param index The index of the value to return. * @return The bytes of the dimensionNames at the given index. */ - public com.google.protobuf.ByteString - getDimensionNamesBytes(int index) { + public com.google.protobuf.ByteString getDimensionNamesBytes(int index) { return dimensionNames_.getByteString(index); } public static final int DELIMITER_FIELD_NUMBER = 2; private volatile java.lang.Object delimiter_; /** + * + * *
      * The delimiter placed between dimension names.
      * Delimiters are often single characters such as "|" or "," but can be
@@ -999,6 +1132,7 @@ public java.lang.String getDimensionNames(int index) {
      * 
* * string delimiter = 2; + * * @return The delimiter. */ @java.lang.Override @@ -1007,14 +1141,15 @@ public java.lang.String getDelimiter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; } } /** + * + * *
      * The delimiter placed between dimension names.
      * Delimiters are often single characters such as "|" or "," but can be
@@ -1025,16 +1160,15 @@ public java.lang.String getDelimiter() {
      * 
* * string delimiter = 2; + * * @return The bytes for delimiter. */ @java.lang.Override - public com.google.protobuf.ByteString - getDelimiterBytes() { + public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1043,6 +1177,7 @@ public java.lang.String getDelimiter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1054,8 +1189,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensionNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionNames_.getRaw(i)); } @@ -1090,17 +1224,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.analytics.data.v1beta.DimensionExpression.ConcatenateExpression)) { + if (!(obj + instanceof com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression other = (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) obj; + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression other = + (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) obj; - if (!getDimensionNamesList() - .equals(other.getDimensionNamesList())) return false; - if (!getDelimiter() - .equals(other.getDelimiter())) return false; + if (!getDimensionNamesList().equals(other.getDimensionNamesList())) return false; + if (!getDelimiter().equals(other.getDelimiter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1123,88 +1257,101 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression 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.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + 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.analytics.data.v1beta.DimensionExpression.ConcatenateExpression prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1214,44 +1361,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Used to combine dimension values to a single dimension.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.class, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder.class); + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.class, + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder + .class); } - // Construct using com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.newBuilder() + // Construct using + // com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1263,19 +1416,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; } @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getDefaultInstanceForType() { - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + getDefaultInstanceForType() { + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression build() { - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression result = buildPartial(); + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1283,8 +1439,10 @@ public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressio } @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression buildPartial() { - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression result = new com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression(this); + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + buildPartial() { + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression result = + new com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { dimensionNames_ = dimensionNames_.getUnmodifiableView(); @@ -1300,46 +1458,54 @@ public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) { - return mergeFrom((com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression)other); + if (other + instanceof com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) { + return mergeFrom( + (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression other) { - if (other == com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression other) { + if (other + == com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + .getDefaultInstance()) return this; if (!other.dimensionNames_.isEmpty()) { if (dimensionNames_.isEmpty()) { dimensionNames_ = other.dimensionNames_; @@ -1369,11 +1535,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parsedMessage = null; + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1382,47 +1551,58 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList dimensionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList dimensionNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDimensionNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dimensionNames_ = new com.google.protobuf.LazyStringArrayList(dimensionNames_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; + * * @return A list containing the dimensionNames. */ - public com.google.protobuf.ProtocolStringList - getDimensionNamesList() { + public com.google.protobuf.ProtocolStringList getDimensionNamesList() { return dimensionNames_.getUnmodifiableView(); } /** + * + * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; + * * @return The count of dimensionNames. */ public int getDimensionNamesCount() { return dimensionNames_.size(); } /** + * + * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; + * * @param index The index of the element to return. * @return The dimensionNames at the given index. */ @@ -1430,85 +1610,95 @@ public java.lang.String getDimensionNames(int index) { return dimensionNames_.get(index); } /** + * + * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; + * * @param index The index of the value to return. * @return The bytes of the dimensionNames at the given index. */ - public com.google.protobuf.ByteString - getDimensionNamesBytes(int index) { + public com.google.protobuf.ByteString getDimensionNamesBytes(int index) { return dimensionNames_.getByteString(index); } /** + * + * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; + * * @param index The index to set the value at. * @param value The dimensionNames to set. * @return This builder for chaining. */ - public Builder setDimensionNames( - int index, java.lang.String value) { + public Builder setDimensionNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDimensionNamesIsMutable(); + throw new NullPointerException(); + } + ensureDimensionNamesIsMutable(); dimensionNames_.set(index, value); onChanged(); return this; } /** + * + * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; + * * @param value The dimensionNames to add. * @return This builder for chaining. */ - public Builder addDimensionNames( - java.lang.String value) { + public Builder addDimensionNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDimensionNamesIsMutable(); + throw new NullPointerException(); + } + ensureDimensionNamesIsMutable(); dimensionNames_.add(value); onChanged(); return this; } /** + * + * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; + * * @param values The dimensionNames to add. * @return This builder for chaining. */ - public Builder addAllDimensionNames( - java.lang.Iterable values) { + public Builder addAllDimensionNames(java.lang.Iterable values) { ensureDimensionNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dimensionNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionNames_); onChanged(); return this; } /** + * + * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; + * * @return This builder for chaining. */ public Builder clearDimensionNames() { @@ -1518,21 +1708,23 @@ public Builder clearDimensionNames() { return this; } /** + * + * *
        * Names of dimensions. The names must refer back to names in the dimensions
        * field of the request.
        * 
* * repeated string dimension_names = 1; + * * @param value The bytes of the dimensionNames to add. * @return This builder for chaining. */ - public Builder addDimensionNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addDimensionNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDimensionNamesIsMutable(); dimensionNames_.add(value); onChanged(); @@ -1541,6 +1733,8 @@ public Builder addDimensionNamesBytes( private java.lang.Object delimiter_ = ""; /** + * + * *
        * The delimiter placed between dimension names.
        * Delimiters are often single characters such as "|" or "," but can be
@@ -1551,13 +1745,13 @@ public Builder addDimensionNamesBytes(
        * 
* * string delimiter = 2; + * * @return The delimiter. */ public java.lang.String getDelimiter() { java.lang.Object ref = delimiter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delimiter_ = s; return s; @@ -1566,6 +1760,8 @@ public java.lang.String getDelimiter() { } } /** + * + * *
        * The delimiter placed between dimension names.
        * Delimiters are often single characters such as "|" or "," but can be
@@ -1576,15 +1772,14 @@ public java.lang.String getDelimiter() {
        * 
* * string delimiter = 2; + * * @return The bytes for delimiter. */ - public com.google.protobuf.ByteString - getDelimiterBytes() { + public com.google.protobuf.ByteString getDelimiterBytes() { java.lang.Object ref = delimiter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delimiter_ = b; return b; } else { @@ -1592,6 +1787,8 @@ public java.lang.String getDelimiter() { } } /** + * + * *
        * The delimiter placed between dimension names.
        * Delimiters are often single characters such as "|" or "," but can be
@@ -1602,20 +1799,22 @@ public java.lang.String getDelimiter() {
        * 
* * string delimiter = 2; + * * @param value The delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiter( - java.lang.String value) { + public Builder setDelimiter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + delimiter_ = value; onChanged(); return this; } /** + * + * *
        * The delimiter placed between dimension names.
        * Delimiters are often single characters such as "|" or "," but can be
@@ -1626,15 +1825,18 @@ public Builder setDelimiter(
        * 
* * string delimiter = 2; + * * @return This builder for chaining. */ public Builder clearDelimiter() { - + delimiter_ = getDefaultInstance().getDelimiter(); onChanged(); return this; } /** + * + * *
        * The delimiter placed between dimension names.
        * Delimiters are often single characters such as "|" or "," but can be
@@ -1645,20 +1847,21 @@ public Builder clearDelimiter() {
        * 
* * string delimiter = 2; + * * @param value The bytes for delimiter to set. * @return This builder for chaining. */ - public Builder setDelimiterBytes( - com.google.protobuf.ByteString value) { + public Builder setDelimiterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + delimiter_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1671,30 +1874,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) - private static final com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression DEFAULT_INSTANCE; + private static final com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression(); + DEFAULT_INSTANCE = + new com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression(); } - public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getDefaultInstance() { + public static com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConcatenateExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConcatenateExpression(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConcatenateExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConcatenateExpression(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1706,22 +1912,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getDefaultInstanceForType() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int oneExpressionCase_ = 0; private java.lang.Object oneExpression_; + public enum OneExpressionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LOWER_CASE(4), UPPER_CASE(5), CONCATENATE(6), ONEEXPRESSION_NOT_SET(0); private final int value; + private OneExpressionCase(int value) { this.value = value; } @@ -1737,31 +1946,38 @@ public static OneExpressionCase valueOf(int value) { public static OneExpressionCase forNumber(int value) { switch (value) { - case 4: return LOWER_CASE; - case 5: return UPPER_CASE; - case 6: return CONCATENATE; - case 0: return ONEEXPRESSION_NOT_SET; - default: return null; + case 4: + return LOWER_CASE; + case 5: + return UPPER_CASE; + case 6: + return CONCATENATE; + case 0: + return ONEEXPRESSION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneExpressionCase - getOneExpressionCase() { - return OneExpressionCase.forNumber( - oneExpressionCase_); + public OneExpressionCase getOneExpressionCase() { + return OneExpressionCase.forNumber(oneExpressionCase_); } public static final int LOWER_CASE_FIELD_NUMBER = 4; /** + * + * *
    * Used to convert a dimension value to lower case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; + * * @return Whether the lowerCase field is set. */ @java.lang.Override @@ -1769,21 +1985,26 @@ public boolean hasLowerCase() { return oneExpressionCase_ == 4; } /** + * + * *
    * Used to convert a dimension value to lower case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; + * * @return The lowerCase. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getLowerCase() { if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } /** + * + * *
    * Used to convert a dimension value to lower case.
    * 
@@ -1791,20 +2012,24 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getLo * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder + getLowerCaseOrBuilder() { if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } public static final int UPPER_CASE_FIELD_NUMBER = 5; /** + * + * *
    * Used to convert a dimension value to upper case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; + * * @return Whether the upperCase field is set. */ @java.lang.Override @@ -1812,21 +2037,26 @@ public boolean hasUpperCase() { return oneExpressionCase_ == 5; } /** + * + * *
    * Used to convert a dimension value to upper case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; + * * @return The upperCase. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getUpperCase() { if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } /** + * + * *
    * Used to convert a dimension value to upper case.
    * 
@@ -1834,21 +2064,26 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getUp * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder + getUpperCaseOrBuilder() { if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; } return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); } public static final int CONCATENATE_FIELD_NUMBER = 6; /** + * + * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * * @return Whether the concatenate field is set. */ @java.lang.Override @@ -1856,38 +2091,52 @@ public boolean hasConcatenate() { return oneExpressionCase_ == 6; } /** + * + * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * * @return The concatenate. */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getConcatenate() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + getConcatenate() { if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) + oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + .getDefaultInstance(); } /** + * + * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder getConcatenateOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder + getConcatenateOrBuilder() { if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) + oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1899,16 +2148,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (oneExpressionCase_ == 4) { - output.writeMessage(4, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); + output.writeMessage( + 4, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); } if (oneExpressionCase_ == 5) { - output.writeMessage(5, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); + output.writeMessage( + 5, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); } if (oneExpressionCase_ == 6) { - output.writeMessage(6, (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_); + output.writeMessage( + 6, + (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) + oneExpression_); } unknownFields.writeTo(output); } @@ -1920,16 +2173,23 @@ public int getSerializedSize() { size = 0; if (oneExpressionCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); } if (oneExpressionCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_); } if (oneExpressionCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, + (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) + oneExpression_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1939,26 +2199,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.analytics.data.v1beta.DimensionExpression)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionExpression other = (com.google.analytics.data.v1beta.DimensionExpression) obj; + com.google.analytics.data.v1beta.DimensionExpression other = + (com.google.analytics.data.v1beta.DimensionExpression) obj; if (!getOneExpressionCase().equals(other.getOneExpressionCase())) return false; switch (oneExpressionCase_) { case 4: - if (!getLowerCase() - .equals(other.getLowerCase())) return false; + if (!getLowerCase().equals(other.getLowerCase())) return false; break; case 5: - if (!getUpperCase() - .equals(other.getUpperCase())) return false; + if (!getUpperCase().equals(other.getUpperCase())) return false; break; case 6: - if (!getConcatenate() - .equals(other.getConcatenate())) return false; + if (!getConcatenate().equals(other.getConcatenate())) return false; break; case 0: default: @@ -1996,96 +2254,103 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionExpression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionExpression parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionExpression parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionExpression parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionExpression parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Used to express a dimension which is the result of a formula of multiple
    * dimensions. Example usages:
@@ -2095,21 +2360,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.DimensionExpression}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionExpression)
       com.google.analytics.data.v1beta.DimensionExpressionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.DimensionExpression.class, com.google.analytics.data.v1beta.DimensionExpression.Builder.class);
+              com.google.analytics.data.v1beta.DimensionExpression.class,
+              com.google.analytics.data.v1beta.DimensionExpression.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.DimensionExpression.newBuilder()
@@ -2117,16 +2384,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();
@@ -2136,9 +2402,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor;
     }
 
     @java.lang.Override
@@ -2157,7 +2423,8 @@ public com.google.analytics.data.v1beta.DimensionExpression build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.DimensionExpression buildPartial() {
-      com.google.analytics.data.v1beta.DimensionExpression result = new com.google.analytics.data.v1beta.DimensionExpression(this);
+      com.google.analytics.data.v1beta.DimensionExpression result =
+          new com.google.analytics.data.v1beta.DimensionExpression(this);
       if (oneExpressionCase_ == 4) {
         if (lowerCaseBuilder_ == null) {
           result.oneExpression_ = oneExpression_;
@@ -2188,38 +2455,39 @@ public com.google.analytics.data.v1beta.DimensionExpression buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.DimensionExpression) {
-        return mergeFrom((com.google.analytics.data.v1beta.DimensionExpression)other);
+        return mergeFrom((com.google.analytics.data.v1beta.DimensionExpression) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2227,23 +2495,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionExpression other) {
-      if (other == com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance()) return this;
+      if (other == com.google.analytics.data.v1beta.DimensionExpression.getDefaultInstance())
+        return this;
       switch (other.getOneExpressionCase()) {
-        case LOWER_CASE: {
-          mergeLowerCase(other.getLowerCase());
-          break;
-        }
-        case UPPER_CASE: {
-          mergeUpperCase(other.getUpperCase());
-          break;
-        }
-        case CONCATENATE: {
-          mergeConcatenate(other.getConcatenate());
-          break;
-        }
-        case ONEEXPRESSION_NOT_SET: {
-          break;
-        }
+        case LOWER_CASE:
+          {
+            mergeLowerCase(other.getLowerCase());
+            break;
+          }
+        case UPPER_CASE:
+          {
+            mergeUpperCase(other.getUpperCase());
+            break;
+          }
+        case CONCATENATE:
+          {
+            mergeConcatenate(other.getConcatenate());
+            break;
+          }
+        case ONEEXPRESSION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2264,7 +2537,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.analytics.data.v1beta.DimensionExpression) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.analytics.data.v1beta.DimensionExpression) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2273,12 +2547,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int oneExpressionCase_ = 0;
     private java.lang.Object oneExpression_;
-    public OneExpressionCase
-        getOneExpressionCase() {
-      return OneExpressionCase.forNumber(
-          oneExpressionCase_);
+
+    public OneExpressionCase getOneExpressionCase() {
+      return OneExpressionCase.forNumber(oneExpressionCase_);
     }
 
     public Builder clearOneExpression() {
@@ -2288,15 +2562,20 @@ public Builder clearOneExpression() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> lowerCaseBuilder_;
+            com.google.analytics.data.v1beta.DimensionExpression.CaseExpression,
+            com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder,
+            com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder>
+        lowerCaseBuilder_;
     /**
+     *
+     *
      * 
      * Used to convert a dimension value to lower case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; + * * @return Whether the lowerCase field is set. */ @java.lang.Override @@ -2304,35 +2583,44 @@ public boolean hasLowerCase() { return oneExpressionCase_ == 4; } /** + * + * *
      * Used to convert a dimension value to lower case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; + * * @return The lowerCase. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getLowerCase() { if (lowerCaseBuilder_ == null) { if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) + oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance(); } else { if (oneExpressionCase_ == 4) { return lowerCaseBuilder_.getMessage(); } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance(); } } /** + * + * *
      * Used to convert a dimension value to lower case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ - public Builder setLowerCase(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { + public Builder setLowerCase( + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { if (lowerCaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2346,6 +2634,8 @@ public Builder setLowerCase(com.google.analytics.data.v1beta.DimensionExpression return this; } /** + * + * *
      * Used to convert a dimension value to lower case.
      * 
@@ -2353,7 +2643,8 @@ public Builder setLowerCase(com.google.analytics.data.v1beta.DimensionExpression * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ public Builder setLowerCase( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder builderForValue) { + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder + builderForValue) { if (lowerCaseBuilder_ == null) { oneExpression_ = builderForValue.build(); onChanged(); @@ -2364,18 +2655,27 @@ public Builder setLowerCase( return this; } /** + * + * *
      * Used to convert a dimension value to lower case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ - public Builder mergeLowerCase(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { + public Builder mergeLowerCase( + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { if (lowerCaseBuilder_ == null) { - if (oneExpressionCase_ == 4 && - oneExpression_ != com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance()) { - oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_) - .mergeFrom(value).buildPartial(); + if (oneExpressionCase_ == 4 + && oneExpression_ + != com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance()) { + oneExpression_ = + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder( + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) + oneExpression_) + .mergeFrom(value) + .buildPartial(); } else { oneExpression_ = value; } @@ -2390,6 +2690,8 @@ public Builder mergeLowerCase(com.google.analytics.data.v1beta.DimensionExpressi return this; } /** + * + * *
      * Used to convert a dimension value to lower case.
      * 
@@ -2413,16 +2715,21 @@ public Builder clearLowerCase() { return this; } /** + * + * *
      * Used to convert a dimension value to lower case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder getLowerCaseBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder + getLowerCaseBuilder() { return getLowerCaseFieldBuilder().getBuilder(); } /** + * + * *
      * Used to convert a dimension value to lower case.
      * 
@@ -2430,17 +2737,22 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Build * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder + getLowerCaseOrBuilder() { if ((oneExpressionCase_ == 4) && (lowerCaseBuilder_ != null)) { return lowerCaseBuilder_.getMessageOrBuilder(); } else { if (oneExpressionCase_ == 4) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) + oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance(); } } /** + * + * *
      * Used to convert a dimension value to lower case.
      * 
@@ -2448,32 +2760,47 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuil * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> getLowerCaseFieldBuilder() { if (lowerCaseBuilder_ == null) { if (!(oneExpressionCase_ == 4)) { - oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); + oneExpression_ = + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance(); } - lowerCaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder>( - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_, + lowerCaseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder>( + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) + oneExpression_, getParentForChildren(), isClean()); oneExpression_ = null; } oneExpressionCase_ = 4; - onChanged();; + onChanged(); + ; return lowerCaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> upperCaseBuilder_; + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> + upperCaseBuilder_; /** + * + * *
      * Used to convert a dimension value to upper case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; + * * @return Whether the upperCase field is set. */ @java.lang.Override @@ -2481,35 +2808,44 @@ public boolean hasUpperCase() { return oneExpressionCase_ == 5; } /** + * + * *
      * Used to convert a dimension value to upper case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; + * * @return The upperCase. */ @java.lang.Override public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getUpperCase() { if (upperCaseBuilder_ == null) { if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) + oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance(); } else { if (oneExpressionCase_ == 5) { return upperCaseBuilder_.getMessage(); } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance(); } } /** + * + * *
      * Used to convert a dimension value to upper case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ - public Builder setUpperCase(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { + public Builder setUpperCase( + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { if (upperCaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2523,6 +2859,8 @@ public Builder setUpperCase(com.google.analytics.data.v1beta.DimensionExpression return this; } /** + * + * *
      * Used to convert a dimension value to upper case.
      * 
@@ -2530,7 +2868,8 @@ public Builder setUpperCase(com.google.analytics.data.v1beta.DimensionExpression * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ public Builder setUpperCase( - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder builderForValue) { + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder + builderForValue) { if (upperCaseBuilder_ == null) { oneExpression_ = builderForValue.build(); onChanged(); @@ -2541,18 +2880,27 @@ public Builder setUpperCase( return this; } /** + * + * *
      * Used to convert a dimension value to upper case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ - public Builder mergeUpperCase(com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { + public Builder mergeUpperCase( + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression value) { if (upperCaseBuilder_ == null) { - if (oneExpressionCase_ == 5 && - oneExpression_ != com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance()) { - oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder((com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_) - .mergeFrom(value).buildPartial(); + if (oneExpressionCase_ == 5 + && oneExpression_ + != com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance()) { + oneExpression_ = + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.newBuilder( + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) + oneExpression_) + .mergeFrom(value) + .buildPartial(); } else { oneExpression_ = value; } @@ -2567,6 +2915,8 @@ public Builder mergeUpperCase(com.google.analytics.data.v1beta.DimensionExpressi return this; } /** + * + * *
      * Used to convert a dimension value to upper case.
      * 
@@ -2590,16 +2940,21 @@ public Builder clearUpperCase() { return this; } /** + * + * *
      * Used to convert a dimension value to upper case.
      * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder getUpperCaseBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder + getUpperCaseBuilder() { return getUpperCaseFieldBuilder().getBuilder(); } /** + * + * *
      * Used to convert a dimension value to upper case.
      * 
@@ -2607,17 +2962,22 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Build * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder + getUpperCaseOrBuilder() { if ((oneExpressionCase_ == 5) && (upperCaseBuilder_ != null)) { return upperCaseBuilder_.getMessageOrBuilder(); } else { if (oneExpressionCase_ == 5) { - return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) + oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance(); } } /** + * + * *
      * Used to convert a dimension value to upper case.
      * 
@@ -2625,33 +2985,50 @@ public com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuil * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder> getUpperCaseFieldBuilder() { if (upperCaseBuilder_ == null) { if (!(oneExpressionCase_ == 5)) { - oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.getDefaultInstance(); + oneExpression_ = + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression + .getDefaultInstance(); } - upperCaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder>( - (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) oneExpression_, + upperCaseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpression.Builder, + com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder>( + (com.google.analytics.data.v1beta.DimensionExpression.CaseExpression) + oneExpression_, getParentForChildren(), isClean()); oneExpression_ = null; } oneExpressionCase_ = 5; - onChanged();; + onChanged(); + ; return upperCaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder> concatenateBuilder_; + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder> + concatenateBuilder_; /** + * + * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * * @return Whether the concatenate field is set. */ @java.lang.Override @@ -2659,37 +3036,51 @@ public boolean hasConcatenate() { return oneExpressionCase_ == 6; } /** + * + * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * * @return The concatenate. */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getConcatenate() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + getConcatenate() { if (concatenateBuilder_ == null) { if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) + oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + .getDefaultInstance(); } else { if (oneExpressionCase_ == 6) { return concatenateBuilder_.getMessage(); } - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + .getDefaultInstance(); } } /** + * + * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * */ - public Builder setConcatenate(com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression value) { + public Builder setConcatenate( + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression value) { if (concatenateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2703,15 +3094,20 @@ public Builder setConcatenate(com.google.analytics.data.v1beta.DimensionExpressi return this; } /** + * + * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * */ public Builder setConcatenate( - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder builderForValue) { + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder + builderForValue) { if (concatenateBuilder_ == null) { oneExpression_ = builderForValue.build(); onChanged(); @@ -2722,19 +3118,30 @@ public Builder setConcatenate( return this; } /** + * + * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * */ - public Builder mergeConcatenate(com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression value) { + public Builder mergeConcatenate( + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression value) { if (concatenateBuilder_ == null) { - if (oneExpressionCase_ == 6 && - oneExpression_ != com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance()) { - oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.newBuilder((com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_) - .mergeFrom(value).buildPartial(); + if (oneExpressionCase_ == 6 + && oneExpression_ + != com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + .getDefaultInstance()) { + oneExpression_ = + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.newBuilder( + (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) + oneExpression_) + .mergeFrom(value) + .buildPartial(); } else { oneExpression_ = value; } @@ -2749,12 +3156,16 @@ public Builder mergeConcatenate(com.google.analytics.data.v1beta.DimensionExpres return this; } /** + * + * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * */ public Builder clearConcatenate() { if (concatenateBuilder_ == null) { @@ -2773,64 +3184,90 @@ public Builder clearConcatenate() { return this; } /** + * + * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * */ - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder getConcatenateBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder + getConcatenateBuilder() { return getConcatenateFieldBuilder().getBuilder(); } /** + * + * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder getConcatenateOrBuilder() { + public com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder + getConcatenateOrBuilder() { if ((oneExpressionCase_ == 6) && (concatenateBuilder_ != null)) { return concatenateBuilder_.getMessageOrBuilder(); } else { if (oneExpressionCase_ == 6) { - return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_; + return (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) + oneExpression_; } - return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); + return com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + .getDefaultInstance(); } } /** + * + * *
      * Used to combine dimension values to a single dimension.
      * For example, dimension "country, city": concatenate(country, ", ", city).
      * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder> + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder> getConcatenateFieldBuilder() { if (concatenateBuilder_ == null) { if (!(oneExpressionCase_ == 6)) { - oneExpression_ = com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.getDefaultInstance(); + oneExpression_ = + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression + .getDefaultInstance(); } - concatenateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder>( - (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) oneExpression_, + concatenateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression, + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder, + com.google.analytics.data.v1beta.DimensionExpression + .ConcatenateExpressionOrBuilder>( + (com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression) + oneExpression_, getParentForChildren(), isClean()); oneExpression_ = null; } oneExpressionCase_ = 6; - onChanged();; + onChanged(); + ; return concatenateBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2840,12 +3277,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionExpression) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionExpression) private static final com.google.analytics.data.v1beta.DimensionExpression DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionExpression(); } @@ -2854,16 +3291,16 @@ public static com.google.analytics.data.v1beta.DimensionExpression getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionExpression(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionExpression(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2878,6 +3315,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DimensionExpression getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java similarity index 73% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java index e887ce5a..2f811745 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionExpressionOrBuilder.java @@ -1,95 +1,142 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DimensionExpressionOrBuilder extends +public interface DimensionExpressionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionExpression) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Used to convert a dimension value to lower case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; + * * @return Whether the lowerCase field is set. */ boolean hasLowerCase(); /** + * + * *
    * Used to convert a dimension value to lower case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; + * * @return The lowerCase. */ com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getLowerCase(); /** + * + * *
    * Used to convert a dimension value to lower case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4; */ - com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder(); + com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder + getLowerCaseOrBuilder(); /** + * + * *
    * Used to convert a dimension value to upper case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; + * * @return Whether the upperCase field is set. */ boolean hasUpperCase(); /** + * + * *
    * Used to convert a dimension value to upper case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; + * * @return The upperCase. */ com.google.analytics.data.v1beta.DimensionExpression.CaseExpression getUpperCase(); /** + * + * *
    * Used to convert a dimension value to upper case.
    * 
* * .google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5; */ - com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder(); + com.google.analytics.data.v1beta.DimensionExpression.CaseExpressionOrBuilder + getUpperCaseOrBuilder(); /** + * + * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * * @return Whether the concatenate field is set. */ boolean hasConcatenate(); /** + * + * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * + * * @return The concatenate. */ com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression getConcatenate(); /** + * + * *
    * Used to combine dimension values to a single dimension.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* - * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * .google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6; + * */ - com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder getConcatenateOrBuilder(); + com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpressionOrBuilder + getConcatenateOrBuilder(); - public com.google.analytics.data.v1beta.DimensionExpression.OneExpressionCase getOneExpressionCase(); + public com.google.analytics.data.v1beta.DimensionExpression.OneExpressionCase + getOneExpressionCase(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java similarity index 68% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java index cfa5a8c3..7742a397 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeader.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Describes a dimension column in the report. Dimensions requested in a report
  * produce column entries within rows and DimensionHeaders. However, dimensions
@@ -13,31 +30,31 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.DimensionHeader}
  */
-public final class DimensionHeader extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DimensionHeader extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionHeader)
     DimensionHeaderOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DimensionHeader.newBuilder() to construct.
   private DimensionHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DimensionHeader() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DimensionHeader();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DimensionHeader(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,52 +73,58 @@ private DimensionHeader(
           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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.DimensionHeader.class, com.google.analytics.data.v1beta.DimensionHeader.Builder.class);
+            com.google.analytics.data.v1beta.DimensionHeader.class,
+            com.google.analytics.data.v1beta.DimensionHeader.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The dimension's name.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -110,29 +133,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The dimension's 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 { @@ -141,6 +164,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,8 +176,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -177,15 +200,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.analytics.data.v1beta.DimensionHeader)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionHeader other = (com.google.analytics.data.v1beta.DimensionHeader) obj; + com.google.analytics.data.v1beta.DimensionHeader other = + (com.google.analytics.data.v1beta.DimensionHeader) 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,97 +227,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionHeader parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionHeader parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionHeader parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionHeader parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 dimension column in the report. Dimensions requested in a report
    * produce column entries within rows and DimensionHeaders. However, dimensions
@@ -304,21 +334,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.DimensionHeader}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionHeader)
       com.google.analytics.data.v1beta.DimensionHeaderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.DimensionHeader.class, com.google.analytics.data.v1beta.DimensionHeader.Builder.class);
+              com.google.analytics.data.v1beta.DimensionHeader.class,
+              com.google.analytics.data.v1beta.DimensionHeader.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.DimensionHeader.newBuilder()
@@ -326,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();
@@ -345,9 +376,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +397,8 @@ public com.google.analytics.data.v1beta.DimensionHeader build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.DimensionHeader buildPartial() {
-      com.google.analytics.data.v1beta.DimensionHeader result = new com.google.analytics.data.v1beta.DimensionHeader(this);
+      com.google.analytics.data.v1beta.DimensionHeader result =
+          new com.google.analytics.data.v1beta.DimensionHeader(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +408,39 @@ public com.google.analytics.data.v1beta.DimensionHeader buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.DimensionHeader) {
-        return mergeFrom((com.google.analytics.data.v1beta.DimensionHeader)other);
+        return mergeFrom((com.google.analytics.data.v1beta.DimensionHeader) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionHeader other) {
-      if (other == com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance()) return this;
+      if (other == com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -451,18 +485,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The dimension's 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; @@ -471,20 +507,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The dimension's 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 { @@ -492,61 +529,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The dimension's 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; } /** + * + * *
      * The dimension's name.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The dimension's 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -556,12 +600,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionHeader) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionHeader) private static final com.google.analytics.data.v1beta.DimensionHeader DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionHeader(); } @@ -570,16 +614,16 @@ public static com.google.analytics.data.v1beta.DimensionHeader getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionHeader(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionHeader parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionHeader(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,6 +638,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DimensionHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java new file mode 100644 index 00000000..75b20154 --- /dev/null +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionHeaderOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public interface DimensionHeaderOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionHeader) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The dimension's name.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The dimension's name.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java similarity index 74% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java index bf021d32..bdaafe63 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadata.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Explains a dimension.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionMetadata} */ -public final class DimensionMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DimensionMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionMetadata) DimensionMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DimensionMetadata.newBuilder() to construct. private DimensionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DimensionMetadata() { apiName_ = ""; uiName_ = ""; @@ -29,16 +47,15 @@ private DimensionMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DimensionMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DimensionMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,58 +75,62 @@ private DimensionMetadata( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - apiName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - uiName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + apiName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + uiName_ = s; + break; } - deprecatedApiNames_.add(s); - break; - } - case 40: { + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - customDefinition_ = input.readBool(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + deprecatedApiNames_.add(s); + break; + } + case 40: + { + customDefinition_ = input.readBool(); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - category_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + category_ = 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)) { deprecatedApiNames_ = deprecatedApiNames_.getUnmodifiableView(); @@ -118,28 +139,34 @@ private DimensionMetadata( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionMetadata.class, com.google.analytics.data.v1beta.DimensionMetadata.Builder.class); + com.google.analytics.data.v1beta.DimensionMetadata.class, + com.google.analytics.data.v1beta.DimensionMetadata.Builder.class); } public static final int API_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object apiName_; /** + * + * *
    * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
    * example, `eventName`.
    * 
* * string api_name = 1; + * * @return The apiName. */ @java.lang.Override @@ -148,30 +175,30 @@ public java.lang.String getApiName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiName_ = s; return s; } } /** + * + * *
    * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
    * example, `eventName`.
    * 
* * string api_name = 1; + * * @return The bytes for apiName. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiNameBytes() { + public com.google.protobuf.ByteString getApiNameBytes() { java.lang.Object ref = apiName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiName_ = b; return b; } else { @@ -182,12 +209,15 @@ public java.lang.String getApiName() { public static final int UI_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object uiName_; /** + * + * *
    * This dimension's name within the Google Analytics user interface. For
    * example, `Event name`.
    * 
* * string ui_name = 2; + * * @return The uiName. */ @java.lang.Override @@ -196,30 +226,30 @@ public java.lang.String getUiName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uiName_ = s; return s; } } /** + * + * *
    * This dimension's name within the Google Analytics user interface. For
    * example, `Event name`.
    * 
* * string ui_name = 2; + * * @return The bytes for uiName. */ @java.lang.Override - public com.google.protobuf.ByteString - getUiNameBytes() { + public com.google.protobuf.ByteString getUiNameBytes() { java.lang.Object ref = uiName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uiName_ = b; return b; } else { @@ -230,11 +260,14 @@ public java.lang.String getUiName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Description of how this dimension is used and calculated.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -243,29 +276,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Description of how this dimension is used and calculated.
    * 
* * 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 { @@ -276,6 +309,8 @@ public java.lang.String getDescription() { public static final int DEPRECATED_API_NAMES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList deprecatedApiNames_; /** + * + * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -284,13 +319,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string deprecated_api_names = 4; + * * @return A list containing the deprecatedApiNames. */ - public com.google.protobuf.ProtocolStringList - getDeprecatedApiNamesList() { + public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { return deprecatedApiNames_; } /** + * + * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -299,12 +336,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string deprecated_api_names = 4; + * * @return The count of deprecatedApiNames. */ public int getDeprecatedApiNamesCount() { return deprecatedApiNames_.size(); } /** + * + * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -313,6 +353,7 @@ public int getDeprecatedApiNamesCount() {
    * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ @@ -320,6 +361,8 @@ public java.lang.String getDeprecatedApiNames(int index) { return deprecatedApiNames_.get(index); } /** + * + * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -328,22 +371,25 @@ public java.lang.String getDeprecatedApiNames(int index) {
    * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - public com.google.protobuf.ByteString - getDeprecatedApiNamesBytes(int index) { + public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { return deprecatedApiNames_.getByteString(index); } public static final int CUSTOM_DEFINITION_FIELD_NUMBER = 5; private boolean customDefinition_; /** + * + * *
    * True if the dimension is a custom dimension for this property.
    * 
* * bool custom_definition = 5; + * * @return The customDefinition. */ @java.lang.Override @@ -354,12 +400,15 @@ public boolean getCustomDefinition() { public static final int CATEGORY_FIELD_NUMBER = 7; private volatile java.lang.Object category_; /** + * + * *
    * The display name of the category that this dimension belongs to. Similar
    * dimensions and metrics are categorized together.
    * 
* * string category = 7; + * * @return The category. */ @java.lang.Override @@ -368,30 +417,30 @@ public java.lang.String getCategory() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; } } /** + * + * *
    * The display name of the category that this dimension belongs to. Similar
    * dimensions and metrics are categorized together.
    * 
* * string category = 7; + * * @return The bytes for category. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryBytes() { + public com.google.protobuf.ByteString getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); category_ = b; return b; } else { @@ -400,6 +449,7 @@ public java.lang.String getCategory() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -411,8 +461,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getApiNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apiName_); } @@ -458,8 +507,7 @@ public int getSerializedSize() { size += 1 * getDeprecatedApiNamesList().size(); } if (customDefinition_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, customDefinition_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, customDefinition_); } if (!getCategoryBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, category_); @@ -472,25 +520,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.analytics.data.v1beta.DimensionMetadata)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionMetadata other = (com.google.analytics.data.v1beta.DimensionMetadata) obj; - - if (!getApiName() - .equals(other.getApiName())) return false; - if (!getUiName() - .equals(other.getUiName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getDeprecatedApiNamesList() - .equals(other.getDeprecatedApiNamesList())) return false; - if (getCustomDefinition() - != other.getCustomDefinition()) return false; - if (!getCategory() - .equals(other.getCategory())) return false; + com.google.analytics.data.v1beta.DimensionMetadata other = + (com.google.analytics.data.v1beta.DimensionMetadata) obj; + + if (!getApiName().equals(other.getApiName())) return false; + if (!getUiName().equals(other.getUiName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDeprecatedApiNamesList().equals(other.getDeprecatedApiNamesList())) return false; + if (getCustomDefinition() != other.getCustomDefinition()) return false; + if (!getCategory().equals(other.getCategory())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -513,8 +556,7 @@ public int hashCode() { hash = (53 * hash) + getDeprecatedApiNamesList().hashCode(); } hash = (37 * hash) + CUSTOM_DEFINITION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCustomDefinition()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustomDefinition()); hash = (37 * hash) + CATEGORY_FIELD_NUMBER; hash = (53 * hash) + getCategory().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -523,117 +565,126 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Explains a dimension.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionMetadata) com.google.analytics.data.v1beta.DimensionMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionMetadata.class, com.google.analytics.data.v1beta.DimensionMetadata.Builder.class); + com.google.analytics.data.v1beta.DimensionMetadata.class, + com.google.analytics.data.v1beta.DimensionMetadata.Builder.class); } // Construct using com.google.analytics.data.v1beta.DimensionMetadata.newBuilder() @@ -641,16 +692,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(); @@ -670,9 +720,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; } @java.lang.Override @@ -691,7 +741,8 @@ public com.google.analytics.data.v1beta.DimensionMetadata build() { @java.lang.Override public com.google.analytics.data.v1beta.DimensionMetadata buildPartial() { - com.google.analytics.data.v1beta.DimensionMetadata result = new com.google.analytics.data.v1beta.DimensionMetadata(this); + com.google.analytics.data.v1beta.DimensionMetadata result = + new com.google.analytics.data.v1beta.DimensionMetadata(this); int from_bitField0_ = bitField0_; result.apiName_ = apiName_; result.uiName_ = uiName_; @@ -711,38 +762,39 @@ public com.google.analytics.data.v1beta.DimensionMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.DimensionMetadata) { - return mergeFrom((com.google.analytics.data.v1beta.DimensionMetadata)other); + return mergeFrom((com.google.analytics.data.v1beta.DimensionMetadata) other); } else { super.mergeFrom(other); return this; @@ -750,7 +802,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionMetadata other) { - if (other == com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()) + return this; if (!other.getApiName().isEmpty()) { apiName_ = other.apiName_; onChanged(); @@ -799,7 +852,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.DimensionMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.DimensionMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -808,23 +862,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object apiName_ = ""; /** + * + * *
      * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
      * example, `eventName`.
      * 
* * string api_name = 1; + * * @return The apiName. */ public java.lang.String getApiName() { java.lang.Object ref = apiName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiName_ = s; return s; @@ -833,21 +890,22 @@ public java.lang.String getApiName() { } } /** + * + * *
      * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
      * example, `eventName`.
      * 
* * string api_name = 1; + * * @return The bytes for apiName. */ - public com.google.protobuf.ByteString - getApiNameBytes() { + public com.google.protobuf.ByteString getApiNameBytes() { java.lang.Object ref = apiName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiName_ = b; return b; } else { @@ -855,57 +913,64 @@ public java.lang.String getApiName() { } } /** + * + * *
      * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
      * example, `eventName`.
      * 
* * string api_name = 1; + * * @param value The apiName to set. * @return This builder for chaining. */ - public Builder setApiName( - java.lang.String value) { + public Builder setApiName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiName_ = value; onChanged(); return this; } /** + * + * *
      * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
      * example, `eventName`.
      * 
* * string api_name = 1; + * * @return This builder for chaining. */ public Builder clearApiName() { - + apiName_ = getDefaultInstance().getApiName(); onChanged(); return this; } /** + * + * *
      * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
      * example, `eventName`.
      * 
* * string api_name = 1; + * * @param value The bytes for apiName to set. * @return This builder for chaining. */ - public Builder setApiNameBytes( - com.google.protobuf.ByteString value) { + public Builder setApiNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiName_ = value; onChanged(); return this; @@ -913,19 +978,21 @@ public Builder setApiNameBytes( private java.lang.Object uiName_ = ""; /** + * + * *
      * This dimension's name within the Google Analytics user interface. For
      * example, `Event name`.
      * 
* * string ui_name = 2; + * * @return The uiName. */ public java.lang.String getUiName() { java.lang.Object ref = uiName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uiName_ = s; return s; @@ -934,21 +1001,22 @@ public java.lang.String getUiName() { } } /** + * + * *
      * This dimension's name within the Google Analytics user interface. For
      * example, `Event name`.
      * 
* * string ui_name = 2; + * * @return The bytes for uiName. */ - public com.google.protobuf.ByteString - getUiNameBytes() { + public com.google.protobuf.ByteString getUiNameBytes() { java.lang.Object ref = uiName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uiName_ = b; return b; } else { @@ -956,57 +1024,64 @@ public java.lang.String getUiName() { } } /** + * + * *
      * This dimension's name within the Google Analytics user interface. For
      * example, `Event name`.
      * 
* * string ui_name = 2; + * * @param value The uiName to set. * @return This builder for chaining. */ - public Builder setUiName( - java.lang.String value) { + public Builder setUiName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uiName_ = value; onChanged(); return this; } /** + * + * *
      * This dimension's name within the Google Analytics user interface. For
      * example, `Event name`.
      * 
* * string ui_name = 2; + * * @return This builder for chaining. */ public Builder clearUiName() { - + uiName_ = getDefaultInstance().getUiName(); onChanged(); return this; } /** + * + * *
      * This dimension's name within the Google Analytics user interface. For
      * example, `Event name`.
      * 
* * string ui_name = 2; + * * @param value The bytes for uiName to set. * @return This builder for chaining. */ - public Builder setUiNameBytes( - com.google.protobuf.ByteString value) { + public Builder setUiNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uiName_ = value; onChanged(); return this; @@ -1014,18 +1089,20 @@ public Builder setUiNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of how this dimension is used and calculated.
      * 
* * 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; @@ -1034,20 +1111,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of how this dimension is used and calculated.
      * 
* * 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 { @@ -1055,67 +1133,78 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of how this dimension is used and calculated.
      * 
* * 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; } /** + * + * *
      * Description of how this dimension is used and calculated.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Description of how this dimension is used and calculated.
      * 
* * 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 com.google.protobuf.LazyStringList deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList deprecatedApiNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDeprecatedApiNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(deprecatedApiNames_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1124,13 +1213,15 @@ private void ensureDeprecatedApiNamesIsMutable() {
      * 
* * repeated string deprecated_api_names = 4; + * * @return A list containing the deprecatedApiNames. */ - public com.google.protobuf.ProtocolStringList - getDeprecatedApiNamesList() { + public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { return deprecatedApiNames_.getUnmodifiableView(); } /** + * + * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1139,12 +1230,15 @@ private void ensureDeprecatedApiNamesIsMutable() {
      * 
* * repeated string deprecated_api_names = 4; + * * @return The count of deprecatedApiNames. */ public int getDeprecatedApiNamesCount() { return deprecatedApiNames_.size(); } /** + * + * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1153,6 +1247,7 @@ public int getDeprecatedApiNamesCount() {
      * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ @@ -1160,6 +1255,8 @@ public java.lang.String getDeprecatedApiNames(int index) { return deprecatedApiNames_.get(index); } /** + * + * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1168,14 +1265,16 @@ public java.lang.String getDeprecatedApiNames(int index) {
      * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - public com.google.protobuf.ByteString - getDeprecatedApiNamesBytes(int index) { + public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { return deprecatedApiNames_.getByteString(index); } /** + * + * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1184,21 +1283,23 @@ public java.lang.String getDeprecatedApiNames(int index) {
      * 
* * repeated string deprecated_api_names = 4; + * * @param index The index to set the value at. * @param value The deprecatedApiNames to set. * @return This builder for chaining. */ - public Builder setDeprecatedApiNames( - int index, java.lang.String value) { + public Builder setDeprecatedApiNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); + throw new NullPointerException(); + } + ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.set(index, value); onChanged(); return this; } /** + * + * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1207,20 +1308,22 @@ public Builder setDeprecatedApiNames(
      * 
* * repeated string deprecated_api_names = 4; + * * @param value The deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addDeprecatedApiNames( - java.lang.String value) { + public Builder addDeprecatedApiNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); + throw new NullPointerException(); + } + ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.add(value); onChanged(); return this; } /** + * + * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1229,18 +1332,19 @@ public Builder addDeprecatedApiNames(
      * 
* * repeated string deprecated_api_names = 4; + * * @param values The deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addAllDeprecatedApiNames( - java.lang.Iterable values) { + public Builder addAllDeprecatedApiNames(java.lang.Iterable values) { ensureDeprecatedApiNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, deprecatedApiNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deprecatedApiNames_); onChanged(); return this; } /** + * + * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1249,6 +1353,7 @@ public Builder addAllDeprecatedApiNames(
      * 
* * repeated string deprecated_api_names = 4; + * * @return This builder for chaining. */ public Builder clearDeprecatedApiNames() { @@ -1258,6 +1363,8 @@ public Builder clearDeprecatedApiNames() { return this; } /** + * + * *
      * Still usable but deprecated names for this dimension. If populated, this
      * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -1266,28 +1373,31 @@ public Builder clearDeprecatedApiNames() {
      * 
* * repeated string deprecated_api_names = 4; + * * @param value The bytes of the deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addDeprecatedApiNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.add(value); onChanged(); return this; } - private boolean customDefinition_ ; + private boolean customDefinition_; /** + * + * *
      * True if the dimension is a custom dimension for this property.
      * 
* * bool custom_definition = 5; + * * @return The customDefinition. */ @java.lang.Override @@ -1295,30 +1405,36 @@ public boolean getCustomDefinition() { return customDefinition_; } /** + * + * *
      * True if the dimension is a custom dimension for this property.
      * 
* * bool custom_definition = 5; + * * @param value The customDefinition to set. * @return This builder for chaining. */ public Builder setCustomDefinition(boolean value) { - + customDefinition_ = value; onChanged(); return this; } /** + * + * *
      * True if the dimension is a custom dimension for this property.
      * 
* * bool custom_definition = 5; + * * @return This builder for chaining. */ public Builder clearCustomDefinition() { - + customDefinition_ = false; onChanged(); return this; @@ -1326,19 +1442,21 @@ public Builder clearCustomDefinition() { private java.lang.Object category_ = ""; /** + * + * *
      * The display name of the category that this dimension belongs to. Similar
      * dimensions and metrics are categorized together.
      * 
* * string category = 7; + * * @return The category. */ public java.lang.String getCategory() { java.lang.Object ref = category_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; @@ -1347,21 +1465,22 @@ public java.lang.String getCategory() { } } /** + * + * *
      * The display name of the category that this dimension belongs to. Similar
      * dimensions and metrics are categorized together.
      * 
* * string category = 7; + * * @return The bytes for category. */ - public com.google.protobuf.ByteString - getCategoryBytes() { + public com.google.protobuf.ByteString getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); category_ = b; return b; } else { @@ -1369,64 +1488,71 @@ public java.lang.String getCategory() { } } /** + * + * *
      * The display name of the category that this dimension belongs to. Similar
      * dimensions and metrics are categorized together.
      * 
* * string category = 7; + * * @param value The category to set. * @return This builder for chaining. */ - public Builder setCategory( - java.lang.String value) { + public Builder setCategory(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + category_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the category that this dimension belongs to. Similar
      * dimensions and metrics are categorized together.
      * 
* * string category = 7; + * * @return This builder for chaining. */ public Builder clearCategory() { - + category_ = getDefaultInstance().getCategory(); onChanged(); return this; } /** + * + * *
      * The display name of the category that this dimension belongs to. Similar
      * dimensions and metrics are categorized together.
      * 
* * string category = 7; + * * @param value The bytes for category to set. * @return This builder for chaining. */ - public Builder setCategoryBytes( - com.google.protobuf.ByteString value) { + public Builder setCategoryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + category_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1436,12 +1562,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionMetadata) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionMetadata) private static final com.google.analytics.data.v1beta.DimensionMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionMetadata(); } @@ -1450,16 +1576,16 @@ public static com.google.analytics.data.v1beta.DimensionMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1474,6 +1600,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DimensionMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java similarity index 78% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java index 6650907f..eeecb63d 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionMetadataOrBuilder.java @@ -1,77 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DimensionMetadataOrBuilder extends +public interface DimensionMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
    * example, `eventName`.
    * 
* * string api_name = 1; + * * @return The apiName. */ java.lang.String getApiName(); /** + * + * *
    * This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
    * example, `eventName`.
    * 
* * string api_name = 1; + * * @return The bytes for apiName. */ - com.google.protobuf.ByteString - getApiNameBytes(); + com.google.protobuf.ByteString getApiNameBytes(); /** + * + * *
    * This dimension's name within the Google Analytics user interface. For
    * example, `Event name`.
    * 
* * string ui_name = 2; + * * @return The uiName. */ java.lang.String getUiName(); /** + * + * *
    * This dimension's name within the Google Analytics user interface. For
    * example, `Event name`.
    * 
* * string ui_name = 2; + * * @return The bytes for uiName. */ - com.google.protobuf.ByteString - getUiNameBytes(); + com.google.protobuf.ByteString getUiNameBytes(); /** + * + * *
    * Description of how this dimension is used and calculated.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of how this dimension is used and calculated.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -80,11 +113,13 @@ public interface DimensionMetadataOrBuilder extends
    * 
* * repeated string deprecated_api_names = 4; + * * @return A list containing the deprecatedApiNames. */ - java.util.List - getDeprecatedApiNamesList(); + java.util.List getDeprecatedApiNamesList(); /** + * + * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -93,10 +128,13 @@ public interface DimensionMetadataOrBuilder extends
    * 
* * repeated string deprecated_api_names = 4; + * * @return The count of deprecatedApiNames. */ int getDeprecatedApiNamesCount(); /** + * + * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -105,11 +143,14 @@ public interface DimensionMetadataOrBuilder extends
    * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ java.lang.String getDeprecatedApiNames(int index); /** + * + * *
    * Still usable but deprecated names for this dimension. If populated, this
    * dimension is available by either `apiName` or one of `deprecatedApiNames`
@@ -118,41 +159,49 @@ public interface DimensionMetadataOrBuilder extends
    * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - com.google.protobuf.ByteString - getDeprecatedApiNamesBytes(int index); + com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index); /** + * + * *
    * True if the dimension is a custom dimension for this property.
    * 
* * bool custom_definition = 5; + * * @return The customDefinition. */ boolean getCustomDefinition(); /** + * + * *
    * The display name of the category that this dimension belongs to. Similar
    * dimensions and metrics are categorized together.
    * 
* * string category = 7; + * * @return The category. */ java.lang.String getCategory(); /** + * + * *
    * The display name of the category that this dimension belongs to. Similar
    * dimensions and metrics are categorized together.
    * 
* * string category = 7; + * * @return The bytes for category. */ - com.google.protobuf.ByteString - getCategoryBytes(); + com.google.protobuf.ByteString getCategoryBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java similarity index 79% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java index 416f38de..26ab4db3 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DimensionOrBuilder extends +public interface DimensionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Dimension) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the dimension. See the [API
    * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -22,10 +40,13 @@ public interface DimensionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the dimension. See the [API
    * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
@@ -40,32 +61,40 @@ public interface DimensionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; + * * @return Whether the dimensionExpression field is set. */ boolean hasDimensionExpression(); /** + * + * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
    * 
* * .google.analytics.data.v1beta.DimensionExpression dimension_expression = 2; + * * @return The dimensionExpression. */ com.google.analytics.data.v1beta.DimensionExpression getDimensionExpression(); /** + * + * *
    * One dimension can be the result of an expression of multiple dimensions.
    * For example, dimension "country, city": concatenate(country, ", ", city).
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java
similarity index 69%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java
index 30c1b026..524b4c88 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValue.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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
+ *
+ *
  * 
  * The value of a dimension.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionValue} */ -public final class DimensionValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DimensionValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.DimensionValue) DimensionValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DimensionValue.newBuilder() to construct. private DimensionValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DimensionValue() { - } + + private DimensionValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DimensionValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DimensionValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,58 @@ private DimensionValue( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - oneValueCase_ = 1; - oneValue_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + oneValueCase_ = 1; + oneValue_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionValue.class, com.google.analytics.data.v1beta.DimensionValue.Builder.class); + com.google.analytics.data.v1beta.DimensionValue.class, + com.google.analytics.data.v1beta.DimensionValue.Builder.class); } private int oneValueCase_ = 0; private java.lang.Object oneValue_; + public enum OneValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE(1), ONEVALUE_NOT_SET(0); private final int value; + private OneValueCase(int value) { this.value = value; } @@ -113,40 +135,48 @@ public static OneValueCase valueOf(int value) { public static OneValueCase forNumber(int value) { switch (value) { - case 1: return VALUE; - case 0: return ONEVALUE_NOT_SET; - default: return null; + case 1: + return VALUE; + case 0: + return ONEVALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneValueCase - getOneValueCase() { - return OneValueCase.forNumber( - oneValueCase_); + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); } public static final int VALUE_FIELD_NUMBER = 1; /** + * + * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; + * * @return Whether the value field is set. */ public boolean hasValue() { return oneValueCase_ == 1; } /** + * + * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; + * * @return The value. */ public java.lang.String getValue() { @@ -157,8 +187,7 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (oneValueCase_ == 1) { oneValue_ = s; @@ -167,23 +196,24 @@ public java.lang.String getValue() { } } /** + * + * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = ""; if (oneValueCase_ == 1) { ref = oneValue_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (oneValueCase_ == 1) { oneValue_ = b; } @@ -194,6 +224,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (oneValueCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oneValue_); } @@ -230,18 +260,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.analytics.data.v1beta.DimensionValue)) { return super.equals(obj); } - com.google.analytics.data.v1beta.DimensionValue other = (com.google.analytics.data.v1beta.DimensionValue) obj; + com.google.analytics.data.v1beta.DimensionValue other = + (com.google.analytics.data.v1beta.DimensionValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 1: - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; break; case 0: default: @@ -270,118 +300,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.DimensionValue parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.DimensionValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.DimensionValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionValue 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.analytics.data.v1beta.DimensionValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.DimensionValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.DimensionValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.DimensionValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.DimensionValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.DimensionValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 value of a dimension.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.DimensionValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.DimensionValue) com.google.analytics.data.v1beta.DimensionValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.DimensionValue.class, com.google.analytics.data.v1beta.DimensionValue.Builder.class); + com.google.analytics.data.v1beta.DimensionValue.class, + com.google.analytics.data.v1beta.DimensionValue.Builder.class); } // Construct using com.google.analytics.data.v1beta.DimensionValue.newBuilder() @@ -389,16 +428,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(); @@ -408,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; } @java.lang.Override @@ -429,7 +467,8 @@ public com.google.analytics.data.v1beta.DimensionValue build() { @java.lang.Override public com.google.analytics.data.v1beta.DimensionValue buildPartial() { - com.google.analytics.data.v1beta.DimensionValue result = new com.google.analytics.data.v1beta.DimensionValue(this); + com.google.analytics.data.v1beta.DimensionValue result = + new com.google.analytics.data.v1beta.DimensionValue(this); if (oneValueCase_ == 1) { result.oneValue_ = oneValue_; } @@ -442,38 +481,39 @@ public com.google.analytics.data.v1beta.DimensionValue buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.DimensionValue) { - return mergeFrom((com.google.analytics.data.v1beta.DimensionValue)other); + return mergeFrom((com.google.analytics.data.v1beta.DimensionValue) other); } else { super.mergeFrom(other); return this; @@ -481,17 +521,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.DimensionValue other) { - if (other == com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()) + return this; switch (other.getOneValueCase()) { - case VALUE: { - oneValueCase_ = 1; - oneValue_ = other.oneValue_; - onChanged(); - break; - } - case ONEVALUE_NOT_SET: { - break; - } + case VALUE: + { + oneValueCase_ = 1; + oneValue_ = other.oneValue_; + onChanged(); + break; + } + case ONEVALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -521,12 +564,12 @@ public Builder mergeFrom( } return this; } + private int oneValueCase_ = 0; private java.lang.Object oneValue_; - public OneValueCase - getOneValueCase() { - return OneValueCase.forNumber( - oneValueCase_); + + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); } public Builder clearOneValue() { @@ -536,13 +579,15 @@ public Builder clearOneValue() { return this; } - /** + * + * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; + * * @return Whether the value field is set. */ @java.lang.Override @@ -550,11 +595,14 @@ public boolean hasValue() { return oneValueCase_ == 1; } /** + * + * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; + * * @return The value. */ @java.lang.Override @@ -564,8 +612,7 @@ public java.lang.String getValue() { ref = oneValue_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (oneValueCase_ == 1) { oneValue_ = s; @@ -576,24 +623,25 @@ public java.lang.String getValue() { } } /** + * + * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = ""; if (oneValueCase_ == 1) { ref = oneValue_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (oneValueCase_ == 1) { oneValue_ = b; } @@ -603,30 +651,35 @@ public java.lang.String getValue() { } } /** + * + * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - oneValueCase_ = 1; + throw new NullPointerException(); + } + oneValueCase_ = 1; oneValue_ = value; onChanged(); return this; } /** + * + * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -638,28 +691,30 @@ public Builder clearValue() { return this; } /** + * + * *
      * Value as a string if the dimension type is a string.
      * 
* * string value = 1; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); oneValueCase_ = 1; oneValue_ = 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); } @@ -669,12 +724,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.DimensionValue) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.DimensionValue) private static final com.google.analytics.data.v1beta.DimensionValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.DimensionValue(); } @@ -683,16 +738,16 @@ public static com.google.analytics.data.v1beta.DimensionValue getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -707,6 +762,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.DimensionValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java index 3449192b..b2edeaa4 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/DimensionValueOrBuilder.java @@ -1,40 +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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface DimensionValueOrBuilder extends +public interface DimensionValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.DimensionValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * Value as a string if the dimension type is a string.
    * 
* * string value = 1; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); public com.google.analytics.data.v1beta.DimensionValue.OneValueCase getOneValueCase(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.java similarity index 73% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.java index 453d518b..41a6c038 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Filter.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * An expression to filter dimension or metric values.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter} */ -public final class Filter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Filter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Filter) FilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Filter() { fieldName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Filter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Filter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,169 +70,212 @@ private Filter( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - fieldName_ = s; - break; - } - case 26: { - com.google.analytics.data.v1beta.Filter.StringFilter.Builder subBuilder = null; - if (oneFilterCase_ == 3) { - subBuilder = ((com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_).toBuilder(); - } - oneFilter_ = - input.readMessage(com.google.analytics.data.v1beta.Filter.StringFilter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); - } - oneFilterCase_ = 3; - break; - } - case 34: { - com.google.analytics.data.v1beta.Filter.InListFilter.Builder subBuilder = null; - if (oneFilterCase_ == 4) { - subBuilder = ((com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_).toBuilder(); - } - oneFilter_ = - input.readMessage(com.google.analytics.data.v1beta.Filter.InListFilter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); + fieldName_ = s; + break; } - oneFilterCase_ = 4; - break; - } - case 42: { - com.google.analytics.data.v1beta.Filter.NumericFilter.Builder subBuilder = null; - if (oneFilterCase_ == 5) { - subBuilder = ((com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_).toBuilder(); + case 26: + { + com.google.analytics.data.v1beta.Filter.StringFilter.Builder subBuilder = null; + if (oneFilterCase_ == 3) { + subBuilder = + ((com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_).toBuilder(); + } + oneFilter_ = + input.readMessage( + com.google.analytics.data.v1beta.Filter.StringFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); + } + oneFilterCase_ = 3; + break; } - oneFilter_ = - input.readMessage(com.google.analytics.data.v1beta.Filter.NumericFilter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); + case 34: + { + com.google.analytics.data.v1beta.Filter.InListFilter.Builder subBuilder = null; + if (oneFilterCase_ == 4) { + subBuilder = + ((com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_).toBuilder(); + } + oneFilter_ = + input.readMessage( + com.google.analytics.data.v1beta.Filter.InListFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); + } + oneFilterCase_ = 4; + break; } - oneFilterCase_ = 5; - break; - } - case 50: { - com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder subBuilder = null; - if (oneFilterCase_ == 6) { - subBuilder = ((com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_).toBuilder(); + case 42: + { + com.google.analytics.data.v1beta.Filter.NumericFilter.Builder subBuilder = null; + if (oneFilterCase_ == 5) { + subBuilder = + ((com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_) + .toBuilder(); + } + oneFilter_ = + input.readMessage( + com.google.analytics.data.v1beta.Filter.NumericFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); + } + oneFilterCase_ = 5; + break; } - oneFilter_ = - input.readMessage(com.google.analytics.data.v1beta.Filter.BetweenFilter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_); - oneFilter_ = subBuilder.buildPartial(); + case 50: + { + com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder subBuilder = null; + if (oneFilterCase_ == 6) { + subBuilder = + ((com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_) + .toBuilder(); + } + oneFilter_ = + input.readMessage( + com.google.analytics.data.v1beta.Filter.BetweenFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); + } + oneFilterCase_ = 6; + break; } - oneFilterCase_ = 6; - 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.class, com.google.analytics.data.v1beta.Filter.Builder.class); + com.google.analytics.data.v1beta.Filter.class, + com.google.analytics.data.v1beta.Filter.Builder.class); } - public interface StringFilterOrBuilder extends + public interface StringFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Filter.StringFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; + * * @return The enum numeric value on the wire for matchType. */ int getMatchTypeValue(); /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; + * * @return The matchType. */ com.google.analytics.data.v1beta.Filter.StringFilter.MatchType getMatchType(); /** + * + * *
      * The string value used for the matching.
      * 
* * string value = 2; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
      * The string value used for the matching.
      * 
* * string value = 2; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; + * * @return The caseSensitive. */ boolean getCaseSensitive(); } /** + * + * *
    * The filter for string
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.StringFilter} */ - public static final class StringFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StringFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Filter.StringFilter) StringFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringFilter.newBuilder() to construct. private StringFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StringFilter() { matchType_ = 0; value_ = ""; @@ -223,16 +283,15 @@ private StringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StringFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -251,65 +310,72 @@ private StringFilter( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - matchType_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - value_ = s; - break; - } - case 24: { + matchType_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - caseSensitive_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + value_ = s; + break; + } + case 24: + { + caseSensitive_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.StringFilter.class, com.google.analytics.data.v1beta.Filter.StringFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.StringFilter.class, + com.google.analytics.data.v1beta.Filter.StringFilter.Builder.class); } /** + * + * *
      * The match type of a string filter
      * 
* * Protobuf enum {@code google.analytics.data.v1beta.Filter.StringFilter.MatchType} */ - public enum MatchType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified
        * 
@@ -318,6 +384,8 @@ public enum MatchType */ MATCH_TYPE_UNSPECIFIED(0), /** + * + * *
        * Exact match of the string value.
        * 
@@ -326,6 +394,8 @@ public enum MatchType */ EXACT(1), /** + * + * *
        * Begins with the string value.
        * 
@@ -334,6 +404,8 @@ public enum MatchType */ BEGINS_WITH(2), /** + * + * *
        * Ends with the string value.
        * 
@@ -342,6 +414,8 @@ public enum MatchType */ ENDS_WITH(3), /** + * + * *
        * Contains the string value.
        * 
@@ -350,6 +424,8 @@ public enum MatchType */ CONTAINS(4), /** + * + * *
        * Full regular expression match with the string value.
        * 
@@ -358,6 +434,8 @@ public enum MatchType */ FULL_REGEXP(5), /** + * + * *
        * Partial regular expression match with the string value.
        * 
@@ -369,6 +447,8 @@ public enum MatchType ; /** + * + * *
        * Unspecified
        * 
@@ -377,6 +457,8 @@ public enum MatchType */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Exact match of the string value.
        * 
@@ -385,6 +467,8 @@ public enum MatchType */ public static final int EXACT_VALUE = 1; /** + * + * *
        * Begins with the string value.
        * 
@@ -393,6 +477,8 @@ public enum MatchType */ public static final int BEGINS_WITH_VALUE = 2; /** + * + * *
        * Ends with the string value.
        * 
@@ -401,6 +487,8 @@ public enum MatchType */ public static final int ENDS_WITH_VALUE = 3; /** + * + * *
        * Contains the string value.
        * 
@@ -409,6 +497,8 @@ public enum MatchType */ public static final int CONTAINS_VALUE = 4; /** + * + * *
        * Full regular expression match with the string value.
        * 
@@ -417,6 +507,8 @@ public enum MatchType */ public static final int FULL_REGEXP_VALUE = 5; /** + * + * *
        * Partial regular expression match with the string value.
        * 
@@ -425,7 +517,6 @@ public enum MatchType */ public static final int PARTIAL_REGEXP_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -450,53 +541,59 @@ public static MatchType valueOf(int value) { */ public static MatchType forNumber(int value) { switch (value) { - case 0: return MATCH_TYPE_UNSPECIFIED; - case 1: return EXACT; - case 2: return BEGINS_WITH; - case 3: return ENDS_WITH; - case 4: return CONTAINS; - case 5: return FULL_REGEXP; - case 6: return PARTIAL_REGEXP; - default: return null; + case 0: + return MATCH_TYPE_UNSPECIFIED; + case 1: + return EXACT; + case 2: + return BEGINS_WITH; + case 3: + return ENDS_WITH; + case 4: + return CONTAINS; + case 5: + return FULL_REGEXP; + case 6: + return PARTIAL_REGEXP; + 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< - MatchType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MatchType findValueByNumber(int number) { - return MatchType.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 MatchType findValueByNumber(int number) { + return MatchType.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.analytics.data.v1beta.Filter.StringFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.data.v1beta.Filter.StringFilter.getDescriptor() + .getEnumTypes() + .get(0); } private static final MatchType[] VALUES = values(); - public static MatchType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MatchType 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; @@ -516,38 +613,52 @@ private MatchType(int value) { public static final int MATCH_TYPE_FIELD_NUMBER = 1; private int matchType_; /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; + * * @return The enum numeric value on the wire for matchType. */ - @java.lang.Override public int getMatchTypeValue() { + @java.lang.Override + public int getMatchTypeValue() { return matchType_; } /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; + * * @return The matchType. */ - @java.lang.Override public com.google.analytics.data.v1beta.Filter.StringFilter.MatchType getMatchType() { + @java.lang.Override + public com.google.analytics.data.v1beta.Filter.StringFilter.MatchType getMatchType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Filter.StringFilter.MatchType result = com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.valueOf(matchType_); - return result == null ? com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.Filter.StringFilter.MatchType result = + com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.valueOf(matchType_); + return result == null + ? com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** + * + * *
      * The string value used for the matching.
      * 
* * string value = 2; + * * @return The value. */ @java.lang.Override @@ -556,29 +667,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
      * The string value used for the matching.
      * 
* * string value = 2; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object 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); value_ = b; return b; } else { @@ -589,11 +700,14 @@ public java.lang.String getValue() { public static final int CASE_SENSITIVE_FIELD_NUMBER = 3; private boolean caseSensitive_; /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; + * * @return The caseSensitive. */ @java.lang.Override @@ -602,6 +716,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -613,9 +728,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (matchType_ != com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (matchType_ + != com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, matchType_); } if (!getValueBytes().isEmpty()) { @@ -633,16 +749,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (matchType_ != com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, matchType_); + if (matchType_ + != com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, matchType_); } if (!getValueBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, caseSensitive_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, caseSensitive_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -652,18 +768,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.analytics.data.v1beta.Filter.StringFilter)) { return super.equals(obj); } - com.google.analytics.data.v1beta.Filter.StringFilter other = (com.google.analytics.data.v1beta.Filter.StringFilter) obj; + com.google.analytics.data.v1beta.Filter.StringFilter other = + (com.google.analytics.data.v1beta.Filter.StringFilter) obj; if (matchType_ != other.matchType_) return false; - if (!getValue() - .equals(other.getValue())) return false; - if (getCaseSensitive() - != other.getCaseSensitive()) return false; + if (!getValue().equals(other.getValue())) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -680,95 +795,101 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.StringFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Filter.StringFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.StringFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.StringFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.Filter.StringFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.Filter.StringFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -778,27 +899,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The filter for string
      * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.StringFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Filter.StringFilter) com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.StringFilter.class, com.google.analytics.data.v1beta.Filter.StringFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.StringFilter.class, + com.google.analytics.data.v1beta.Filter.StringFilter.Builder.class); } // Construct using com.google.analytics.data.v1beta.Filter.StringFilter.newBuilder() @@ -806,16 +932,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(); @@ -829,9 +954,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; } @java.lang.Override @@ -850,7 +975,8 @@ public com.google.analytics.data.v1beta.Filter.StringFilter build() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.StringFilter buildPartial() { - com.google.analytics.data.v1beta.Filter.StringFilter result = new com.google.analytics.data.v1beta.Filter.StringFilter(this); + com.google.analytics.data.v1beta.Filter.StringFilter result = + new com.google.analytics.data.v1beta.Filter.StringFilter(this); result.matchType_ = matchType_; result.value_ = value_; result.caseSensitive_ = caseSensitive_; @@ -862,38 +988,41 @@ public com.google.analytics.data.v1beta.Filter.StringFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Filter.StringFilter) { - return mergeFrom((com.google.analytics.data.v1beta.Filter.StringFilter)other); + return mergeFrom((com.google.analytics.data.v1beta.Filter.StringFilter) other); } else { super.mergeFrom(other); return this; @@ -901,7 +1030,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.Filter.StringFilter other) { - if (other == com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance()) + return this; if (other.matchType_ != 0) { setMatchTypeValue(other.getMatchTypeValue()); } @@ -931,7 +1061,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.Filter.StringFilter) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.Filter.StringFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -943,73 +1074,93 @@ public Builder mergeFrom( private int matchType_ = 0; /** + * + * *
        * The match type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; + * * @return The enum numeric value on the wire for matchType. */ - @java.lang.Override public int getMatchTypeValue() { + @java.lang.Override + public int getMatchTypeValue() { return matchType_; } /** + * + * *
        * The match type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; + * * @param value The enum numeric value on the wire for matchType to set. * @return This builder for chaining. */ public Builder setMatchTypeValue(int value) { - + matchType_ = value; onChanged(); return this; } /** + * + * *
        * The match type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; + * * @return The matchType. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.StringFilter.MatchType getMatchType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Filter.StringFilter.MatchType result = com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.valueOf(matchType_); - return result == null ? com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.Filter.StringFilter.MatchType result = + com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.valueOf(matchType_); + return result == null + ? com.google.analytics.data.v1beta.Filter.StringFilter.MatchType.UNRECOGNIZED + : result; } /** + * + * *
        * The match type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; + * * @param value The matchType to set. * @return This builder for chaining. */ - public Builder setMatchType(com.google.analytics.data.v1beta.Filter.StringFilter.MatchType value) { + public Builder setMatchType( + com.google.analytics.data.v1beta.Filter.StringFilter.MatchType value) { if (value == null) { throw new NullPointerException(); } - + matchType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The match type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1; + * * @return This builder for chaining. */ public Builder clearMatchType() { - + matchType_ = 0; onChanged(); return this; @@ -1017,18 +1168,20 @@ public Builder clearMatchType() { private java.lang.Object value_ = ""; /** + * + * *
        * The string value used for the matching.
        * 
* * string value = 2; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object 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(); value_ = s; return s; @@ -1037,20 +1190,21 @@ public java.lang.String getValue() { } } /** + * + * *
        * The string value used for the matching.
        * 
* * string value = 2; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object 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); value_ = b; return b; } else { @@ -1058,66 +1212,76 @@ public java.lang.String getValue() { } } /** + * + * *
        * The string value used for the matching.
        * 
* * string value = 2; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
        * The string value used for the matching.
        * 
* * string value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** + * + * *
        * The string value used for the matching.
        * 
* * string value = 2; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; } - private boolean caseSensitive_ ; + private boolean caseSensitive_; /** + * + * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 3; + * * @return The caseSensitive. */ @java.lang.Override @@ -1125,34 +1289,41 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 3; + * * @param value The caseSensitive to set. * @return This builder for chaining. */ public Builder setCaseSensitive(boolean value) { - + caseSensitive_ = value; onChanged(); return this; } /** + * + * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 3; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { - + caseSensitive_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1165,12 +1336,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Filter.StringFilter) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Filter.StringFilter) private static final com.google.analytics.data.v1beta.Filter.StringFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Filter.StringFilter(); } @@ -1179,16 +1350,16 @@ public static com.google.analytics.data.v1beta.Filter.StringFilter getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StringFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StringFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1203,100 +1374,115 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Filter.StringFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InListFilterOrBuilder extends + public interface InListFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Filter.InListFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; + * * @return A list containing the values. */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; + * * @return The count of values. */ int getValuesCount(); /** + * + * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; + * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** + * + * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString - getValuesBytes(int index); + com.google.protobuf.ByteString getValuesBytes(int index); /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; + * * @return The caseSensitive. */ boolean getCaseSensitive(); } /** + * + * *
    * The result needs to be in a list of string values.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.InListFilter} */ - public static final class InListFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class InListFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Filter.InListFilter) InListFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InListFilter.newBuilder() to construct. private InListFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InListFilter() { values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InListFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InListFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1316,34 +1502,34 @@ private InListFilter( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + values_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + values_.add(s); + break; } - values_.add(s); - break; - } - case 16: { - - caseSensitive_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + caseSensitive_ = 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)) { values_ = values_.getUnmodifiableView(); @@ -1352,53 +1538,64 @@ private InListFilter( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.InListFilter.class, com.google.analytics.data.v1beta.Filter.InListFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.InListFilter.class, + com.google.analytics.data.v1beta.Filter.InListFilter.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList values_; /** + * + * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_; } /** + * + * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -1406,28 +1603,33 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
      * The list of string values.
      * Must be non-empty.
      * 
* * repeated string values = 1; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } public static final int CASE_SENSITIVE_FIELD_NUMBER = 2; private boolean caseSensitive_; /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; + * * @return The caseSensitive. */ @java.lang.Override @@ -1436,6 +1638,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1447,8 +1650,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); } @@ -1473,8 +1675,7 @@ public int getSerializedSize() { size += 1 * getValuesList().size(); } if (caseSensitive_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, caseSensitive_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, caseSensitive_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1484,17 +1685,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.analytics.data.v1beta.Filter.InListFilter)) { return super.equals(obj); } - com.google.analytics.data.v1beta.Filter.InListFilter other = (com.google.analytics.data.v1beta.Filter.InListFilter) obj; + com.google.analytics.data.v1beta.Filter.InListFilter other = + (com.google.analytics.data.v1beta.Filter.InListFilter) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; - if (getCaseSensitive() - != other.getCaseSensitive()) return false; + if (!getValuesList().equals(other.getValuesList())) return false; + if (getCaseSensitive() != other.getCaseSensitive()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1511,95 +1711,101 @@ public int hashCode() { hash = (53 * hash) + getValuesList().hashCode(); } hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCaseSensitive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.InListFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Filter.InListFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.InListFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.InListFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.Filter.InListFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.Filter.InListFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1609,27 +1815,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The result needs to be in a list of string values.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.InListFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Filter.InListFilter) com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.InListFilter.class, com.google.analytics.data.v1beta.Filter.InListFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.InListFilter.class, + com.google.analytics.data.v1beta.Filter.InListFilter.Builder.class); } // Construct using com.google.analytics.data.v1beta.Filter.InListFilter.newBuilder() @@ -1637,16 +1848,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(); @@ -1658,9 +1868,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; } @java.lang.Override @@ -1679,7 +1889,8 @@ public com.google.analytics.data.v1beta.Filter.InListFilter build() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.InListFilter buildPartial() { - com.google.analytics.data.v1beta.Filter.InListFilter result = new com.google.analytics.data.v1beta.Filter.InListFilter(this); + com.google.analytics.data.v1beta.Filter.InListFilter result = + new com.google.analytics.data.v1beta.Filter.InListFilter(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { values_ = values_.getUnmodifiableView(); @@ -1695,38 +1906,41 @@ public com.google.analytics.data.v1beta.Filter.InListFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Filter.InListFilter) { - return mergeFrom((com.google.analytics.data.v1beta.Filter.InListFilter)other); + return mergeFrom((com.google.analytics.data.v1beta.Filter.InListFilter) other); } else { super.mergeFrom(other); return this; @@ -1734,7 +1948,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.Filter.InListFilter other) { - if (other == com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance()) + return this; if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; @@ -1767,7 +1982,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.Filter.InListFilter) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.Filter.InListFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1776,47 +1992,58 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList values_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_.getUnmodifiableView(); } /** + * + * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -1824,85 +2051,95 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } /** + * + * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; + * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues( - int index, java.lang.String value) { + public Builder setValues(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** + * + * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; + * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues( - java.lang.String value) { + public Builder addValues(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** + * + * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; + * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues( - java.lang.Iterable values) { + public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); return this; } /** + * + * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; + * * @return This builder for chaining. */ public Builder clearValues() { @@ -1912,34 +2149,39 @@ public Builder clearValues() { return this; } /** + * + * *
        * The list of string values.
        * Must be non-empty.
        * 
* * repeated string values = 1; + * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { + public Builder addValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } - private boolean caseSensitive_ ; + private boolean caseSensitive_; /** + * + * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 2; + * * @return The caseSensitive. */ @java.lang.Override @@ -1947,34 +2189,41 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 2; + * * @param value The caseSensitive to set. * @return This builder for chaining. */ public Builder setCaseSensitive(boolean value) { - + caseSensitive_ = value; onChanged(); return this; } /** + * + * *
        * If true, the string value is case sensitive.
        * 
* * bool case_sensitive = 2; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { - + caseSensitive_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1987,12 +2236,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Filter.InListFilter) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Filter.InListFilter) private static final com.google.analytics.data.v1beta.Filter.InListFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Filter.InListFilter(); } @@ -2001,16 +2250,16 @@ public static com.google.analytics.data.v1beta.Filter.InListFilter getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InListFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InListFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InListFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InListFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2025,51 +2274,65 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Filter.InListFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NumericFilterOrBuilder extends + public interface NumericFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Filter.NumericFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; + * * @return The enum numeric value on the wire for operation. */ int getOperationValue(); /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; + * * @return The operation. */ com.google.analytics.data.v1beta.Filter.NumericFilter.Operation getOperation(); /** + * + * *
      * A numeric value or a date value.
      * 
* * .google.analytics.data.v1beta.NumericValue value = 2; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
      * A numeric value or a date value.
      * 
* * .google.analytics.data.v1beta.NumericValue value = 2; + * * @return The value. */ com.google.analytics.data.v1beta.NumericValue getValue(); /** + * + * *
      * A numeric value or a date value.
      * 
@@ -2079,37 +2342,39 @@ public interface NumericFilterOrBuilder extends com.google.analytics.data.v1beta.NumericValueOrBuilder getValueOrBuilder(); } /** + * + * *
    * Filters for numeric or date values.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.NumericFilter} */ - public static final class NumericFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NumericFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Filter.NumericFilter) NumericFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericFilter.newBuilder() to construct. private NumericFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NumericFilter() { operation_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NumericFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private NumericFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2128,67 +2393,76 @@ private NumericFilter( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - operation_ = rawValue; - break; - } - case 18: { - com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); + operation_ = rawValue; + break; } - value_ = input.readMessage(com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); + case 18: + { + com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); + } + value_ = + input.readMessage( + com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.NumericFilter.class, com.google.analytics.data.v1beta.Filter.NumericFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.NumericFilter.class, + com.google.analytics.data.v1beta.Filter.NumericFilter.Builder.class); } /** + * + * *
      * The operation applied to a numeric filter
      * 
* * Protobuf enum {@code google.analytics.data.v1beta.Filter.NumericFilter.Operation} */ - public enum Operation - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operation implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -2197,6 +2471,8 @@ public enum Operation */ OPERATION_UNSPECIFIED(0), /** + * + * *
        * Equal
        * 
@@ -2205,6 +2481,8 @@ public enum Operation */ EQUAL(1), /** + * + * *
        * Less than
        * 
@@ -2213,6 +2491,8 @@ public enum Operation */ LESS_THAN(2), /** + * + * *
        * Less than or equal
        * 
@@ -2221,6 +2501,8 @@ public enum Operation */ LESS_THAN_OR_EQUAL(3), /** + * + * *
        * Greater than
        * 
@@ -2229,6 +2511,8 @@ public enum Operation */ GREATER_THAN(4), /** + * + * *
        * Greater than or equal
        * 
@@ -2240,6 +2524,8 @@ public enum Operation ; /** + * + * *
        * Unspecified.
        * 
@@ -2248,6 +2534,8 @@ public enum Operation */ public static final int OPERATION_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Equal
        * 
@@ -2256,6 +2544,8 @@ public enum Operation */ public static final int EQUAL_VALUE = 1; /** + * + * *
        * Less than
        * 
@@ -2264,6 +2554,8 @@ public enum Operation */ public static final int LESS_THAN_VALUE = 2; /** + * + * *
        * Less than or equal
        * 
@@ -2272,6 +2564,8 @@ public enum Operation */ public static final int LESS_THAN_OR_EQUAL_VALUE = 3; /** + * + * *
        * Greater than
        * 
@@ -2280,6 +2574,8 @@ public enum Operation */ public static final int GREATER_THAN_VALUE = 4; /** + * + * *
        * Greater than or equal
        * 
@@ -2288,7 +2584,6 @@ public enum Operation */ public static final int GREATER_THAN_OR_EQUAL_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2313,52 +2608,57 @@ public static Operation valueOf(int value) { */ public static Operation forNumber(int value) { switch (value) { - case 0: return OPERATION_UNSPECIFIED; - case 1: return EQUAL; - case 2: return LESS_THAN; - case 3: return LESS_THAN_OR_EQUAL; - case 4: return GREATER_THAN; - case 5: return GREATER_THAN_OR_EQUAL; - default: return null; + case 0: + return OPERATION_UNSPECIFIED; + case 1: + return EQUAL; + case 2: + return LESS_THAN; + case 3: + return LESS_THAN_OR_EQUAL; + case 4: + return GREATER_THAN; + case 5: + return GREATER_THAN_OR_EQUAL; + 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< - Operation> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operation findValueByNumber(int number) { - return Operation.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 Operation findValueByNumber(int number) { + return Operation.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.analytics.data.v1beta.Filter.NumericFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.data.v1beta.Filter.NumericFilter.getDescriptor() + .getEnumTypes() + .get(0); } private static final Operation[] VALUES = values(); - public static Operation valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operation 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; @@ -2378,38 +2678,52 @@ private Operation(int value) { public static final int OPERATION_FIELD_NUMBER = 1; private int operation_; /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; + * * @return The enum numeric value on the wire for operation. */ - @java.lang.Override public int getOperationValue() { + @java.lang.Override + public int getOperationValue() { return operation_; } /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; + * * @return The operation. */ - @java.lang.Override public com.google.analytics.data.v1beta.Filter.NumericFilter.Operation getOperation() { + @java.lang.Override + public com.google.analytics.data.v1beta.Filter.NumericFilter.Operation getOperation() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Filter.NumericFilter.Operation result = com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.valueOf(operation_); - return result == null ? com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.Filter.NumericFilter.Operation result = + com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.valueOf(operation_); + return result == null + ? com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.analytics.data.v1beta.NumericValue value_; /** + * + * *
      * A numeric value or a date value.
      * 
* * .google.analytics.data.v1beta.NumericValue value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -2417,18 +2731,25 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
      * A numeric value or a date value.
      * 
* * .google.analytics.data.v1beta.NumericValue value = 2; + * * @return The value. */ @java.lang.Override public com.google.analytics.data.v1beta.NumericValue getValue() { - return value_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() + : value_; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -2441,6 +2762,7 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getValueOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2452,9 +2774,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (operation_ != com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (operation_ + != com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.OPERATION_UNSPECIFIED + .getNumber()) { output.writeEnum(1, operation_); } if (value_ != null) { @@ -2469,13 +2792,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (operation_ != com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, operation_); + if (operation_ + != com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.OPERATION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, operation_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2485,18 +2808,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.analytics.data.v1beta.Filter.NumericFilter)) { return super.equals(obj); } - com.google.analytics.data.v1beta.Filter.NumericFilter other = (com.google.analytics.data.v1beta.Filter.NumericFilter) obj; + com.google.analytics.data.v1beta.Filter.NumericFilter other = + (com.google.analytics.data.v1beta.Filter.NumericFilter) obj; if (operation_ != other.operation_) 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; @@ -2521,87 +2844,94 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.NumericFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.NumericFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.Filter.NumericFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.Filter.NumericFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2611,27 +2941,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Filters for numeric or date values.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.NumericFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Filter.NumericFilter) com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.NumericFilter.class, com.google.analytics.data.v1beta.Filter.NumericFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.NumericFilter.class, + com.google.analytics.data.v1beta.Filter.NumericFilter.Builder.class); } // Construct using com.google.analytics.data.v1beta.Filter.NumericFilter.newBuilder() @@ -2639,16 +2974,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(); @@ -2664,9 +2998,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; } @java.lang.Override @@ -2685,7 +3019,8 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter build() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.NumericFilter buildPartial() { - com.google.analytics.data.v1beta.Filter.NumericFilter result = new com.google.analytics.data.v1beta.Filter.NumericFilter(this); + com.google.analytics.data.v1beta.Filter.NumericFilter result = + new com.google.analytics.data.v1beta.Filter.NumericFilter(this); result.operation_ = operation_; if (valueBuilder_ == null) { result.value_ = value_; @@ -2700,38 +3035,41 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Filter.NumericFilter) { - return mergeFrom((com.google.analytics.data.v1beta.Filter.NumericFilter)other); + return mergeFrom((com.google.analytics.data.v1beta.Filter.NumericFilter) other); } else { super.mergeFrom(other); return this; @@ -2739,7 +3077,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.Filter.NumericFilter other) { - if (other == com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance()) + return this; if (other.operation_ != 0) { setOperationValue(other.getOperationValue()); } @@ -2765,7 +3104,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.Filter.NumericFilter) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.Filter.NumericFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2777,73 +3117,93 @@ public Builder mergeFrom( private int operation_ = 0; /** + * + * *
        * The operation type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; + * * @return The enum numeric value on the wire for operation. */ - @java.lang.Override public int getOperationValue() { + @java.lang.Override + public int getOperationValue() { return operation_; } /** + * + * *
        * The operation type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; + * * @param value The enum numeric value on the wire for operation to set. * @return This builder for chaining. */ public Builder setOperationValue(int value) { - + operation_ = value; onChanged(); return this; } /** + * + * *
        * The operation type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; + * * @return The operation. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.NumericFilter.Operation getOperation() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Filter.NumericFilter.Operation result = com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.valueOf(operation_); - return result == null ? com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.Filter.NumericFilter.Operation result = + com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.valueOf(operation_); + return result == null + ? com.google.analytics.data.v1beta.Filter.NumericFilter.Operation.UNRECOGNIZED + : result; } /** + * + * *
        * The operation type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; + * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation(com.google.analytics.data.v1beta.Filter.NumericFilter.Operation value) { + public Builder setOperation( + com.google.analytics.data.v1beta.Filter.NumericFilter.Operation value) { if (value == null) { throw new NullPointerException(); } - + operation_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The operation type for this filter.
        * 
* * .google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1; + * * @return This builder for chaining. */ public Builder clearOperation() { - + operation_ = 0; onChanged(); return this; @@ -2851,34 +3211,47 @@ public Builder clearOperation() { private com.google.analytics.data.v1beta.NumericValue value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> valueBuilder_; + com.google.analytics.data.v1beta.NumericValue, + com.google.analytics.data.v1beta.NumericValue.Builder, + com.google.analytics.data.v1beta.NumericValueOrBuilder> + valueBuilder_; /** + * + * *
        * A numeric value or a date value.
        * 
* * .google.analytics.data.v1beta.NumericValue value = 2; + * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** + * + * *
        * A numeric value or a date value.
        * 
* * .google.analytics.data.v1beta.NumericValue value = 2; + * * @return The value. */ public com.google.analytics.data.v1beta.NumericValue getValue() { if (valueBuilder_ == null) { - return value_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() + : value_; } else { return valueBuilder_.getMessage(); } } /** + * + * *
        * A numeric value or a date value.
        * 
@@ -2899,6 +3272,8 @@ public Builder setValue(com.google.analytics.data.v1beta.NumericValue value) { return this; } /** + * + * *
        * A numeric value or a date value.
        * 
@@ -2917,6 +3292,8 @@ public Builder setValue( return this; } /** + * + * *
        * A numeric value or a date value.
        * 
@@ -2927,7 +3304,9 @@ public Builder mergeValue(com.google.analytics.data.v1beta.NumericValue value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.analytics.data.v1beta.NumericValue.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.NumericValue.newBuilder(value_) + .mergeFrom(value) + .buildPartial(); } else { value_ = value; } @@ -2939,6 +3318,8 @@ public Builder mergeValue(com.google.analytics.data.v1beta.NumericValue value) { return this; } /** + * + * *
        * A numeric value or a date value.
        * 
@@ -2957,6 +3338,8 @@ public Builder clearValue() { return this; } /** + * + * *
        * A numeric value or a date value.
        * 
@@ -2964,11 +3347,13 @@ public Builder clearValue() { * .google.analytics.data.v1beta.NumericValue value = 2; */ public com.google.analytics.data.v1beta.NumericValue.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** + * + * *
        * A numeric value or a date value.
        * 
@@ -2979,11 +3364,14 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getValueOrBuilder( if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() + : value_; } } /** + * + * *
        * A numeric value or a date value.
        * 
@@ -2991,18 +3379,22 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getValueOrBuilder( * .google.analytics.data.v1beta.NumericValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> + com.google.analytics.data.v1beta.NumericValue, + com.google.analytics.data.v1beta.NumericValue.Builder, + com.google.analytics.data.v1beta.NumericValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.NumericValue, + com.google.analytics.data.v1beta.NumericValue.Builder, + com.google.analytics.data.v1beta.NumericValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3015,12 +3407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Filter.NumericFilter) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Filter.NumericFilter) private static final com.google.analytics.data.v1beta.Filter.NumericFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Filter.NumericFilter(); } @@ -3029,16 +3421,16 @@ public static com.google.analytics.data.v1beta.Filter.NumericFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NumericFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NumericFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NumericFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3053,32 +3445,40 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Filter.NumericFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BetweenFilterOrBuilder extends + public interface BetweenFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Filter.BetweenFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Begins with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; + * * @return Whether the fromValue field is set. */ boolean hasFromValue(); /** + * + * *
      * Begins with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; + * * @return The fromValue. */ com.google.analytics.data.v1beta.NumericValue getFromValue(); /** + * + * *
      * Begins with this number.
      * 
@@ -3088,24 +3488,32 @@ public interface BetweenFilterOrBuilder extends com.google.analytics.data.v1beta.NumericValueOrBuilder getFromValueOrBuilder(); /** + * + * *
      * Ends with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; + * * @return Whether the toValue field is set. */ boolean hasToValue(); /** + * + * *
      * Ends with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; + * * @return The toValue. */ com.google.analytics.data.v1beta.NumericValue getToValue(); /** + * + * *
      * Ends with this number.
      * 
@@ -3115,36 +3523,37 @@ public interface BetweenFilterOrBuilder extends com.google.analytics.data.v1beta.NumericValueOrBuilder getToValueOrBuilder(); } /** + * + * *
    * To express that the result needs to be between two numbers (inclusive).
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.BetweenFilter} */ - public static final class BetweenFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BetweenFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Filter.BetweenFilter) BetweenFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BetweenFilter.newBuilder() to construct. private BetweenFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BetweenFilter() { - } + + private BetweenFilter() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BetweenFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BetweenFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3163,72 +3572,83 @@ private BetweenFilter( case 0: done = true; break; - case 10: { - com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; - if (fromValue_ != null) { - subBuilder = fromValue_.toBuilder(); + case 10: + { + com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; + if (fromValue_ != null) { + subBuilder = fromValue_.toBuilder(); + } + fromValue_ = + input.readMessage( + com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fromValue_); + fromValue_ = subBuilder.buildPartial(); + } + + break; } - fromValue_ = input.readMessage(com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fromValue_); - fromValue_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; - if (toValue_ != null) { - subBuilder = toValue_.toBuilder(); - } - toValue_ = input.readMessage(com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(toValue_); - toValue_ = subBuilder.buildPartial(); + case 18: + { + com.google.analytics.data.v1beta.NumericValue.Builder subBuilder = null; + if (toValue_ != null) { + subBuilder = toValue_.toBuilder(); + } + toValue_ = + input.readMessage( + com.google.analytics.data.v1beta.NumericValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(toValue_); + toValue_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.BetweenFilter.class, com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.BetweenFilter.class, + com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder.class); } public static final int FROM_VALUE_FIELD_NUMBER = 1; private com.google.analytics.data.v1beta.NumericValue fromValue_; /** + * + * *
      * Begins with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; + * * @return Whether the fromValue field is set. */ @java.lang.Override @@ -3236,18 +3656,25 @@ public boolean hasFromValue() { return fromValue_ != null; } /** + * + * *
      * Begins with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; + * * @return The fromValue. */ @java.lang.Override public com.google.analytics.data.v1beta.NumericValue getFromValue() { - return fromValue_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() + : fromValue_; } /** + * + * *
      * Begins with this number.
      * 
@@ -3262,11 +3689,14 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getFromValueOrBuil public static final int TO_VALUE_FIELD_NUMBER = 2; private com.google.analytics.data.v1beta.NumericValue toValue_; /** + * + * *
      * Ends with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; + * * @return Whether the toValue field is set. */ @java.lang.Override @@ -3274,18 +3704,25 @@ public boolean hasToValue() { return toValue_ != null; } /** + * + * *
      * Ends with this number.
      * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; + * * @return The toValue. */ @java.lang.Override public com.google.analytics.data.v1beta.NumericValue getToValue() { - return toValue_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() + : toValue_; } /** + * + * *
      * Ends with this number.
      * 
@@ -3298,6 +3735,7 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getToValueOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3309,8 +3747,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (fromValue_ != null) { output.writeMessage(1, getFromValue()); } @@ -3327,12 +3764,10 @@ public int getSerializedSize() { size = 0; if (fromValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getFromValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFromValue()); } if (toValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getToValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getToValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3342,22 +3777,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.analytics.data.v1beta.Filter.BetweenFilter)) { return super.equals(obj); } - com.google.analytics.data.v1beta.Filter.BetweenFilter other = (com.google.analytics.data.v1beta.Filter.BetweenFilter) obj; + com.google.analytics.data.v1beta.Filter.BetweenFilter other = + (com.google.analytics.data.v1beta.Filter.BetweenFilter) obj; if (hasFromValue() != other.hasFromValue()) return false; if (hasFromValue()) { - if (!getFromValue() - .equals(other.getFromValue())) return false; + if (!getFromValue().equals(other.getFromValue())) return false; } if (hasToValue() != other.hasToValue()) return false; if (hasToValue()) { - if (!getToValue() - .equals(other.getToValue())) return false; + if (!getToValue().equals(other.getToValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3384,87 +3818,94 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter.BetweenFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.Filter.BetweenFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.Filter.BetweenFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3474,27 +3915,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * To express that the result needs to be between two numbers (inclusive).
      * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter.BetweenFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Filter.BetweenFilter) com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.BetweenFilter.class, com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder.class); + com.google.analytics.data.v1beta.Filter.BetweenFilter.class, + com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder.class); } // Construct using com.google.analytics.data.v1beta.Filter.BetweenFilter.newBuilder() @@ -3502,16 +3948,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(); @@ -3531,9 +3976,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; } @java.lang.Override @@ -3552,7 +3997,8 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter build() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.BetweenFilter buildPartial() { - com.google.analytics.data.v1beta.Filter.BetweenFilter result = new com.google.analytics.data.v1beta.Filter.BetweenFilter(this); + com.google.analytics.data.v1beta.Filter.BetweenFilter result = + new com.google.analytics.data.v1beta.Filter.BetweenFilter(this); if (fromValueBuilder_ == null) { result.fromValue_ = fromValue_; } else { @@ -3571,38 +4017,41 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Filter.BetweenFilter) { - return mergeFrom((com.google.analytics.data.v1beta.Filter.BetweenFilter)other); + return mergeFrom((com.google.analytics.data.v1beta.Filter.BetweenFilter) other); } else { super.mergeFrom(other); return this; @@ -3610,7 +4059,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.Filter.BetweenFilter other) { - if (other == com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance()) + return this; if (other.hasFromValue()) { mergeFromValue(other.getFromValue()); } @@ -3636,7 +4086,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.Filter.BetweenFilter) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.Filter.BetweenFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3648,34 +4099,47 @@ public Builder mergeFrom( private com.google.analytics.data.v1beta.NumericValue fromValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> fromValueBuilder_; + com.google.analytics.data.v1beta.NumericValue, + com.google.analytics.data.v1beta.NumericValue.Builder, + com.google.analytics.data.v1beta.NumericValueOrBuilder> + fromValueBuilder_; /** + * + * *
        * Begins with this number.
        * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; + * * @return Whether the fromValue field is set. */ public boolean hasFromValue() { return fromValueBuilder_ != null || fromValue_ != null; } /** + * + * *
        * Begins with this number.
        * 
* * .google.analytics.data.v1beta.NumericValue from_value = 1; + * * @return The fromValue. */ public com.google.analytics.data.v1beta.NumericValue getFromValue() { if (fromValueBuilder_ == null) { - return fromValue_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() + : fromValue_; } else { return fromValueBuilder_.getMessage(); } } /** + * + * *
        * Begins with this number.
        * 
@@ -3696,6 +4160,8 @@ public Builder setFromValue(com.google.analytics.data.v1beta.NumericValue value) return this; } /** + * + * *
        * Begins with this number.
        * 
@@ -3714,6 +4180,8 @@ public Builder setFromValue( return this; } /** + * + * *
        * Begins with this number.
        * 
@@ -3724,7 +4192,9 @@ public Builder mergeFromValue(com.google.analytics.data.v1beta.NumericValue valu if (fromValueBuilder_ == null) { if (fromValue_ != null) { fromValue_ = - com.google.analytics.data.v1beta.NumericValue.newBuilder(fromValue_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.NumericValue.newBuilder(fromValue_) + .mergeFrom(value) + .buildPartial(); } else { fromValue_ = value; } @@ -3736,6 +4206,8 @@ public Builder mergeFromValue(com.google.analytics.data.v1beta.NumericValue valu return this; } /** + * + * *
        * Begins with this number.
        * 
@@ -3754,6 +4226,8 @@ public Builder clearFromValue() { return this; } /** + * + * *
        * Begins with this number.
        * 
@@ -3761,11 +4235,13 @@ public Builder clearFromValue() { * .google.analytics.data.v1beta.NumericValue from_value = 1; */ public com.google.analytics.data.v1beta.NumericValue.Builder getFromValueBuilder() { - + onChanged(); return getFromValueFieldBuilder().getBuilder(); } /** + * + * *
        * Begins with this number.
        * 
@@ -3776,11 +4252,14 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getFromValueOrBuil if (fromValueBuilder_ != null) { return fromValueBuilder_.getMessageOrBuilder(); } else { - return fromValue_ == null ? - com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() + : fromValue_; } } /** + * + * *
        * Begins with this number.
        * 
@@ -3788,14 +4267,17 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getFromValueOrBuil * .google.analytics.data.v1beta.NumericValue from_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> + com.google.analytics.data.v1beta.NumericValue, + com.google.analytics.data.v1beta.NumericValue.Builder, + com.google.analytics.data.v1beta.NumericValueOrBuilder> getFromValueFieldBuilder() { if (fromValueBuilder_ == null) { - fromValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder>( - getFromValue(), - getParentForChildren(), - isClean()); + fromValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.NumericValue, + com.google.analytics.data.v1beta.NumericValue.Builder, + com.google.analytics.data.v1beta.NumericValueOrBuilder>( + getFromValue(), getParentForChildren(), isClean()); fromValue_ = null; } return fromValueBuilder_; @@ -3803,34 +4285,47 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getFromValueOrBuil private com.google.analytics.data.v1beta.NumericValue toValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> toValueBuilder_; + com.google.analytics.data.v1beta.NumericValue, + com.google.analytics.data.v1beta.NumericValue.Builder, + com.google.analytics.data.v1beta.NumericValueOrBuilder> + toValueBuilder_; /** + * + * *
        * Ends with this number.
        * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; + * * @return Whether the toValue field is set. */ public boolean hasToValue() { return toValueBuilder_ != null || toValue_ != null; } /** + * + * *
        * Ends with this number.
        * 
* * .google.analytics.data.v1beta.NumericValue to_value = 2; + * * @return The toValue. */ public com.google.analytics.data.v1beta.NumericValue getToValue() { if (toValueBuilder_ == null) { - return toValue_ == null ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() + : toValue_; } else { return toValueBuilder_.getMessage(); } } /** + * + * *
        * Ends with this number.
        * 
@@ -3851,6 +4346,8 @@ public Builder setToValue(com.google.analytics.data.v1beta.NumericValue value) { return this; } /** + * + * *
        * Ends with this number.
        * 
@@ -3869,6 +4366,8 @@ public Builder setToValue( return this; } /** + * + * *
        * Ends with this number.
        * 
@@ -3879,7 +4378,9 @@ public Builder mergeToValue(com.google.analytics.data.v1beta.NumericValue value) if (toValueBuilder_ == null) { if (toValue_ != null) { toValue_ = - com.google.analytics.data.v1beta.NumericValue.newBuilder(toValue_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.NumericValue.newBuilder(toValue_) + .mergeFrom(value) + .buildPartial(); } else { toValue_ = value; } @@ -3891,6 +4392,8 @@ public Builder mergeToValue(com.google.analytics.data.v1beta.NumericValue value) return this; } /** + * + * *
        * Ends with this number.
        * 
@@ -3909,6 +4412,8 @@ public Builder clearToValue() { return this; } /** + * + * *
        * Ends with this number.
        * 
@@ -3916,11 +4421,13 @@ public Builder clearToValue() { * .google.analytics.data.v1beta.NumericValue to_value = 2; */ public com.google.analytics.data.v1beta.NumericValue.Builder getToValueBuilder() { - + onChanged(); return getToValueFieldBuilder().getBuilder(); } /** + * + * *
        * Ends with this number.
        * 
@@ -3931,11 +4438,14 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getToValueOrBuilde if (toValueBuilder_ != null) { return toValueBuilder_.getMessageOrBuilder(); } else { - return toValue_ == null ? - com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.data.v1beta.NumericValue.getDefaultInstance() + : toValue_; } } /** + * + * *
        * Ends with this number.
        * 
@@ -3943,18 +4453,22 @@ public com.google.analytics.data.v1beta.NumericValueOrBuilder getToValueOrBuilde * .google.analytics.data.v1beta.NumericValue to_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder> + com.google.analytics.data.v1beta.NumericValue, + com.google.analytics.data.v1beta.NumericValue.Builder, + com.google.analytics.data.v1beta.NumericValueOrBuilder> getToValueFieldBuilder() { if (toValueBuilder_ == null) { - toValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.NumericValue, com.google.analytics.data.v1beta.NumericValue.Builder, com.google.analytics.data.v1beta.NumericValueOrBuilder>( - getToValue(), - getParentForChildren(), - isClean()); + toValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.NumericValue, + com.google.analytics.data.v1beta.NumericValue.Builder, + com.google.analytics.data.v1beta.NumericValueOrBuilder>( + getToValue(), getParentForChildren(), isClean()); toValue_ = null; } return toValueBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3967,12 +4481,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Filter.BetweenFilter) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Filter.BetweenFilter) private static final com.google.analytics.data.v1beta.Filter.BetweenFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Filter.BetweenFilter(); } @@ -3981,16 +4495,16 @@ public static com.google.analytics.data.v1beta.Filter.BetweenFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BetweenFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BetweenFilter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BetweenFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BetweenFilter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4005,13 +4519,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Filter.BetweenFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; + public enum OneFilterCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_FILTER(3), IN_LIST_FILTER(4), @@ -4019,6 +4534,7 @@ public enum OneFilterCase BETWEEN_FILTER(6), ONEFILTER_NOT_SET(0); private final int value; + private OneFilterCase(int value) { this.value = value; } @@ -4034,34 +4550,42 @@ public static OneFilterCase valueOf(int value) { public static OneFilterCase forNumber(int value) { switch (value) { - case 3: return STRING_FILTER; - case 4: return IN_LIST_FILTER; - case 5: return NUMERIC_FILTER; - case 6: return BETWEEN_FILTER; - case 0: return ONEFILTER_NOT_SET; - default: return null; + case 3: + return STRING_FILTER; + case 4: + return IN_LIST_FILTER; + case 5: + return NUMERIC_FILTER; + case 6: + return BETWEEN_FILTER; + case 0: + return ONEFILTER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneFilterCase - getOneFilterCase() { - return OneFilterCase.forNumber( - oneFilterCase_); + public OneFilterCase getOneFilterCase() { + return OneFilterCase.forNumber(oneFilterCase_); } public static final int FIELD_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object fieldName_; /** + * + * *
    * The dimension name or metric name. Must be a name defined in dimensions
    * or metrics.
    * 
* * string field_name = 1; + * * @return The fieldName. */ @java.lang.Override @@ -4070,30 +4594,30 @@ public java.lang.String getFieldName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; } } /** + * + * *
    * The dimension name or metric name. Must be a name defined in dimensions
    * or metrics.
    * 
* * string field_name = 1; + * * @return The bytes for fieldName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldNameBytes() { + public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldName_ = b; return b; } else { @@ -4103,11 +4627,14 @@ public java.lang.String getFieldName() { public static final int STRING_FILTER_FIELD_NUMBER = 3; /** + * + * *
    * Strings related filter.
    * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -4115,21 +4642,26 @@ public boolean hasStringFilter() { return oneFilterCase_ == 3; } /** + * + * *
    * Strings related filter.
    * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; + * * @return The stringFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.StringFilter getStringFilter() { if (oneFilterCase_ == 3) { - return (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance(); } /** + * + * *
    * Strings related filter.
    * 
@@ -4139,18 +4671,21 @@ public com.google.analytics.data.v1beta.Filter.StringFilter getStringFilter() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder getStringFilterOrBuilder() { if (oneFilterCase_ == 3) { - return (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance(); } public static final int IN_LIST_FILTER_FIELD_NUMBER = 4; /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -4158,21 +4693,26 @@ public boolean hasInListFilter() { return oneFilterCase_ == 4; } /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; + * * @return The inListFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.InListFilter getInListFilter() { if (oneFilterCase_ == 4) { - return (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance(); } /** + * + * *
    * A filter for in list values.
    * 
@@ -4182,18 +4722,21 @@ public com.google.analytics.data.v1beta.Filter.InListFilter getInListFilter() { @java.lang.Override public com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder getInListFilterOrBuilder() { if (oneFilterCase_ == 4) { - return (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance(); } public static final int NUMERIC_FILTER_FIELD_NUMBER = 5; /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; + * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -4201,21 +4744,26 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 5; } /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; + * * @return The numericFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.NumericFilter getNumericFilter() { if (oneFilterCase_ == 5) { - return (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance(); } /** + * + * *
    * A filter for numeric or date values.
    * 
@@ -4223,20 +4771,24 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter getNumericFilter() * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder getNumericFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder + getNumericFilterOrBuilder() { if (oneFilterCase_ == 5) { - return (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance(); } public static final int BETWEEN_FILTER_FIELD_NUMBER = 6; /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; + * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -4244,21 +4796,26 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 6; } /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; + * * @return The betweenFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter.BetweenFilter getBetweenFilter() { if (oneFilterCase_ == 6) { - return (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance(); } /** + * + * *
    * A filter for two values.
    * 
@@ -4266,14 +4823,16 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter getBetweenFilter() * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder getBetweenFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder + getBetweenFilterOrBuilder() { if (oneFilterCase_ == 6) { - return (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_; + return (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_; } return com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4285,8 +4844,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getFieldNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_); } @@ -4315,20 +4873,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_); } if (oneFilterCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_); } if (oneFilterCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_); } if (oneFilterCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_); } if (oneFilterCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4338,32 +4900,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.analytics.data.v1beta.Filter)) { return super.equals(obj); } com.google.analytics.data.v1beta.Filter other = (com.google.analytics.data.v1beta.Filter) obj; - if (!getFieldName() - .equals(other.getFieldName())) return false; + if (!getFieldName().equals(other.getFieldName())) return false; if (!getOneFilterCase().equals(other.getOneFilterCase())) return false; switch (oneFilterCase_) { case 3: - if (!getStringFilter() - .equals(other.getStringFilter())) return false; + if (!getStringFilter().equals(other.getStringFilter())) return false; break; case 4: - if (!getInListFilter() - .equals(other.getInListFilter())) return false; + if (!getInListFilter().equals(other.getInListFilter())) return false; break; case 5: - if (!getNumericFilter() - .equals(other.getNumericFilter())) return false; + if (!getNumericFilter().equals(other.getNumericFilter())) return false; break; case 6: - if (!getBetweenFilter() - .equals(other.getBetweenFilter())) return false; + if (!getBetweenFilter().equals(other.getBetweenFilter())) return false; break; case 0: default: @@ -4406,118 +4963,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.Filter parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.Filter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Filter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter 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.analytics.data.v1beta.Filter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Filter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Filter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Filter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Filter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.Filter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 expression to filter dimension or metric values.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Filter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Filter) com.google.analytics.data.v1beta.FilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Filter.class, com.google.analytics.data.v1beta.Filter.Builder.class); + com.google.analytics.data.v1beta.Filter.class, + com.google.analytics.data.v1beta.Filter.Builder.class); } // Construct using com.google.analytics.data.v1beta.Filter.newBuilder() @@ -4525,16 +5091,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(); @@ -4546,9 +5111,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Filter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Filter_descriptor; } @java.lang.Override @@ -4567,7 +5132,8 @@ public com.google.analytics.data.v1beta.Filter build() { @java.lang.Override public com.google.analytics.data.v1beta.Filter buildPartial() { - com.google.analytics.data.v1beta.Filter result = new com.google.analytics.data.v1beta.Filter(this); + com.google.analytics.data.v1beta.Filter result = + new com.google.analytics.data.v1beta.Filter(this); result.fieldName_ = fieldName_; if (oneFilterCase_ == 3) { if (stringFilterBuilder_ == null) { @@ -4606,38 +5172,39 @@ public com.google.analytics.data.v1beta.Filter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Filter) { - return mergeFrom((com.google.analytics.data.v1beta.Filter)other); + return mergeFrom((com.google.analytics.data.v1beta.Filter) other); } else { super.mergeFrom(other); return this; @@ -4651,25 +5218,30 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Filter other) { onChanged(); } switch (other.getOneFilterCase()) { - case STRING_FILTER: { - mergeStringFilter(other.getStringFilter()); - break; - } - case IN_LIST_FILTER: { - mergeInListFilter(other.getInListFilter()); - break; - } - case NUMERIC_FILTER: { - mergeNumericFilter(other.getNumericFilter()); - break; - } - case BETWEEN_FILTER: { - mergeBetweenFilter(other.getBetweenFilter()); - break; - } - case ONEFILTER_NOT_SET: { - break; - } + case STRING_FILTER: + { + mergeStringFilter(other.getStringFilter()); + break; + } + case IN_LIST_FILTER: + { + mergeInListFilter(other.getInListFilter()); + break; + } + case NUMERIC_FILTER: + { + mergeNumericFilter(other.getNumericFilter()); + break; + } + case BETWEEN_FILTER: + { + mergeBetweenFilter(other.getBetweenFilter()); + break; + } + case ONEFILTER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4699,12 +5271,12 @@ public Builder mergeFrom( } return this; } + private int oneFilterCase_ = 0; private java.lang.Object oneFilter_; - public OneFilterCase - getOneFilterCase() { - return OneFilterCase.forNumber( - oneFilterCase_); + + public OneFilterCase getOneFilterCase() { + return OneFilterCase.forNumber(oneFilterCase_); } public Builder clearOneFilter() { @@ -4714,22 +5286,23 @@ public Builder clearOneFilter() { return this; } - private java.lang.Object fieldName_ = ""; /** + * + * *
      * The dimension name or metric name. Must be a name defined in dimensions
      * or metrics.
      * 
* * string field_name = 1; + * * @return The fieldName. */ public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; @@ -4738,21 +5311,22 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * The dimension name or metric name. Must be a name defined in dimensions
      * or metrics.
      * 
* * string field_name = 1; + * * @return The bytes for fieldName. */ - public com.google.protobuf.ByteString - getFieldNameBytes() { + public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldName_ = b; return b; } else { @@ -4760,70 +5334,83 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * The dimension name or metric name. Must be a name defined in dimensions
      * or metrics.
      * 
* * string field_name = 1; + * * @param value The fieldName to set. * @return This builder for chaining. */ - public Builder setFieldName( - java.lang.String value) { + public Builder setFieldName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fieldName_ = value; onChanged(); return this; } /** + * + * *
      * The dimension name or metric name. Must be a name defined in dimensions
      * or metrics.
      * 
* * string field_name = 1; + * * @return This builder for chaining. */ public Builder clearFieldName() { - + fieldName_ = getDefaultInstance().getFieldName(); onChanged(); return this; } /** + * + * *
      * The dimension name or metric name. Must be a name defined in dimensions
      * or metrics.
      * 
* * string field_name = 1; + * * @param value The bytes for fieldName to set. * @return This builder for chaining. */ - public Builder setFieldNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFieldNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fieldName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.StringFilter, com.google.analytics.data.v1beta.Filter.StringFilter.Builder, com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder> stringFilterBuilder_; + com.google.analytics.data.v1beta.Filter.StringFilter, + com.google.analytics.data.v1beta.Filter.StringFilter.Builder, + com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder> + stringFilterBuilder_; /** + * + * *
      * Strings related filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -4831,11 +5418,14 @@ public boolean hasStringFilter() { return oneFilterCase_ == 3; } /** + * + * *
      * Strings related filter.
      * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; + * * @return The stringFilter. */ @java.lang.Override @@ -4853,6 +5443,8 @@ public com.google.analytics.data.v1beta.Filter.StringFilter getStringFilter() { } } /** + * + * *
      * Strings related filter.
      * 
@@ -4873,6 +5465,8 @@ public Builder setStringFilter(com.google.analytics.data.v1beta.Filter.StringFil return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -4891,6 +5485,8 @@ public Builder setStringFilter( return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -4899,10 +5495,14 @@ public Builder setStringFilter( */ public Builder mergeStringFilter(com.google.analytics.data.v1beta.Filter.StringFilter value) { if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 3 && - oneFilter_ != com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.data.v1beta.Filter.StringFilter.newBuilder((com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 3 + && oneFilter_ + != com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.data.v1beta.Filter.StringFilter.newBuilder( + (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -4917,6 +5517,8 @@ public Builder mergeStringFilter(com.google.analytics.data.v1beta.Filter.StringF return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -4940,6 +5542,8 @@ public Builder clearStringFilter() { return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -4950,6 +5554,8 @@ public com.google.analytics.data.v1beta.Filter.StringFilter.Builder getStringFil return getStringFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Strings related filter.
      * 
@@ -4957,7 +5563,8 @@ public com.google.analytics.data.v1beta.Filter.StringFilter.Builder getStringFil * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder getStringFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder + getStringFilterOrBuilder() { if ((oneFilterCase_ == 3) && (stringFilterBuilder_ != null)) { return stringFilterBuilder_.getMessageOrBuilder(); } else { @@ -4968,6 +5575,8 @@ public com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder getStringFi } } /** + * + * *
      * Strings related filter.
      * 
@@ -4975,32 +5584,44 @@ public com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder getStringFi * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.StringFilter, com.google.analytics.data.v1beta.Filter.StringFilter.Builder, com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder> + com.google.analytics.data.v1beta.Filter.StringFilter, + com.google.analytics.data.v1beta.Filter.StringFilter.Builder, + com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder> getStringFilterFieldBuilder() { if (stringFilterBuilder_ == null) { if (!(oneFilterCase_ == 3)) { oneFilter_ = com.google.analytics.data.v1beta.Filter.StringFilter.getDefaultInstance(); } - stringFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.StringFilter, com.google.analytics.data.v1beta.Filter.StringFilter.Builder, com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder>( + stringFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.Filter.StringFilter, + com.google.analytics.data.v1beta.Filter.StringFilter.Builder, + com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder>( (com.google.analytics.data.v1beta.Filter.StringFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; } oneFilterCase_ = 3; - onChanged();; + onChanged(); + ; return stringFilterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.InListFilter, com.google.analytics.data.v1beta.Filter.InListFilter.Builder, com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder> inListFilterBuilder_; + com.google.analytics.data.v1beta.Filter.InListFilter, + com.google.analytics.data.v1beta.Filter.InListFilter.Builder, + com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder> + inListFilterBuilder_; /** + * + * *
      * A filter for in list values.
      * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -5008,11 +5629,14 @@ public boolean hasInListFilter() { return oneFilterCase_ == 4; } /** + * + * *
      * A filter for in list values.
      * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; + * * @return The inListFilter. */ @java.lang.Override @@ -5030,6 +5654,8 @@ public com.google.analytics.data.v1beta.Filter.InListFilter getInListFilter() { } } /** + * + * *
      * A filter for in list values.
      * 
@@ -5050,6 +5676,8 @@ public Builder setInListFilter(com.google.analytics.data.v1beta.Filter.InListFil return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -5068,6 +5696,8 @@ public Builder setInListFilter( return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -5076,10 +5706,14 @@ public Builder setInListFilter( */ public Builder mergeInListFilter(com.google.analytics.data.v1beta.Filter.InListFilter value) { if (inListFilterBuilder_ == null) { - if (oneFilterCase_ == 4 && - oneFilter_ != com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.data.v1beta.Filter.InListFilter.newBuilder((com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 4 + && oneFilter_ + != com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.data.v1beta.Filter.InListFilter.newBuilder( + (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -5094,6 +5728,8 @@ public Builder mergeInListFilter(com.google.analytics.data.v1beta.Filter.InListF return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -5117,6 +5753,8 @@ public Builder clearInListFilter() { return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -5127,6 +5765,8 @@ public com.google.analytics.data.v1beta.Filter.InListFilter.Builder getInListFil return getInListFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for in list values.
      * 
@@ -5134,7 +5774,8 @@ public com.google.analytics.data.v1beta.Filter.InListFilter.Builder getInListFil * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder getInListFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder + getInListFilterOrBuilder() { if ((oneFilterCase_ == 4) && (inListFilterBuilder_ != null)) { return inListFilterBuilder_.getMessageOrBuilder(); } else { @@ -5145,6 +5786,8 @@ public com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder getInListFi } } /** + * + * *
      * A filter for in list values.
      * 
@@ -5152,32 +5795,44 @@ public com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder getInListFi * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.InListFilter, com.google.analytics.data.v1beta.Filter.InListFilter.Builder, com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder> + com.google.analytics.data.v1beta.Filter.InListFilter, + com.google.analytics.data.v1beta.Filter.InListFilter.Builder, + com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder> getInListFilterFieldBuilder() { if (inListFilterBuilder_ == null) { if (!(oneFilterCase_ == 4)) { oneFilter_ = com.google.analytics.data.v1beta.Filter.InListFilter.getDefaultInstance(); } - inListFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.InListFilter, com.google.analytics.data.v1beta.Filter.InListFilter.Builder, com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder>( + inListFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.Filter.InListFilter, + com.google.analytics.data.v1beta.Filter.InListFilter.Builder, + com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder>( (com.google.analytics.data.v1beta.Filter.InListFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; } oneFilterCase_ = 4; - onChanged();; + onChanged(); + ; return inListFilterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.NumericFilter, com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder> numericFilterBuilder_; + com.google.analytics.data.v1beta.Filter.NumericFilter, + com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, + com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder> + numericFilterBuilder_; /** + * + * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; + * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -5185,11 +5840,14 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 5; } /** + * + * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; + * * @return The numericFilter. */ @java.lang.Override @@ -5207,6 +5865,8 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter getNumericFilter() } } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -5227,6 +5887,8 @@ public Builder setNumericFilter(com.google.analytics.data.v1beta.Filter.NumericF return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -5245,6 +5907,8 @@ public Builder setNumericFilter( return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -5253,10 +5917,14 @@ public Builder setNumericFilter( */ public Builder mergeNumericFilter(com.google.analytics.data.v1beta.Filter.NumericFilter value) { if (numericFilterBuilder_ == null) { - if (oneFilterCase_ == 5 && - oneFilter_ != com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.data.v1beta.Filter.NumericFilter.newBuilder((com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 5 + && oneFilter_ + != com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.data.v1beta.Filter.NumericFilter.newBuilder( + (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -5271,6 +5939,8 @@ public Builder mergeNumericFilter(com.google.analytics.data.v1beta.Filter.Numeri return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -5294,6 +5964,8 @@ public Builder clearNumericFilter() { return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -5304,6 +5976,8 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter.Builder getNumericF return getNumericFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -5311,7 +5985,8 @@ public com.google.analytics.data.v1beta.Filter.NumericFilter.Builder getNumericF * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder getNumericFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder + getNumericFilterOrBuilder() { if ((oneFilterCase_ == 5) && (numericFilterBuilder_ != null)) { return numericFilterBuilder_.getMessageOrBuilder(); } else { @@ -5322,6 +5997,8 @@ public com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder getNumeric } } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -5329,32 +6006,44 @@ public com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder getNumeric * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.NumericFilter, com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder> + com.google.analytics.data.v1beta.Filter.NumericFilter, + com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, + com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder> getNumericFilterFieldBuilder() { if (numericFilterBuilder_ == null) { if (!(oneFilterCase_ == 5)) { oneFilter_ = com.google.analytics.data.v1beta.Filter.NumericFilter.getDefaultInstance(); } - numericFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.NumericFilter, com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder>( + numericFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.Filter.NumericFilter, + com.google.analytics.data.v1beta.Filter.NumericFilter.Builder, + com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder>( (com.google.analytics.data.v1beta.Filter.NumericFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; } oneFilterCase_ = 5; - onChanged();; + onChanged(); + ; return numericFilterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.BetweenFilter, com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder> betweenFilterBuilder_; + com.google.analytics.data.v1beta.Filter.BetweenFilter, + com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, + com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder> + betweenFilterBuilder_; /** + * + * *
      * A filter for two values.
      * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; + * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -5362,11 +6051,14 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 6; } /** + * + * *
      * A filter for two values.
      * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; + * * @return The betweenFilter. */ @java.lang.Override @@ -5384,6 +6076,8 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter getBetweenFilter() } } /** + * + * *
      * A filter for two values.
      * 
@@ -5404,6 +6098,8 @@ public Builder setBetweenFilter(com.google.analytics.data.v1beta.Filter.BetweenF return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -5422,6 +6118,8 @@ public Builder setBetweenFilter( return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -5430,10 +6128,14 @@ public Builder setBetweenFilter( */ public Builder mergeBetweenFilter(com.google.analytics.data.v1beta.Filter.BetweenFilter value) { if (betweenFilterBuilder_ == null) { - if (oneFilterCase_ == 6 && - oneFilter_ != com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.data.v1beta.Filter.BetweenFilter.newBuilder((com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 6 + && oneFilter_ + != com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.data.v1beta.Filter.BetweenFilter.newBuilder( + (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -5448,6 +6150,8 @@ public Builder mergeBetweenFilter(com.google.analytics.data.v1beta.Filter.Betwee return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -5471,6 +6175,8 @@ public Builder clearBetweenFilter() { return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -5481,6 +6187,8 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder getBetweenF return getBetweenFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for two values.
      * 
@@ -5488,7 +6196,8 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder getBetweenF * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; */ @java.lang.Override - public com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder getBetweenFilterOrBuilder() { + public com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder + getBetweenFilterOrBuilder() { if ((oneFilterCase_ == 6) && (betweenFilterBuilder_ != null)) { return betweenFilterBuilder_.getMessageOrBuilder(); } else { @@ -5499,6 +6208,8 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder getBetween } } /** + * + * *
      * A filter for two values.
      * 
@@ -5506,26 +6217,32 @@ public com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder getBetween * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.BetweenFilter, com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder> + com.google.analytics.data.v1beta.Filter.BetweenFilter, + com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, + com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder> getBetweenFilterFieldBuilder() { if (betweenFilterBuilder_ == null) { if (!(oneFilterCase_ == 6)) { oneFilter_ = com.google.analytics.data.v1beta.Filter.BetweenFilter.getDefaultInstance(); } - betweenFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter.BetweenFilter, com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder>( + betweenFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.Filter.BetweenFilter, + com.google.analytics.data.v1beta.Filter.BetweenFilter.Builder, + com.google.analytics.data.v1beta.Filter.BetweenFilterOrBuilder>( (com.google.analytics.data.v1beta.Filter.BetweenFilter) oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; } oneFilterCase_ = 6; - onChanged();; + onChanged(); + ; return betweenFilterBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5535,12 +6252,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Filter) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Filter) private static final com.google.analytics.data.v1beta.Filter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Filter(); } @@ -5549,16 +6266,16 @@ public static com.google.analytics.data.v1beta.Filter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Filter(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Filter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Filter(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5573,6 +6290,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java similarity index 71% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java index 6d68bf39..2f6047b4 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpression.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * To express dimension or metric filters.
  * The fields in the same FilterExpression need to be either all dimensions or
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.FilterExpression}
  */
-public final class FilterExpression extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FilterExpression extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.FilterExpression)
     FilterExpressionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FilterExpression.newBuilder() to construct.
   private FilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private FilterExpression() {
-  }
+
+  private FilterExpression() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FilterExpression();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private FilterExpression(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,98 +70,116 @@ private FilterExpression(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.analytics.data.v1beta.FilterExpressionList.Builder subBuilder = null;
-            if (exprCase_ == 1) {
-              subBuilder = ((com.google.analytics.data.v1beta.FilterExpressionList) expr_).toBuilder();
+          case 10:
+            {
+              com.google.analytics.data.v1beta.FilterExpressionList.Builder subBuilder = null;
+              if (exprCase_ == 1) {
+                subBuilder =
+                    ((com.google.analytics.data.v1beta.FilterExpressionList) expr_).toBuilder();
+              }
+              expr_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.FilterExpressionList.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList) expr_);
+                expr_ = subBuilder.buildPartial();
+              }
+              exprCase_ = 1;
+              break;
             }
-            expr_ =
-                input.readMessage(com.google.analytics.data.v1beta.FilterExpressionList.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList) expr_);
-              expr_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.analytics.data.v1beta.FilterExpressionList.Builder subBuilder = null;
+              if (exprCase_ == 2) {
+                subBuilder =
+                    ((com.google.analytics.data.v1beta.FilterExpressionList) expr_).toBuilder();
+              }
+              expr_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.FilterExpressionList.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList) expr_);
+                expr_ = subBuilder.buildPartial();
+              }
+              exprCase_ = 2;
+              break;
             }
-            exprCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.analytics.data.v1beta.FilterExpressionList.Builder subBuilder = null;
-            if (exprCase_ == 2) {
-              subBuilder = ((com.google.analytics.data.v1beta.FilterExpressionList) expr_).toBuilder();
+          case 26:
+            {
+              com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null;
+              if (exprCase_ == 3) {
+                subBuilder =
+                    ((com.google.analytics.data.v1beta.FilterExpression) expr_).toBuilder();
+              }
+              expr_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.FilterExpression.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpression) expr_);
+                expr_ = subBuilder.buildPartial();
+              }
+              exprCase_ = 3;
+              break;
             }
-            expr_ =
-                input.readMessage(com.google.analytics.data.v1beta.FilterExpressionList.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList) expr_);
-              expr_ = subBuilder.buildPartial();
-            }
-            exprCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null;
-            if (exprCase_ == 3) {
-              subBuilder = ((com.google.analytics.data.v1beta.FilterExpression) expr_).toBuilder();
+          case 34:
+            {
+              com.google.analytics.data.v1beta.Filter.Builder subBuilder = null;
+              if (exprCase_ == 4) {
+                subBuilder = ((com.google.analytics.data.v1beta.Filter) expr_).toBuilder();
+              }
+              expr_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.Filter.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter) expr_);
+                expr_ = subBuilder.buildPartial();
+              }
+              exprCase_ = 4;
+              break;
             }
-            expr_ =
-                input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.analytics.data.v1beta.FilterExpression) expr_);
-              expr_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            exprCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.analytics.data.v1beta.Filter.Builder subBuilder = null;
-            if (exprCase_ == 4) {
-              subBuilder = ((com.google.analytics.data.v1beta.Filter) expr_).toBuilder();
-            }
-            expr_ =
-                input.readMessage(com.google.analytics.data.v1beta.Filter.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.analytics.data.v1beta.Filter) expr_);
-              expr_ = subBuilder.buildPartial();
-            }
-            exprCase_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.FilterExpression.class, com.google.analytics.data.v1beta.FilterExpression.Builder.class);
+            com.google.analytics.data.v1beta.FilterExpression.class,
+            com.google.analytics.data.v1beta.FilterExpression.Builder.class);
   }
 
   private int exprCase_ = 0;
   private java.lang.Object expr_;
+
   public enum ExprCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AND_GROUP(1),
     OR_GROUP(2),
@@ -153,6 +187,7 @@ public enum ExprCase
     FILTER(4),
     EXPR_NOT_SET(0);
     private final int value;
+
     private ExprCase(int value) {
       this.value = value;
     }
@@ -168,32 +203,40 @@ public static ExprCase valueOf(int value) {
 
     public static ExprCase forNumber(int value) {
       switch (value) {
-        case 1: return AND_GROUP;
-        case 2: return OR_GROUP;
-        case 3: return NOT_EXPRESSION;
-        case 4: return FILTER;
-        case 0: return EXPR_NOT_SET;
-        default: return null;
+        case 1:
+          return AND_GROUP;
+        case 2:
+          return OR_GROUP;
+        case 3:
+          return NOT_EXPRESSION;
+        case 4:
+          return FILTER;
+        case 0:
+          return EXPR_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ExprCase
-  getExprCase() {
-    return ExprCase.forNumber(
-        exprCase_);
+  public ExprCase getExprCase() {
+    return ExprCase.forNumber(exprCase_);
   }
 
   public static final int AND_GROUP_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * The FilterExpressions in and_group have an AND relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -201,21 +244,26 @@ public boolean hasAndGroup() { return exprCase_ == 1; } /** + * + * *
    * The FilterExpressions in and_group have an AND relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionList getAndGroup() { if (exprCase_ == 1) { - return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; + return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; } return com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } /** + * + * *
    * The FilterExpressions in and_group have an AND relationship.
    * 
@@ -225,18 +273,21 @@ public com.google.analytics.data.v1beta.FilterExpressionList getAndGroup() { @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getAndGroupOrBuilder() { if (exprCase_ == 1) { - return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; + return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; } return com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } public static final int OR_GROUP_FIELD_NUMBER = 2; /** + * + * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -244,21 +295,26 @@ public boolean hasOrGroup() { return exprCase_ == 2; } /** + * + * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; + * * @return The orGroup. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionList getOrGroup() { if (exprCase_ == 2) { - return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; + return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; } return com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } /** + * + * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
@@ -268,18 +324,21 @@ public com.google.analytics.data.v1beta.FilterExpressionList getOrGroup() { @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getOrGroupOrBuilder() { if (exprCase_ == 2) { - return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; + return (com.google.analytics.data.v1beta.FilterExpressionList) expr_; } return com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } public static final int NOT_EXPRESSION_FIELD_NUMBER = 3; /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -287,21 +346,26 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getNotExpression() { if (exprCase_ == 3) { - return (com.google.analytics.data.v1beta.FilterExpression) expr_; + return (com.google.analytics.data.v1beta.FilterExpression) expr_; } return com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance(); } /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
@@ -311,13 +375,15 @@ public com.google.analytics.data.v1beta.FilterExpression getNotExpression() { @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressionOrBuilder() { if (exprCase_ == 3) { - return (com.google.analytics.data.v1beta.FilterExpression) expr_; + return (com.google.analytics.data.v1beta.FilterExpression) expr_; } return com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance(); } public static final int FILTER_FIELD_NUMBER = 4; /** + * + * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
@@ -325,6 +391,7 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressi
    * 
* * .google.analytics.data.v1beta.Filter filter = 4; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -332,6 +399,8 @@ public boolean hasFilter() { return exprCase_ == 4; } /** + * + * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
@@ -339,16 +408,19 @@ public boolean hasFilter() {
    * 
* * .google.analytics.data.v1beta.Filter filter = 4; + * * @return The filter. */ @java.lang.Override public com.google.analytics.data.v1beta.Filter getFilter() { if (exprCase_ == 4) { - return (com.google.analytics.data.v1beta.Filter) expr_; + return (com.google.analytics.data.v1beta.Filter) expr_; } return com.google.analytics.data.v1beta.Filter.getDefaultInstance(); } /** + * + * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
@@ -360,12 +432,13 @@ public com.google.analytics.data.v1beta.Filter getFilter() {
   @java.lang.Override
   public com.google.analytics.data.v1beta.FilterOrBuilder getFilterOrBuilder() {
     if (exprCase_ == 4) {
-       return (com.google.analytics.data.v1beta.Filter) expr_;
+      return (com.google.analytics.data.v1beta.Filter) expr_;
     }
     return com.google.analytics.data.v1beta.Filter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -377,8 +450,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (exprCase_ == 1) {
       output.writeMessage(1, (com.google.analytics.data.v1beta.FilterExpressionList) expr_);
     }
@@ -401,20 +473,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (exprCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.analytics.data.v1beta.FilterExpressionList) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.analytics.data.v1beta.FilterExpressionList) expr_);
     }
     if (exprCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.analytics.data.v1beta.FilterExpressionList) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.analytics.data.v1beta.FilterExpressionList) expr_);
     }
     if (exprCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.analytics.data.v1beta.FilterExpression) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.analytics.data.v1beta.FilterExpression) expr_);
     }
     if (exprCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.analytics.data.v1beta.Filter) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.analytics.data.v1beta.Filter) expr_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -424,30 +500,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.analytics.data.v1beta.FilterExpression)) {
       return super.equals(obj);
     }
-    com.google.analytics.data.v1beta.FilterExpression other = (com.google.analytics.data.v1beta.FilterExpression) obj;
+    com.google.analytics.data.v1beta.FilterExpression other =
+        (com.google.analytics.data.v1beta.FilterExpression) obj;
 
     if (!getExprCase().equals(other.getExprCase())) return false;
     switch (exprCase_) {
       case 1:
-        if (!getAndGroup()
-            .equals(other.getAndGroup())) return false;
+        if (!getAndGroup().equals(other.getAndGroup())) return false;
         break;
       case 2:
-        if (!getOrGroup()
-            .equals(other.getOrGroup())) return false;
+        if (!getOrGroup().equals(other.getOrGroup())) return false;
         break;
       case 3:
-        if (!getNotExpression()
-            .equals(other.getNotExpression())) return false;
+        if (!getNotExpression().equals(other.getNotExpression())) return false;
         break;
       case 4:
-        if (!getFilter()
-            .equals(other.getFilter())) return false;
+        if (!getFilter().equals(other.getFilter())) return false;
         break;
       case 0:
       default:
@@ -489,96 +562,103 @@ public int hashCode() {
   }
 
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.data.v1beta.FilterExpression parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.data.v1beta.FilterExpression parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.data.v1beta.FilterExpression parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.FilterExpression parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.FilterExpression parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.analytics.data.v1beta.FilterExpression prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * To express dimension or metric filters.
    * The fields in the same FilterExpression need to be either all dimensions or
@@ -587,21 +667,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.FilterExpression}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.FilterExpression)
       com.google.analytics.data.v1beta.FilterExpressionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.FilterExpression.class, com.google.analytics.data.v1beta.FilterExpression.Builder.class);
+              com.google.analytics.data.v1beta.FilterExpression.class,
+              com.google.analytics.data.v1beta.FilterExpression.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.FilterExpression.newBuilder()
@@ -609,16 +691,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();
@@ -628,9 +709,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_FilterExpression_descriptor;
     }
 
     @java.lang.Override
@@ -649,7 +730,8 @@ public com.google.analytics.data.v1beta.FilterExpression build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.FilterExpression buildPartial() {
-      com.google.analytics.data.v1beta.FilterExpression result = new com.google.analytics.data.v1beta.FilterExpression(this);
+      com.google.analytics.data.v1beta.FilterExpression result =
+          new com.google.analytics.data.v1beta.FilterExpression(this);
       if (exprCase_ == 1) {
         if (andGroupBuilder_ == null) {
           result.expr_ = expr_;
@@ -687,38 +769,39 @@ public com.google.analytics.data.v1beta.FilterExpression buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.FilterExpression) {
-        return mergeFrom((com.google.analytics.data.v1beta.FilterExpression)other);
+        return mergeFrom((com.google.analytics.data.v1beta.FilterExpression) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -726,27 +809,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.data.v1beta.FilterExpression other) {
-      if (other == com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()) return this;
+      if (other == com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance())
+        return this;
       switch (other.getExprCase()) {
-        case AND_GROUP: {
-          mergeAndGroup(other.getAndGroup());
-          break;
-        }
-        case OR_GROUP: {
-          mergeOrGroup(other.getOrGroup());
-          break;
-        }
-        case NOT_EXPRESSION: {
-          mergeNotExpression(other.getNotExpression());
-          break;
-        }
-        case FILTER: {
-          mergeFilter(other.getFilter());
-          break;
-        }
-        case EXPR_NOT_SET: {
-          break;
-        }
+        case AND_GROUP:
+          {
+            mergeAndGroup(other.getAndGroup());
+            break;
+          }
+        case OR_GROUP:
+          {
+            mergeOrGroup(other.getOrGroup());
+            break;
+          }
+        case NOT_EXPRESSION:
+          {
+            mergeNotExpression(other.getNotExpression());
+            break;
+          }
+        case FILTER:
+          {
+            mergeFilter(other.getFilter());
+            break;
+          }
+        case EXPR_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -767,7 +856,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.analytics.data.v1beta.FilterExpression) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.analytics.data.v1beta.FilterExpression) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -776,12 +866,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int exprCase_ = 0;
     private java.lang.Object expr_;
-    public ExprCase
-        getExprCase() {
-      return ExprCase.forNumber(
-          exprCase_);
+
+    public ExprCase getExprCase() {
+      return ExprCase.forNumber(exprCase_);
     }
 
     public Builder clearExpr() {
@@ -791,15 +881,20 @@ public Builder clearExpr() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> andGroupBuilder_;
+            com.google.analytics.data.v1beta.FilterExpressionList,
+            com.google.analytics.data.v1beta.FilterExpressionList.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionListOrBuilder>
+        andGroupBuilder_;
     /**
+     *
+     *
      * 
      * The FilterExpressions in and_group have an AND relationship.
      * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -807,11 +902,14 @@ public boolean hasAndGroup() { return exprCase_ == 1; } /** + * + * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override @@ -829,6 +927,8 @@ public com.google.analytics.data.v1beta.FilterExpressionList getAndGroup() { } } /** + * + * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -849,6 +949,8 @@ public Builder setAndGroup(com.google.analytics.data.v1beta.FilterExpressionList return this; } /** + * + * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -867,6 +969,8 @@ public Builder setAndGroup( return this; } /** + * + * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -875,10 +979,14 @@ public Builder setAndGroup( */ public Builder mergeAndGroup(com.google.analytics.data.v1beta.FilterExpressionList value) { if (andGroupBuilder_ == null) { - if (exprCase_ == 1 && - expr_ != com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) { - expr_ = com.google.analytics.data.v1beta.FilterExpressionList.newBuilder((com.google.analytics.data.v1beta.FilterExpressionList) expr_) - .mergeFrom(value).buildPartial(); + if (exprCase_ == 1 + && expr_ + != com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) { + expr_ = + com.google.analytics.data.v1beta.FilterExpressionList.newBuilder( + (com.google.analytics.data.v1beta.FilterExpressionList) expr_) + .mergeFrom(value) + .buildPartial(); } else { expr_ = value; } @@ -893,6 +1001,8 @@ public Builder mergeAndGroup(com.google.analytics.data.v1beta.FilterExpressionLi return this; } /** + * + * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -916,6 +1026,8 @@ public Builder clearAndGroup() { return this; } /** + * + * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -926,6 +1038,8 @@ public com.google.analytics.data.v1beta.FilterExpressionList.Builder getAndGroup return getAndGroupFieldBuilder().getBuilder(); } /** + * + * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -944,6 +1058,8 @@ public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getAndGrou } } /** + * + * *
      * The FilterExpressions in and_group have an AND relationship.
      * 
@@ -951,32 +1067,44 @@ public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getAndGrou * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> + com.google.analytics.data.v1beta.FilterExpressionList, + com.google.analytics.data.v1beta.FilterExpressionList.Builder, + com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> getAndGroupFieldBuilder() { if (andGroupBuilder_ == null) { if (!(exprCase_ == 1)) { expr_ = com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } - andGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder>( + andGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpressionList, + com.google.analytics.data.v1beta.FilterExpressionList.Builder, + com.google.analytics.data.v1beta.FilterExpressionListOrBuilder>( (com.google.analytics.data.v1beta.FilterExpressionList) expr_, getParentForChildren(), isClean()); expr_ = null; } exprCase_ = 1; - onChanged();; + onChanged(); + ; return andGroupBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> orGroupBuilder_; + com.google.analytics.data.v1beta.FilterExpressionList, + com.google.analytics.data.v1beta.FilterExpressionList.Builder, + com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> + orGroupBuilder_; /** + * + * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -984,11 +1112,14 @@ public boolean hasOrGroup() { return exprCase_ == 2; } /** + * + * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; + * * @return The orGroup. */ @java.lang.Override @@ -1006,6 +1137,8 @@ public com.google.analytics.data.v1beta.FilterExpressionList getOrGroup() { } } /** + * + * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1026,6 +1159,8 @@ public Builder setOrGroup(com.google.analytics.data.v1beta.FilterExpressionList return this; } /** + * + * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1044,6 +1179,8 @@ public Builder setOrGroup( return this; } /** + * + * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1052,10 +1189,14 @@ public Builder setOrGroup( */ public Builder mergeOrGroup(com.google.analytics.data.v1beta.FilterExpressionList value) { if (orGroupBuilder_ == null) { - if (exprCase_ == 2 && - expr_ != com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) { - expr_ = com.google.analytics.data.v1beta.FilterExpressionList.newBuilder((com.google.analytics.data.v1beta.FilterExpressionList) expr_) - .mergeFrom(value).buildPartial(); + if (exprCase_ == 2 + && expr_ + != com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) { + expr_ = + com.google.analytics.data.v1beta.FilterExpressionList.newBuilder( + (com.google.analytics.data.v1beta.FilterExpressionList) expr_) + .mergeFrom(value) + .buildPartial(); } else { expr_ = value; } @@ -1070,6 +1211,8 @@ public Builder mergeOrGroup(com.google.analytics.data.v1beta.FilterExpressionLis return this; } /** + * + * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1093,6 +1236,8 @@ public Builder clearOrGroup() { return this; } /** + * + * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1103,6 +1248,8 @@ public com.google.analytics.data.v1beta.FilterExpressionList.Builder getOrGroupB return getOrGroupFieldBuilder().getBuilder(); } /** + * + * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1121,6 +1268,8 @@ public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getOrGroup } } /** + * + * *
      * The FilterExpressions in or_group have an OR relationship.
      * 
@@ -1128,32 +1277,44 @@ public com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getOrGroup * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> + com.google.analytics.data.v1beta.FilterExpressionList, + com.google.analytics.data.v1beta.FilterExpressionList.Builder, + com.google.analytics.data.v1beta.FilterExpressionListOrBuilder> getOrGroupFieldBuilder() { if (orGroupBuilder_ == null) { if (!(exprCase_ == 2)) { expr_ = com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance(); } - orGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpressionList, com.google.analytics.data.v1beta.FilterExpressionList.Builder, com.google.analytics.data.v1beta.FilterExpressionListOrBuilder>( + orGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpressionList, + com.google.analytics.data.v1beta.FilterExpressionList.Builder, + com.google.analytics.data.v1beta.FilterExpressionListOrBuilder>( (com.google.analytics.data.v1beta.FilterExpressionList) expr_, getParentForChildren(), isClean()); expr_ = null; } exprCase_ = 2; - onChanged();; + onChanged(); + ; return orGroupBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> notExpressionBuilder_; + com.google.analytics.data.v1beta.FilterExpression, + com.google.analytics.data.v1beta.FilterExpression.Builder, + com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + notExpressionBuilder_; /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -1161,11 +1322,14 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override @@ -1183,6 +1347,8 @@ public com.google.analytics.data.v1beta.FilterExpression getNotExpression() { } } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1203,6 +1369,8 @@ public Builder setNotExpression(com.google.analytics.data.v1beta.FilterExpressio return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1221,6 +1389,8 @@ public Builder setNotExpression( return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1229,10 +1399,13 @@ public Builder setNotExpression( */ public Builder mergeNotExpression(com.google.analytics.data.v1beta.FilterExpression value) { if (notExpressionBuilder_ == null) { - if (exprCase_ == 3 && - expr_ != com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()) { - expr_ = com.google.analytics.data.v1beta.FilterExpression.newBuilder((com.google.analytics.data.v1beta.FilterExpression) expr_) - .mergeFrom(value).buildPartial(); + if (exprCase_ == 3 + && expr_ != com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()) { + expr_ = + com.google.analytics.data.v1beta.FilterExpression.newBuilder( + (com.google.analytics.data.v1beta.FilterExpression) expr_) + .mergeFrom(value) + .buildPartial(); } else { expr_ = value; } @@ -1247,6 +1420,8 @@ public Builder mergeNotExpression(com.google.analytics.data.v1beta.FilterExpress return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1270,6 +1445,8 @@ public Builder clearNotExpression() { return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1280,6 +1457,8 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getNotExpressio return getNotExpressionFieldBuilder().getBuilder(); } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1298,6 +1477,8 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressi } } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1305,27 +1486,38 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressi * .google.analytics.data.v1beta.FilterExpression not_expression = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + com.google.analytics.data.v1beta.FilterExpression, + com.google.analytics.data.v1beta.FilterExpression.Builder, + com.google.analytics.data.v1beta.FilterExpressionOrBuilder> getNotExpressionFieldBuilder() { if (notExpressionBuilder_ == null) { if (!(exprCase_ == 3)) { expr_ = com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance(); } - notExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( + notExpressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, + com.google.analytics.data.v1beta.FilterExpression.Builder, + com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( (com.google.analytics.data.v1beta.FilterExpression) expr_, getParentForChildren(), isClean()); expr_ = null; } exprCase_ = 3; - onChanged();; + onChanged(); + ; return notExpressionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.Filter, com.google.analytics.data.v1beta.Filter.Builder, com.google.analytics.data.v1beta.FilterOrBuilder> filterBuilder_; + com.google.analytics.data.v1beta.Filter, + com.google.analytics.data.v1beta.Filter.Builder, + com.google.analytics.data.v1beta.FilterOrBuilder> + filterBuilder_; /** + * + * *
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1333,6 +1525,7 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressi
      * 
* * .google.analytics.data.v1beta.Filter filter = 4; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -1340,6 +1533,8 @@ public boolean hasFilter() { return exprCase_ == 4; } /** + * + * *
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1347,6 +1542,7 @@ public boolean hasFilter() {
      * 
* * .google.analytics.data.v1beta.Filter filter = 4; + * * @return The filter. */ @java.lang.Override @@ -1364,6 +1560,8 @@ public com.google.analytics.data.v1beta.Filter getFilter() { } } /** + * + * *
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1386,6 +1584,8 @@ public Builder setFilter(com.google.analytics.data.v1beta.Filter value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1394,8 +1594,7 @@ public Builder setFilter(com.google.analytics.data.v1beta.Filter value) {
      *
      * .google.analytics.data.v1beta.Filter filter = 4;
      */
-    public Builder setFilter(
-        com.google.analytics.data.v1beta.Filter.Builder builderForValue) {
+    public Builder setFilter(com.google.analytics.data.v1beta.Filter.Builder builderForValue) {
       if (filterBuilder_ == null) {
         expr_ = builderForValue.build();
         onChanged();
@@ -1406,6 +1605,8 @@ public Builder setFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1416,10 +1617,13 @@ public Builder setFilter(
      */
     public Builder mergeFilter(com.google.analytics.data.v1beta.Filter value) {
       if (filterBuilder_ == null) {
-        if (exprCase_ == 4 &&
-            expr_ != com.google.analytics.data.v1beta.Filter.getDefaultInstance()) {
-          expr_ = com.google.analytics.data.v1beta.Filter.newBuilder((com.google.analytics.data.v1beta.Filter) expr_)
-              .mergeFrom(value).buildPartial();
+        if (exprCase_ == 4
+            && expr_ != com.google.analytics.data.v1beta.Filter.getDefaultInstance()) {
+          expr_ =
+              com.google.analytics.data.v1beta.Filter.newBuilder(
+                      (com.google.analytics.data.v1beta.Filter) expr_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expr_ = value;
         }
@@ -1434,6 +1638,8 @@ public Builder mergeFilter(com.google.analytics.data.v1beta.Filter value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1459,6 +1665,8 @@ public Builder clearFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1471,6 +1679,8 @@ public com.google.analytics.data.v1beta.Filter.Builder getFilterBuilder() {
       return getFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1491,6 +1701,8 @@ public com.google.analytics.data.v1beta.FilterOrBuilder getFilterOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A primitive filter.
      * All fields in filter in same FilterExpression needs to be either all
@@ -1500,26 +1712,30 @@ public com.google.analytics.data.v1beta.FilterOrBuilder getFilterOrBuilder() {
      * .google.analytics.data.v1beta.Filter filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.Filter, com.google.analytics.data.v1beta.Filter.Builder, com.google.analytics.data.v1beta.FilterOrBuilder> 
+            com.google.analytics.data.v1beta.Filter,
+            com.google.analytics.data.v1beta.Filter.Builder,
+            com.google.analytics.data.v1beta.FilterOrBuilder>
         getFilterFieldBuilder() {
       if (filterBuilder_ == null) {
         if (!(exprCase_ == 4)) {
           expr_ = com.google.analytics.data.v1beta.Filter.getDefaultInstance();
         }
-        filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.Filter, com.google.analytics.data.v1beta.Filter.Builder, com.google.analytics.data.v1beta.FilterOrBuilder>(
-                (com.google.analytics.data.v1beta.Filter) expr_,
-                getParentForChildren(),
-                isClean());
+        filterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.Filter,
+                com.google.analytics.data.v1beta.Filter.Builder,
+                com.google.analytics.data.v1beta.FilterOrBuilder>(
+                (com.google.analytics.data.v1beta.Filter) expr_, getParentForChildren(), isClean());
         expr_ = null;
       }
       exprCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return filterBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1529,12 +1745,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.FilterExpression)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.FilterExpression)
   private static final com.google.analytics.data.v1beta.FilterExpression DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.FilterExpression();
   }
@@ -1543,16 +1759,16 @@ public static com.google.analytics.data.v1beta.FilterExpression getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public FilterExpression parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new FilterExpression(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public FilterExpression parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new FilterExpression(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1567,6 +1783,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.data.v1beta.FilterExpression getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java
similarity index 73%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java
index 040ab6a7..b98c33ca 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionList.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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
+ *
+ *
  * 
  * A list of filter expressions.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.FilterExpressionList} */ -public final class FilterExpressionList extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FilterExpressionList extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.FilterExpressionList) FilterExpressionListOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FilterExpressionList.newBuilder() to construct. private FilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FilterExpressionList() { expressions_ = 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 FilterExpressionList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FilterExpressionList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,29 +71,32 @@ private FilterExpressionList( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - expressions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + expressions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + expressions_.add( + input.readMessage( + com.google.analytics.data.v1beta.FilterExpression.parser(), + extensionRegistry)); + break; } - expressions_.add( - input.readMessage(com.google.analytics.data.v1beta.FilterExpression.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)) { expressions_ = java.util.Collections.unmodifiableList(expressions_); @@ -85,22 +105,27 @@ private FilterExpressionList( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.FilterExpressionList.class, com.google.analytics.data.v1beta.FilterExpressionList.Builder.class); + com.google.analytics.data.v1beta.FilterExpressionList.class, + com.google.analytics.data.v1beta.FilterExpressionList.Builder.class); } public static final int EXPRESSIONS_FIELD_NUMBER = 1; private java.util.List expressions_; /** + * + * *
    * A list of filter expressions.
    * 
@@ -112,6 +137,8 @@ public java.util.List getExpr return expressions_; } /** + * + * *
    * A list of filter expressions.
    * 
@@ -119,11 +146,13 @@ public java.util.List getExpr * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getExpressionsOrBuilderList() { return expressions_; } /** + * + * *
    * A list of filter expressions.
    * 
@@ -135,6 +164,8 @@ public int getExpressionsCount() { return expressions_.size(); } /** + * + * *
    * A list of filter expressions.
    * 
@@ -146,6 +177,8 @@ public com.google.analytics.data.v1beta.FilterExpression getExpressions(int inde return expressions_.get(index); } /** + * + * *
    * A list of filter expressions.
    * 
@@ -159,6 +192,7 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressions } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < expressions_.size(); i++) { output.writeMessage(1, expressions_.get(i)); } @@ -185,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < expressions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, expressions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, expressions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -196,15 +228,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.analytics.data.v1beta.FilterExpressionList)) { return super.equals(obj); } - com.google.analytics.data.v1beta.FilterExpressionList other = (com.google.analytics.data.v1beta.FilterExpressionList) obj; + com.google.analytics.data.v1beta.FilterExpressionList other = + (com.google.analytics.data.v1beta.FilterExpressionList) obj; - if (!getExpressionsList() - .equals(other.getExpressionsList())) return false; + if (!getExpressionsList().equals(other.getExpressionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,117 +258,127 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.FilterExpressionList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.FilterExpressionList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.FilterExpressionList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.FilterExpressionList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.FilterExpressionList prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.FilterExpressionList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 list of filter expressions.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.FilterExpressionList} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.FilterExpressionList) com.google.analytics.data.v1beta.FilterExpressionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.FilterExpressionList.class, com.google.analytics.data.v1beta.FilterExpressionList.Builder.class); + com.google.analytics.data.v1beta.FilterExpressionList.class, + com.google.analytics.data.v1beta.FilterExpressionList.Builder.class); } // Construct using com.google.analytics.data.v1beta.FilterExpressionList.newBuilder() @@ -344,17 +386,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) { getExpressionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,9 +410,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; } @java.lang.Override @@ -389,7 +431,8 @@ public com.google.analytics.data.v1beta.FilterExpressionList build() { @java.lang.Override public com.google.analytics.data.v1beta.FilterExpressionList buildPartial() { - com.google.analytics.data.v1beta.FilterExpressionList result = new com.google.analytics.data.v1beta.FilterExpressionList(this); + com.google.analytics.data.v1beta.FilterExpressionList result = + new com.google.analytics.data.v1beta.FilterExpressionList(this); int from_bitField0_ = bitField0_; if (expressionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -408,38 +451,39 @@ public com.google.analytics.data.v1beta.FilterExpressionList buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.FilterExpressionList) { - return mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList)other); + return mergeFrom((com.google.analytics.data.v1beta.FilterExpressionList) other); } else { super.mergeFrom(other); return this; @@ -447,7 +491,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.FilterExpressionList other) { - if (other == com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.FilterExpressionList.getDefaultInstance()) + return this; if (expressionsBuilder_ == null) { if (!other.expressions_.isEmpty()) { if (expressions_.isEmpty()) { @@ -466,9 +511,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.FilterExpressionList o expressionsBuilder_ = null; expressions_ = other.expressions_; bitField0_ = (bitField0_ & ~0x00000001); - expressionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getExpressionsFieldBuilder() : null; + expressionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExpressionsFieldBuilder() + : null; } else { expressionsBuilder_.addAllMessages(other.expressions_); } @@ -493,7 +539,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.FilterExpressionList) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.FilterExpressionList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,21 +549,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List expressions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureExpressionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - expressions_ = new java.util.ArrayList(expressions_); + expressions_ = + new java.util.ArrayList( + expressions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> expressionsBuilder_; + com.google.analytics.data.v1beta.FilterExpression, + com.google.analytics.data.v1beta.FilterExpression.Builder, + com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + expressionsBuilder_; /** + * + * *
      * A list of filter expressions.
      * 
@@ -531,6 +587,8 @@ public java.util.List getExpr } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -545,6 +603,8 @@ public int getExpressionsCount() { } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -559,6 +619,8 @@ public com.google.analytics.data.v1beta.FilterExpression getExpressions(int inde } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -580,6 +642,8 @@ public Builder setExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -598,6 +662,8 @@ public Builder setExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -618,6 +684,8 @@ public Builder addExpressions(com.google.analytics.data.v1beta.FilterExpression return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -639,6 +707,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -657,6 +727,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -675,6 +747,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -685,8 +759,7 @@ public Builder addAllExpressions( java.lang.Iterable values) { if (expressionsBuilder_ == null) { ensureExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, expressions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, expressions_); onChanged(); } else { expressionsBuilder_.addAllMessages(values); @@ -694,6 +767,8 @@ public Builder addAllExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -711,6 +786,8 @@ public Builder clearExpressions() { return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -728,6 +805,8 @@ public Builder removeExpressions(int index) { return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -739,6 +818,8 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getExpressionsB return getExpressionsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of filter expressions.
      * 
@@ -748,19 +829,22 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getExpressionsB public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressionsOrBuilder( int index) { if (expressionsBuilder_ == null) { - return expressions_.get(index); } else { + return expressions_.get(index); + } else { return expressionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ - public java.util.List - getExpressionsOrBuilderList() { + public java.util.List + getExpressionsOrBuilderList() { if (expressionsBuilder_ != null) { return expressionsBuilder_.getMessageOrBuilderList(); } else { @@ -768,6 +852,8 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressions } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -775,10 +861,12 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressions * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ public com.google.analytics.data.v1beta.FilterExpression.Builder addExpressionsBuilder() { - return getExpressionsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()); + return getExpressionsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()); } /** + * + * *
      * A list of filter expressions.
      * 
@@ -787,37 +875,43 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder addExpressionsB */ public com.google.analytics.data.v1beta.FilterExpression.Builder addExpressionsBuilder( int index) { - return getExpressionsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()); + return getExpressionsFieldBuilder() + .addBuilder( + index, com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()); } /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ - public java.util.List - getExpressionsBuilderList() { + public java.util.List + getExpressionsBuilderList() { return getExpressionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + com.google.analytics.data.v1beta.FilterExpression, + com.google.analytics.data.v1beta.FilterExpression.Builder, + com.google.analytics.data.v1beta.FilterExpressionOrBuilder> getExpressionsFieldBuilder() { if (expressionsBuilder_ == null) { - expressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( - expressions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + expressionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.FilterExpression, + com.google.analytics.data.v1beta.FilterExpression.Builder, + com.google.analytics.data.v1beta.FilterExpressionOrBuilder>( + expressions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); expressions_ = null; } return expressionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -827,12 +921,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.FilterExpressionList) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.FilterExpressionList) private static final com.google.analytics.data.v1beta.FilterExpressionList DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.FilterExpressionList(); } @@ -841,16 +935,16 @@ public static com.google.analytics.data.v1beta.FilterExpressionList getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FilterExpressionList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FilterExpressionList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FilterExpressionList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FilterExpressionList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -865,6 +959,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.FilterExpressionList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java similarity index 65% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java index 340497f1..6a5721b6 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionListOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface FilterExpressionListOrBuilder extends +public interface FilterExpressionListOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.FilterExpressionList) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ - java.util.List - getExpressionsList(); + java.util.List getExpressionsList(); /** + * + * *
    * A list of filter expressions.
    * 
@@ -25,6 +44,8 @@ public interface FilterExpressionListOrBuilder extends */ com.google.analytics.data.v1beta.FilterExpression getExpressions(int index); /** + * + * *
    * A list of filter expressions.
    * 
@@ -33,21 +54,24 @@ public interface FilterExpressionListOrBuilder extends */ int getExpressionsCount(); /** + * + * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ - java.util.List + java.util.List getExpressionsOrBuilderList(); /** + * + * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.data.v1beta.FilterExpression expressions = 1; */ - com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressionsOrBuilder( - int index); + com.google.analytics.data.v1beta.FilterExpressionOrBuilder getExpressionsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java similarity index 82% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java index 2559c324..336de25a 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterExpressionOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface FilterExpressionOrBuilder extends +public interface FilterExpressionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.FilterExpression) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The FilterExpressions in and_group have an AND relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ boolean hasAndGroup(); /** + * + * *
    * The FilterExpressions in and_group have an AND relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList and_group = 1; + * * @return The andGroup. */ com.google.analytics.data.v1beta.FilterExpressionList getAndGroup(); /** + * + * *
    * The FilterExpressions in and_group have an AND relationship.
    * 
@@ -35,24 +59,32 @@ public interface FilterExpressionOrBuilder extends com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getAndGroupOrBuilder(); /** + * + * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ boolean hasOrGroup(); /** + * + * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
* * .google.analytics.data.v1beta.FilterExpressionList or_group = 2; + * * @return The orGroup. */ com.google.analytics.data.v1beta.FilterExpressionList getOrGroup(); /** + * + * *
    * The FilterExpressions in or_group have an OR relationship.
    * 
@@ -62,24 +94,32 @@ public interface FilterExpressionOrBuilder extends com.google.analytics.data.v1beta.FilterExpressionListOrBuilder getOrGroupOrBuilder(); /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ boolean hasNotExpression(); /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.data.v1beta.FilterExpression not_expression = 3; + * * @return The notExpression. */ com.google.analytics.data.v1beta.FilterExpression getNotExpression(); /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
@@ -89,6 +129,8 @@ public interface FilterExpressionOrBuilder extends com.google.analytics.data.v1beta.FilterExpressionOrBuilder getNotExpressionOrBuilder(); /** + * + * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
@@ -96,10 +138,13 @@ public interface FilterExpressionOrBuilder extends
    * 
* * .google.analytics.data.v1beta.Filter filter = 4; + * * @return Whether the filter field is set. */ boolean hasFilter(); /** + * + * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
@@ -107,10 +152,13 @@ public interface FilterExpressionOrBuilder extends
    * 
* * .google.analytics.data.v1beta.Filter filter = 4; + * * @return The filter. */ com.google.analytics.data.v1beta.Filter getFilter(); /** + * + * *
    * A primitive filter.
    * All fields in filter in same FilterExpression needs to be either all
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java
index 749a03ad..0062312f 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/FilterOrBuilder.java
@@ -1,53 +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/analytics/data/v1beta/data.proto
 
 package com.google.analytics.data.v1beta;
 
-public interface FilterOrBuilder extends
+public interface FilterOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Filter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The dimension name or metric name. Must be a name defined in dimensions
    * or metrics.
    * 
* * string field_name = 1; + * * @return The fieldName. */ java.lang.String getFieldName(); /** + * + * *
    * The dimension name or metric name. Must be a name defined in dimensions
    * or metrics.
    * 
* * string field_name = 1; + * * @return The bytes for fieldName. */ - com.google.protobuf.ByteString - getFieldNameBytes(); + com.google.protobuf.ByteString getFieldNameBytes(); /** + * + * *
    * Strings related filter.
    * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; + * * @return Whether the stringFilter field is set. */ boolean hasStringFilter(); /** + * + * *
    * Strings related filter.
    * 
* * .google.analytics.data.v1beta.Filter.StringFilter string_filter = 3; + * * @return The stringFilter. */ com.google.analytics.data.v1beta.Filter.StringFilter getStringFilter(); /** + * + * *
    * Strings related filter.
    * 
@@ -57,24 +86,32 @@ public interface FilterOrBuilder extends com.google.analytics.data.v1beta.Filter.StringFilterOrBuilder getStringFilterOrBuilder(); /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; + * * @return Whether the inListFilter field is set. */ boolean hasInListFilter(); /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4; + * * @return The inListFilter. */ com.google.analytics.data.v1beta.Filter.InListFilter getInListFilter(); /** + * + * *
    * A filter for in list values.
    * 
@@ -84,24 +121,32 @@ public interface FilterOrBuilder extends com.google.analytics.data.v1beta.Filter.InListFilterOrBuilder getInListFilterOrBuilder(); /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; + * * @return Whether the numericFilter field is set. */ boolean hasNumericFilter(); /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5; + * * @return The numericFilter. */ com.google.analytics.data.v1beta.Filter.NumericFilter getNumericFilter(); /** + * + * *
    * A filter for numeric or date values.
    * 
@@ -111,24 +156,32 @@ public interface FilterOrBuilder extends com.google.analytics.data.v1beta.Filter.NumericFilterOrBuilder getNumericFilterOrBuilder(); /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; + * * @return Whether the betweenFilter field is set. */ boolean hasBetweenFilter(); /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6; + * * @return The betweenFilter. */ com.google.analytics.data.v1beta.Filter.BetweenFilter getBetweenFilter(); /** + * + * *
    * A filter for two values.
    * 
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java similarity index 70% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java index 14d594f4..38fd6f02 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Request for a property's dimension and metric metadata.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.GetMetadataRequest} */ -public final class GetMetadataRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMetadataRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.GetMetadataRequest) GetMetadataRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMetadataRequest.newBuilder() to construct. private GetMetadataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMetadataRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMetadataRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetMetadataRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,47 +70,52 @@ private GetMetadataRequest( 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.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.GetMetadataRequest.class, com.google.analytics.data.v1beta.GetMetadataRequest.Builder.class); + com.google.analytics.data.v1beta.GetMetadataRequest.class, + com.google.analytics.data.v1beta.GetMetadataRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the metadata to retrieve. This name field is
    * specified in the URL path and not URL parameters. Property is a numeric
@@ -106,7 +128,10 @@ private GetMetadataRequest(
    * dimensions and metrics.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -115,14 +140,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 resource name of the metadata to retrieve. This name field is
    * specified in the URL path and not URL parameters. Property is a numeric
@@ -135,17 +161,18 @@ public java.lang.String getName() {
    * dimensions and metrics.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -154,6 +181,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -190,15 +217,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.analytics.data.v1beta.GetMetadataRequest)) { return super.equals(obj); } - com.google.analytics.data.v1beta.GetMetadataRequest other = (com.google.analytics.data.v1beta.GetMetadataRequest) obj; + com.google.analytics.data.v1beta.GetMetadataRequest other = + (com.google.analytics.data.v1beta.GetMetadataRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -218,117 +245,126 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.GetMetadataRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.GetMetadataRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.GetMetadataRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.GetMetadataRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.GetMetadataRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for a property's dimension and metric metadata.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.GetMetadataRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.GetMetadataRequest) com.google.analytics.data.v1beta.GetMetadataRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_GetMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.GetMetadataRequest.class, com.google.analytics.data.v1beta.GetMetadataRequest.Builder.class); + com.google.analytics.data.v1beta.GetMetadataRequest.class, + com.google.analytics.data.v1beta.GetMetadataRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.GetMetadataRequest.newBuilder() @@ -336,16 +372,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +390,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_GetMetadataRequest_descriptor; } @java.lang.Override @@ -376,7 +411,8 @@ public com.google.analytics.data.v1beta.GetMetadataRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.GetMetadataRequest buildPartial() { - com.google.analytics.data.v1beta.GetMetadataRequest result = new com.google.analytics.data.v1beta.GetMetadataRequest(this); + com.google.analytics.data.v1beta.GetMetadataRequest result = + new com.google.analytics.data.v1beta.GetMetadataRequest(this); result.name_ = name_; onBuilt(); return result; @@ -386,38 +422,39 @@ public com.google.analytics.data.v1beta.GetMetadataRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.GetMetadataRequest) { - return mergeFrom((com.google.analytics.data.v1beta.GetMetadataRequest)other); + return mergeFrom((com.google.analytics.data.v1beta.GetMetadataRequest) other); } else { super.mergeFrom(other); return this; @@ -425,7 +462,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.GetMetadataRequest other) { - if (other == com.google.analytics.data.v1beta.GetMetadataRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.GetMetadataRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,7 +487,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.GetMetadataRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.GetMetadataRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -461,6 +500,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the metadata to retrieve. This name field is
      * specified in the URL path and not URL parameters. Property is a numeric
@@ -473,14 +514,16 @@ public Builder mergeFrom(
      * dimensions and metrics.
      * 
* - * string name = 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; @@ -489,6 +532,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the metadata to retrieve. This name field is
      * specified in the URL path and not URL parameters. Property is a numeric
@@ -501,16 +546,17 @@ public java.lang.String getName() {
      * dimensions and metrics.
      * 
* - * string name = 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 { @@ -518,6 +564,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the metadata to retrieve. This name field is
      * specified in the URL path and not URL parameters. Property is a numeric
@@ -530,21 +578,25 @@ public java.lang.String getName() {
      * dimensions and metrics.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the metadata to retrieve. This name field is
      * specified in the URL path and not URL parameters. Property is a numeric
@@ -557,16 +609,21 @@ public Builder setName(
      * dimensions and metrics.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the metadata to retrieve. This name field is
      * specified in the URL path and not URL parameters. Property is a numeric
@@ -579,24 +636,26 @@ public Builder clearName() {
      * dimensions and metrics.
      * 
* - * 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); } @@ -606,12 +665,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.GetMetadataRequest) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.GetMetadataRequest) private static final com.google.analytics.data.v1beta.GetMetadataRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.GetMetadataRequest(); } @@ -620,16 +679,16 @@ public static com.google.analytics.data.v1beta.GetMetadataRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMetadataRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMetadataRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMetadataRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMetadataRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -644,6 +703,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.GetMetadataRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java index 8ad9712d..38f0c4f1 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/GetMetadataRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface GetMetadataRequestOrBuilder extends +public interface GetMetadataRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.GetMetadataRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the metadata to retrieve. This name field is
    * specified in the URL path and not URL parameters. Property is a numeric
@@ -20,11 +38,16 @@ public interface GetMetadataRequestOrBuilder extends
    * dimensions and metrics.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the metadata to retrieve. This name field is
    * specified in the URL path and not URL parameters. Property is a numeric
@@ -37,9 +60,11 @@ public interface GetMetadataRequestOrBuilder extends
    * dimensions and metrics.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.java similarity index 75% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.java index 6226f70e..985c611c 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metadata.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The dimensions and metrics currently accepted in reporting methods.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.Metadata} */ -public final class Metadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Metadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Metadata) MetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Metadata.newBuilder() to construct. private Metadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Metadata() { name_ = ""; dimensions_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private Metadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Metadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Metadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,44 +73,51 @@ private Metadata( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dimensions_.add( + input.readMessage( + com.google.analytics.data.v1beta.DimensionMetadata.parser(), + extensionRegistry)); + break; } - dimensions_.add( - input.readMessage(com.google.analytics.data.v1beta.DimensionMetadata.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metrics_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + metrics_.add( + input.readMessage( + com.google.analytics.data.v1beta.MetricMetadata.parser(), extensionRegistry)); + break; } - metrics_.add( - input.readMessage(com.google.analytics.data.v1beta.MetricMetadata.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)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -105,27 +129,33 @@ private Metadata( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_Metadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Metadata.class, com.google.analytics.data.v1beta.Metadata.Builder.class); + com.google.analytics.data.v1beta.Metadata.class, + com.google.analytics.data.v1beta.Metadata.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Resource name of this metadata.
    * 
* * string name = 3; + * * @return The name. */ @java.lang.Override @@ -134,29 +164,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; } } /** + * + * *
    * Resource name of this metadata.
    * 
* * string name = 3; + * * @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,6 +197,8 @@ public java.lang.String getName() { public static final int DIMENSIONS_FIELD_NUMBER = 1; private java.util.List dimensions_; /** + * + * *
    * The dimension descriptions.
    * 
@@ -178,6 +210,8 @@ public java.util.List getDim return dimensions_; } /** + * + * *
    * The dimension descriptions.
    * 
@@ -185,11 +219,13 @@ public java.util.List getDim * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDimensionsOrBuilderList() { return dimensions_; } /** + * + * *
    * The dimension descriptions.
    * 
@@ -201,6 +237,8 @@ public int getDimensionsCount() { return dimensions_.size(); } /** + * + * *
    * The dimension descriptions.
    * 
@@ -212,6 +250,8 @@ public com.google.analytics.data.v1beta.DimensionMetadata getDimensions(int inde return dimensions_.get(index); } /** + * + * *
    * The dimension descriptions.
    * 
@@ -227,6 +267,8 @@ public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensions public static final int METRICS_FIELD_NUMBER = 2; private java.util.List metrics_; /** + * + * *
    * The metric descriptions.
    * 
@@ -238,6 +280,8 @@ public java.util.List getMetric return metrics_; } /** + * + * *
    * The metric descriptions.
    * 
@@ -245,11 +289,13 @@ public java.util.List getMetric * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ @java.lang.Override - public java.util.List + public java.util.List getMetricsOrBuilderList() { return metrics_; } /** + * + * *
    * The metric descriptions.
    * 
@@ -261,6 +307,8 @@ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
    * The metric descriptions.
    * 
@@ -272,6 +320,8 @@ public com.google.analytics.data.v1beta.MetricMetadata getMetrics(int index) { return metrics_.get(index); } /** + * + * *
    * The metric descriptions.
    * 
@@ -279,12 +329,12 @@ public com.google.analytics.data.v1beta.MetricMetadata getMetrics(int index) { * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder(int index) { return metrics_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,8 +346,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensions_.size(); i++) { output.writeMessage(1, dimensions_.get(i)); } @@ -317,12 +366,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensions_.get(i)); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metrics_.get(i)); } if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -335,19 +382,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.analytics.data.v1beta.Metadata)) { return super.equals(obj); } - com.google.analytics.data.v1beta.Metadata other = (com.google.analytics.data.v1beta.Metadata) obj; + com.google.analytics.data.v1beta.Metadata other = + (com.google.analytics.data.v1beta.Metadata) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDimensionsList() - .equals(other.getDimensionsList())) return false; - if (!getMetricsList() - .equals(other.getMetricsList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDimensionsList().equals(other.getDimensionsList())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,118 +419,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.Metadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.Metadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Metadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Metadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Metadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Metadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Metadata 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.analytics.data.v1beta.Metadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Metadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Metadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Metadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Metadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Metadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.Metadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 dimensions and metrics currently accepted in reporting methods.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Metadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Metadata) com.google.analytics.data.v1beta.MetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_Metadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Metadata.class, com.google.analytics.data.v1beta.Metadata.Builder.class); + com.google.analytics.data.v1beta.Metadata.class, + com.google.analytics.data.v1beta.Metadata.Builder.class); } // Construct using com.google.analytics.data.v1beta.Metadata.newBuilder() @@ -493,18 +547,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) { getDimensionsFieldBuilder(); getMetricsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +580,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_Metadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_Metadata_descriptor; } @java.lang.Override @@ -547,7 +601,8 @@ public com.google.analytics.data.v1beta.Metadata build() { @java.lang.Override public com.google.analytics.data.v1beta.Metadata buildPartial() { - com.google.analytics.data.v1beta.Metadata result = new com.google.analytics.data.v1beta.Metadata(this); + com.google.analytics.data.v1beta.Metadata result = + new com.google.analytics.data.v1beta.Metadata(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (dimensionsBuilder_ == null) { @@ -576,38 +631,39 @@ public com.google.analytics.data.v1beta.Metadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Metadata) { - return mergeFrom((com.google.analytics.data.v1beta.Metadata)other); + return mergeFrom((com.google.analytics.data.v1beta.Metadata) other); } else { super.mergeFrom(other); return this; @@ -638,9 +694,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Metadata other) { dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionsFieldBuilder() : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionsFieldBuilder() + : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -664,9 +721,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Metadata other) { metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricsFieldBuilder() : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricsFieldBuilder() + : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -700,22 +758,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Resource name of this metadata.
      * 
* * string name = 3; + * * @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; @@ -724,20 +785,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name of this metadata.
      * 
* * string name = 3; + * * @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 { @@ -745,72 +807,87 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name of this metadata.
      * 
* * string name = 3; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of this metadata.
      * 
* * string name = 3; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name of this metadata.
      * 
* * string name = 3; + * * @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 dimensions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(dimensions_); + dimensions_ = + new java.util.ArrayList( + dimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> dimensionsBuilder_; + com.google.analytics.data.v1beta.DimensionMetadata, + com.google.analytics.data.v1beta.DimensionMetadata.Builder, + com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> + dimensionsBuilder_; /** + * + * *
      * The dimension descriptions.
      * 
@@ -825,6 +902,8 @@ public java.util.List getDim } } /** + * + * *
      * The dimension descriptions.
      * 
@@ -839,6 +918,8 @@ public int getDimensionsCount() { } } /** + * + * *
      * The dimension descriptions.
      * 
@@ -853,6 +934,8 @@ public com.google.analytics.data.v1beta.DimensionMetadata getDimensions(int inde } } /** + * + * *
      * The dimension descriptions.
      * 
@@ -874,6 +957,8 @@ public Builder setDimensions( return this; } /** + * + * *
      * The dimension descriptions.
      * 
@@ -892,6 +977,8 @@ public Builder setDimensions( return this; } /** + * + * *
      * The dimension descriptions.
      * 
@@ -912,6 +999,8 @@ public Builder addDimensions(com.google.analytics.data.v1beta.DimensionMetadata return this; } /** + * + * *
      * The dimension descriptions.
      * 
@@ -933,6 +1022,8 @@ public Builder addDimensions( return this; } /** + * + * *
      * The dimension descriptions.
      * 
@@ -951,6 +1042,8 @@ public Builder addDimensions( return this; } /** + * + * *
      * The dimension descriptions.
      * 
@@ -969,6 +1062,8 @@ public Builder addDimensions( return this; } /** + * + * *
      * The dimension descriptions.
      * 
@@ -979,8 +1074,7 @@ public Builder addAllDimensions( java.lang.Iterable values) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); onChanged(); } else { dimensionsBuilder_.addAllMessages(values); @@ -988,6 +1082,8 @@ public Builder addAllDimensions( return this; } /** + * + * *
      * The dimension descriptions.
      * 
@@ -1005,6 +1101,8 @@ public Builder clearDimensions() { return this; } /** + * + * *
      * The dimension descriptions.
      * 
@@ -1022,6 +1120,8 @@ public Builder removeDimensions(int index) { return this; } /** + * + * *
      * The dimension descriptions.
      * 
@@ -1033,6 +1133,8 @@ public com.google.analytics.data.v1beta.DimensionMetadata.Builder getDimensionsB return getDimensionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The dimension descriptions.
      * 
@@ -1042,19 +1144,22 @@ public com.google.analytics.data.v1beta.DimensionMetadata.Builder getDimensionsB public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionsOrBuilder( int index) { if (dimensionsBuilder_ == null) { - return dimensions_.get(index); } else { + return dimensions_.get(index); + } else { return dimensionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The dimension descriptions.
      * 
* * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ - public java.util.List - getDimensionsOrBuilderList() { + public java.util.List + getDimensionsOrBuilderList() { if (dimensionsBuilder_ != null) { return dimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -1062,6 +1167,8 @@ public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensions } } /** + * + * *
      * The dimension descriptions.
      * 
@@ -1069,10 +1176,12 @@ public com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensions * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ public com.google.analytics.data.v1beta.DimensionMetadata.Builder addDimensionsBuilder() { - return getDimensionsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()); + return getDimensionsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()); } /** + * + * *
      * The dimension descriptions.
      * 
@@ -1081,48 +1190,61 @@ public com.google.analytics.data.v1beta.DimensionMetadata.Builder addDimensionsB */ public com.google.analytics.data.v1beta.DimensionMetadata.Builder addDimensionsBuilder( int index) { - return getDimensionsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()); + return getDimensionsFieldBuilder() + .addBuilder( + index, com.google.analytics.data.v1beta.DimensionMetadata.getDefaultInstance()); } /** + * + * *
      * The dimension descriptions.
      * 
* * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ - public java.util.List - getDimensionsBuilderList() { + public java.util.List + getDimensionsBuilderList() { return getDimensionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> + com.google.analytics.data.v1beta.DimensionMetadata, + com.google.analytics.data.v1beta.DimensionMetadata.Builder, + com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> getDimensionsFieldBuilder() { if (dimensionsBuilder_ == null) { - dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionMetadata, com.google.analytics.data.v1beta.DimensionMetadata.Builder, com.google.analytics.data.v1beta.DimensionMetadataOrBuilder>( - dimensions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dimensionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionMetadata, + com.google.analytics.data.v1beta.DimensionMetadata.Builder, + com.google.analytics.data.v1beta.DimensionMetadataOrBuilder>( + dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dimensions_ = null; } return dimensionsBuilder_; } private java.util.List metrics_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(metrics_); + metrics_ = + new java.util.ArrayList(metrics_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder> metricsBuilder_; + com.google.analytics.data.v1beta.MetricMetadata, + com.google.analytics.data.v1beta.MetricMetadata.Builder, + com.google.analytics.data.v1beta.MetricMetadataOrBuilder> + metricsBuilder_; /** + * + * *
      * The metric descriptions.
      * 
@@ -1137,6 +1259,8 @@ public java.util.List getMetric } } /** + * + * *
      * The metric descriptions.
      * 
@@ -1151,6 +1275,8 @@ public int getMetricsCount() { } } /** + * + * *
      * The metric descriptions.
      * 
@@ -1165,14 +1291,15 @@ public com.google.analytics.data.v1beta.MetricMetadata getMetrics(int index) { } } /** + * + * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public Builder setMetrics( - int index, com.google.analytics.data.v1beta.MetricMetadata value) { + public Builder setMetrics(int index, com.google.analytics.data.v1beta.MetricMetadata value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1186,6 +1313,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * The metric descriptions.
      * 
@@ -1204,6 +1333,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * The metric descriptions.
      * 
@@ -1224,14 +1355,15 @@ public Builder addMetrics(com.google.analytics.data.v1beta.MetricMetadata value) return this; } /** + * + * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public Builder addMetrics( - int index, com.google.analytics.data.v1beta.MetricMetadata value) { + public Builder addMetrics(int index, com.google.analytics.data.v1beta.MetricMetadata value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1245,6 +1377,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metric descriptions.
      * 
@@ -1263,6 +1397,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metric descriptions.
      * 
@@ -1281,6 +1417,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metric descriptions.
      * 
@@ -1291,8 +1429,7 @@ public Builder addAllMetrics( java.lang.Iterable values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -1300,6 +1437,8 @@ public Builder addAllMetrics( return this; } /** + * + * *
      * The metric descriptions.
      * 
@@ -1317,6 +1456,8 @@ public Builder clearMetrics() { return this; } /** + * + * *
      * The metric descriptions.
      * 
@@ -1334,39 +1475,44 @@ public Builder removeMetrics(int index) { return this; } /** + * + * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public com.google.analytics.data.v1beta.MetricMetadata.Builder getMetricsBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricMetadata.Builder getMetricsBuilder(int index) { return getMetricsFieldBuilder().getBuilder(index); } /** + * + * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder(int index) { if (metricsBuilder_ == null) { - return metrics_.get(index); } else { + return metrics_.get(index); + } else { return metricsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public java.util.List - getMetricsOrBuilderList() { + public java.util.List + getMetricsOrBuilderList() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilderList(); } else { @@ -1374,6 +1520,8 @@ public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuil } } /** + * + * *
      * The metric descriptions.
      * 
@@ -1381,49 +1529,55 @@ public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuil * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ public com.google.analytics.data.v1beta.MetricMetadata.Builder addMetricsBuilder() { - return getMetricsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()); + return getMetricsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()); } /** + * + * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public com.google.analytics.data.v1beta.MetricMetadata.Builder addMetricsBuilder( - int index) { - return getMetricsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()); + public com.google.analytics.data.v1beta.MetricMetadata.Builder addMetricsBuilder(int index) { + return getMetricsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()); } /** + * + * *
      * The metric descriptions.
      * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - public java.util.List - getMetricsBuilderList() { + public java.util.List + getMetricsBuilderList() { return getMetricsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder> + com.google.analytics.data.v1beta.MetricMetadata, + com.google.analytics.data.v1beta.MetricMetadata.Builder, + com.google.analytics.data.v1beta.MetricMetadataOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { - metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder>( - metrics_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + metricsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.MetricMetadata, + com.google.analytics.data.v1beta.MetricMetadata.Builder, + com.google.analytics.data.v1beta.MetricMetadataOrBuilder>( + metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); metrics_ = null; } return metricsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1433,12 +1587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Metadata) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Metadata) private static final com.google.analytics.data.v1beta.Metadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Metadata(); } @@ -1447,16 +1601,16 @@ public static com.google.analytics.data.v1beta.Metadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Metadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Metadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1471,6 +1625,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Metadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataName.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataName.java similarity index 100% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataName.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataName.java diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java similarity index 74% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java index de2f6d87..ed46aad8 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetadataOrBuilder.java @@ -1,42 +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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface MetadataOrBuilder extends +public interface MetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Metadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of this metadata.
    * 
* * string name = 3; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name of this metadata.
    * 
* * string name = 3; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The dimension descriptions.
    * 
* * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ - java.util.List - getDimensionsList(); + java.util.List getDimensionsList(); /** + * + * *
    * The dimension descriptions.
    * 
@@ -45,6 +69,8 @@ public interface MetadataOrBuilder extends */ com.google.analytics.data.v1beta.DimensionMetadata getDimensions(int index); /** + * + * *
    * The dimension descriptions.
    * 
@@ -53,34 +79,40 @@ public interface MetadataOrBuilder extends */ int getDimensionsCount(); /** + * + * *
    * The dimension descriptions.
    * 
* * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ - java.util.List + java.util.List getDimensionsOrBuilderList(); /** + * + * *
    * The dimension descriptions.
    * 
* * repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1; */ - com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionsOrBuilder( - int index); + com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionsOrBuilder(int index); /** + * + * *
    * The metric descriptions.
    * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - java.util.List - getMetricsList(); + java.util.List getMetricsList(); /** + * + * *
    * The metric descriptions.
    * 
@@ -89,6 +121,8 @@ com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionsOrBuild */ com.google.analytics.data.v1beta.MetricMetadata getMetrics(int index); /** + * + * *
    * The metric descriptions.
    * 
@@ -97,21 +131,24 @@ com.google.analytics.data.v1beta.DimensionMetadataOrBuilder getDimensionsOrBuild */ int getMetricsCount(); /** + * + * *
    * The metric descriptions.
    * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - java.util.List + java.util.List getMetricsOrBuilderList(); /** + * + * *
    * The metric descriptions.
    * 
* * repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2; */ - com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder( - int index); + com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.java similarity index 75% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.java index 5515731c..0c381ce2 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Metric.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The quantitative measurements of a report. For example, the metric
  * `eventCount` is the total number of events. Requests are allowed up to 10
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.Metric}
  */
-public final class Metric extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Metric extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Metric)
     MetricOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Metric.newBuilder() to construct.
   private Metric(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Metric() {
     name_ = "";
     expression_ = "";
@@ -28,16 +46,15 @@ private Metric() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Metric();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Metric(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,58 +73,64 @@ private Metric(
           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();
-
-            expression_ = s;
-            break;
-          }
-          case 24: {
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            invisible_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              expression_ = s;
+              break;
+            }
+          case 24:
+            {
+              invisible_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Metric_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_Metric_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.Metric.class, com.google.analytics.data.v1beta.Metric.Builder.class);
+            com.google.analytics.data.v1beta.Metric.class,
+            com.google.analytics.data.v1beta.Metric.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the metric. See the [API
    * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -122,6 +145,7 @@ private Metric(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -130,14 +154,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 name of the metric. See the [API
    * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -152,16 +177,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 { @@ -172,12 +196,15 @@ public java.lang.String getName() { public static final int EXPRESSION_FIELD_NUMBER = 2; private volatile java.lang.Object expression_; /** + * + * *
    * A mathematical expression for derived metrics. For example, the metric
    * Event count per user is `eventCount/totalUsers`.
    * 
* * string expression = 2; + * * @return The expression. */ @java.lang.Override @@ -186,30 +213,30 @@ public java.lang.String getExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expression_ = s; return s; } } /** + * + * *
    * A mathematical expression for derived metrics. For example, the metric
    * Event count per user is `eventCount/totalUsers`.
    * 
* * string expression = 2; + * * @return The bytes for expression. */ @java.lang.Override - public com.google.protobuf.ByteString - getExpressionBytes() { + public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); expression_ = b; return b; } else { @@ -220,6 +247,8 @@ public java.lang.String getExpression() { public static final int INVISIBLE_FIELD_NUMBER = 3; private boolean invisible_; /** + * + * *
    * Indicates if a metric is invisible in the report response. If a metric is
    * invisible, the metric will not produce a column in the response, but can be
@@ -227,6 +256,7 @@ public java.lang.String getExpression() {
    * 
* * bool invisible = 3; + * * @return The invisible. */ @java.lang.Override @@ -235,6 +265,7 @@ public boolean getInvisible() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +277,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -273,8 +303,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, expression_); } if (invisible_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, invisible_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, invisible_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,19 +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.analytics.data.v1beta.Metric)) { return super.equals(obj); } com.google.analytics.data.v1beta.Metric other = (com.google.analytics.data.v1beta.Metric) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getExpression() - .equals(other.getExpression())) return false; - if (getInvisible() - != other.getInvisible()) return false; + if (!getName().equals(other.getName())) return false; + if (!getExpression().equals(other.getExpression())) return false; + if (getInvisible() != other.getInvisible()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -313,104 +339,110 @@ public int hashCode() { hash = (37 * hash) + EXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getExpression().hashCode(); hash = (37 * hash) + INVISIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getInvisible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInvisible()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.data.v1beta.Metric parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.Metric parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Metric parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Metric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Metric parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Metric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Metric parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Metric 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.analytics.data.v1beta.Metric parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.Metric parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.Metric parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Metric parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Metric parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Metric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.Metric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 quantitative measurements of a report. For example, the metric
    * `eventCount` is the total number of events. Requests are allowed up to 10
@@ -419,21 +451,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.Metric}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Metric)
       com.google.analytics.data.v1beta.MetricOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Metric_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Metric_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.Metric.class, com.google.analytics.data.v1beta.Metric.Builder.class);
+              com.google.analytics.data.v1beta.Metric.class,
+              com.google.analytics.data.v1beta.Metric.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.Metric.newBuilder()
@@ -441,16 +475,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 +497,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Metric_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Metric_descriptor;
     }
 
     @java.lang.Override
@@ -485,7 +518,8 @@ public com.google.analytics.data.v1beta.Metric build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.Metric buildPartial() {
-      com.google.analytics.data.v1beta.Metric result = new com.google.analytics.data.v1beta.Metric(this);
+      com.google.analytics.data.v1beta.Metric result =
+          new com.google.analytics.data.v1beta.Metric(this);
       result.name_ = name_;
       result.expression_ = expression_;
       result.invisible_ = invisible_;
@@ -497,38 +531,39 @@ public com.google.analytics.data.v1beta.Metric buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.Metric) {
-        return mergeFrom((com.google.analytics.data.v1beta.Metric)other);
+        return mergeFrom((com.google.analytics.data.v1beta.Metric) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -579,6 +614,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the metric. See the [API
      * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -593,13 +630,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; @@ -608,6 +645,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the metric. See the [API
      * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -622,15 +661,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 { @@ -638,6 +676,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the metric. See the [API
      * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -652,20 +692,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the metric. See the [API
      * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -680,15 +722,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the metric. See the [API
      * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -703,16 +748,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; @@ -720,19 +765,21 @@ public Builder setNameBytes( private java.lang.Object expression_ = ""; /** + * + * *
      * A mathematical expression for derived metrics. For example, the metric
      * Event count per user is `eventCount/totalUsers`.
      * 
* * string expression = 2; + * * @return The expression. */ public java.lang.String getExpression() { java.lang.Object ref = expression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expression_ = s; return s; @@ -741,21 +788,22 @@ public java.lang.String getExpression() { } } /** + * + * *
      * A mathematical expression for derived metrics. For example, the metric
      * Event count per user is `eventCount/totalUsers`.
      * 
* * string expression = 2; + * * @return The bytes for expression. */ - public com.google.protobuf.ByteString - getExpressionBytes() { + public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); expression_ = b; return b; } else { @@ -763,64 +811,73 @@ public java.lang.String getExpression() { } } /** + * + * *
      * A mathematical expression for derived metrics. For example, the metric
      * Event count per user is `eventCount/totalUsers`.
      * 
* * string expression = 2; + * * @param value The expression to set. * @return This builder for chaining. */ - public Builder setExpression( - java.lang.String value) { + public Builder setExpression(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + expression_ = value; onChanged(); return this; } /** + * + * *
      * A mathematical expression for derived metrics. For example, the metric
      * Event count per user is `eventCount/totalUsers`.
      * 
* * string expression = 2; + * * @return This builder for chaining. */ public Builder clearExpression() { - + expression_ = getDefaultInstance().getExpression(); onChanged(); return this; } /** + * + * *
      * A mathematical expression for derived metrics. For example, the metric
      * Event count per user is `eventCount/totalUsers`.
      * 
* * string expression = 2; + * * @param value The bytes for expression to set. * @return This builder for chaining. */ - public Builder setExpressionBytes( - com.google.protobuf.ByteString value) { + public Builder setExpressionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + expression_ = value; onChanged(); return this; } - private boolean invisible_ ; + private boolean invisible_; /** + * + * *
      * Indicates if a metric is invisible in the report response. If a metric is
      * invisible, the metric will not produce a column in the response, but can be
@@ -828,6 +885,7 @@ public Builder setExpressionBytes(
      * 
* * bool invisible = 3; + * * @return The invisible. */ @java.lang.Override @@ -835,6 +893,8 @@ public boolean getInvisible() { return invisible_; } /** + * + * *
      * Indicates if a metric is invisible in the report response. If a metric is
      * invisible, the metric will not produce a column in the response, but can be
@@ -842,16 +902,19 @@ public boolean getInvisible() {
      * 
* * bool invisible = 3; + * * @param value The invisible to set. * @return This builder for chaining. */ public Builder setInvisible(boolean value) { - + invisible_ = value; onChanged(); return this; } /** + * + * *
      * Indicates if a metric is invisible in the report response. If a metric is
      * invisible, the metric will not produce a column in the response, but can be
@@ -859,17 +922,18 @@ public Builder setInvisible(boolean value) {
      * 
* * bool invisible = 3; + * * @return This builder for chaining. */ public Builder clearInvisible() { - + invisible_ = 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); } @@ -879,12 +943,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Metric) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Metric) private static final com.google.analytics.data.v1beta.Metric DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Metric(); } @@ -893,16 +957,16 @@ public static com.google.analytics.data.v1beta.Metric getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metric parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Metric(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metric parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Metric(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,6 +981,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Metric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java similarity index 69% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java index 3a9fbd1a..2900a72c 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricAggregation.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Represents aggregation of metrics.
  * 
* * Protobuf enum {@code google.analytics.data.v1beta.MetricAggregation} */ -public enum MetricAggregation - implements com.google.protobuf.ProtocolMessageEnum { +public enum MetricAggregation implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified operator.
    * 
@@ -21,6 +39,8 @@ public enum MetricAggregation */ METRIC_AGGREGATION_UNSPECIFIED(0), /** + * + * *
    * SUM operator.
    * 
@@ -29,6 +49,8 @@ public enum MetricAggregation */ TOTAL(1), /** + * + * *
    * Minimum operator.
    * 
@@ -37,6 +59,8 @@ public enum MetricAggregation */ MINIMUM(5), /** + * + * *
    * Maximum operator.
    * 
@@ -45,6 +69,8 @@ public enum MetricAggregation */ MAXIMUM(6), /** + * + * *
    * Count operator.
    * 
@@ -56,6 +82,8 @@ public enum MetricAggregation ; /** + * + * *
    * Unspecified operator.
    * 
@@ -64,6 +92,8 @@ public enum MetricAggregation */ public static final int METRIC_AGGREGATION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * SUM operator.
    * 
@@ -72,6 +102,8 @@ public enum MetricAggregation */ public static final int TOTAL_VALUE = 1; /** + * + * *
    * Minimum operator.
    * 
@@ -80,6 +112,8 @@ public enum MetricAggregation */ public static final int MINIMUM_VALUE = 5; /** + * + * *
    * Maximum operator.
    * 
@@ -88,6 +122,8 @@ public enum MetricAggregation */ public static final int MAXIMUM_VALUE = 6; /** + * + * *
    * Count operator.
    * 
@@ -96,7 +132,6 @@ public enum MetricAggregation */ public static final int COUNT_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -121,41 +156,46 @@ public static MetricAggregation valueOf(int value) { */ public static MetricAggregation forNumber(int value) { switch (value) { - case 0: return METRIC_AGGREGATION_UNSPECIFIED; - case 1: return TOTAL; - case 5: return MINIMUM; - case 6: return MAXIMUM; - case 4: return COUNT; - default: return null; + case 0: + return METRIC_AGGREGATION_UNSPECIFIED; + case 1: + return TOTAL; + case 5: + return MINIMUM; + case 6: + return MAXIMUM; + case 4: + return COUNT; + 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< - MetricAggregation> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetricAggregation findValueByNumber(int number) { - return MetricAggregation.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 MetricAggregation findValueByNumber(int number) { + return MetricAggregation.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.analytics.data.v1beta.ReportingApiProto.getDescriptor().getEnumTypes().get(0); } @@ -164,8 +204,7 @@ public MetricAggregation findValueByNumber(int number) { public static MetricAggregation 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; @@ -181,4 +220,3 @@ private MetricAggregation(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.data.v1beta.MetricAggregation) } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.java similarity index 72% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.java index 628ba11a..b867d025 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibility.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The compatibility for a single metric.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.MetricCompatibility} */ -public final class MetricCompatibility extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MetricCompatibility extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.MetricCompatibility) MetricCompatibilityOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetricCompatibility.newBuilder() to construct. private MetricCompatibility(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MetricCompatibility() { compatibility_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetricCompatibility(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MetricCompatibility( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,61 +71,69 @@ private MetricCompatibility( case 0: done = true; break; - case 10: { - com.google.analytics.data.v1beta.MetricMetadata.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) != 0)) { - subBuilder = metricMetadata_.toBuilder(); + case 10: + { + com.google.analytics.data.v1beta.MetricMetadata.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = metricMetadata_.toBuilder(); + } + metricMetadata_ = + input.readMessage( + com.google.analytics.data.v1beta.MetricMetadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricMetadata_); + metricMetadata_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; } - metricMetadata_ = input.readMessage(com.google.analytics.data.v1beta.MetricMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricMetadata_); - metricMetadata_ = subBuilder.buildPartial(); + case 16: + { + int rawValue = input.readEnum(); + bitField0_ |= 0x00000002; + compatibility_ = rawValue; + break; } - bitField0_ |= 0x00000001; - break; - } - case 16: { - int rawValue = input.readEnum(); - bitField0_ |= 0x00000002; - compatibility_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricCompatibility_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricCompatibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.MetricCompatibility.class, com.google.analytics.data.v1beta.MetricCompatibility.Builder.class); + com.google.analytics.data.v1beta.MetricCompatibility.class, + com.google.analytics.data.v1beta.MetricCompatibility.Builder.class); } private int bitField0_; public static final int METRIC_METADATA_FIELD_NUMBER = 1; private com.google.analytics.data.v1beta.MetricMetadata metricMetadata_; /** + * + * *
    * The metric metadata contains the API name for this compatibility
    * information. The metric metadata also contains other helpful information
@@ -116,6 +141,7 @@ private MetricCompatibility(
    * 
* * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * * @return Whether the metricMetadata field is set. */ @java.lang.Override @@ -123,6 +149,8 @@ public boolean hasMetricMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The metric metadata contains the API name for this compatibility
    * information. The metric metadata also contains other helpful information
@@ -130,13 +158,18 @@ public boolean hasMetricMetadata() {
    * 
* * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * * @return The metricMetadata. */ @java.lang.Override public com.google.analytics.data.v1beta.MetricMetadata getMetricMetadata() { - return metricMetadata_ == null ? com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance() : metricMetadata_; + return metricMetadata_ == null + ? com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance() + : metricMetadata_; } /** + * + * *
    * The metric metadata contains the API name for this compatibility
    * information. The metric metadata also contains other helpful information
@@ -147,51 +180,67 @@ public com.google.analytics.data.v1beta.MetricMetadata getMetricMetadata() {
    */
   @java.lang.Override
   public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricMetadataOrBuilder() {
-    return metricMetadata_ == null ? com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance() : metricMetadata_;
+    return metricMetadata_ == null
+        ? com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()
+        : metricMetadata_;
   }
 
   public static final int COMPATIBILITY_FIELD_NUMBER = 2;
   private int compatibility_;
   /**
+   *
+   *
    * 
    * The compatibility of this metric. If the compatibility is COMPATIBLE,
    * this metric can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return Whether the compatibility field is set. */ - @java.lang.Override public boolean hasCompatibility() { + @java.lang.Override + public boolean hasCompatibility() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The compatibility of this metric. If the compatibility is COMPATIBLE,
    * this metric can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The enum numeric value on the wire for compatibility. */ - @java.lang.Override public int getCompatibilityValue() { + @java.lang.Override + public int getCompatibilityValue() { return compatibility_; } /** + * + * *
    * The compatibility of this metric. If the compatibility is COMPATIBLE,
    * this metric can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The compatibility. */ - @java.lang.Override public com.google.analytics.data.v1beta.Compatibility getCompatibility() { + @java.lang.Override + public com.google.analytics.data.v1beta.Compatibility getCompatibility() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); + com.google.analytics.data.v1beta.Compatibility result = + com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMetricMetadata()); } @@ -221,12 +269,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMetricMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetricMetadata()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, compatibility_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, compatibility_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,17 +282,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.analytics.data.v1beta.MetricCompatibility)) { return super.equals(obj); } - com.google.analytics.data.v1beta.MetricCompatibility other = (com.google.analytics.data.v1beta.MetricCompatibility) obj; + com.google.analytics.data.v1beta.MetricCompatibility other = + (com.google.analytics.data.v1beta.MetricCompatibility) obj; if (hasMetricMetadata() != other.hasMetricMetadata()) return false; if (hasMetricMetadata()) { - if (!getMetricMetadata() - .equals(other.getMetricMetadata())) return false; + if (!getMetricMetadata().equals(other.getMetricMetadata())) return false; } if (hasCompatibility() != other.hasCompatibility()) return false; if (hasCompatibility()) { @@ -277,117 +323,126 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricCompatibility parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.MetricCompatibility parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MetricCompatibility parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MetricCompatibility parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.MetricCompatibility prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 compatibility for a single metric.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.MetricCompatibility} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.MetricCompatibility) com.google.analytics.data.v1beta.MetricCompatibilityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricCompatibility_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricCompatibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.MetricCompatibility.class, com.google.analytics.data.v1beta.MetricCompatibility.Builder.class); + com.google.analytics.data.v1beta.MetricCompatibility.class, + com.google.analytics.data.v1beta.MetricCompatibility.Builder.class); } // Construct using com.google.analytics.data.v1beta.MetricCompatibility.newBuilder() @@ -395,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) { getMetricMetadataFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -421,9 +476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; } @java.lang.Override @@ -442,7 +497,8 @@ public com.google.analytics.data.v1beta.MetricCompatibility build() { @java.lang.Override public com.google.analytics.data.v1beta.MetricCompatibility buildPartial() { - com.google.analytics.data.v1beta.MetricCompatibility result = new com.google.analytics.data.v1beta.MetricCompatibility(this); + com.google.analytics.data.v1beta.MetricCompatibility result = + new com.google.analytics.data.v1beta.MetricCompatibility(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -466,38 +522,39 @@ public com.google.analytics.data.v1beta.MetricCompatibility buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.MetricCompatibility) { - return mergeFrom((com.google.analytics.data.v1beta.MetricCompatibility)other); + return mergeFrom((com.google.analytics.data.v1beta.MetricCompatibility) other); } else { super.mergeFrom(other); return this; @@ -505,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.MetricCompatibility other) { - if (other == com.google.analytics.data.v1beta.MetricCompatibility.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.MetricCompatibility.getDefaultInstance()) + return this; if (other.hasMetricMetadata()) { mergeMetricMetadata(other.getMetricMetadata()); } @@ -531,7 +589,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.MetricCompatibility) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.MetricCompatibility) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -540,12 +599,18 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.analytics.data.v1beta.MetricMetadata metricMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder> metricMetadataBuilder_; + com.google.analytics.data.v1beta.MetricMetadata, + com.google.analytics.data.v1beta.MetricMetadata.Builder, + com.google.analytics.data.v1beta.MetricMetadataOrBuilder> + metricMetadataBuilder_; /** + * + * *
      * The metric metadata contains the API name for this compatibility
      * information. The metric metadata also contains other helpful information
@@ -553,12 +618,15 @@ public Builder mergeFrom(
      * 
* * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * * @return Whether the metricMetadata field is set. */ public boolean hasMetricMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The metric metadata contains the API name for this compatibility
      * information. The metric metadata also contains other helpful information
@@ -566,16 +634,21 @@ public boolean hasMetricMetadata() {
      * 
* * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * * @return The metricMetadata. */ public com.google.analytics.data.v1beta.MetricMetadata getMetricMetadata() { if (metricMetadataBuilder_ == null) { - return metricMetadata_ == null ? com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance() : metricMetadata_; + return metricMetadata_ == null + ? com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance() + : metricMetadata_; } else { return metricMetadataBuilder_.getMessage(); } } /** + * + * *
      * The metric metadata contains the API name for this compatibility
      * information. The metric metadata also contains other helpful information
@@ -598,6 +671,8 @@ public Builder setMetricMetadata(com.google.analytics.data.v1beta.MetricMetadata
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric metadata contains the API name for this compatibility
      * information. The metric metadata also contains other helpful information
@@ -618,6 +693,8 @@ public Builder setMetricMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric metadata contains the API name for this compatibility
      * information. The metric metadata also contains other helpful information
@@ -628,11 +705,14 @@ public Builder setMetricMetadata(
      */
     public Builder mergeMetricMetadata(com.google.analytics.data.v1beta.MetricMetadata value) {
       if (metricMetadataBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-            metricMetadata_ != null &&
-            metricMetadata_ != com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && metricMetadata_ != null
+            && metricMetadata_
+                != com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()) {
           metricMetadata_ =
-            com.google.analytics.data.v1beta.MetricMetadata.newBuilder(metricMetadata_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.MetricMetadata.newBuilder(metricMetadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metricMetadata_ = value;
         }
@@ -644,6 +724,8 @@ public Builder mergeMetricMetadata(com.google.analytics.data.v1beta.MetricMetada
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric metadata contains the API name for this compatibility
      * information. The metric metadata also contains other helpful information
@@ -663,6 +745,8 @@ public Builder clearMetricMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric metadata contains the API name for this compatibility
      * information. The metric metadata also contains other helpful information
@@ -677,6 +761,8 @@ public com.google.analytics.data.v1beta.MetricMetadata.Builder getMetricMetadata
       return getMetricMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The metric metadata contains the API name for this compatibility
      * information. The metric metadata also contains other helpful information
@@ -689,11 +775,14 @@ public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricMetadat
       if (metricMetadataBuilder_ != null) {
         return metricMetadataBuilder_.getMessageOrBuilder();
       } else {
-        return metricMetadata_ == null ?
-            com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance() : metricMetadata_;
+        return metricMetadata_ == null
+            ? com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()
+            : metricMetadata_;
       }
     }
     /**
+     *
+     *
      * 
      * The metric metadata contains the API name for this compatibility
      * information. The metric metadata also contains other helpful information
@@ -703,14 +792,17 @@ public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricMetadat
      * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder> 
+            com.google.analytics.data.v1beta.MetricMetadata,
+            com.google.analytics.data.v1beta.MetricMetadata.Builder,
+            com.google.analytics.data.v1beta.MetricMetadataOrBuilder>
         getMetricMetadataFieldBuilder() {
       if (metricMetadataBuilder_ == null) {
-        metricMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricMetadata, com.google.analytics.data.v1beta.MetricMetadata.Builder, com.google.analytics.data.v1beta.MetricMetadataOrBuilder>(
-                getMetricMetadata(),
-                getParentForChildren(),
-                isClean());
+        metricMetadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.MetricMetadata,
+                com.google.analytics.data.v1beta.MetricMetadata.Builder,
+                com.google.analytics.data.v1beta.MetricMetadataOrBuilder>(
+                getMetricMetadata(), getParentForChildren(), isClean());
         metricMetadata_ = null;
       }
       return metricMetadataBuilder_;
@@ -718,36 +810,47 @@ public com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricMetadat
 
     private int compatibility_ = 0;
     /**
+     *
+     *
      * 
      * The compatibility of this metric. If the compatibility is COMPATIBLE,
      * this metric can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return Whether the compatibility field is set. */ - @java.lang.Override public boolean hasCompatibility() { + @java.lang.Override + public boolean hasCompatibility() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The compatibility of this metric. If the compatibility is COMPATIBLE,
      * this metric can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The enum numeric value on the wire for compatibility. */ - @java.lang.Override public int getCompatibilityValue() { + @java.lang.Override + public int getCompatibilityValue() { return compatibility_; } /** + * + * *
      * The compatibility of this metric. If the compatibility is COMPATIBLE,
      * this metric can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @param value The enum numeric value on the wire for compatibility to set. * @return This builder for chaining. */ @@ -758,27 +861,34 @@ public Builder setCompatibilityValue(int value) { return this; } /** + * + * *
      * The compatibility of this metric. If the compatibility is COMPATIBLE,
      * this metric can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The compatibility. */ @java.lang.Override public com.google.analytics.data.v1beta.Compatibility getCompatibility() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.Compatibility result = com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); + com.google.analytics.data.v1beta.Compatibility result = + com.google.analytics.data.v1beta.Compatibility.valueOf(compatibility_); return result == null ? com.google.analytics.data.v1beta.Compatibility.UNRECOGNIZED : result; } /** + * + * *
      * The compatibility of this metric. If the compatibility is COMPATIBLE,
      * this metric can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @param value The compatibility to set. * @return This builder for chaining. */ @@ -792,12 +902,15 @@ public Builder setCompatibility(com.google.analytics.data.v1beta.Compatibility v return this; } /** + * + * *
      * The compatibility of this metric. If the compatibility is COMPATIBLE,
      * this metric can be successfully added to the report.
      * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return This builder for chaining. */ public Builder clearCompatibility() { @@ -806,9 +919,9 @@ public Builder clearCompatibility() { 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); } @@ -818,12 +931,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.MetricCompatibility) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.MetricCompatibility) private static final com.google.analytics.data.v1beta.MetricCompatibility DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.MetricCompatibility(); } @@ -832,16 +945,16 @@ public static com.google.analytics.data.v1beta.MetricCompatibility getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricCompatibility parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricCompatibility(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricCompatibility parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetricCompatibility(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -856,6 +969,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.MetricCompatibility getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.java similarity index 77% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.java index e270d794..9a4b0fd8 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricCompatibilityOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MetricCompatibilityOrBuilder extends +public interface MetricCompatibilityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.MetricCompatibility) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The metric metadata contains the API name for this compatibility
    * information. The metric metadata also contains other helpful information
@@ -15,10 +33,13 @@ public interface MetricCompatibilityOrBuilder extends
    * 
* * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * * @return Whether the metricMetadata field is set. */ boolean hasMetricMetadata(); /** + * + * *
    * The metric metadata contains the API name for this compatibility
    * information. The metric metadata also contains other helpful information
@@ -26,10 +47,13 @@ public interface MetricCompatibilityOrBuilder extends
    * 
* * .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1; + * * @return The metricMetadata. */ com.google.analytics.data.v1beta.MetricMetadata getMetricMetadata(); /** + * + * *
    * The metric metadata contains the API name for this compatibility
    * information. The metric metadata also contains other helpful information
@@ -41,32 +65,41 @@ public interface MetricCompatibilityOrBuilder extends
   com.google.analytics.data.v1beta.MetricMetadataOrBuilder getMetricMetadataOrBuilder();
 
   /**
+   *
+   *
    * 
    * The compatibility of this metric. If the compatibility is COMPATIBLE,
    * this metric can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return Whether the compatibility field is set. */ boolean hasCompatibility(); /** + * + * *
    * The compatibility of this metric. If the compatibility is COMPATIBLE,
    * this metric can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The enum numeric value on the wire for compatibility. */ int getCompatibilityValue(); /** + * + * *
    * The compatibility of this metric. If the compatibility is COMPATIBLE,
    * this metric can be successfully added to the report.
    * 
* * .google.analytics.data.v1beta.Compatibility compatibility = 2; + * * @return The compatibility. */ com.google.analytics.data.v1beta.Compatibility getCompatibility(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java similarity index 70% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java index ac342021..a8feaad4 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeader.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Describes a metric column in the report. Visible metrics requested in a
  * report produce column entries within rows and MetricHeaders. However,
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.MetricHeader}
  */
-public final class MetricHeader extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MetricHeader extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.MetricHeader)
     MetricHeaderOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MetricHeader.newBuilder() to construct.
   private MetricHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MetricHeader() {
     name_ = "";
     type_ = 0;
@@ -29,16 +47,15 @@ private MetricHeader() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MetricHeader();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MetricHeader(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,58 +74,65 @@ private MetricHeader(
           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();
 
-            type_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              type_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.MetricHeader.class, com.google.analytics.data.v1beta.MetricHeader.Builder.class);
+            com.google.analytics.data.v1beta.MetricHeader.class,
+            com.google.analytics.data.v1beta.MetricHeader.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The metric's name.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -117,29 +141,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The metric's 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 { @@ -150,31 +174,41 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
    * The metric's data type.
    * 
* * .google.analytics.data.v1beta.MetricType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The metric's data type.
    * 
* * .google.analytics.data.v1beta.MetricType type = 2; + * * @return The type. */ - @java.lang.Override public com.google.analytics.data.v1beta.MetricType getType() { + @java.lang.Override + public com.google.analytics.data.v1beta.MetricType getType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricType result = com.google.analytics.data.v1beta.MetricType.valueOf(type_); + com.google.analytics.data.v1beta.MetricType result = + com.google.analytics.data.v1beta.MetricType.valueOf(type_); return result == null ? com.google.analytics.data.v1beta.MetricType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,8 +220,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,8 +240,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (type_ != com.google.analytics.data.v1beta.MetricType.METRIC_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -218,15 +250,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.analytics.data.v1beta.MetricHeader)) { return super.equals(obj); } - com.google.analytics.data.v1beta.MetricHeader other = (com.google.analytics.data.v1beta.MetricHeader) obj; + com.google.analytics.data.v1beta.MetricHeader other = + (com.google.analytics.data.v1beta.MetricHeader) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,97 +280,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.MetricHeader parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.MetricHeader parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricHeader parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricHeader parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricHeader 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.analytics.data.v1beta.MetricHeader parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricHeader parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.MetricHeader parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MetricHeader parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricHeader parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MetricHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.MetricHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 metric column in the report. Visible metrics requested in a
    * report produce column entries within rows and MetricHeaders. However,
@@ -348,21 +387,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.MetricHeader}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.MetricHeader)
       com.google.analytics.data.v1beta.MetricHeaderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.MetricHeader.class, com.google.analytics.data.v1beta.MetricHeader.Builder.class);
+              com.google.analytics.data.v1beta.MetricHeader.class,
+              com.google.analytics.data.v1beta.MetricHeader.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.MetricHeader.newBuilder()
@@ -370,16 +411,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();
@@ -391,9 +431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_MetricHeader_descriptor;
     }
 
     @java.lang.Override
@@ -412,7 +452,8 @@ public com.google.analytics.data.v1beta.MetricHeader build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.MetricHeader buildPartial() {
-      com.google.analytics.data.v1beta.MetricHeader result = new com.google.analytics.data.v1beta.MetricHeader(this);
+      com.google.analytics.data.v1beta.MetricHeader result =
+          new com.google.analytics.data.v1beta.MetricHeader(this);
       result.name_ = name_;
       result.type_ = type_;
       onBuilt();
@@ -423,38 +464,39 @@ public com.google.analytics.data.v1beta.MetricHeader buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.MetricHeader) {
-        return mergeFrom((com.google.analytics.data.v1beta.MetricHeader)other);
+        return mergeFrom((com.google.analytics.data.v1beta.MetricHeader) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -501,18 +543,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The metric's 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; @@ -521,20 +565,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The metric's 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 { @@ -542,54 +587,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The metric's 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; } /** + * + * *
      * The metric's name.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The metric's 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; @@ -597,51 +649,65 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
      * The metric's data type.
      * 
* * .google.analytics.data.v1beta.MetricType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The metric's data type.
      * 
* * .google.analytics.data.v1beta.MetricType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The metric's data type.
      * 
* * .google.analytics.data.v1beta.MetricType type = 2; + * * @return The type. */ @java.lang.Override public com.google.analytics.data.v1beta.MetricType getType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricType result = com.google.analytics.data.v1beta.MetricType.valueOf(type_); + com.google.analytics.data.v1beta.MetricType result = + com.google.analytics.data.v1beta.MetricType.valueOf(type_); return result == null ? com.google.analytics.data.v1beta.MetricType.UNRECOGNIZED : result; } /** + * + * *
      * The metric's data type.
      * 
* * .google.analytics.data.v1beta.MetricType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -649,28 +715,31 @@ public Builder setType(com.google.analytics.data.v1beta.MetricType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The metric's data type.
      * 
* * .google.analytics.data.v1beta.MetricType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -680,12 +749,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.MetricHeader) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.MetricHeader) private static final com.google.analytics.data.v1beta.MetricHeader DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.MetricHeader(); } @@ -694,16 +763,16 @@ public static com.google.analytics.data.v1beta.MetricHeader getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricHeader(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricHeader parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetricHeader(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -718,6 +787,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.MetricHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java similarity index 57% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java index d7e98401..4c4e6ad3 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricHeaderOrBuilder.java @@ -1,47 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MetricHeaderOrBuilder extends +public interface MetricHeaderOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.MetricHeader) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The metric's name.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The metric's name.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The metric's data type.
    * 
* * .google.analytics.data.v1beta.MetricType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The metric's data type.
    * 
* * .google.analytics.data.v1beta.MetricType type = 2; + * * @return The type. */ com.google.analytics.data.v1beta.MetricType getType(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java similarity index 75% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java index edda6077..49cac8b1 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadata.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Explains a metric.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.MetricMetadata} */ -public final class MetricMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MetricMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.MetricMetadata) MetricMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetricMetadata.newBuilder() to construct. private MetricMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MetricMetadata() { apiName_ = ""; uiName_ = ""; @@ -31,16 +49,15 @@ private MetricMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetricMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MetricMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,70 +77,76 @@ private MetricMetadata( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - apiName_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - uiName_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + apiName_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + uiName_ = s; + break; } - deprecatedApiNames_.add(s); - break; - } - case 40: { - int rawValue = input.readEnum(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - type_ = rawValue; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + deprecatedApiNames_.add(s); + break; + } + case 40: + { + int rawValue = input.readEnum(); - expression_ = s; - break; - } - case 56: { + type_ = rawValue; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - customDefinition_ = input.readBool(); - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); + expression_ = s; + break; + } + case 56: + { + customDefinition_ = input.readBool(); + break; + } + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - category_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + category_ = 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)) { deprecatedApiNames_ = deprecatedApiNames_.getUnmodifiableView(); @@ -132,28 +155,34 @@ private MetricMetadata( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.MetricMetadata.class, com.google.analytics.data.v1beta.MetricMetadata.Builder.class); + com.google.analytics.data.v1beta.MetricMetadata.class, + com.google.analytics.data.v1beta.MetricMetadata.Builder.class); } public static final int API_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object apiName_; /** + * + * *
    * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
    * `eventCount`.
    * 
* * string api_name = 1; + * * @return The apiName. */ @java.lang.Override @@ -162,30 +191,30 @@ public java.lang.String getApiName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiName_ = s; return s; } } /** + * + * *
    * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
    * `eventCount`.
    * 
* * string api_name = 1; + * * @return The bytes for apiName. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiNameBytes() { + public com.google.protobuf.ByteString getApiNameBytes() { java.lang.Object ref = apiName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiName_ = b; return b; } else { @@ -196,12 +225,15 @@ public java.lang.String getApiName() { public static final int UI_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object uiName_; /** + * + * *
    * This metric's name within the Google Analytics user interface. For example,
    * `Event count`.
    * 
* * string ui_name = 2; + * * @return The uiName. */ @java.lang.Override @@ -210,30 +242,30 @@ public java.lang.String getUiName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uiName_ = s; return s; } } /** + * + * *
    * This metric's name within the Google Analytics user interface. For example,
    * `Event count`.
    * 
* * string ui_name = 2; + * * @return The bytes for uiName. */ @java.lang.Override - public com.google.protobuf.ByteString - getUiNameBytes() { + public com.google.protobuf.ByteString getUiNameBytes() { java.lang.Object ref = uiName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uiName_ = b; return b; } else { @@ -244,11 +276,14 @@ public java.lang.String getUiName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Description of how this metric is used and calculated.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -257,29 +292,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Description of how this metric is used and calculated.
    * 
* * 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 { @@ -290,6 +325,8 @@ public java.lang.String getDescription() { public static final int DEPRECATED_API_NAMES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList deprecatedApiNames_; /** + * + * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -298,13 +335,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string deprecated_api_names = 4; + * * @return A list containing the deprecatedApiNames. */ - public com.google.protobuf.ProtocolStringList - getDeprecatedApiNamesList() { + public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { return deprecatedApiNames_; } /** + * + * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -313,12 +352,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string deprecated_api_names = 4; + * * @return The count of deprecatedApiNames. */ public int getDeprecatedApiNamesCount() { return deprecatedApiNames_.size(); } /** + * + * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -327,6 +369,7 @@ public int getDeprecatedApiNamesCount() {
    * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ @@ -334,6 +377,8 @@ public java.lang.String getDeprecatedApiNames(int index) { return deprecatedApiNames_.get(index); } /** + * + * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -342,44 +387,55 @@ public java.lang.String getDeprecatedApiNames(int index) {
    * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - public com.google.protobuf.ByteString - getDeprecatedApiNamesBytes(int index) { + public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { return deprecatedApiNames_.getByteString(index); } public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** + * + * *
    * The type of this metric.
    * 
* * .google.analytics.data.v1beta.MetricType type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The type of this metric.
    * 
* * .google.analytics.data.v1beta.MetricType type = 5; + * * @return The type. */ - @java.lang.Override public com.google.analytics.data.v1beta.MetricType getType() { + @java.lang.Override + public com.google.analytics.data.v1beta.MetricType getType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricType result = com.google.analytics.data.v1beta.MetricType.valueOf(type_); + com.google.analytics.data.v1beta.MetricType result = + com.google.analytics.data.v1beta.MetricType.valueOf(type_); return result == null ? com.google.analytics.data.v1beta.MetricType.UNRECOGNIZED : result; } public static final int EXPRESSION_FIELD_NUMBER = 6; private volatile java.lang.Object expression_; /** + * + * *
    * The mathematical expression for this derived metric. Can be used in
    * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -387,6 +443,7 @@ public java.lang.String getDeprecatedApiNames(int index) {
    * 
* * string expression = 6; + * * @return The expression. */ @java.lang.Override @@ -395,14 +452,15 @@ public java.lang.String getExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expression_ = s; return s; } } /** + * + * *
    * The mathematical expression for this derived metric. Can be used in
    * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -410,16 +468,15 @@ public java.lang.String getExpression() {
    * 
* * string expression = 6; + * * @return The bytes for expression. */ @java.lang.Override - public com.google.protobuf.ByteString - getExpressionBytes() { + public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); expression_ = b; return b; } else { @@ -430,11 +487,14 @@ public java.lang.String getExpression() { public static final int CUSTOM_DEFINITION_FIELD_NUMBER = 7; private boolean customDefinition_; /** + * + * *
    * True if the metric is a custom metric for this property.
    * 
* * bool custom_definition = 7; + * * @return The customDefinition. */ @java.lang.Override @@ -445,12 +505,15 @@ public boolean getCustomDefinition() { public static final int CATEGORY_FIELD_NUMBER = 10; private volatile java.lang.Object category_; /** + * + * *
    * The display name of the category that this metrics belongs to. Similar
    * dimensions and metrics are categorized together.
    * 
* * string category = 10; + * * @return The category. */ @java.lang.Override @@ -459,30 +522,30 @@ public java.lang.String getCategory() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; } } /** + * + * *
    * The display name of the category that this metrics belongs to. Similar
    * dimensions and metrics are categorized together.
    * 
* * string category = 10; + * * @return The bytes for category. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryBytes() { + public com.google.protobuf.ByteString getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); category_ = b; return b; } else { @@ -491,6 +554,7 @@ public java.lang.String getCategory() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -502,8 +566,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getApiNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apiName_); } @@ -555,15 +618,13 @@ public int getSerializedSize() { size += 1 * getDeprecatedApiNamesList().size(); } if (type_ != com.google.analytics.data.v1beta.MetricType.METRIC_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); } if (!getExpressionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, expression_); } if (customDefinition_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, customDefinition_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, customDefinition_); } if (!getCategoryBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, category_); @@ -576,28 +637,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.analytics.data.v1beta.MetricMetadata)) { return super.equals(obj); } - com.google.analytics.data.v1beta.MetricMetadata other = (com.google.analytics.data.v1beta.MetricMetadata) obj; + com.google.analytics.data.v1beta.MetricMetadata other = + (com.google.analytics.data.v1beta.MetricMetadata) obj; - if (!getApiName() - .equals(other.getApiName())) return false; - if (!getUiName() - .equals(other.getUiName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getDeprecatedApiNamesList() - .equals(other.getDeprecatedApiNamesList())) return false; + if (!getApiName().equals(other.getApiName())) return false; + if (!getUiName().equals(other.getUiName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDeprecatedApiNamesList().equals(other.getDeprecatedApiNamesList())) return false; if (type_ != other.type_) return false; - if (!getExpression() - .equals(other.getExpression())) return false; - if (getCustomDefinition() - != other.getCustomDefinition()) return false; - if (!getCategory() - .equals(other.getCategory())) return false; + if (!getExpression().equals(other.getExpression())) return false; + if (getCustomDefinition() != other.getCustomDefinition()) return false; + if (!getCategory().equals(other.getCategory())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -624,8 +679,7 @@ public int hashCode() { hash = (37 * hash) + EXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getExpression().hashCode(); hash = (37 * hash) + CUSTOM_DEFINITION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCustomDefinition()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCustomDefinition()); hash = (37 * hash) + CATEGORY_FIELD_NUMBER; hash = (53 * hash) + getCategory().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -633,118 +687,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.MetricMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricMetadata 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.analytics.data.v1beta.MetricMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.MetricMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MetricMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MetricMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.MetricMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Explains a metric.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.MetricMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.MetricMetadata) com.google.analytics.data.v1beta.MetricMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.MetricMetadata.class, com.google.analytics.data.v1beta.MetricMetadata.Builder.class); + com.google.analytics.data.v1beta.MetricMetadata.class, + com.google.analytics.data.v1beta.MetricMetadata.Builder.class); } // Construct using com.google.analytics.data.v1beta.MetricMetadata.newBuilder() @@ -752,16 +815,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(); @@ -785,9 +847,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; } @java.lang.Override @@ -806,7 +868,8 @@ public com.google.analytics.data.v1beta.MetricMetadata build() { @java.lang.Override public com.google.analytics.data.v1beta.MetricMetadata buildPartial() { - com.google.analytics.data.v1beta.MetricMetadata result = new com.google.analytics.data.v1beta.MetricMetadata(this); + com.google.analytics.data.v1beta.MetricMetadata result = + new com.google.analytics.data.v1beta.MetricMetadata(this); int from_bitField0_ = bitField0_; result.apiName_ = apiName_; result.uiName_ = uiName_; @@ -828,38 +891,39 @@ public com.google.analytics.data.v1beta.MetricMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.MetricMetadata) { - return mergeFrom((com.google.analytics.data.v1beta.MetricMetadata)other); + return mergeFrom((com.google.analytics.data.v1beta.MetricMetadata) other); } else { super.mergeFrom(other); return this; @@ -867,7 +931,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.MetricMetadata other) { - if (other == com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.MetricMetadata.getDefaultInstance()) + return this; if (!other.getApiName().isEmpty()) { apiName_ = other.apiName_; onChanged(); @@ -932,23 +997,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object apiName_ = ""; /** + * + * *
      * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
      * `eventCount`.
      * 
* * string api_name = 1; + * * @return The apiName. */ public java.lang.String getApiName() { java.lang.Object ref = apiName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiName_ = s; return s; @@ -957,21 +1025,22 @@ public java.lang.String getApiName() { } } /** + * + * *
      * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
      * `eventCount`.
      * 
* * string api_name = 1; + * * @return The bytes for apiName. */ - public com.google.protobuf.ByteString - getApiNameBytes() { + public com.google.protobuf.ByteString getApiNameBytes() { java.lang.Object ref = apiName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiName_ = b; return b; } else { @@ -979,57 +1048,64 @@ public java.lang.String getApiName() { } } /** + * + * *
      * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
      * `eventCount`.
      * 
* * string api_name = 1; + * * @param value The apiName to set. * @return This builder for chaining. */ - public Builder setApiName( - java.lang.String value) { + public Builder setApiName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiName_ = value; onChanged(); return this; } /** + * + * *
      * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
      * `eventCount`.
      * 
* * string api_name = 1; + * * @return This builder for chaining. */ public Builder clearApiName() { - + apiName_ = getDefaultInstance().getApiName(); onChanged(); return this; } /** + * + * *
      * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
      * `eventCount`.
      * 
* * string api_name = 1; + * * @param value The bytes for apiName to set. * @return This builder for chaining. */ - public Builder setApiNameBytes( - com.google.protobuf.ByteString value) { + public Builder setApiNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiName_ = value; onChanged(); return this; @@ -1037,19 +1113,21 @@ public Builder setApiNameBytes( private java.lang.Object uiName_ = ""; /** + * + * *
      * This metric's name within the Google Analytics user interface. For example,
      * `Event count`.
      * 
* * string ui_name = 2; + * * @return The uiName. */ public java.lang.String getUiName() { java.lang.Object ref = uiName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uiName_ = s; return s; @@ -1058,21 +1136,22 @@ public java.lang.String getUiName() { } } /** + * + * *
      * This metric's name within the Google Analytics user interface. For example,
      * `Event count`.
      * 
* * string ui_name = 2; + * * @return The bytes for uiName. */ - public com.google.protobuf.ByteString - getUiNameBytes() { + public com.google.protobuf.ByteString getUiNameBytes() { java.lang.Object ref = uiName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uiName_ = b; return b; } else { @@ -1080,57 +1159,64 @@ public java.lang.String getUiName() { } } /** + * + * *
      * This metric's name within the Google Analytics user interface. For example,
      * `Event count`.
      * 
* * string ui_name = 2; + * * @param value The uiName to set. * @return This builder for chaining. */ - public Builder setUiName( - java.lang.String value) { + public Builder setUiName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uiName_ = value; onChanged(); return this; } /** + * + * *
      * This metric's name within the Google Analytics user interface. For example,
      * `Event count`.
      * 
* * string ui_name = 2; + * * @return This builder for chaining. */ public Builder clearUiName() { - + uiName_ = getDefaultInstance().getUiName(); onChanged(); return this; } /** + * + * *
      * This metric's name within the Google Analytics user interface. For example,
      * `Event count`.
      * 
* * string ui_name = 2; + * * @param value The bytes for uiName to set. * @return This builder for chaining. */ - public Builder setUiNameBytes( - com.google.protobuf.ByteString value) { + public Builder setUiNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uiName_ = value; onChanged(); return this; @@ -1138,18 +1224,20 @@ public Builder setUiNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of how this metric is used and calculated.
      * 
* * 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; @@ -1158,20 +1246,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of how this metric is used and calculated.
      * 
* * 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 { @@ -1179,67 +1268,78 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of how this metric is used and calculated.
      * 
* * 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; } /** + * + * *
      * Description of how this metric is used and calculated.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Description of how this metric is used and calculated.
      * 
* * 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 com.google.protobuf.LazyStringList deprecatedApiNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList deprecatedApiNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDeprecatedApiNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { deprecatedApiNames_ = new com.google.protobuf.LazyStringArrayList(deprecatedApiNames_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1248,13 +1348,15 @@ private void ensureDeprecatedApiNamesIsMutable() {
      * 
* * repeated string deprecated_api_names = 4; + * * @return A list containing the deprecatedApiNames. */ - public com.google.protobuf.ProtocolStringList - getDeprecatedApiNamesList() { + public com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList() { return deprecatedApiNames_.getUnmodifiableView(); } /** + * + * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1263,12 +1365,15 @@ private void ensureDeprecatedApiNamesIsMutable() {
      * 
* * repeated string deprecated_api_names = 4; + * * @return The count of deprecatedApiNames. */ public int getDeprecatedApiNamesCount() { return deprecatedApiNames_.size(); } /** + * + * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1277,6 +1382,7 @@ public int getDeprecatedApiNamesCount() {
      * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ @@ -1284,6 +1390,8 @@ public java.lang.String getDeprecatedApiNames(int index) { return deprecatedApiNames_.get(index); } /** + * + * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1292,14 +1400,16 @@ public java.lang.String getDeprecatedApiNames(int index) {
      * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - public com.google.protobuf.ByteString - getDeprecatedApiNamesBytes(int index) { + public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index) { return deprecatedApiNames_.getByteString(index); } /** + * + * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1308,21 +1418,23 @@ public java.lang.String getDeprecatedApiNames(int index) {
      * 
* * repeated string deprecated_api_names = 4; + * * @param index The index to set the value at. * @param value The deprecatedApiNames to set. * @return This builder for chaining. */ - public Builder setDeprecatedApiNames( - int index, java.lang.String value) { + public Builder setDeprecatedApiNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); + throw new NullPointerException(); + } + ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.set(index, value); onChanged(); return this; } /** + * + * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1331,20 +1443,22 @@ public Builder setDeprecatedApiNames(
      * 
* * repeated string deprecated_api_names = 4; + * * @param value The deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addDeprecatedApiNames( - java.lang.String value) { + public Builder addDeprecatedApiNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDeprecatedApiNamesIsMutable(); + throw new NullPointerException(); + } + ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.add(value); onChanged(); return this; } /** + * + * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1353,18 +1467,19 @@ public Builder addDeprecatedApiNames(
      * 
* * repeated string deprecated_api_names = 4; + * * @param values The deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addAllDeprecatedApiNames( - java.lang.Iterable values) { + public Builder addAllDeprecatedApiNames(java.lang.Iterable values) { ensureDeprecatedApiNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, deprecatedApiNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deprecatedApiNames_); onChanged(); return this; } /** + * + * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1373,6 +1488,7 @@ public Builder addAllDeprecatedApiNames(
      * 
* * repeated string deprecated_api_names = 4; + * * @return This builder for chaining. */ public Builder clearDeprecatedApiNames() { @@ -1382,6 +1498,8 @@ public Builder clearDeprecatedApiNames() { return this; } /** + * + * *
      * Still usable but deprecated names for this metric. If populated, this
      * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -1390,15 +1508,15 @@ public Builder clearDeprecatedApiNames() {
      * 
* * repeated string deprecated_api_names = 4; + * * @param value The bytes of the deprecatedApiNames to add. * @return This builder for chaining. */ - public Builder addDeprecatedApiNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDeprecatedApiNamesIsMutable(); deprecatedApiNames_.add(value); onChanged(); @@ -1407,51 +1525,65 @@ public Builder addDeprecatedApiNamesBytes( private int type_ = 0; /** + * + * *
      * The type of this metric.
      * 
* * .google.analytics.data.v1beta.MetricType type = 5; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of this metric.
      * 
* * .google.analytics.data.v1beta.MetricType type = 5; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of this metric.
      * 
* * .google.analytics.data.v1beta.MetricType type = 5; + * * @return The type. */ @java.lang.Override public com.google.analytics.data.v1beta.MetricType getType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricType result = com.google.analytics.data.v1beta.MetricType.valueOf(type_); + com.google.analytics.data.v1beta.MetricType result = + com.google.analytics.data.v1beta.MetricType.valueOf(type_); return result == null ? com.google.analytics.data.v1beta.MetricType.UNRECOGNIZED : result; } /** + * + * *
      * The type of this metric.
      * 
* * .google.analytics.data.v1beta.MetricType type = 5; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1459,21 +1591,24 @@ public Builder setType(com.google.analytics.data.v1beta.MetricType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of this metric.
      * 
* * .google.analytics.data.v1beta.MetricType type = 5; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1481,6 +1616,8 @@ public Builder clearType() { private java.lang.Object expression_ = ""; /** + * + * *
      * The mathematical expression for this derived metric. Can be used in
      * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -1488,13 +1625,13 @@ public Builder clearType() {
      * 
* * string expression = 6; + * * @return The expression. */ public java.lang.String getExpression() { java.lang.Object ref = expression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expression_ = s; return s; @@ -1503,6 +1640,8 @@ public java.lang.String getExpression() { } } /** + * + * *
      * The mathematical expression for this derived metric. Can be used in
      * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -1510,15 +1649,14 @@ public java.lang.String getExpression() {
      * 
* * string expression = 6; + * * @return The bytes for expression. */ - public com.google.protobuf.ByteString - getExpressionBytes() { + public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); expression_ = b; return b; } else { @@ -1526,6 +1664,8 @@ public java.lang.String getExpression() { } } /** + * + * *
      * The mathematical expression for this derived metric. Can be used in
      * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -1533,20 +1673,22 @@ public java.lang.String getExpression() {
      * 
* * string expression = 6; + * * @param value The expression to set. * @return This builder for chaining. */ - public Builder setExpression( - java.lang.String value) { + public Builder setExpression(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + expression_ = value; onChanged(); return this; } /** + * + * *
      * The mathematical expression for this derived metric. Can be used in
      * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -1554,15 +1696,18 @@ public Builder setExpression(
      * 
* * string expression = 6; + * * @return This builder for chaining. */ public Builder clearExpression() { - + expression_ = getDefaultInstance().getExpression(); onChanged(); return this; } /** + * + * *
      * The mathematical expression for this derived metric. Can be used in
      * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -1570,28 +1715,31 @@ public Builder clearExpression() {
      * 
* * string expression = 6; + * * @param value The bytes for expression to set. * @return This builder for chaining. */ - public Builder setExpressionBytes( - com.google.protobuf.ByteString value) { + public Builder setExpressionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + expression_ = value; onChanged(); return this; } - private boolean customDefinition_ ; + private boolean customDefinition_; /** + * + * *
      * True if the metric is a custom metric for this property.
      * 
* * bool custom_definition = 7; + * * @return The customDefinition. */ @java.lang.Override @@ -1599,30 +1747,36 @@ public boolean getCustomDefinition() { return customDefinition_; } /** + * + * *
      * True if the metric is a custom metric for this property.
      * 
* * bool custom_definition = 7; + * * @param value The customDefinition to set. * @return This builder for chaining. */ public Builder setCustomDefinition(boolean value) { - + customDefinition_ = value; onChanged(); return this; } /** + * + * *
      * True if the metric is a custom metric for this property.
      * 
* * bool custom_definition = 7; + * * @return This builder for chaining. */ public Builder clearCustomDefinition() { - + customDefinition_ = false; onChanged(); return this; @@ -1630,19 +1784,21 @@ public Builder clearCustomDefinition() { private java.lang.Object category_ = ""; /** + * + * *
      * The display name of the category that this metrics belongs to. Similar
      * dimensions and metrics are categorized together.
      * 
* * string category = 10; + * * @return The category. */ public java.lang.String getCategory() { java.lang.Object ref = category_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; @@ -1651,21 +1807,22 @@ public java.lang.String getCategory() { } } /** + * + * *
      * The display name of the category that this metrics belongs to. Similar
      * dimensions and metrics are categorized together.
      * 
* * string category = 10; + * * @return The bytes for category. */ - public com.google.protobuf.ByteString - getCategoryBytes() { + public com.google.protobuf.ByteString getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); category_ = b; return b; } else { @@ -1673,64 +1830,71 @@ public java.lang.String getCategory() { } } /** + * + * *
      * The display name of the category that this metrics belongs to. Similar
      * dimensions and metrics are categorized together.
      * 
* * string category = 10; + * * @param value The category to set. * @return This builder for chaining. */ - public Builder setCategory( - java.lang.String value) { + public Builder setCategory(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + category_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the category that this metrics belongs to. Similar
      * dimensions and metrics are categorized together.
      * 
* * string category = 10; + * * @return This builder for chaining. */ public Builder clearCategory() { - + category_ = getDefaultInstance().getCategory(); onChanged(); return this; } /** + * + * *
      * The display name of the category that this metrics belongs to. Similar
      * dimensions and metrics are categorized together.
      * 
* * string category = 10; + * * @param value The bytes for category to set. * @return This builder for chaining. */ - public Builder setCategoryBytes( - com.google.protobuf.ByteString value) { + public Builder setCategoryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + category_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1740,12 +1904,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.MetricMetadata) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.MetricMetadata) private static final com.google.analytics.data.v1beta.MetricMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.MetricMetadata(); } @@ -1754,16 +1918,16 @@ public static com.google.analytics.data.v1beta.MetricMetadata getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetricMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1778,6 +1942,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.MetricMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java similarity index 80% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java index e563bef4..5828a0f3 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricMetadataOrBuilder.java @@ -1,77 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MetricMetadataOrBuilder extends +public interface MetricMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.MetricMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
    * `eventCount`.
    * 
* * string api_name = 1; + * * @return The apiName. */ java.lang.String getApiName(); /** + * + * *
    * A metric name. Useable in [Metric](#Metric)'s `name`. For example,
    * `eventCount`.
    * 
* * string api_name = 1; + * * @return The bytes for apiName. */ - com.google.protobuf.ByteString - getApiNameBytes(); + com.google.protobuf.ByteString getApiNameBytes(); /** + * + * *
    * This metric's name within the Google Analytics user interface. For example,
    * `Event count`.
    * 
* * string ui_name = 2; + * * @return The uiName. */ java.lang.String getUiName(); /** + * + * *
    * This metric's name within the Google Analytics user interface. For example,
    * `Event count`.
    * 
* * string ui_name = 2; + * * @return The bytes for uiName. */ - com.google.protobuf.ByteString - getUiNameBytes(); + com.google.protobuf.ByteString getUiNameBytes(); /** + * + * *
    * Description of how this metric is used and calculated.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of how this metric is used and calculated.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -80,11 +113,13 @@ public interface MetricMetadataOrBuilder extends
    * 
* * repeated string deprecated_api_names = 4; + * * @return A list containing the deprecatedApiNames. */ - java.util.List - getDeprecatedApiNamesList(); + java.util.List getDeprecatedApiNamesList(); /** + * + * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -93,10 +128,13 @@ public interface MetricMetadataOrBuilder extends
    * 
* * repeated string deprecated_api_names = 4; + * * @return The count of deprecatedApiNames. */ int getDeprecatedApiNamesCount(); /** + * + * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -105,11 +143,14 @@ public interface MetricMetadataOrBuilder extends
    * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the element to return. * @return The deprecatedApiNames at the given index. */ java.lang.String getDeprecatedApiNames(int index); /** + * + * *
    * Still usable but deprecated names for this metric. If populated, this
    * metric is available by either `apiName` or one of `deprecatedApiNames`
@@ -118,32 +159,40 @@ public interface MetricMetadataOrBuilder extends
    * 
* * repeated string deprecated_api_names = 4; + * * @param index The index of the value to return. * @return The bytes of the deprecatedApiNames at the given index. */ - com.google.protobuf.ByteString - getDeprecatedApiNamesBytes(int index); + com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index); /** + * + * *
    * The type of this metric.
    * 
* * .google.analytics.data.v1beta.MetricType type = 5; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of this metric.
    * 
* * .google.analytics.data.v1beta.MetricType type = 5; + * * @return The type. */ com.google.analytics.data.v1beta.MetricType getType(); /** + * + * *
    * The mathematical expression for this derived metric. Can be used in
    * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -151,10 +200,13 @@ public interface MetricMetadataOrBuilder extends
    * 
* * string expression = 6; + * * @return The expression. */ java.lang.String getExpression(); /** + * + * *
    * The mathematical expression for this derived metric. Can be used in
    * [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics
@@ -162,40 +214,48 @@ public interface MetricMetadataOrBuilder extends
    * 
* * string expression = 6; + * * @return The bytes for expression. */ - com.google.protobuf.ByteString - getExpressionBytes(); + com.google.protobuf.ByteString getExpressionBytes(); /** + * + * *
    * True if the metric is a custom metric for this property.
    * 
* * bool custom_definition = 7; + * * @return The customDefinition. */ boolean getCustomDefinition(); /** + * + * *
    * The display name of the category that this metrics belongs to. Similar
    * dimensions and metrics are categorized together.
    * 
* * string category = 10; + * * @return The category. */ java.lang.String getCategory(); /** + * + * *
    * The display name of the category that this metrics belongs to. Similar
    * dimensions and metrics are categorized together.
    * 
* * string category = 10; + * * @return The bytes for category. */ - com.google.protobuf.ByteString - getCategoryBytes(); + com.google.protobuf.ByteString getCategoryBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java similarity index 76% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java index 2432c07f..e8e2749a 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MetricOrBuilder extends +public interface MetricOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Metric) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the metric. See the [API
    * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -22,10 +40,13 @@ public interface MetricOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the metric. See the [API
    * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
@@ -40,34 +61,41 @@ public interface MetricOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A mathematical expression for derived metrics. For example, the metric
    * Event count per user is `eventCount/totalUsers`.
    * 
* * string expression = 2; + * * @return The expression. */ java.lang.String getExpression(); /** + * + * *
    * A mathematical expression for derived metrics. For example, the metric
    * Event count per user is `eventCount/totalUsers`.
    * 
* * string expression = 2; + * * @return The bytes for expression. */ - com.google.protobuf.ByteString - getExpressionBytes(); + com.google.protobuf.ByteString getExpressionBytes(); /** + * + * *
    * Indicates if a metric is invisible in the report response. If a metric is
    * invisible, the metric will not produce a column in the response, but can be
@@ -75,6 +103,7 @@ public interface MetricOrBuilder extends
    * 
* * bool invisible = 3; + * * @return The invisible. */ boolean getInvisible(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.java similarity index 74% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.java index 5b11ca7b..2d73d42b 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricType.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * A metric's value type.
  * 
* * Protobuf enum {@code google.analytics.data.v1beta.MetricType} */ -public enum MetricType - implements com.google.protobuf.ProtocolMessageEnum { +public enum MetricType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified type.
    * 
@@ -21,6 +39,8 @@ public enum MetricType */ METRIC_TYPE_UNSPECIFIED(0), /** + * + * *
    * Integer type.
    * 
@@ -29,6 +49,8 @@ public enum MetricType */ TYPE_INTEGER(1), /** + * + * *
    * Floating point type.
    * 
@@ -37,6 +59,8 @@ public enum MetricType */ TYPE_FLOAT(2), /** + * + * *
    * A duration of seconds; a special floating point type.
    * 
@@ -45,6 +69,8 @@ public enum MetricType */ TYPE_SECONDS(4), /** + * + * *
    * A duration in milliseconds; a special floating point type.
    * 
@@ -53,6 +79,8 @@ public enum MetricType */ TYPE_MILLISECONDS(5), /** + * + * *
    * A duration in minutes; a special floating point type.
    * 
@@ -61,6 +89,8 @@ public enum MetricType */ TYPE_MINUTES(6), /** + * + * *
    * A duration in hours; a special floating point type.
    * 
@@ -69,6 +99,8 @@ public enum MetricType */ TYPE_HOURS(7), /** + * + * *
    * A custom metric of standard type; a special floating point type.
    * 
@@ -77,6 +109,8 @@ public enum MetricType */ TYPE_STANDARD(8), /** + * + * *
    * An amount of money; a special floating point type.
    * 
@@ -85,6 +119,8 @@ public enum MetricType */ TYPE_CURRENCY(9), /** + * + * *
    * A length in feet; a special floating point type.
    * 
@@ -93,6 +129,8 @@ public enum MetricType */ TYPE_FEET(10), /** + * + * *
    * A length in miles; a special floating point type.
    * 
@@ -101,6 +139,8 @@ public enum MetricType */ TYPE_MILES(11), /** + * + * *
    * A length in meters; a special floating point type.
    * 
@@ -109,6 +149,8 @@ public enum MetricType */ TYPE_METERS(12), /** + * + * *
    * A length in kilometers; a special floating point type.
    * 
@@ -120,6 +162,8 @@ public enum MetricType ; /** + * + * *
    * Unspecified type.
    * 
@@ -128,6 +172,8 @@ public enum MetricType */ public static final int METRIC_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Integer type.
    * 
@@ -136,6 +182,8 @@ public enum MetricType */ public static final int TYPE_INTEGER_VALUE = 1; /** + * + * *
    * Floating point type.
    * 
@@ -144,6 +192,8 @@ public enum MetricType */ public static final int TYPE_FLOAT_VALUE = 2; /** + * + * *
    * A duration of seconds; a special floating point type.
    * 
@@ -152,6 +202,8 @@ public enum MetricType */ public static final int TYPE_SECONDS_VALUE = 4; /** + * + * *
    * A duration in milliseconds; a special floating point type.
    * 
@@ -160,6 +212,8 @@ public enum MetricType */ public static final int TYPE_MILLISECONDS_VALUE = 5; /** + * + * *
    * A duration in minutes; a special floating point type.
    * 
@@ -168,6 +222,8 @@ public enum MetricType */ public static final int TYPE_MINUTES_VALUE = 6; /** + * + * *
    * A duration in hours; a special floating point type.
    * 
@@ -176,6 +232,8 @@ public enum MetricType */ public static final int TYPE_HOURS_VALUE = 7; /** + * + * *
    * A custom metric of standard type; a special floating point type.
    * 
@@ -184,6 +242,8 @@ public enum MetricType */ public static final int TYPE_STANDARD_VALUE = 8; /** + * + * *
    * An amount of money; a special floating point type.
    * 
@@ -192,6 +252,8 @@ public enum MetricType */ public static final int TYPE_CURRENCY_VALUE = 9; /** + * + * *
    * A length in feet; a special floating point type.
    * 
@@ -200,6 +262,8 @@ public enum MetricType */ public static final int TYPE_FEET_VALUE = 10; /** + * + * *
    * A length in miles; a special floating point type.
    * 
@@ -208,6 +272,8 @@ public enum MetricType */ public static final int TYPE_MILES_VALUE = 11; /** + * + * *
    * A length in meters; a special floating point type.
    * 
@@ -216,6 +282,8 @@ public enum MetricType */ public static final int TYPE_METERS_VALUE = 12; /** + * + * *
    * A length in kilometers; a special floating point type.
    * 
@@ -224,7 +292,6 @@ public enum MetricType */ public static final int TYPE_KILOMETERS_VALUE = 13; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -249,59 +316,69 @@ public static MetricType valueOf(int value) { */ public static MetricType forNumber(int value) { switch (value) { - case 0: return METRIC_TYPE_UNSPECIFIED; - case 1: return TYPE_INTEGER; - case 2: return TYPE_FLOAT; - case 4: return TYPE_SECONDS; - case 5: return TYPE_MILLISECONDS; - case 6: return TYPE_MINUTES; - case 7: return TYPE_HOURS; - case 8: return TYPE_STANDARD; - case 9: return TYPE_CURRENCY; - case 10: return TYPE_FEET; - case 11: return TYPE_MILES; - case 12: return TYPE_METERS; - case 13: return TYPE_KILOMETERS; - default: return null; + case 0: + return METRIC_TYPE_UNSPECIFIED; + case 1: + return TYPE_INTEGER; + case 2: + return TYPE_FLOAT; + case 4: + return TYPE_SECONDS; + case 5: + return TYPE_MILLISECONDS; + case 6: + return TYPE_MINUTES; + case 7: + return TYPE_HOURS; + case 8: + return TYPE_STANDARD; + case 9: + return TYPE_CURRENCY; + case 10: + return TYPE_FEET; + case 11: + return TYPE_MILES; + case 12: + return TYPE_METERS; + case 13: + return TYPE_KILOMETERS; + 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< - MetricType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MetricType findValueByNumber(int number) { - return MetricType.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 MetricType findValueByNumber(int number) { + return MetricType.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.analytics.data.v1beta.ReportingApiProto.getDescriptor().getEnumTypes().get(1); } private static final MetricType[] VALUES = values(); - public static MetricType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MetricType 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; @@ -317,4 +394,3 @@ private MetricType(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.data.v1beta.MetricType) } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.java similarity index 69% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.java index adf2a741..af070afd 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValue.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The value of a metric.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.MetricValue} */ -public final class MetricValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MetricValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.MetricValue) MetricValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetricValue.newBuilder() to construct. private MetricValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MetricValue() { - } + + private MetricValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetricValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MetricValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,58 @@ private MetricValue( case 0: done = true; break; - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - oneValueCase_ = 4; - oneValue_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + oneValueCase_ = 4; + oneValue_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.MetricValue.class, com.google.analytics.data.v1beta.MetricValue.Builder.class); + com.google.analytics.data.v1beta.MetricValue.class, + com.google.analytics.data.v1beta.MetricValue.Builder.class); } private int oneValueCase_ = 0; private java.lang.Object oneValue_; + public enum OneValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE(4), ONEVALUE_NOT_SET(0); private final int value; + private OneValueCase(int value) { this.value = value; } @@ -113,40 +135,48 @@ public static OneValueCase valueOf(int value) { public static OneValueCase forNumber(int value) { switch (value) { - case 4: return VALUE; - case 0: return ONEVALUE_NOT_SET; - default: return null; + case 4: + return VALUE; + case 0: + return ONEVALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneValueCase - getOneValueCase() { - return OneValueCase.forNumber( - oneValueCase_); + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); } public static final int VALUE_FIELD_NUMBER = 4; /** + * + * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; + * * @return Whether the value field is set. */ public boolean hasValue() { return oneValueCase_ == 4; } /** + * + * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; + * * @return The value. */ public java.lang.String getValue() { @@ -157,8 +187,7 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (oneValueCase_ == 4) { oneValue_ = s; @@ -167,23 +196,24 @@ public java.lang.String getValue() { } } /** + * + * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = ""; if (oneValueCase_ == 4) { ref = oneValue_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (oneValueCase_ == 4) { oneValue_ = b; } @@ -194,6 +224,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (oneValueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, oneValue_); } @@ -230,18 +260,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.analytics.data.v1beta.MetricValue)) { return super.equals(obj); } - com.google.analytics.data.v1beta.MetricValue other = (com.google.analytics.data.v1beta.MetricValue) obj; + com.google.analytics.data.v1beta.MetricValue other = + (com.google.analytics.data.v1beta.MetricValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 4: - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; break; case 0: default: @@ -270,118 +300,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.MetricValue parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.MetricValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MetricValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricValue 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.analytics.data.v1beta.MetricValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.MetricValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.MetricValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MetricValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.MetricValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MetricValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.MetricValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 value of a metric.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.MetricValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.MetricValue) com.google.analytics.data.v1beta.MetricValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.MetricValue.class, com.google.analytics.data.v1beta.MetricValue.Builder.class); + com.google.analytics.data.v1beta.MetricValue.class, + com.google.analytics.data.v1beta.MetricValue.Builder.class); } // Construct using com.google.analytics.data.v1beta.MetricValue.newBuilder() @@ -389,16 +428,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(); @@ -408,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MetricValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_MetricValue_descriptor; } @java.lang.Override @@ -429,7 +467,8 @@ public com.google.analytics.data.v1beta.MetricValue build() { @java.lang.Override public com.google.analytics.data.v1beta.MetricValue buildPartial() { - com.google.analytics.data.v1beta.MetricValue result = new com.google.analytics.data.v1beta.MetricValue(this); + com.google.analytics.data.v1beta.MetricValue result = + new com.google.analytics.data.v1beta.MetricValue(this); if (oneValueCase_ == 4) { result.oneValue_ = oneValue_; } @@ -442,38 +481,39 @@ public com.google.analytics.data.v1beta.MetricValue buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.MetricValue) { - return mergeFrom((com.google.analytics.data.v1beta.MetricValue)other); + return mergeFrom((com.google.analytics.data.v1beta.MetricValue) other); } else { super.mergeFrom(other); return this; @@ -483,15 +523,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.analytics.data.v1beta.MetricValue other) { if (other == com.google.analytics.data.v1beta.MetricValue.getDefaultInstance()) return this; switch (other.getOneValueCase()) { - case VALUE: { - oneValueCase_ = 4; - oneValue_ = other.oneValue_; - onChanged(); - break; - } - case ONEVALUE_NOT_SET: { - break; - } + case VALUE: + { + oneValueCase_ = 4; + oneValue_ = other.oneValue_; + onChanged(); + break; + } + case ONEVALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -521,12 +563,12 @@ public Builder mergeFrom( } return this; } + private int oneValueCase_ = 0; private java.lang.Object oneValue_; - public OneValueCase - getOneValueCase() { - return OneValueCase.forNumber( - oneValueCase_); + + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); } public Builder clearOneValue() { @@ -536,13 +578,15 @@ public Builder clearOneValue() { return this; } - /** + * + * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; + * * @return Whether the value field is set. */ @java.lang.Override @@ -550,11 +594,14 @@ public boolean hasValue() { return oneValueCase_ == 4; } /** + * + * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; + * * @return The value. */ @java.lang.Override @@ -564,8 +611,7 @@ public java.lang.String getValue() { ref = oneValue_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (oneValueCase_ == 4) { oneValue_ = s; @@ -576,24 +622,25 @@ public java.lang.String getValue() { } } /** + * + * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = ""; if (oneValueCase_ == 4) { ref = oneValue_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (oneValueCase_ == 4) { oneValue_ = b; } @@ -603,30 +650,35 @@ public java.lang.String getValue() { } } /** + * + * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - oneValueCase_ = 4; + throw new NullPointerException(); + } + oneValueCase_ = 4; oneValue_ = value; onChanged(); return this; } /** + * + * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -638,28 +690,30 @@ public Builder clearValue() { return this; } /** + * + * *
      * Measurement value. See MetricHeader for type.
      * 
* * string value = 4; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); oneValueCase_ = 4; oneValue_ = 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); } @@ -669,12 +723,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.MetricValue) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.MetricValue) private static final com.google.analytics.data.v1beta.MetricValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.MetricValue(); } @@ -683,16 +737,16 @@ public static com.google.analytics.data.v1beta.MetricValue getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetricValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -707,6 +761,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.MetricValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java index d8d03ef0..a5578fdd 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MetricValueOrBuilder.java @@ -1,40 +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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MetricValueOrBuilder extends +public interface MetricValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.MetricValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * Measurement value. See MetricHeader for type.
    * 
* * string value = 4; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); public com.google.analytics.data.v1beta.MetricValue.OneValueCase getOneValueCase(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java similarity index 78% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java index 7523235c..7c1be90d 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRange.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ...,
  * endMinutesAgo. Requests are allowed up to 2 minute ranges.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.MinuteRange}
  */
-public final class MinuteRange extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MinuteRange extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.MinuteRange)
     MinuteRangeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MinuteRange.newBuilder() to construct.
   private MinuteRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MinuteRange() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MinuteRange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MinuteRange(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,58 +72,65 @@ private MinuteRange(
           case 0:
             done = true;
             break;
-          case 8: {
-            bitField0_ |= 0x00000001;
-            startMinutesAgo_ = input.readInt32();
-            break;
-          }
-          case 16: {
-            bitField0_ |= 0x00000002;
-            endMinutesAgo_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 8:
+            {
+              bitField0_ |= 0x00000001;
+              startMinutesAgo_ = input.readInt32();
+              break;
+            }
+          case 16:
+            {
+              bitField0_ |= 0x00000002;
+              endMinutesAgo_ = input.readInt32();
+              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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.MinuteRange.class, com.google.analytics.data.v1beta.MinuteRange.Builder.class);
+            com.google.analytics.data.v1beta.MinuteRange.class,
+            com.google.analytics.data.v1beta.MinuteRange.Builder.class);
   }
 
   private int bitField0_;
   public static final int START_MINUTES_AGO_FIELD_NUMBER = 1;
   private int startMinutesAgo_;
   /**
+   *
+   *
    * 
    * The inclusive start minute for the query as a number of minutes before now.
    * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -118,6 +142,7 @@ private MinuteRange(
    * 
* * int32 start_minutes_ago = 1; + * * @return Whether the startMinutesAgo field is set. */ @java.lang.Override @@ -125,6 +150,8 @@ public boolean hasStartMinutesAgo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The inclusive start minute for the query as a number of minutes before now.
    * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -136,6 +163,7 @@ public boolean hasStartMinutesAgo() {
    * 
* * int32 start_minutes_ago = 1; + * * @return The startMinutesAgo. */ @java.lang.Override @@ -146,6 +174,8 @@ public int getStartMinutesAgo() { public static final int END_MINUTES_AGO_FIELD_NUMBER = 2; private int endMinutesAgo_; /** + * + * *
    * The inclusive end minute for the query as a number of minutes before now.
    * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -158,6 +188,7 @@ public int getStartMinutesAgo() {
    * 
* * int32 end_minutes_ago = 2; + * * @return Whether the endMinutesAgo field is set. */ @java.lang.Override @@ -165,6 +196,8 @@ public boolean hasEndMinutesAgo() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The inclusive end minute for the query as a number of minutes before now.
    * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -177,6 +210,7 @@ public boolean hasEndMinutesAgo() {
    * 
* * int32 end_minutes_ago = 2; + * * @return The endMinutesAgo. */ @java.lang.Override @@ -187,6 +221,8 @@ public int getEndMinutesAgo() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Assigns a name to this minute range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -195,6 +231,7 @@ public int getEndMinutesAgo() {
    * 
* * string name = 3; + * * @return The name. */ @java.lang.Override @@ -203,14 +240,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; } } /** + * + * *
    * Assigns a name to this minute range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -219,16 +257,15 @@ public java.lang.String getName() {
    * 
* * string name = 3; + * * @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 { @@ -237,6 +274,7 @@ public java.lang.String getName() { } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, startMinutesAgo_); } @@ -269,12 +306,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, startMinutesAgo_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, startMinutesAgo_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, endMinutesAgo_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, endMinutesAgo_); } if (!getNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -287,25 +322,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.analytics.data.v1beta.MinuteRange)) { return super.equals(obj); } - com.google.analytics.data.v1beta.MinuteRange other = (com.google.analytics.data.v1beta.MinuteRange) obj; + com.google.analytics.data.v1beta.MinuteRange other = + (com.google.analytics.data.v1beta.MinuteRange) obj; if (hasStartMinutesAgo() != other.hasStartMinutesAgo()) return false; if (hasStartMinutesAgo()) { - if (getStartMinutesAgo() - != other.getStartMinutesAgo()) return false; + if (getStartMinutesAgo() != other.getStartMinutesAgo()) return false; } if (hasEndMinutesAgo() != other.hasEndMinutesAgo()) return false; if (hasEndMinutesAgo()) { - if (getEndMinutesAgo() - != other.getEndMinutesAgo()) return false; + if (getEndMinutesAgo() != other.getEndMinutesAgo()) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,97 +365,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.MinuteRange parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.MinuteRange parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MinuteRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MinuteRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MinuteRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MinuteRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.MinuteRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.MinuteRange 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.analytics.data.v1beta.MinuteRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.MinuteRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.MinuteRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MinuteRange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.MinuteRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.MinuteRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.MinuteRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ...,
    * endMinutesAgo. Requests are allowed up to 2 minute ranges.
@@ -430,21 +470,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.MinuteRange}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.MinuteRange)
       com.google.analytics.data.v1beta.MinuteRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.MinuteRange.class, com.google.analytics.data.v1beta.MinuteRange.Builder.class);
+              com.google.analytics.data.v1beta.MinuteRange.class,
+              com.google.analytics.data.v1beta.MinuteRange.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.MinuteRange.newBuilder()
@@ -452,16 +494,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();
@@ -475,9 +516,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_MinuteRange_descriptor;
     }
 
     @java.lang.Override
@@ -496,7 +537,8 @@ public com.google.analytics.data.v1beta.MinuteRange build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.MinuteRange buildPartial() {
-      com.google.analytics.data.v1beta.MinuteRange result = new com.google.analytics.data.v1beta.MinuteRange(this);
+      com.google.analytics.data.v1beta.MinuteRange result =
+          new com.google.analytics.data.v1beta.MinuteRange(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -517,38 +559,39 @@ public com.google.analytics.data.v1beta.MinuteRange buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.MinuteRange) {
-        return mergeFrom((com.google.analytics.data.v1beta.MinuteRange)other);
+        return mergeFrom((com.google.analytics.data.v1beta.MinuteRange) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -595,10 +638,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private int startMinutesAgo_ ;
+    private int startMinutesAgo_;
     /**
+     *
+     *
      * 
      * The inclusive start minute for the query as a number of minutes before now.
      * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -610,6 +656,7 @@ public Builder mergeFrom(
      * 
* * int32 start_minutes_ago = 1; + * * @return Whether the startMinutesAgo field is set. */ @java.lang.Override @@ -617,6 +664,8 @@ public boolean hasStartMinutesAgo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The inclusive start minute for the query as a number of minutes before now.
      * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -628,6 +677,7 @@ public boolean hasStartMinutesAgo() {
      * 
* * int32 start_minutes_ago = 1; + * * @return The startMinutesAgo. */ @java.lang.Override @@ -635,6 +685,8 @@ public int getStartMinutesAgo() { return startMinutesAgo_; } /** + * + * *
      * The inclusive start minute for the query as a number of minutes before now.
      * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -646,6 +698,7 @@ public int getStartMinutesAgo() {
      * 
* * int32 start_minutes_ago = 1; + * * @param value The startMinutesAgo to set. * @return This builder for chaining. */ @@ -656,6 +709,8 @@ public Builder setStartMinutesAgo(int value) { return this; } /** + * + * *
      * The inclusive start minute for the query as a number of minutes before now.
      * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -667,6 +722,7 @@ public Builder setStartMinutesAgo(int value) {
      * 
* * int32 start_minutes_ago = 1; + * * @return This builder for chaining. */ public Builder clearStartMinutesAgo() { @@ -676,8 +732,10 @@ public Builder clearStartMinutesAgo() { return this; } - private int endMinutesAgo_ ; + private int endMinutesAgo_; /** + * + * *
      * The inclusive end minute for the query as a number of minutes before now.
      * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -690,6 +748,7 @@ public Builder clearStartMinutesAgo() {
      * 
* * int32 end_minutes_ago = 2; + * * @return Whether the endMinutesAgo field is set. */ @java.lang.Override @@ -697,6 +756,8 @@ public boolean hasEndMinutesAgo() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The inclusive end minute for the query as a number of minutes before now.
      * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -709,6 +770,7 @@ public boolean hasEndMinutesAgo() {
      * 
* * int32 end_minutes_ago = 2; + * * @return The endMinutesAgo. */ @java.lang.Override @@ -716,6 +778,8 @@ public int getEndMinutesAgo() { return endMinutesAgo_; } /** + * + * *
      * The inclusive end minute for the query as a number of minutes before now.
      * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -728,6 +792,7 @@ public int getEndMinutesAgo() {
      * 
* * int32 end_minutes_ago = 2; + * * @param value The endMinutesAgo to set. * @return This builder for chaining. */ @@ -738,6 +803,8 @@ public Builder setEndMinutesAgo(int value) { return this; } /** + * + * *
      * The inclusive end minute for the query as a number of minutes before now.
      * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -750,6 +817,7 @@ public Builder setEndMinutesAgo(int value) {
      * 
* * int32 end_minutes_ago = 2; + * * @return This builder for chaining. */ public Builder clearEndMinutesAgo() { @@ -761,6 +829,8 @@ public Builder clearEndMinutesAgo() { private java.lang.Object name_ = ""; /** + * + * *
      * Assigns a name to this minute range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -769,13 +839,13 @@ public Builder clearEndMinutesAgo() {
      * 
* * string name = 3; + * * @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; @@ -784,6 +854,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Assigns a name to this minute range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -792,15 +864,14 @@ public java.lang.String getName() {
      * 
* * string name = 3; + * * @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 { @@ -808,6 +879,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Assigns a name to this minute range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -816,20 +889,22 @@ public java.lang.String getName() {
      * 
* * string name = 3; + * * @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; } /** + * + * *
      * Assigns a name to this minute range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -838,15 +913,18 @@ public Builder setName(
      * 
* * string name = 3; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Assigns a name to this minute range. The dimension `dateRange` is valued to
      * this name in a report response. If set, cannot begin with `date_range_` or
@@ -855,23 +933,23 @@ public Builder clearName() {
      * 
* * string name = 3; + * * @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); } @@ -881,12 +959,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.MinuteRange) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.MinuteRange) private static final com.google.analytics.data.v1beta.MinuteRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.MinuteRange(); } @@ -895,16 +973,16 @@ public static com.google.analytics.data.v1beta.MinuteRange getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MinuteRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MinuteRange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MinuteRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MinuteRange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,6 +997,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.MinuteRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java similarity index 83% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java index 0f5f6f96..436079c2 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/MinuteRangeOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface MinuteRangeOrBuilder extends +public interface MinuteRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.MinuteRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The inclusive start minute for the query as a number of minutes before now.
    * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -19,10 +37,13 @@ public interface MinuteRangeOrBuilder extends
    * 
* * int32 start_minutes_ago = 1; + * * @return Whether the startMinutesAgo field is set. */ boolean hasStartMinutesAgo(); /** + * + * *
    * The inclusive start minute for the query as a number of minutes before now.
    * For example, `"startMinutesAgo": 29` specifies the report should include
@@ -34,11 +55,14 @@ public interface MinuteRangeOrBuilder extends
    * 
* * int32 start_minutes_ago = 1; + * * @return The startMinutesAgo. */ int getStartMinutesAgo(); /** + * + * *
    * The inclusive end minute for the query as a number of minutes before now.
    * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -51,10 +75,13 @@ public interface MinuteRangeOrBuilder extends
    * 
* * int32 end_minutes_ago = 2; + * * @return Whether the endMinutesAgo field is set. */ boolean hasEndMinutesAgo(); /** + * + * *
    * The inclusive end minute for the query as a number of minutes before now.
    * Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
@@ -67,11 +94,14 @@ public interface MinuteRangeOrBuilder extends
    * 
* * int32 end_minutes_ago = 2; + * * @return The endMinutesAgo. */ int getEndMinutesAgo(); /** + * + * *
    * Assigns a name to this minute range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -80,10 +110,13 @@ public interface MinuteRangeOrBuilder extends
    * 
* * string name = 3; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Assigns a name to this minute range. The dimension `dateRange` is valued to
    * this name in a report response. If set, cannot begin with `date_range_` or
@@ -92,8 +125,8 @@ public interface MinuteRangeOrBuilder extends
    * 
* * string name = 3; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.java similarity index 69% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.java index 6cf47eae..027ae1aa 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValue.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * To represent a number.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.NumericValue} */ -public final class NumericValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NumericValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.NumericValue) NumericValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericValue.newBuilder() to construct. private NumericValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NumericValue() { - } + + private NumericValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NumericValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private NumericValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,57 +68,64 @@ private NumericValue( case 0: done = true; break; - case 8: { - oneValueCase_ = 1; - oneValue_ = input.readInt64(); - break; - } - case 17: { - oneValueCase_ = 2; - oneValue_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + oneValueCase_ = 1; + oneValue_ = input.readInt64(); + break; + } + case 17: + { + oneValueCase_ = 2; + oneValue_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_NumericValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.NumericValue.class, com.google.analytics.data.v1beta.NumericValue.Builder.class); + com.google.analytics.data.v1beta.NumericValue.class, + com.google.analytics.data.v1beta.NumericValue.Builder.class); } private int oneValueCase_ = 0; private java.lang.Object oneValue_; + public enum OneValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT64_VALUE(1), DOUBLE_VALUE(2), ONEVALUE_NOT_SET(0); private final int value; + private OneValueCase(int value) { this.value = value; } @@ -118,30 +141,36 @@ public static OneValueCase valueOf(int value) { public static OneValueCase forNumber(int value) { switch (value) { - case 1: return INT64_VALUE; - case 2: return DOUBLE_VALUE; - case 0: return ONEVALUE_NOT_SET; - default: return null; + case 1: + return INT64_VALUE; + case 2: + return DOUBLE_VALUE; + case 0: + return ONEVALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneValueCase - getOneValueCase() { - return OneValueCase.forNumber( - oneValueCase_); + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); } public static final int INT64_VALUE_FIELD_NUMBER = 1; /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -149,11 +178,14 @@ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return The int64Value. */ @java.lang.Override @@ -166,11 +198,14 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -178,11 +213,14 @@ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return The doubleValue. */ @java.lang.Override @@ -194,6 +232,7 @@ public double getDoubleValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,15 +244,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 (oneValueCase_ == 1) { - output.writeInt64( - 1, (long)((java.lang.Long) oneValue_)); + output.writeInt64(1, (long) ((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - output.writeDouble( - 2, (double)((java.lang.Double) oneValue_)); + output.writeDouble(2, (double) ((java.lang.Double) oneValue_)); } unknownFields.writeTo(output); } @@ -225,14 +261,14 @@ public int getSerializedSize() { size = 0; if (oneValueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 1, (long)((java.lang.Long) oneValue_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 1, (long) ((java.lang.Long) oneValue_)); } if (oneValueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 2, (double)((java.lang.Double) oneValue_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 2, (double) ((java.lang.Double) oneValue_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -242,23 +278,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.analytics.data.v1beta.NumericValue)) { return super.equals(obj); } - com.google.analytics.data.v1beta.NumericValue other = (com.google.analytics.data.v1beta.NumericValue) obj; + com.google.analytics.data.v1beta.NumericValue other = + (com.google.analytics.data.v1beta.NumericValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 1: - if (getInt64Value() - != other.getInt64Value()) return false; + if (getInt64Value() != other.getInt64Value()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 0: default: @@ -277,13 +312,14 @@ public int hashCode() { switch (oneValueCase_) { case 1: 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 2: 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 0: default: @@ -293,118 +329,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.NumericValue parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.NumericValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.NumericValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.NumericValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.NumericValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.NumericValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.NumericValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.NumericValue 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.analytics.data.v1beta.NumericValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.NumericValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.NumericValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.NumericValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.NumericValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.NumericValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.NumericValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * To represent a number.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.NumericValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.NumericValue) com.google.analytics.data.v1beta.NumericValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.NumericValue.class, com.google.analytics.data.v1beta.NumericValue.Builder.class); + com.google.analytics.data.v1beta.NumericValue.class, + com.google.analytics.data.v1beta.NumericValue.Builder.class); } // Construct using com.google.analytics.data.v1beta.NumericValue.newBuilder() @@ -412,16 +457,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(); @@ -431,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_NumericValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_NumericValue_descriptor; } @java.lang.Override @@ -452,7 +496,8 @@ public com.google.analytics.data.v1beta.NumericValue build() { @java.lang.Override public com.google.analytics.data.v1beta.NumericValue buildPartial() { - com.google.analytics.data.v1beta.NumericValue result = new com.google.analytics.data.v1beta.NumericValue(this); + com.google.analytics.data.v1beta.NumericValue result = + new com.google.analytics.data.v1beta.NumericValue(this); if (oneValueCase_ == 1) { result.oneValue_ = oneValue_; } @@ -468,38 +513,39 @@ public com.google.analytics.data.v1beta.NumericValue buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.NumericValue) { - return mergeFrom((com.google.analytics.data.v1beta.NumericValue)other); + return mergeFrom((com.google.analytics.data.v1beta.NumericValue) other); } else { super.mergeFrom(other); return this; @@ -509,17 +555,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.analytics.data.v1beta.NumericValue other) { if (other == com.google.analytics.data.v1beta.NumericValue.getDefaultInstance()) return this; switch (other.getOneValueCase()) { - case INT64_VALUE: { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case ONEVALUE_NOT_SET: { - break; - } + case INT64_VALUE: + { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case ONEVALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -549,12 +598,12 @@ public Builder mergeFrom( } return this; } + private int oneValueCase_ = 0; private java.lang.Object oneValue_; - public OneValueCase - getOneValueCase() { - return OneValueCase.forNumber( - oneValueCase_); + + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); } public Builder clearOneValue() { @@ -564,24 +613,29 @@ public Builder clearOneValue() { return this; } - /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @return The int64Value. */ public long getInt64Value() { @@ -591,11 +645,14 @@ public long getInt64Value() { return 0L; } /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -606,11 +663,14 @@ public Builder setInt64Value(long value) { return this; } /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -623,22 +683,28 @@ public Builder clearInt64Value() { } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -648,11 +714,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -663,11 +732,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -678,9 +750,9 @@ public Builder clearDoubleValue() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -690,12 +762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.NumericValue) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.NumericValue) private static final com.google.analytics.data.v1beta.NumericValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.NumericValue(); } @@ -704,16 +776,16 @@ public static com.google.analytics.data.v1beta.NumericValue getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NumericValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NumericValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NumericValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -728,6 +800,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.NumericValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java index 7616e921..2fc074c4 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/NumericValueOrBuilder.java @@ -1,46 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface NumericValueOrBuilder extends +public interface NumericValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.NumericValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return The int64Value. */ long getInt64Value(); /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return The doubleValue. */ double getDoubleValue(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.java similarity index 71% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.java index 574a2f0a..4a0c1f5a 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderBy.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The sort options.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy} */ -public final class OrderBy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OrderBy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.OrderBy) OrderByOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OrderBy.newBuilder() to construct. private OrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OrderBy() { - } + + private OrderBy() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OrderBy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,141 +68,169 @@ private OrderBy( case 0: done = true; break; - case 10: { - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder subBuilder = null; - if (oneOrderByCase_ == 1) { - subBuilder = ((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_).toBuilder(); - } - oneOrderBy_ = - input.readMessage(com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_); - oneOrderBy_ = subBuilder.buildPartial(); - } - oneOrderByCase_ = 1; - break; - } - case 18: { - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder subBuilder = null; - if (oneOrderByCase_ == 2) { - subBuilder = ((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_).toBuilder(); + case 10: + { + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder subBuilder = null; + if (oneOrderByCase_ == 1) { + subBuilder = + ((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_) + .toBuilder(); + } + oneOrderBy_ = + input.readMessage( + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_); + oneOrderBy_ = subBuilder.buildPartial(); + } + oneOrderByCase_ = 1; + break; } - oneOrderBy_ = - input.readMessage(com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); - oneOrderBy_ = subBuilder.buildPartial(); + case 18: + { + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder subBuilder = null; + if (oneOrderByCase_ == 2) { + subBuilder = + ((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_) + .toBuilder(); + } + oneOrderBy_ = + input.readMessage( + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); + oneOrderBy_ = subBuilder.buildPartial(); + } + oneOrderByCase_ = 2; + break; } - oneOrderByCase_ = 2; - break; - } - case 26: { - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder subBuilder = null; - if (oneOrderByCase_ == 3) { - subBuilder = ((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_).toBuilder(); + case 26: + { + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder subBuilder = null; + if (oneOrderByCase_ == 3) { + subBuilder = + ((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_) + .toBuilder(); + } + oneOrderBy_ = + input.readMessage( + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_); + oneOrderBy_ = subBuilder.buildPartial(); + } + oneOrderByCase_ = 3; + break; } - oneOrderBy_ = - input.readMessage(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_); - oneOrderBy_ = subBuilder.buildPartial(); + case 32: + { + desc_ = input.readBool(); + break; } - oneOrderByCase_ = 3; - break; - } - case 32: { - - desc_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.class, com.google.analytics.data.v1beta.OrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.class, + com.google.analytics.data.v1beta.OrderBy.Builder.class); } - public interface MetricOrderByOrBuilder extends + public interface MetricOrderByOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.OrderBy.MetricOrderBy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; + * * @return The metricName. */ java.lang.String getMetricName(); /** + * + * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ - com.google.protobuf.ByteString - getMetricNameBytes(); + com.google.protobuf.ByteString getMetricNameBytes(); } /** + * + * *
    * Sorts by metric values.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.MetricOrderBy} */ - public static final class MetricOrderBy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MetricOrderBy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.OrderBy.MetricOrderBy) MetricOrderByOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MetricOrderBy.newBuilder() to construct. private MetricOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MetricOrderBy() { metricName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MetricOrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MetricOrderBy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -205,52 +249,58 @@ private MetricOrderBy( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - metricName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + metricName_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.class, com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.class, + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder.class); } public static final int METRIC_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object metricName_; /** + * + * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; + * * @return The metricName. */ @java.lang.Override @@ -259,29 +309,29 @@ public java.lang.String getMetricName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; } } /** + * + * *
      * A metric name in the request to order by.
      * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ @java.lang.Override - public com.google.protobuf.ByteString - getMetricNameBytes() { + public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metricName_ = b; return b; } else { @@ -290,6 +340,7 @@ public java.lang.String getMetricName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,8 +352,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getMetricNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -326,15 +376,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.analytics.data.v1beta.OrderBy.MetricOrderBy)) { return super.equals(obj); } - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy other = (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) obj; + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy other = + (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) obj; - if (!getMetricName() - .equals(other.getMetricName())) return false; + if (!getMetricName().equals(other.getMetricName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -354,87 +404,94 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.OrderBy.MetricOrderBy prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -444,27 +501,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sorts by metric values.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.MetricOrderBy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.OrderBy.MetricOrderBy) com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.class, com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.class, + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder.class); } // Construct using com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.newBuilder() @@ -472,16 +534,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -491,9 +552,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; } @java.lang.Override @@ -512,7 +573,8 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy build() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy buildPartial() { - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy result = new com.google.analytics.data.v1beta.OrderBy.MetricOrderBy(this); + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy result = + new com.google.analytics.data.v1beta.OrderBy.MetricOrderBy(this); result.metricName_ = metricName_; onBuilt(); return result; @@ -522,38 +584,41 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) { - return mergeFrom((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy)other); + return mergeFrom((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) other); } else { super.mergeFrom(other); return this; @@ -561,7 +626,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy.MetricOrderBy other) { - if (other == com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance()) + return this; if (!other.getMetricName().isEmpty()) { metricName_ = other.metricName_; onChanged(); @@ -585,7 +651,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -597,18 +664,20 @@ public Builder mergeFrom( private java.lang.Object metricName_ = ""; /** + * + * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; + * * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; @@ -617,20 +686,21 @@ public java.lang.String getMetricName() { } } /** + * + * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ - public com.google.protobuf.ByteString - getMetricNameBytes() { + public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metricName_ = b; return b; } else { @@ -638,58 +708,66 @@ public java.lang.String getMetricName() { } } /** + * + * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; + * * @param value The metricName to set. * @return This builder for chaining. */ - public Builder setMetricName( - java.lang.String value) { + public Builder setMetricName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + metricName_ = value; onChanged(); return this; } /** + * + * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; + * * @return This builder for chaining. */ public Builder clearMetricName() { - + metricName_ = getDefaultInstance().getMetricName(); onChanged(); return this; } /** + * + * *
        * A metric name in the request to order by.
        * 
* * string metric_name = 1; + * * @param value The bytes for metricName to set. * @return This builder for chaining. */ - public Builder setMetricNameBytes( - com.google.protobuf.ByteString value) { + public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + metricName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -702,12 +780,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.OrderBy.MetricOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.OrderBy.MetricOrderBy) private static final com.google.analytics.data.v1beta.OrderBy.MetricOrderBy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.OrderBy.MetricOrderBy(); } @@ -716,16 +794,16 @@ public static com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MetricOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MetricOrderBy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricOrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetricOrderBy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -740,68 +818,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DimensionOrderByOrBuilder extends + public interface DimensionOrderByOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.OrderBy.DimensionOrderBy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; + * * @return The dimensionName. */ java.lang.String getDimensionName(); /** + * + * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - com.google.protobuf.ByteString - getDimensionNameBytes(); + com.google.protobuf.ByteString getDimensionNameBytes(); /** + * + * *
      * Controls the rule for dimension value ordering.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * * @return The enum numeric value on the wire for orderType. */ int getOrderTypeValue(); /** + * + * *
      * Controls the rule for dimension value ordering.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * * @return The orderType. */ com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType getOrderType(); } /** + * + * *
    * Sorts by dimension values.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.DimensionOrderBy} */ - public static final class DimensionOrderBy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DimensionOrderBy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.OrderBy.DimensionOrderBy) DimensionOrderByOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DimensionOrderBy.newBuilder() to construct. private DimensionOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DimensionOrderBy() { dimensionName_ = ""; orderType_ = 0; @@ -809,16 +901,15 @@ private DimensionOrderBy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DimensionOrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DimensionOrderBy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -837,60 +928,67 @@ private DimensionOrderBy( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dimensionName_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + dimensionName_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - orderType_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderType_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.class, com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.class, + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder.class); } /** + * + * *
      * Rule to order the string dimension values by.
      * 
* * Protobuf enum {@code google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType} */ - public enum OrderType - implements com.google.protobuf.ProtocolMessageEnum { + public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -899,6 +997,8 @@ public enum OrderType */ ORDER_TYPE_UNSPECIFIED(0), /** + * + * *
        * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
        * "b" < "z".
@@ -908,6 +1008,8 @@ public enum OrderType
        */
       ALPHANUMERIC(1),
       /**
+       *
+       *
        * 
        * Case insensitive alphanumeric sort by lower case Unicode code point.
        * For example, "2" < "A" < "b" < "X" < "z".
@@ -917,6 +1019,8 @@ public enum OrderType
        */
       CASE_INSENSITIVE_ALPHANUMERIC(2),
       /**
+       *
+       *
        * 
        * Dimension values are converted to numbers before sorting. For example
        * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
@@ -931,6 +1035,8 @@ public enum OrderType
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified.
        * 
@@ -939,6 +1045,8 @@ public enum OrderType */ public static final int ORDER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
        * "b" < "z".
@@ -948,6 +1056,8 @@ public enum OrderType
        */
       public static final int ALPHANUMERIC_VALUE = 1;
       /**
+       *
+       *
        * 
        * Case insensitive alphanumeric sort by lower case Unicode code point.
        * For example, "2" < "A" < "b" < "X" < "z".
@@ -957,6 +1067,8 @@ public enum OrderType
        */
       public static final int CASE_INSENSITIVE_ALPHANUMERIC_VALUE = 2;
       /**
+       *
+       *
        * 
        * Dimension values are converted to numbers before sorting. For example
        * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
@@ -968,7 +1080,6 @@ public enum OrderType
        */
       public static final int NUMERIC_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -993,50 +1104,53 @@ public static OrderType valueOf(int value) {
        */
       public static OrderType forNumber(int value) {
         switch (value) {
-          case 0: return ORDER_TYPE_UNSPECIFIED;
-          case 1: return ALPHANUMERIC;
-          case 2: return CASE_INSENSITIVE_ALPHANUMERIC;
-          case 3: return NUMERIC;
-          default: return null;
+          case 0:
+            return ORDER_TYPE_UNSPECIFIED;
+          case 1:
+            return ALPHANUMERIC;
+          case 2:
+            return CASE_INSENSITIVE_ALPHANUMERIC;
+          case 3:
+            return NUMERIC;
+          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<
-          OrderType> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public OrderType findValueByNumber(int number) {
-                return OrderType.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 OrderType findValueByNumber(int number) {
+              return OrderType.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.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final OrderType[] VALUES = values();
 
-      public static OrderType valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static OrderType 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;
@@ -1056,11 +1170,14 @@ private OrderType(int value) {
     public static final int DIMENSION_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object dimensionName_;
     /**
+     *
+     *
      * 
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; + * * @return The dimensionName. */ @java.lang.Override @@ -1069,29 +1186,29 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** + * + * *
      * A dimension name in the request to order by.
      * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -1102,31 +1219,43 @@ public java.lang.String getDimensionName() { public static final int ORDER_TYPE_FIELD_NUMBER = 2; private int orderType_; /** + * + * *
      * Controls the rule for dimension value ordering.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * * @return The enum numeric value on the wire for orderType. */ - @java.lang.Override public int getOrderTypeValue() { + @java.lang.Override + public int getOrderTypeValue() { return orderType_; } /** + * + * *
      * Controls the rule for dimension value ordering.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * * @return The orderType. */ - @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType getOrderType() { + @java.lang.Override + public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType getOrderType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType result = com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.valueOf(orderType_); - return result == null ? com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType result = + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.valueOf(orderType_); + return result == null + ? com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1138,12 +1267,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 (!getDimensionNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } - if (orderType_ != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.ORDER_TYPE_UNSPECIFIED.getNumber()) { + if (orderType_ + != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType + .ORDER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, orderType_); } unknownFields.writeTo(output); @@ -1158,9 +1289,11 @@ public int getSerializedSize() { if (!getDimensionNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dimensionName_); } - if (orderType_ != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.ORDER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, orderType_); + if (orderType_ + != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType + .ORDER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, orderType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1170,15 +1303,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.analytics.data.v1beta.OrderBy.DimensionOrderBy)) { return super.equals(obj); } - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy other = (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) obj; + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy other = + (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) obj; - if (!getDimensionName() - .equals(other.getDimensionName())) return false; + if (!getDimensionName().equals(other.getDimensionName())) return false; if (orderType_ != other.orderType_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1201,87 +1334,94 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1291,27 +1431,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sorts by dimension values.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.DimensionOrderBy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.OrderBy.DimensionOrderBy) com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.class, com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.class, + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder.class); } // Construct using com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.newBuilder() @@ -1319,16 +1464,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(); @@ -1340,9 +1484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; } @java.lang.Override @@ -1361,7 +1505,8 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy build() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy buildPartial() { - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy result = new com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy(this); + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy result = + new com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy(this); result.dimensionName_ = dimensionName_; result.orderType_ = orderType_; onBuilt(); @@ -1372,38 +1517,41 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) { - return mergeFrom((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy)other); + return mergeFrom((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) other); } else { super.mergeFrom(other); return this; @@ -1411,7 +1559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy other) { - if (other == com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance()) + return this; if (!other.getDimensionName().isEmpty()) { dimensionName_ = other.dimensionName_; onChanged(); @@ -1438,7 +1587,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1450,18 +1600,20 @@ public Builder mergeFrom( private java.lang.Object dimensionName_ = ""; /** + * + * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; + * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -1470,20 +1622,21 @@ public java.lang.String getDimensionName() { } } /** + * + * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -1491,54 +1644,61 @@ public java.lang.String getDimensionName() { } } /** + * + * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; + * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName( - java.lang.String value) { + public Builder setDimensionName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dimensionName_ = value; onChanged(); return this; } /** + * + * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; + * * @return This builder for chaining. */ public Builder clearDimensionName() { - + dimensionName_ = getDefaultInstance().getDimensionName(); onChanged(); return this; } /** + * + * *
        * A dimension name in the request to order by.
        * 
* * string dimension_name = 1; + * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dimensionName_ = value; onChanged(); return this; @@ -1546,77 +1706,103 @@ public Builder setDimensionNameBytes( private int orderType_ = 0; /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The enum numeric value on the wire for orderType. */ - @java.lang.Override public int getOrderTypeValue() { + @java.lang.Override + public int getOrderTypeValue() { return orderType_; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @param value The enum numeric value on the wire for orderType to set. * @return This builder for chaining. */ public Builder setOrderTypeValue(int value) { - + orderType_ = value; onChanged(); return this; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The orderType. */ @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType getOrderType() { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType result = com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.valueOf(orderType_); - return result == null ? com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType result = + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.valueOf(orderType_); + return result == null + ? com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED + : result; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @param value The orderType to set. * @return This builder for chaining. */ - public Builder setOrderType(com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType value) { + public Builder setOrderType( + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType value) { if (value == null) { throw new NullPointerException(); } - + orderType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return This builder for chaining. */ public Builder clearOrderType() { - + orderType_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1629,12 +1815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.OrderBy.DimensionOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.OrderBy.DimensionOrderBy) private static final com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy(); } @@ -1643,16 +1829,16 @@ public static com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DimensionOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DimensionOrderBy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DimensionOrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DimensionOrderBy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1667,36 +1853,43 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PivotOrderByOrBuilder extends + public interface PivotOrderByOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.OrderBy.PivotOrderBy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * In the response to order by, order rows by this column. Must be a metric
      * name from the request.
      * 
* * string metric_name = 1; + * * @return The metricName. */ java.lang.String getMetricName(); /** + * + * *
      * In the response to order by, order rows by this column. Must be a metric
      * name from the request.
      * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ - com.google.protobuf.ByteString - getMetricNameBytes(); + com.google.protobuf.ByteString getMetricNameBytes(); /** + * + * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -1704,11 +1897,15 @@ public interface PivotOrderByOrBuilder extends
      * pair.
      * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - java.util.List + java.util.List getPivotSelectionsList(); /** + * + * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -1716,10 +1913,15 @@ public interface PivotOrderByOrBuilder extends
      * pair.
      * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSelections(int index); + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSelections( + int index); /** + * + * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -1727,10 +1929,14 @@ public interface PivotOrderByOrBuilder extends
      * pair.
      * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ int getPivotSelectionsCount(); /** + * + * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -1738,11 +1944,16 @@ public interface PivotOrderByOrBuilder extends
      * pair.
      * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> getPivotSelectionsOrBuilderList(); /** + * + * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -1750,27 +1961,32 @@ public interface PivotOrderByOrBuilder extends
      * pair.
      * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder getPivotSelectionsOrBuilder( - int index); + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder + getPivotSelectionsOrBuilder(int index); } /** + * + * *
    * Sorts by a pivot column group.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.PivotOrderBy} */ - public static final class PivotOrderBy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PivotOrderBy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.OrderBy.PivotOrderBy) PivotOrderByOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PivotOrderBy.newBuilder() to construct. private PivotOrderBy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PivotOrderBy() { metricName_ = ""; pivotSelections_ = java.util.Collections.emptyList(); @@ -1778,16 +1994,15 @@ private PivotOrderBy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PivotOrderBy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PivotOrderBy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1807,35 +2022,41 @@ private PivotOrderBy( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - metricName_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotSelections_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + metricName_ = s; + break; } - pivotSelections_.add( - input.readMessage(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pivotSelections_ = + new java.util.ArrayList< + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection>(); + mutable_bitField0_ |= 0x00000001; + } + pivotSelections_.add( + input.readMessage( + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection + .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)) { pivotSelections_ = java.util.Collections.unmodifiableList(pivotSelections_); @@ -1844,64 +2065,80 @@ private PivotOrderBy( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.class, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.class, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder.class); } - public interface PivotSelectionOrBuilder extends + public interface PivotSelectionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Must be a dimension name from the request.
        * 
* * string dimension_name = 1; + * * @return The dimensionName. */ java.lang.String getDimensionName(); /** + * + * *
        * Must be a dimension name from the request.
        * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - com.google.protobuf.ByteString - getDimensionNameBytes(); + com.google.protobuf.ByteString getDimensionNameBytes(); /** + * + * *
        * Order by only when the named dimension is this value.
        * 
* * string dimension_value = 2; + * * @return The dimensionValue. */ java.lang.String getDimensionValue(); /** + * + * *
        * Order by only when the named dimension is this value.
        * 
* * string dimension_value = 2; + * * @return The bytes for dimensionValue. */ - com.google.protobuf.ByteString - getDimensionValueBytes(); + com.google.protobuf.ByteString getDimensionValueBytes(); } /** + * + * *
      * A pair of dimension names and values. Rows with this dimension pivot pair
      * are ordered by the metric's value.
@@ -1921,15 +2158,16 @@ public interface PivotSelectionOrBuilder extends
      *
      * Protobuf type {@code google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection}
      */
-    public static final class PivotSelection extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class PivotSelection extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)
         PivotSelectionOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use PivotSelection.newBuilder() to construct.
       private PivotSelection(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private PivotSelection() {
         dimensionName_ = "";
         dimensionValue_ = "";
@@ -1937,16 +2175,15 @@ private PivotSelection() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new PivotSelection();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private PivotSelection(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1965,58 +2202,66 @@ private PivotSelection(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                dimensionName_ = s;
-                break;
-              }
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  dimensionName_ = s;
+                  break;
+                }
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                dimensionValue_ = s;
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+                  dimensionValue_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.analytics.data.v1beta.ReportingApiProto
+            .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable
+        return com.google.analytics.data.v1beta.ReportingApiProto
+            .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.class, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder.class);
+                com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.class,
+                com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder.class);
       }
 
       public static final int DIMENSION_NAME_FIELD_NUMBER = 1;
       private volatile java.lang.Object dimensionName_;
       /**
+       *
+       *
        * 
        * Must be a dimension name from the request.
        * 
* * string dimension_name = 1; + * * @return The dimensionName. */ @java.lang.Override @@ -2025,29 +2270,29 @@ public java.lang.String getDimensionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; } } /** + * + * *
        * Must be a dimension name from the request.
        * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -2058,11 +2303,14 @@ public java.lang.String getDimensionName() { public static final int DIMENSION_VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object dimensionValue_; /** + * + * *
        * Order by only when the named dimension is this value.
        * 
* * string dimension_value = 2; + * * @return The dimensionValue. */ @java.lang.Override @@ -2071,29 +2319,29 @@ public java.lang.String getDimensionValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionValue_ = s; return s; } } /** + * + * *
        * Order by only when the named dimension is this value.
        * 
* * string dimension_value = 2; + * * @return The bytes for dimensionValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getDimensionValueBytes() { + public com.google.protobuf.ByteString getDimensionValueBytes() { java.lang.Object ref = dimensionValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionValue_ = b; return b; } else { @@ -2102,6 +2350,7 @@ public java.lang.String getDimensionValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2113,8 +2362,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getDimensionNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_); } @@ -2144,17 +2392,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.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)) { + if (!(obj + instanceof com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)) { return super.equals(obj); } - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection other = (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) obj; + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection other = + (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) obj; - if (!getDimensionName() - .equals(other.getDimensionName())) return false; - if (!getDimensionValue() - .equals(other.getDimensionValue())) return false; + if (!getDimensionName().equals(other.getDimensionName())) return false; + if (!getDimensionValue().equals(other.getDimensionValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2176,87 +2424,96 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2266,6 +2523,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A pair of dimension names and values. Rows with this dimension pivot pair
        * are ordered by the metric's value.
@@ -2285,38 +2544,42 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)
           com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.analytics.data.v1beta.ReportingApiProto
+              .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable
+          return com.google.analytics.data.v1beta.ReportingApiProto
+              .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.class, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder.class);
+                  com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.class,
+                  com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder
+                      .class);
         }
 
-        // Construct using com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.newBuilder()
+        // Construct using
+        // com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2328,19 +2591,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.analytics.data.v1beta.ReportingApiProto
+              .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor;
         }
 
         @java.lang.Override
-        public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getDefaultInstanceForType() {
-          return com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.getDefaultInstance();
+        public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection
+            getDefaultInstanceForType() {
+          return com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection build() {
-          com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection result = buildPartial();
+          com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -2349,7 +2615,8 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection buil
 
         @java.lang.Override
         public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection buildPartial() {
-          com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection result = new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection(this);
+          com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection result =
+              new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection(this);
           result.dimensionName_ = dimensionName_;
           result.dimensionValue_ = dimensionValue_;
           onBuilt();
@@ -2360,46 +2627,54 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection buil
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
+
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index, java.lang.Object value) {
+            int index,
+            java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
+
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
+
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other instanceof com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) {
-            return mergeFrom((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)other);
+          if (other
+              instanceof com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) {
+            return mergeFrom(
+                (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection other) {
-          if (other == com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection other) {
+          if (other
+              == com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection
+                  .getDefaultInstance()) return this;
           if (!other.getDimensionName().isEmpty()) {
             dimensionName_ = other.dimensionName_;
             onChanged();
@@ -2427,7 +2702,9 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -2439,18 +2716,20 @@ public Builder mergeFrom(
 
         private java.lang.Object dimensionName_ = "";
         /**
+         *
+         *
          * 
          * Must be a dimension name from the request.
          * 
* * string dimension_name = 1; + * * @return The dimensionName. */ public java.lang.String getDimensionName() { java.lang.Object ref = dimensionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionName_ = s; return s; @@ -2459,20 +2738,21 @@ public java.lang.String getDimensionName() { } } /** + * + * *
          * Must be a dimension name from the request.
          * 
* * string dimension_name = 1; + * * @return The bytes for dimensionName. */ - public com.google.protobuf.ByteString - getDimensionNameBytes() { + public com.google.protobuf.ByteString getDimensionNameBytes() { java.lang.Object ref = dimensionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionName_ = b; return b; } else { @@ -2480,54 +2760,61 @@ public java.lang.String getDimensionName() { } } /** + * + * *
          * Must be a dimension name from the request.
          * 
* * string dimension_name = 1; + * * @param value The dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionName( - java.lang.String value) { + public Builder setDimensionName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dimensionName_ = value; onChanged(); return this; } /** + * + * *
          * Must be a dimension name from the request.
          * 
* * string dimension_name = 1; + * * @return This builder for chaining. */ public Builder clearDimensionName() { - + dimensionName_ = getDefaultInstance().getDimensionName(); onChanged(); return this; } /** + * + * *
          * Must be a dimension name from the request.
          * 
* * string dimension_name = 1; + * * @param value The bytes for dimensionName to set. * @return This builder for chaining. */ - public Builder setDimensionNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dimensionName_ = value; onChanged(); return this; @@ -2535,18 +2822,20 @@ public Builder setDimensionNameBytes( private java.lang.Object dimensionValue_ = ""; /** + * + * *
          * Order by only when the named dimension is this value.
          * 
* * string dimension_value = 2; + * * @return The dimensionValue. */ public java.lang.String getDimensionValue() { java.lang.Object ref = dimensionValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dimensionValue_ = s; return s; @@ -2555,20 +2844,21 @@ public java.lang.String getDimensionValue() { } } /** + * + * *
          * Order by only when the named dimension is this value.
          * 
* * string dimension_value = 2; + * * @return The bytes for dimensionValue. */ - public com.google.protobuf.ByteString - getDimensionValueBytes() { + public com.google.protobuf.ByteString getDimensionValueBytes() { java.lang.Object ref = dimensionValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dimensionValue_ = b; return b; } else { @@ -2576,58 +2866,66 @@ public java.lang.String getDimensionValue() { } } /** + * + * *
          * Order by only when the named dimension is this value.
          * 
* * string dimension_value = 2; + * * @param value The dimensionValue to set. * @return This builder for chaining. */ - public Builder setDimensionValue( - java.lang.String value) { + public Builder setDimensionValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dimensionValue_ = value; onChanged(); return this; } /** + * + * *
          * Order by only when the named dimension is this value.
          * 
* * string dimension_value = 2; + * * @return This builder for chaining. */ public Builder clearDimensionValue() { - + dimensionValue_ = getDefaultInstance().getDimensionValue(); onChanged(); return this; } /** + * + * *
          * Order by only when the named dimension is this value.
          * 
* * string dimension_value = 2; + * * @param value The bytes for dimensionValue to set. * @return This builder for chaining. */ - public Builder setDimensionValueBytes( - com.google.protobuf.ByteString value) { + public Builder setDimensionValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dimensionValue_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2640,30 +2938,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection) - private static final com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection DEFAULT_INSTANCE; + private static final com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection(); + DEFAULT_INSTANCE = + new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection(); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getDefaultInstance() { + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotSelection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotSelection(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PivotSelection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PivotSelection(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2675,21 +2976,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getDefaultInstanceForType() { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int METRIC_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object metricName_; /** + * + * *
      * In the response to order by, order rows by this column. Must be a metric
      * name from the request.
      * 
* * string metric_name = 1; + * * @return The metricName. */ @java.lang.Override @@ -2698,30 +3002,30 @@ public java.lang.String getMetricName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; } } /** + * + * *
      * In the response to order by, order rows by this column. Must be a metric
      * name from the request.
      * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ @java.lang.Override - public com.google.protobuf.ByteString - getMetricNameBytes() { + public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metricName_ = b; return b; } else { @@ -2730,8 +3034,11 @@ public java.lang.String getMetricName() { } public static final int PIVOT_SELECTIONS_FIELD_NUMBER = 2; - private java.util.List pivotSelections_; + private java.util.List + pivotSelections_; /** + * + * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -2739,13 +3046,18 @@ public java.lang.String getMetricName() {
      * pair.
      * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ @java.lang.Override - public java.util.List getPivotSelectionsList() { + public java.util.List + getPivotSelectionsList() { return pivotSelections_; } /** + * + * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -2753,14 +3065,19 @@ public java.util.List
      *
-     * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;
+     * 
+     * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder>
         getPivotSelectionsOrBuilderList() {
       return pivotSelections_;
     }
     /**
+     *
+     *
      * 
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -2768,13 +3085,17 @@ public java.util.List
      *
-     * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;
+     * 
+     * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;
+     * 
      */
     @java.lang.Override
     public int getPivotSelectionsCount() {
       return pivotSelections_.size();
     }
     /**
+     *
+     *
      * 
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -2782,13 +3103,18 @@ public int getPivotSelectionsCount() {
      * pair.
      * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSelections(int index) { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSelections( + int index) { return pivotSelections_.get(index); } /** + * + * *
      * Used to select a dimension name and value pivot. If multiple pivot
      * selections are given, the sort occurs on rows where all pivot selection
@@ -2796,15 +3122,18 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getP
      * pair.
      * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder getPivotSelectionsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder + getPivotSelectionsOrBuilder(int index) { return pivotSelections_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2816,8 +3145,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getMetricNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -2837,8 +3165,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_); } for (int i = 0; i < pivotSelections_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, pivotSelections_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, pivotSelections_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2848,17 +3176,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.analytics.data.v1beta.OrderBy.PivotOrderBy)) { return super.equals(obj); } - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy other = (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) obj; + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy other = + (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) obj; - if (!getMetricName() - .equals(other.getMetricName())) return false; - if (!getPivotSelectionsList() - .equals(other.getPivotSelectionsList())) return false; + if (!getMetricName().equals(other.getMetricName())) return false; + if (!getPivotSelectionsList().equals(other.getPivotSelectionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2882,87 +3209,94 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2972,27 +3306,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sorts by a pivot column group.
      * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy.PivotOrderBy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.OrderBy.PivotOrderBy) com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.class, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.class, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder.class); } // Construct using com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.newBuilder() @@ -3000,17 +3339,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) { getPivotSelectionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3026,9 +3365,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; } @java.lang.Override @@ -3047,7 +3386,8 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy build() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy buildPartial() { - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy result = new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy(this); + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy result = + new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy(this); int from_bitField0_ = bitField0_; result.metricName_ = metricName_; if (pivotSelectionsBuilder_ == null) { @@ -3067,38 +3407,41 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) { - return mergeFrom((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy)other); + return mergeFrom((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) other); } else { super.mergeFrom(other); return this; @@ -3106,7 +3449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy other) { - if (other == com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance()) + return this; if (!other.getMetricName().isEmpty()) { metricName_ = other.metricName_; onChanged(); @@ -3129,9 +3473,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy o pivotSelectionsBuilder_ = null; pivotSelections_ = other.pivotSelections_; bitField0_ = (bitField0_ & ~0x00000001); - pivotSelectionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPivotSelectionsFieldBuilder() : null; + pivotSelectionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPivotSelectionsFieldBuilder() + : null; } else { pivotSelectionsBuilder_.addAllMessages(other.pivotSelections_); } @@ -3156,7 +3501,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3165,23 +3511,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object metricName_ = ""; /** + * + * *
        * In the response to order by, order rows by this column. Must be a metric
        * name from the request.
        * 
* * string metric_name = 1; + * * @return The metricName. */ public java.lang.String getMetricName() { java.lang.Object ref = metricName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metricName_ = s; return s; @@ -3190,21 +3539,22 @@ public java.lang.String getMetricName() { } } /** + * + * *
        * In the response to order by, order rows by this column. Must be a metric
        * name from the request.
        * 
* * string metric_name = 1; + * * @return The bytes for metricName. */ - public com.google.protobuf.ByteString - getMetricNameBytes() { + public com.google.protobuf.ByteString getMetricNameBytes() { java.lang.Object ref = metricName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); metricName_ = b; return b; } else { @@ -3212,75 +3562,91 @@ public java.lang.String getMetricName() { } } /** + * + * *
        * In the response to order by, order rows by this column. Must be a metric
        * name from the request.
        * 
* * string metric_name = 1; + * * @param value The metricName to set. * @return This builder for chaining. */ - public Builder setMetricName( - java.lang.String value) { + public Builder setMetricName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + metricName_ = value; onChanged(); return this; } /** + * + * *
        * In the response to order by, order rows by this column. Must be a metric
        * name from the request.
        * 
* * string metric_name = 1; + * * @return This builder for chaining. */ public Builder clearMetricName() { - + metricName_ = getDefaultInstance().getMetricName(); onChanged(); return this; } /** + * + * *
        * In the response to order by, order rows by this column. Must be a metric
        * name from the request.
        * 
* * string metric_name = 1; + * * @param value The bytes for metricName to set. * @return This builder for chaining. */ - public Builder setMetricNameBytes( - com.google.protobuf.ByteString value) { + public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + metricName_ = value; onChanged(); return this; } - private java.util.List pivotSelections_ = - java.util.Collections.emptyList(); + private java.util.List + pivotSelections_ = java.util.Collections.emptyList(); + private void ensurePivotSelectionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pivotSelections_ = new java.util.ArrayList(pivotSelections_); + pivotSelections_ = + new java.util.ArrayList< + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection>( + pivotSelections_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> pivotSelectionsBuilder_; + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> + pivotSelectionsBuilder_; /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3288,9 +3654,12 @@ private void ensurePivotSelectionsIsMutable() {
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - public java.util.List getPivotSelectionsList() { + public java.util.List + getPivotSelectionsList() { if (pivotSelectionsBuilder_ == null) { return java.util.Collections.unmodifiableList(pivotSelections_); } else { @@ -3298,6 +3667,8 @@ public java.util.List * Used to select a dimension name and value pivot. If multiple pivot * selections are given, the sort occurs on rows where all pivot selection @@ -3305,7 +3676,9 @@ public java.util.List * - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ public int getPivotSelectionsCount() { if (pivotSelectionsBuilder_ == null) { @@ -3315,6 +3688,8 @@ public int getPivotSelectionsCount() { } } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3322,9 +3697,12 @@ public int getPivotSelectionsCount() {
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getPivotSelections(int index) { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection + getPivotSelections(int index) { if (pivotSelectionsBuilder_ == null) { return pivotSelections_.get(index); } else { @@ -3332,6 +3710,8 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getP } } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3339,7 +3719,9 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection getP
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ public Builder setPivotSelections( int index, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection value) { @@ -3356,6 +3738,8 @@ public Builder setPivotSelections( return this; } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3363,10 +3747,14 @@ public Builder setPivotSelections(
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ public Builder setPivotSelections( - int index, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue) { + int index, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder + builderForValue) { if (pivotSelectionsBuilder_ == null) { ensurePivotSelectionsIsMutable(); pivotSelections_.set(index, builderForValue.build()); @@ -3377,6 +3765,8 @@ public Builder setPivotSelections( return this; } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3384,9 +3774,12 @@ public Builder setPivotSelections(
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - public Builder addPivotSelections(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection value) { + public Builder addPivotSelections( + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection value) { if (pivotSelectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3400,6 +3793,8 @@ public Builder addPivotSelections(com.google.analytics.data.v1beta.OrderBy.Pivot return this; } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3407,7 +3802,9 @@ public Builder addPivotSelections(com.google.analytics.data.v1beta.OrderBy.Pivot
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ public Builder addPivotSelections( int index, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection value) { @@ -3424,6 +3821,8 @@ public Builder addPivotSelections( return this; } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3431,10 +3830,13 @@ public Builder addPivotSelections(
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ public Builder addPivotSelections( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue) { + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder + builderForValue) { if (pivotSelectionsBuilder_ == null) { ensurePivotSelectionsIsMutable(); pivotSelections_.add(builderForValue.build()); @@ -3445,6 +3847,8 @@ public Builder addPivotSelections( return this; } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3452,10 +3856,14 @@ public Builder addPivotSelections(
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ public Builder addPivotSelections( - int index, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue) { + int index, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder + builderForValue) { if (pivotSelectionsBuilder_ == null) { ensurePivotSelectionsIsMutable(); pivotSelections_.add(index, builderForValue.build()); @@ -3466,6 +3874,8 @@ public Builder addPivotSelections( return this; } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3473,14 +3883,17 @@ public Builder addPivotSelections(
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ public Builder addAllPivotSelections( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection> + values) { if (pivotSelectionsBuilder_ == null) { ensurePivotSelectionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pivotSelections_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotSelections_); onChanged(); } else { pivotSelectionsBuilder_.addAllMessages(values); @@ -3488,6 +3901,8 @@ public Builder addAllPivotSelections( return this; } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3495,7 +3910,9 @@ public Builder addAllPivotSelections(
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ public Builder clearPivotSelections() { if (pivotSelectionsBuilder_ == null) { @@ -3508,6 +3925,8 @@ public Builder clearPivotSelections() { return this; } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3515,7 +3934,9 @@ public Builder clearPivotSelections() {
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ public Builder removePivotSelections(int index) { if (pivotSelectionsBuilder_ == null) { @@ -3528,6 +3949,8 @@ public Builder removePivotSelections(int index) { return this; } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3535,13 +3958,17 @@ public Builder removePivotSelections(int index) {
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder getPivotSelectionsBuilder( - int index) { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder + getPivotSelectionsBuilder(int index) { return getPivotSelectionsFieldBuilder().getBuilder(index); } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3549,16 +3976,21 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Buil
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder getPivotSelectionsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder + getPivotSelectionsOrBuilder(int index) { if (pivotSelectionsBuilder_ == null) { - return pivotSelections_.get(index); } else { + return pivotSelections_.get(index); + } else { return pivotSelectionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3566,10 +3998,14 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBui
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - public java.util.List - getPivotSelectionsOrBuilderList() { + public java.util.List< + ? extends + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> + getPivotSelectionsOrBuilderList() { if (pivotSelectionsBuilder_ != null) { return pivotSelectionsBuilder_.getMessageOrBuilderList(); } else { @@ -3577,6 +4013,8 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBui } } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3584,13 +4022,20 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBui
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder addPivotSelectionsBuilder() { - return getPivotSelectionsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.getDefaultInstance()); + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder + addPivotSelectionsBuilder() { + return getPivotSelectionsFieldBuilder() + .addBuilder( + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection + .getDefaultInstance()); } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3598,14 +4043,21 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Buil
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder addPivotSelectionsBuilder( - int index) { - return getPivotSelectionsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.getDefaultInstance()); + public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder + addPivotSelectionsBuilder(int index) { + return getPivotSelectionsFieldBuilder() + .addBuilder( + index, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection + .getDefaultInstance()); } /** + * + * *
        * Used to select a dimension name and value pivot. If multiple pivot
        * selections are given, the sort occurs on rows where all pivot selection
@@ -3613,18 +4065,27 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Buil
        * pair.
        * 
* - * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * + * repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2; + * */ - public java.util.List - getPivotSelectionsBuilderList() { + public java.util.List< + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder> + getPivotSelectionsBuilderList() { return getPivotSelectionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder> getPivotSelectionsFieldBuilder() { if (pivotSelectionsBuilder_ == null) { - pivotSelectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder>( + pivotSelectionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Builder, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder>( pivotSelections_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3633,6 +4094,7 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection.Buil } return pivotSelectionsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3645,12 +4107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.OrderBy.PivotOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.OrderBy.PivotOrderBy) private static final com.google.analytics.data.v1beta.OrderBy.PivotOrderBy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.OrderBy.PivotOrderBy(); } @@ -3659,16 +4121,16 @@ public static com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotOrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotOrderBy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PivotOrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PivotOrderBy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3683,19 +4145,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int oneOrderByCase_ = 0; private java.lang.Object oneOrderBy_; + public enum OneOrderByCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { METRIC(1), DIMENSION(2), PIVOT(3), ONEORDERBY_NOT_SET(0); private final int value; + private OneOrderByCase(int value) { this.value = value; } @@ -3711,31 +4175,38 @@ public static OneOrderByCase valueOf(int value) { public static OneOrderByCase forNumber(int value) { switch (value) { - case 1: return METRIC; - case 2: return DIMENSION; - case 3: return PIVOT; - case 0: return ONEORDERBY_NOT_SET; - default: return null; + case 1: + return METRIC; + case 2: + return DIMENSION; + case 3: + return PIVOT; + case 0: + return ONEORDERBY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneOrderByCase - getOneOrderByCase() { - return OneOrderByCase.forNumber( - oneOrderByCase_); + public OneOrderByCase getOneOrderByCase() { + return OneOrderByCase.forNumber(oneOrderByCase_); } public static final int METRIC_FIELD_NUMBER = 1; /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; + * * @return Whether the metric field is set. */ @java.lang.Override @@ -3743,21 +4214,26 @@ public boolean hasMetric() { return oneOrderByCase_ == 1; } /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; + * * @return The metric. */ @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getMetric() { if (oneOrderByCase_ == 1) { - return (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance(); } /** + * + * *
    * Sorts results by a metric's values.
    * 
@@ -3767,18 +4243,21 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getMetric() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder getMetricOrBuilder() { if (oneOrderByCase_ == 1) { - return (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance(); } public static final int DIMENSION_FIELD_NUMBER = 2; /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; + * * @return Whether the dimension field is set. */ @java.lang.Override @@ -3786,21 +4265,26 @@ public boolean hasDimension() { return oneOrderByCase_ == 2; } /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; + * * @return The dimension. */ @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDimension() { if (oneOrderByCase_ == 2) { - return (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance(); } /** + * + * *
    * Sorts results by a dimension's values.
    * 
@@ -3808,20 +4292,24 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDimension() * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder() { + public com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder + getDimensionOrBuilder() { if (oneOrderByCase_ == 2) { - return (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance(); } public static final int PIVOT_FIELD_NUMBER = 3; /** + * + * *
    * Sorts results by a metric's values within a pivot column group.
    * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; + * * @return Whether the pivot field is set. */ @java.lang.Override @@ -3829,21 +4317,26 @@ public boolean hasPivot() { return oneOrderByCase_ == 3; } /** + * + * *
    * Sorts results by a metric's values within a pivot column group.
    * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; + * * @return The pivot. */ @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getPivot() { if (oneOrderByCase_ == 3) { - return (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance(); } /** + * + * *
    * Sorts results by a metric's values within a pivot column group.
    * 
@@ -3853,7 +4346,7 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getPivot() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder getPivotOrBuilder() { if (oneOrderByCase_ == 3) { - return (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_; + return (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_; } return com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance(); } @@ -3861,11 +4354,14 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder getPivotOr public static final int DESC_FIELD_NUMBER = 4; private boolean desc_; /** + * + * *
    * If true, sorts by descending order.
    * 
* * bool desc = 4; + * * @return The desc. */ @java.lang.Override @@ -3874,6 +4370,7 @@ public boolean getDesc() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3885,13 +4382,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 (oneOrderByCase_ == 1) { output.writeMessage(1, (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 2) { - output.writeMessage(2, (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); + output.writeMessage( + 2, (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 3) { output.writeMessage(3, (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_); @@ -3909,20 +4406,22 @@ public int getSerializedSize() { size = 0; if (oneOrderByCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_); } if (desc_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, desc_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, desc_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3932,28 +4431,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.analytics.data.v1beta.OrderBy)) { return super.equals(obj); } com.google.analytics.data.v1beta.OrderBy other = (com.google.analytics.data.v1beta.OrderBy) obj; - if (getDesc() - != other.getDesc()) return false; + if (getDesc() != other.getDesc()) return false; if (!getOneOrderByCase().equals(other.getOneOrderByCase())) return false; switch (oneOrderByCase_) { case 1: - if (!getMetric() - .equals(other.getMetric())) return false; + if (!getMetric().equals(other.getMetric())) return false; break; case 2: - if (!getDimension() - .equals(other.getDimension())) return false; + if (!getDimension().equals(other.getDimension())) return false; break; case 3: - if (!getPivot() - .equals(other.getPivot())) return false; + if (!getPivot().equals(other.getPivot())) return false; break; case 0: default: @@ -3970,8 +4465,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DESC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDesc()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesc()); switch (oneOrderByCase_) { case 1: hash = (37 * hash) + METRIC_FIELD_NUMBER; @@ -3993,118 +4487,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.OrderBy parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.OrderBy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.OrderBy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy 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.analytics.data.v1beta.OrderBy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.OrderBy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.OrderBy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.OrderBy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.OrderBy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.OrderBy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 sort options.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.OrderBy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.OrderBy) com.google.analytics.data.v1beta.OrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.OrderBy.class, com.google.analytics.data.v1beta.OrderBy.Builder.class); + com.google.analytics.data.v1beta.OrderBy.class, + com.google.analytics.data.v1beta.OrderBy.Builder.class); } // Construct using com.google.analytics.data.v1beta.OrderBy.newBuilder() @@ -4112,16 +4615,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(); @@ -4133,9 +4635,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_OrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_OrderBy_descriptor; } @java.lang.Override @@ -4154,7 +4656,8 @@ public com.google.analytics.data.v1beta.OrderBy build() { @java.lang.Override public com.google.analytics.data.v1beta.OrderBy buildPartial() { - com.google.analytics.data.v1beta.OrderBy result = new com.google.analytics.data.v1beta.OrderBy(this); + com.google.analytics.data.v1beta.OrderBy result = + new com.google.analytics.data.v1beta.OrderBy(this); if (oneOrderByCase_ == 1) { if (metricBuilder_ == null) { result.oneOrderBy_ = oneOrderBy_; @@ -4186,38 +4689,39 @@ public com.google.analytics.data.v1beta.OrderBy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.OrderBy) { - return mergeFrom((com.google.analytics.data.v1beta.OrderBy)other); + return mergeFrom((com.google.analytics.data.v1beta.OrderBy) other); } else { super.mergeFrom(other); return this; @@ -4230,21 +4734,25 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.OrderBy other) { setDesc(other.getDesc()); } switch (other.getOneOrderByCase()) { - case METRIC: { - mergeMetric(other.getMetric()); - break; - } - case DIMENSION: { - mergeDimension(other.getDimension()); - break; - } - case PIVOT: { - mergePivot(other.getPivot()); - break; - } - case ONEORDERBY_NOT_SET: { - break; - } + case METRIC: + { + mergeMetric(other.getMetric()); + break; + } + case DIMENSION: + { + mergeDimension(other.getDimension()); + break; + } + case PIVOT: + { + mergePivot(other.getPivot()); + break; + } + case ONEORDERBY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4274,12 +4782,12 @@ public Builder mergeFrom( } return this; } + private int oneOrderByCase_ = 0; private java.lang.Object oneOrderBy_; - public OneOrderByCase - getOneOrderByCase() { - return OneOrderByCase.forNumber( - oneOrderByCase_); + + public OneOrderByCase getOneOrderByCase() { + return OneOrderByCase.forNumber(oneOrderByCase_); } public Builder clearOneOrderBy() { @@ -4289,15 +4797,20 @@ public Builder clearOneOrderBy() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder> metricBuilder_; + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, + com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder> + metricBuilder_; /** + * + * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; + * * @return Whether the metric field is set. */ @java.lang.Override @@ -4305,11 +4818,14 @@ public boolean hasMetric() { return oneOrderByCase_ == 1; } /** + * + * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; + * * @return The metric. */ @java.lang.Override @@ -4327,6 +4843,8 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getMetric() { } } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -4347,6 +4865,8 @@ public Builder setMetric(com.google.analytics.data.v1beta.OrderBy.MetricOrderBy return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -4365,6 +4885,8 @@ public Builder setMetric( return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -4373,10 +4895,14 @@ public Builder setMetric( */ public Builder mergeMetric(com.google.analytics.data.v1beta.OrderBy.MetricOrderBy value) { if (metricBuilder_ == null) { - if (oneOrderByCase_ == 1 && - oneOrderBy_ != com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance()) { - oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.newBuilder((com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_) - .mergeFrom(value).buildPartial(); + if (oneOrderByCase_ == 1 + && oneOrderBy_ + != com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance()) { + oneOrderBy_ = + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.newBuilder( + (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_) + .mergeFrom(value) + .buildPartial(); } else { oneOrderBy_ = value; } @@ -4391,6 +4917,8 @@ public Builder mergeMetric(com.google.analytics.data.v1beta.OrderBy.MetricOrderB return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -4414,6 +4942,8 @@ public Builder clearMetric() { return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -4424,6 +4954,8 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder getMetricB return getMetricFieldBuilder().getBuilder(); } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -4442,6 +4974,8 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder getMetric } } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -4449,32 +4983,44 @@ public com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder getMetric * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder> + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, + com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder> getMetricFieldBuilder() { if (metricBuilder_ == null) { if (!(oneOrderByCase_ == 1)) { oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.getDefaultInstance(); } - metricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder>( + metricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy, + com.google.analytics.data.v1beta.OrderBy.MetricOrderBy.Builder, + com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder>( (com.google.analytics.data.v1beta.OrderBy.MetricOrderBy) oneOrderBy_, getParentForChildren(), isClean()); oneOrderBy_ = null; } oneOrderByCase_ = 1; - onChanged();; + onChanged(); + ; return metricBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder> dimensionBuilder_; + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, + com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder> + dimensionBuilder_; /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; + * * @return Whether the dimension field is set. */ @java.lang.Override @@ -4482,11 +5028,14 @@ public boolean hasDimension() { return oneOrderByCase_ == 2; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; + * * @return The dimension. */ @java.lang.Override @@ -4504,6 +5053,8 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDimension() } } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -4524,6 +5075,8 @@ public Builder setDimension(com.google.analytics.data.v1beta.OrderBy.DimensionOr return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -4542,6 +5095,8 @@ public Builder setDimension( return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -4550,10 +5105,14 @@ public Builder setDimension( */ public Builder mergeDimension(com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy value) { if (dimensionBuilder_ == null) { - if (oneOrderByCase_ == 2 && - oneOrderBy_ != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance()) { - oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.newBuilder((com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_) - .mergeFrom(value).buildPartial(); + if (oneOrderByCase_ == 2 + && oneOrderBy_ + != com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance()) { + oneOrderBy_ = + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.newBuilder( + (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_) + .mergeFrom(value) + .buildPartial(); } else { oneOrderBy_ = value; } @@ -4568,6 +5127,8 @@ public Builder mergeDimension(com.google.analytics.data.v1beta.OrderBy.Dimension return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -4591,6 +5152,8 @@ public Builder clearDimension() { return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -4601,6 +5164,8 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder getDime return getDimensionFieldBuilder().getBuilder(); } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -4608,7 +5173,8 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder getDime * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder() { + public com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder + getDimensionOrBuilder() { if ((oneOrderByCase_ == 2) && (dimensionBuilder_ != null)) { return dimensionBuilder_.getMessageOrBuilder(); } else { @@ -4619,6 +5185,8 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder getDim } } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -4626,32 +5194,45 @@ public com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder getDim * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder> + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, + com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder> getDimensionFieldBuilder() { if (dimensionBuilder_ == null) { if (!(oneOrderByCase_ == 2)) { - oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance(); - } - dimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder>( + oneOrderBy_ = + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.getDefaultInstance(); + } + dimensionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy, + com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.Builder, + com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder>( (com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy) oneOrderBy_, getParentForChildren(), isClean()); oneOrderBy_ = null; } oneOrderByCase_ = 2; - onChanged();; + onChanged(); + ; return dimensionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder> pivotBuilder_; + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, + com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder> + pivotBuilder_; /** + * + * *
      * Sorts results by a metric's values within a pivot column group.
      * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; + * * @return Whether the pivot field is set. */ @java.lang.Override @@ -4659,11 +5240,14 @@ public boolean hasPivot() { return oneOrderByCase_ == 3; } /** + * + * *
      * Sorts results by a metric's values within a pivot column group.
      * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; + * * @return The pivot. */ @java.lang.Override @@ -4681,6 +5265,8 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getPivot() { } } /** + * + * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -4701,6 +5287,8 @@ public Builder setPivot(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy va return this; } /** + * + * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -4719,6 +5307,8 @@ public Builder setPivot( return this; } /** + * + * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -4727,10 +5317,14 @@ public Builder setPivot( */ public Builder mergePivot(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy value) { if (pivotBuilder_ == null) { - if (oneOrderByCase_ == 3 && - oneOrderBy_ != com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance()) { - oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.newBuilder((com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_) - .mergeFrom(value).buildPartial(); + if (oneOrderByCase_ == 3 + && oneOrderBy_ + != com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance()) { + oneOrderBy_ = + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.newBuilder( + (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_) + .mergeFrom(value) + .buildPartial(); } else { oneOrderBy_ = value; } @@ -4745,6 +5339,8 @@ public Builder mergePivot(com.google.analytics.data.v1beta.OrderBy.PivotOrderBy return this; } /** + * + * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -4768,6 +5364,8 @@ public Builder clearPivot() { return this; } /** + * + * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -4778,6 +5376,8 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder getPivotBui return getPivotFieldBuilder().getBuilder(); } /** + * + * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -4796,6 +5396,8 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder getPivotOr } } /** + * + * *
      * Sorts results by a metric's values within a pivot column group.
      * 
@@ -4803,31 +5405,40 @@ public com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder getPivotOr * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder> + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, + com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder> getPivotFieldBuilder() { if (pivotBuilder_ == null) { if (!(oneOrderByCase_ == 3)) { oneOrderBy_ = com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.getDefaultInstance(); } - pivotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder>( + pivotBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy, + com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.Builder, + com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder>( (com.google.analytics.data.v1beta.OrderBy.PivotOrderBy) oneOrderBy_, getParentForChildren(), isClean()); oneOrderBy_ = null; } oneOrderByCase_ = 3; - onChanged();; + onChanged(); + ; return pivotBuilder_; } - private boolean desc_ ; + private boolean desc_; /** + * + * *
      * If true, sorts by descending order.
      * 
* * bool desc = 4; + * * @return The desc. */ @java.lang.Override @@ -4835,37 +5446,43 @@ public boolean getDesc() { return desc_; } /** + * + * *
      * If true, sorts by descending order.
      * 
* * bool desc = 4; + * * @param value The desc to set. * @return This builder for chaining. */ public Builder setDesc(boolean value) { - + desc_ = value; onChanged(); return this; } /** + * + * *
      * If true, sorts by descending order.
      * 
* * bool desc = 4; + * * @return This builder for chaining. */ public Builder clearDesc() { - + desc_ = 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); } @@ -4875,12 +5492,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.OrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.OrderBy) private static final com.google.analytics.data.v1beta.OrderBy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.OrderBy(); } @@ -4889,16 +5506,16 @@ public static com.google.analytics.data.v1beta.OrderBy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OrderBy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OrderBy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OrderBy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OrderBy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4913,6 +5530,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.OrderBy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java similarity index 78% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java index 0c5b0594..23050292 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/OrderByOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface OrderByOrBuilder extends +public interface OrderByOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.OrderBy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; + * * @return Whether the metric field is set. */ boolean hasMetric(); /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1; + * * @return The metric. */ com.google.analytics.data.v1beta.OrderBy.MetricOrderBy getMetric(); /** + * + * *
    * Sorts results by a metric's values.
    * 
@@ -35,24 +59,32 @@ public interface OrderByOrBuilder extends com.google.analytics.data.v1beta.OrderBy.MetricOrderByOrBuilder getMetricOrBuilder(); /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; + * * @return Whether the dimension field is set. */ boolean hasDimension(); /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2; + * * @return The dimension. */ com.google.analytics.data.v1beta.OrderBy.DimensionOrderBy getDimension(); /** + * + * *
    * Sorts results by a dimension's values.
    * 
@@ -62,24 +94,32 @@ public interface OrderByOrBuilder extends com.google.analytics.data.v1beta.OrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder(); /** + * + * *
    * Sorts results by a metric's values within a pivot column group.
    * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; + * * @return Whether the pivot field is set. */ boolean hasPivot(); /** + * + * *
    * Sorts results by a metric's values within a pivot column group.
    * 
* * .google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3; + * * @return The pivot. */ com.google.analytics.data.v1beta.OrderBy.PivotOrderBy getPivot(); /** + * + * *
    * Sorts results by a metric's values within a pivot column group.
    * 
@@ -89,11 +129,14 @@ public interface OrderByOrBuilder extends com.google.analytics.data.v1beta.OrderBy.PivotOrderByOrBuilder getPivotOrBuilder(); /** + * + * *
    * If true, sorts by descending order.
    * 
* * bool desc = 4; + * * @return The desc. */ boolean getDesc(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.java similarity index 79% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.java index edc03e80..d3a2e672 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Pivot.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Describes the visible dimension columns and rows in the report response.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.Pivot} */ -public final class Pivot extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Pivot extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Pivot) PivotOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Pivot.newBuilder() to construct. private Pivot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Pivot() { fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; orderBys_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private Pivot() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Pivot(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Pivot( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,71 +73,75 @@ private Pivot( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fieldNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fieldNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + fieldNames_.add(s); + break; } - fieldNames_.add(s); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - orderBys_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + orderBys_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + orderBys_.add( + input.readMessage( + com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); + break; } - orderBys_.add( - input.readMessage(com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); - break; - } - case 24: { - - offset_ = input.readInt64(); - break; - } - case 32: { - - limit_ = input.readInt64(); - break; - } - case 40: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 24: + { + offset_ = input.readInt64(); + break; } - metricAggregations_.add(rawValue); - break; - } - case 42: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 32: + { + limit_ = input.readInt64(); + break; + } + case 40: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000004) != 0)) { metricAggregations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } metricAggregations_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 42: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + metricAggregations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + metricAggregations_.add(rawValue); + } + input.popLimit(oldLimit); + 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)) { fieldNames_ = fieldNames_.getUnmodifiableView(); @@ -135,22 +156,27 @@ private Pivot( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Pivot_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Pivot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Pivot.class, com.google.analytics.data.v1beta.Pivot.Builder.class); + com.google.analytics.data.v1beta.Pivot.class, + com.google.analytics.data.v1beta.Pivot.Builder.class); } public static final int FIELD_NAMES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList fieldNames_; /** + * + * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -159,13 +185,15 @@ private Pivot(
    * 
* * repeated string field_names = 1; + * * @return A list containing the fieldNames. */ - public com.google.protobuf.ProtocolStringList - getFieldNamesList() { + public com.google.protobuf.ProtocolStringList getFieldNamesList() { return fieldNames_; } /** + * + * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -174,12 +202,15 @@ private Pivot(
    * 
* * repeated string field_names = 1; + * * @return The count of fieldNames. */ public int getFieldNamesCount() { return fieldNames_.size(); } /** + * + * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -188,6 +219,7 @@ public int getFieldNamesCount() {
    * 
* * repeated string field_names = 1; + * * @param index The index of the element to return. * @return The fieldNames at the given index. */ @@ -195,6 +227,8 @@ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** + * + * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -203,17 +237,19 @@ public java.lang.String getFieldNames(int index) {
    * 
* * repeated string field_names = 1; + * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - public com.google.protobuf.ByteString - getFieldNamesBytes(int index) { + public com.google.protobuf.ByteString getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } public static final int ORDER_BYS_FIELD_NUMBER = 2; private java.util.List orderBys_; /** + * + * *
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -229,6 +265,8 @@ public java.util.List getOrderBysList(
     return orderBys_;
   }
   /**
+   *
+   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -240,11 +278,13 @@ public java.util.List getOrderBysList(
    * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getOrderBysOrBuilderList() {
     return orderBys_;
   }
   /**
+   *
+   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -260,6 +300,8 @@ public int getOrderBysCount() {
     return orderBys_.size();
   }
   /**
+   *
+   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -275,6 +317,8 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) {
     return orderBys_.get(index);
   }
   /**
+   *
+   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -286,19 +330,21 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) {
    * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) {
     return orderBys_.get(index);
   }
 
   public static final int OFFSET_FIELD_NUMBER = 3;
   private long offset_;
   /**
+   *
+   *
    * 
    * The row count of the start row. The first row is counted as row 0.
    * 
* * int64 offset = 3; + * * @return The offset. */ @java.lang.Override @@ -309,6 +355,8 @@ public long getOffset() { public static final int LIMIT_FIELD_NUMBER = 4; private long limit_; /** + * + * *
    * The number of unique combinations of dimension values to return in this
    * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for
@@ -319,6 +367,7 @@ public long getOffset() {
    * 
* * int64 limit = 4; + * * @return The limit. */ @java.lang.Override @@ -329,36 +378,49 @@ public long getLimit() { public static final int METRIC_AGGREGATIONS_FIELD_NUMBER = 5; private java.util.List metricAggregations_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> metricAggregations_converter_ = + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> + metricAggregations_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>() { - public com.google.analytics.data.v1beta.MetricAggregation convert(java.lang.Integer from) { + public com.google.analytics.data.v1beta.MetricAggregation convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricAggregation result = com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); - return result == null ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.MetricAggregation result = + com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); + return result == null + ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED + : result; } }; /** + * + * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * * @return A list containing the metricAggregations. */ @java.lang.Override - public java.util.List getMetricAggregationsList() { + public java.util.List + getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( + metricAggregations_, metricAggregations_converter_); } /** + * + * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * * @return The count of metricAggregations. */ @java.lang.Override @@ -366,12 +428,15 @@ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** + * + * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -380,26 +445,31 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** + * + * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * * @return A list containing the enum numeric values on the wire for metricAggregations. */ @java.lang.Override - public java.util.List - getMetricAggregationsValueList() { + public java.util.List getMetricAggregationsValueList() { return metricAggregations_; } /** + * + * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -407,9 +477,11 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } + private int metricAggregationsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -421,8 +493,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(); for (int i = 0; i < fieldNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldNames_.getRaw(i)); @@ -461,28 +532,26 @@ public int getSerializedSize() { size += 1 * getFieldNamesList().size(); } for (int i = 0; i < orderBys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, orderBys_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, orderBys_.get(i)); } if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, offset_); } if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, limit_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, limit_); } { int dataSize = 0; for (int i = 0; i < metricAggregations_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(metricAggregations_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(metricAggregations_.get(i)); } size += dataSize; - if (!getMetricAggregationsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }metricAggregationsMemoizedSerializedSize = dataSize; + if (!getMetricAggregationsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + metricAggregationsMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -492,21 +561,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.analytics.data.v1beta.Pivot)) { return super.equals(obj); } com.google.analytics.data.v1beta.Pivot other = (com.google.analytics.data.v1beta.Pivot) obj; - if (!getFieldNamesList() - .equals(other.getFieldNamesList())) return false; - if (!getOrderBysList() - .equals(other.getOrderBysList())) return false; - if (getOffset() - != other.getOffset()) return false; - if (getLimit() - != other.getLimit()) return false; + if (!getFieldNamesList().equals(other.getFieldNamesList())) return false; + if (!getOrderBysList().equals(other.getOrderBysList())) return false; + if (getOffset() != other.getOffset()) return false; + if (getLimit() != other.getLimit()) return false; if (!metricAggregations_.equals(other.metricAggregations_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -528,11 +593,9 @@ public int hashCode() { hash = (53 * hash) + getOrderBysList().hashCode(); } hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); if (getMetricAggregationsCount() > 0) { hash = (37 * hash) + METRIC_AGGREGATIONS_FIELD_NUMBER; hash = (53 * hash) + metricAggregations_.hashCode(); @@ -542,118 +605,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.Pivot parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.Pivot parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Pivot parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Pivot parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Pivot parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Pivot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Pivot parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Pivot 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.analytics.data.v1beta.Pivot parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Pivot 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.analytics.data.v1beta.Pivot parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Pivot parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Pivot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.Pivot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 the visible dimension columns and rows in the report response.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.Pivot} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Pivot) com.google.analytics.data.v1beta.PivotOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Pivot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Pivot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.Pivot.class, com.google.analytics.data.v1beta.Pivot.Builder.class); + com.google.analytics.data.v1beta.Pivot.class, + com.google.analytics.data.v1beta.Pivot.Builder.class); } // Construct using com.google.analytics.data.v1beta.Pivot.newBuilder() @@ -661,17 +733,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) { getOrderBysFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -693,9 +765,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Pivot_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_Pivot_descriptor; } @java.lang.Override @@ -714,7 +786,8 @@ public com.google.analytics.data.v1beta.Pivot build() { @java.lang.Override public com.google.analytics.data.v1beta.Pivot buildPartial() { - com.google.analytics.data.v1beta.Pivot result = new com.google.analytics.data.v1beta.Pivot(this); + com.google.analytics.data.v1beta.Pivot result = + new com.google.analytics.data.v1beta.Pivot(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { fieldNames_ = fieldNames_.getUnmodifiableView(); @@ -745,38 +818,39 @@ public com.google.analytics.data.v1beta.Pivot buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.Pivot) { - return mergeFrom((com.google.analytics.data.v1beta.Pivot)other); + return mergeFrom((com.google.analytics.data.v1beta.Pivot) other); } else { super.mergeFrom(other); return this; @@ -813,9 +887,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Pivot other) { orderBysBuilder_ = null; orderBys_ = other.orderBys_; bitField0_ = (bitField0_ & ~0x00000002); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOrderBysFieldBuilder() : null; + orderBysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOrderBysFieldBuilder() + : null; } else { orderBysBuilder_.addAllMessages(other.orderBys_); } @@ -865,16 +940,21 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList fieldNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFieldNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fieldNames_ = new com.google.protobuf.LazyStringArrayList(fieldNames_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -883,13 +963,15 @@ private void ensureFieldNamesIsMutable() {
      * 
* * repeated string field_names = 1; + * * @return A list containing the fieldNames. */ - public com.google.protobuf.ProtocolStringList - getFieldNamesList() { + public com.google.protobuf.ProtocolStringList getFieldNamesList() { return fieldNames_.getUnmodifiableView(); } /** + * + * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -898,12 +980,15 @@ private void ensureFieldNamesIsMutable() {
      * 
* * repeated string field_names = 1; + * * @return The count of fieldNames. */ public int getFieldNamesCount() { return fieldNames_.size(); } /** + * + * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -912,6 +997,7 @@ public int getFieldNamesCount() {
      * 
* * repeated string field_names = 1; + * * @param index The index of the element to return. * @return The fieldNames at the given index. */ @@ -919,6 +1005,8 @@ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** + * + * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -927,14 +1015,16 @@ public java.lang.String getFieldNames(int index) {
      * 
* * repeated string field_names = 1; + * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - public com.google.protobuf.ByteString - getFieldNamesBytes(int index) { + public com.google.protobuf.ByteString getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } /** + * + * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -943,21 +1033,23 @@ public java.lang.String getFieldNames(int index) {
      * 
* * repeated string field_names = 1; + * * @param index The index to set the value at. * @param value The fieldNames to set. * @return This builder for chaining. */ - public Builder setFieldNames( - int index, java.lang.String value) { + public Builder setFieldNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFieldNamesIsMutable(); + throw new NullPointerException(); + } + ensureFieldNamesIsMutable(); fieldNames_.set(index, value); onChanged(); return this; } /** + * + * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -966,20 +1058,22 @@ public Builder setFieldNames(
      * 
* * repeated string field_names = 1; + * * @param value The fieldNames to add. * @return This builder for chaining. */ - public Builder addFieldNames( - java.lang.String value) { + public Builder addFieldNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFieldNamesIsMutable(); + throw new NullPointerException(); + } + ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); return this; } /** + * + * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -988,18 +1082,19 @@ public Builder addFieldNames(
      * 
* * repeated string field_names = 1; + * * @param values The fieldNames to add. * @return This builder for chaining. */ - public Builder addAllFieldNames( - java.lang.Iterable values) { + public Builder addAllFieldNames(java.lang.Iterable values) { ensureFieldNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fieldNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldNames_); onChanged(); return this; } /** + * + * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -1008,6 +1103,7 @@ public Builder addAllFieldNames(
      * 
* * repeated string field_names = 1; + * * @return This builder for chaining. */ public Builder clearFieldNames() { @@ -1017,6 +1113,8 @@ public Builder clearFieldNames() { return this; } /** + * + * *
      * Dimension names for visible columns in the report response. Including
      * "dateRange" produces a date range column; for each row in the response,
@@ -1025,15 +1123,15 @@ public Builder clearFieldNames() {
      * 
* * repeated string field_names = 1; + * * @param value The bytes of the fieldNames to add. * @return This builder for chaining. */ - public Builder addFieldNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addFieldNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); @@ -1041,18 +1139,24 @@ public Builder addFieldNamesBytes( } private java.util.List orderBys_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOrderBysIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { orderBys_ = new java.util.ArrayList(orderBys_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> orderBysBuilder_; + com.google.analytics.data.v1beta.OrderBy, + com.google.analytics.data.v1beta.OrderBy.Builder, + com.google.analytics.data.v1beta.OrderByOrBuilder> + orderBysBuilder_; /** + * + * *
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1071,6 +1175,8 @@ public java.util.List getOrderBysList(
       }
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1089,6 +1195,8 @@ public int getOrderBysCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1107,6 +1215,8 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1117,8 +1227,7 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) {
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public Builder setOrderBys(
-        int index, com.google.analytics.data.v1beta.OrderBy value) {
+    public Builder setOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) {
       if (orderBysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1132,6 +1241,8 @@ public Builder setOrderBys(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1154,6 +1265,8 @@ public Builder setOrderBys(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1178,6 +1291,8 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1188,8 +1303,7 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy value) {
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public Builder addOrderBys(
-        int index, com.google.analytics.data.v1beta.OrderBy value) {
+    public Builder addOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) {
       if (orderBysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1203,6 +1317,8 @@ public Builder addOrderBys(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1213,8 +1329,7 @@ public Builder addOrderBys(
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public Builder addOrderBys(
-        com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) {
+    public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) {
       if (orderBysBuilder_ == null) {
         ensureOrderBysIsMutable();
         orderBys_.add(builderForValue.build());
@@ -1225,6 +1340,8 @@ public Builder addOrderBys(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1247,6 +1364,8 @@ public Builder addOrderBys(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1261,8 +1380,7 @@ public Builder addAllOrderBys(
         java.lang.Iterable values) {
       if (orderBysBuilder_ == null) {
         ensureOrderBysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, orderBys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_);
         onChanged();
       } else {
         orderBysBuilder_.addAllMessages(values);
@@ -1270,6 +1388,8 @@ public Builder addAllOrderBys(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1291,6 +1411,8 @@ public Builder clearOrderBys() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1312,6 +1434,8 @@ public Builder removeOrderBys(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1322,11 +1446,12 @@ public Builder removeOrderBys(int index) {
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder(int index) {
       return getOrderBysFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1337,14 +1462,16 @@ public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder(
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) {
       if (orderBysBuilder_ == null) {
-        return orderBys_.get(index);  } else {
+        return orderBys_.get(index);
+      } else {
         return orderBysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1355,8 +1482,8 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public java.util.List 
-         getOrderBysOrBuilderList() {
+    public java.util.List
+        getOrderBysOrBuilderList() {
       if (orderBysBuilder_ != null) {
         return orderBysBuilder_.getMessageOrBuilderList();
       } else {
@@ -1364,6 +1491,8 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1375,10 +1504,12 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
     public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder() {
-      return getOrderBysFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.OrderBy.getDefaultInstance());
+      return getOrderBysFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.OrderBy.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1389,12 +1520,13 @@ public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder() {
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(
-        int index) {
-      return getOrderBysFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance());
+    public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(int index) {
+      return getOrderBysFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
      * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -1405,32 +1537,38 @@ public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(
      *
      * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
      */
-    public java.util.List 
-         getOrderBysBuilderList() {
+    public java.util.List
+        getOrderBysBuilderList() {
       return getOrderBysFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> 
+            com.google.analytics.data.v1beta.OrderBy,
+            com.google.analytics.data.v1beta.OrderBy.Builder,
+            com.google.analytics.data.v1beta.OrderByOrBuilder>
         getOrderBysFieldBuilder() {
       if (orderBysBuilder_ == null) {
-        orderBysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder>(
-                orderBys_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        orderBysBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.OrderBy,
+                com.google.analytics.data.v1beta.OrderBy.Builder,
+                com.google.analytics.data.v1beta.OrderByOrBuilder>(
+                orderBys_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         orderBys_ = null;
       }
       return orderBysBuilder_;
     }
 
-    private long offset_ ;
+    private long offset_;
     /**
+     *
+     *
      * 
      * The row count of the start row. The first row is counted as row 0.
      * 
* * int64 offset = 3; + * * @return The offset. */ @java.lang.Override @@ -1438,37 +1576,45 @@ public long getOffset() { return offset_; } /** + * + * *
      * The row count of the start row. The first row is counted as row 0.
      * 
* * int64 offset = 3; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); return this; } /** + * + * *
      * The row count of the start row. The first row is counted as row 0.
      * 
* * int64 offset = 3; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0L; onChanged(); return this; } - private long limit_ ; + private long limit_; /** + * + * *
      * The number of unique combinations of dimension values to return in this
      * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for
@@ -1479,6 +1625,7 @@ public Builder clearOffset() {
      * 
* * int64 limit = 4; + * * @return The limit. */ @java.lang.Override @@ -1486,6 +1633,8 @@ public long getLimit() { return limit_; } /** + * + * *
      * The number of unique combinations of dimension values to return in this
      * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for
@@ -1496,16 +1645,19 @@ public long getLimit() {
      * 
* * int64 limit = 4; + * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; onChanged(); return this; } /** + * + * *
      * The number of unique combinations of dimension values to return in this
      * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for
@@ -1516,17 +1668,19 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 4; + * * @return This builder for chaining. */ public Builder clearLimit() { - + limit_ = 0L; onChanged(); return this; } private java.util.List metricAggregations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricAggregationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { metricAggregations_ = new java.util.ArrayList(metricAggregations_); @@ -1534,37 +1688,51 @@ private void ensureMetricAggregationsIsMutable() { } } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @return A list containing the metricAggregations. */ - public java.util.List getMetricAggregationsList() { + public java.util.List + getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( + metricAggregations_, metricAggregations_converter_); } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @return The count of metricAggregations. */ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -1572,12 +1740,16 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @param index The index to set the value at. * @param value The metricAggregations to set. * @return This builder for chaining. @@ -1593,12 +1765,16 @@ public Builder setMetricAggregations( return this; } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @param value The metricAggregations to add. * @return This builder for chaining. */ @@ -1612,12 +1788,16 @@ public Builder addMetricAggregations(com.google.analytics.data.v1beta.MetricAggr return this; } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @param values The metricAggregations to add. * @return This builder for chaining. */ @@ -1631,12 +1811,16 @@ public Builder addAllMetricAggregations( return this; } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @return This builder for chaining. */ public Builder clearMetricAggregations() { @@ -1646,25 +1830,32 @@ public Builder clearMetricAggregations() { return this; } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @return A list containing the enum numeric values on the wire for metricAggregations. */ - public java.util.List - getMetricAggregationsValueList() { + public java.util.List getMetricAggregationsValueList() { return java.util.Collections.unmodifiableList(metricAggregations_); } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -1672,30 +1863,37 @@ public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. * @return This builder for chaining. */ - public Builder setMetricAggregationsValue( - int index, int value) { + public Builder setMetricAggregationsValue(int index, int value) { ensureMetricAggregationsIsMutable(); metricAggregations_.set(index, value); onChanged(); return this; } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @param value The enum numeric value on the wire for metricAggregations to add. * @return This builder for chaining. */ @@ -1706,17 +1904,20 @@ public Builder addMetricAggregationsValue(int value) { return this; } /** + * + * *
      * Aggregate the metrics by dimensions in this pivot using the specified
      * metric_aggregations.
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * + * * @param values The enum numeric values on the wire for metricAggregations to add. * @return This builder for chaining. */ - public Builder addAllMetricAggregationsValue( - java.lang.Iterable values) { + public Builder addAllMetricAggregationsValue(java.lang.Iterable values) { ensureMetricAggregationsIsMutable(); for (int value : values) { metricAggregations_.add(value); @@ -1724,9 +1925,9 @@ public Builder addAllMetricAggregationsValue( 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); } @@ -1736,12 +1937,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Pivot) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Pivot) private static final com.google.analytics.data.v1beta.Pivot DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Pivot(); } @@ -1750,16 +1951,16 @@ public static com.google.analytics.data.v1beta.Pivot getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Pivot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Pivot(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Pivot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Pivot(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1774,6 +1975,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Pivot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java similarity index 74% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java index 6308943e..c6c5b916 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeader.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Summarizes dimension values from a row for this pivot.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.PivotDimensionHeader} */ -public final class PivotDimensionHeader extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PivotDimensionHeader extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.PivotDimensionHeader) PivotDimensionHeaderOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PivotDimensionHeader.newBuilder() to construct. private PivotDimensionHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PivotDimensionHeader() { dimensionValues_ = 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 PivotDimensionHeader(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PivotDimensionHeader( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,29 +71,31 @@ private PivotDimensionHeader( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionValues_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dimensionValues_.add( + input.readMessage( + com.google.analytics.data.v1beta.DimensionValue.parser(), extensionRegistry)); + break; } - dimensionValues_.add( - input.readMessage(com.google.analytics.data.v1beta.DimensionValue.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)) { dimensionValues_ = java.util.Collections.unmodifiableList(dimensionValues_); @@ -85,22 +104,27 @@ private PivotDimensionHeader( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.PivotDimensionHeader.class, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder.class); + com.google.analytics.data.v1beta.PivotDimensionHeader.class, + com.google.analytics.data.v1beta.PivotDimensionHeader.Builder.class); } public static final int DIMENSION_VALUES_FIELD_NUMBER = 1; private java.util.List dimensionValues_; /** + * + * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -112,6 +136,8 @@ public java.util.List getDimens return dimensionValues_; } /** + * + * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -119,11 +145,13 @@ public java.util.List getDimens * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDimensionValuesOrBuilderList() { return dimensionValues_; } /** + * + * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -135,6 +163,8 @@ public int getDimensionValuesCount() { return dimensionValues_.size(); } /** + * + * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -146,6 +176,8 @@ public com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int in return dimensionValues_.get(index); } /** + * + * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -159,6 +191,7 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensionValues_.size(); i++) { output.writeMessage(1, dimensionValues_.get(i)); } @@ -185,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dimensionValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionValues_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -196,15 +227,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.analytics.data.v1beta.PivotDimensionHeader)) { return super.equals(obj); } - com.google.analytics.data.v1beta.PivotDimensionHeader other = (com.google.analytics.data.v1beta.PivotDimensionHeader) obj; + com.google.analytics.data.v1beta.PivotDimensionHeader other = + (com.google.analytics.data.v1beta.PivotDimensionHeader) obj; - if (!getDimensionValuesList() - .equals(other.getDimensionValuesList())) return false; + if (!getDimensionValuesList().equals(other.getDimensionValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,117 +257,127 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.PivotDimensionHeader parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.PivotDimensionHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.PivotDimensionHeader prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.PivotDimensionHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Summarizes dimension values from a row for this pivot.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.PivotDimensionHeader} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.PivotDimensionHeader) com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.PivotDimensionHeader.class, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder.class); + com.google.analytics.data.v1beta.PivotDimensionHeader.class, + com.google.analytics.data.v1beta.PivotDimensionHeader.Builder.class); } // Construct using com.google.analytics.data.v1beta.PivotDimensionHeader.newBuilder() @@ -344,17 +385,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) { getDimensionValuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; } @java.lang.Override @@ -389,7 +430,8 @@ public com.google.analytics.data.v1beta.PivotDimensionHeader build() { @java.lang.Override public com.google.analytics.data.v1beta.PivotDimensionHeader buildPartial() { - com.google.analytics.data.v1beta.PivotDimensionHeader result = new com.google.analytics.data.v1beta.PivotDimensionHeader(this); + com.google.analytics.data.v1beta.PivotDimensionHeader result = + new com.google.analytics.data.v1beta.PivotDimensionHeader(this); int from_bitField0_ = bitField0_; if (dimensionValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -408,38 +450,39 @@ public com.google.analytics.data.v1beta.PivotDimensionHeader buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.PivotDimensionHeader) { - return mergeFrom((com.google.analytics.data.v1beta.PivotDimensionHeader)other); + return mergeFrom((com.google.analytics.data.v1beta.PivotDimensionHeader) other); } else { super.mergeFrom(other); return this; @@ -447,7 +490,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.PivotDimensionHeader other) { - if (other == com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()) + return this; if (dimensionValuesBuilder_ == null) { if (!other.dimensionValues_.isEmpty()) { if (dimensionValues_.isEmpty()) { @@ -466,9 +510,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.PivotDimensionHeader o dimensionValuesBuilder_ = null; dimensionValues_ = other.dimensionValues_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionValuesFieldBuilder() : null; + dimensionValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionValuesFieldBuilder() + : null; } else { dimensionValuesBuilder_.addAllMessages(other.dimensionValues_); } @@ -493,7 +538,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.PivotDimensionHeader) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.PivotDimensionHeader) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,28 +548,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dimensionValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDimensionValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionValues_ = new java.util.ArrayList(dimensionValues_); + dimensionValues_ = + new java.util.ArrayList( + dimensionValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder> dimensionValuesBuilder_; + com.google.analytics.data.v1beta.DimensionValue, + com.google.analytics.data.v1beta.DimensionValue.Builder, + com.google.analytics.data.v1beta.DimensionValueOrBuilder> + dimensionValuesBuilder_; /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - public java.util.List getDimensionValuesList() { + public java.util.List + getDimensionValuesList() { if (dimensionValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensionValues_); } else { @@ -531,6 +587,8 @@ public java.util.List getDimens } } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -545,6 +603,8 @@ public int getDimensionValuesCount() { } } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -559,6 +619,8 @@ public com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int in } } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -580,6 +642,8 @@ public Builder setDimensionValues( return this; } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -598,6 +662,8 @@ public Builder setDimensionValues( return this; } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -618,6 +684,8 @@ public Builder addDimensionValues(com.google.analytics.data.v1beta.DimensionValu return this; } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -639,6 +707,8 @@ public Builder addDimensionValues( return this; } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -657,6 +727,8 @@ public Builder addDimensionValues( return this; } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -675,6 +747,8 @@ public Builder addDimensionValues( return this; } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -685,8 +759,7 @@ public Builder addAllDimensionValues( java.lang.Iterable values) { if (dimensionValuesBuilder_ == null) { ensureDimensionValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dimensionValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionValues_); onChanged(); } else { dimensionValuesBuilder_.addAllMessages(values); @@ -694,6 +767,8 @@ public Builder addAllDimensionValues( return this; } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -711,6 +786,8 @@ public Builder clearDimensionValues() { return this; } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -728,6 +805,8 @@ public Builder removeDimensionValues(int index) { return this; } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -739,6 +818,8 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder getDimensionValue return getDimensionValuesFieldBuilder().getBuilder(index); } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -748,19 +829,22 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder getDimensionValue public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder( int index) { if (dimensionValuesBuilder_ == null) { - return dimensionValues_.get(index); } else { + return dimensionValues_.get(index); + } else { return dimensionValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - public java.util.List - getDimensionValuesOrBuilderList() { + public java.util.List + getDimensionValuesOrBuilderList() { if (dimensionValuesBuilder_ != null) { return dimensionValuesBuilder_.getMessageOrBuilderList(); } else { @@ -768,6 +852,8 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu } } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -775,10 +861,12 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValuesBuilder() { - return getDimensionValuesFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()); + return getDimensionValuesFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()); } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
@@ -787,26 +875,34 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValue */ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValuesBuilder( int index) { - return getDimensionValuesFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()); + return getDimensionValuesFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance()); } /** + * + * *
      * Values of multiple dimensions in a pivot.
      * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - public java.util.List - getDimensionValuesBuilderList() { + public java.util.List + getDimensionValuesBuilderList() { return getDimensionValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder> + com.google.analytics.data.v1beta.DimensionValue, + com.google.analytics.data.v1beta.DimensionValue.Builder, + com.google.analytics.data.v1beta.DimensionValueOrBuilder> getDimensionValuesFieldBuilder() { if (dimensionValuesBuilder_ == null) { - dimensionValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder>( + dimensionValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.DimensionValue, + com.google.analytics.data.v1beta.DimensionValue.Builder, + com.google.analytics.data.v1beta.DimensionValueOrBuilder>( dimensionValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -815,9 +911,9 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValue } return dimensionValuesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -827,12 +923,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.PivotDimensionHeader) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.PivotDimensionHeader) private static final com.google.analytics.data.v1beta.PivotDimensionHeader DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.PivotDimensionHeader(); } @@ -841,16 +937,16 @@ public static com.google.analytics.data.v1beta.PivotDimensionHeader getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotDimensionHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotDimensionHeader(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PivotDimensionHeader parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PivotDimensionHeader(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -865,6 +961,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.PivotDimensionHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java similarity index 66% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java index c400a060..82e101b6 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotDimensionHeaderOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface PivotDimensionHeaderOrBuilder extends +public interface PivotDimensionHeaderOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.PivotDimensionHeader) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Values of multiple dimensions in a pivot.
    * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - java.util.List - getDimensionValuesList(); + java.util.List getDimensionValuesList(); /** + * + * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -25,6 +44,8 @@ public interface PivotDimensionHeaderOrBuilder extends */ com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int index); /** + * + * *
    * Values of multiple dimensions in a pivot.
    * 
@@ -33,21 +54,24 @@ public interface PivotDimensionHeaderOrBuilder extends */ int getDimensionValuesCount(); /** + * + * *
    * Values of multiple dimensions in a pivot.
    * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - java.util.List + java.util.List getDimensionValuesOrBuilderList(); /** + * + * *
    * Values of multiple dimensions in a pivot.
    * 
* * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1; */ - com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder( - int index); + com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java similarity index 68% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java index 2b69f8cf..6391c40b 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeader.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Dimensions' values in a single pivot.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.PivotHeader} */ -public final class PivotHeader extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PivotHeader extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.PivotHeader) PivotHeaderOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PivotHeader.newBuilder() to construct. private PivotHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PivotHeader() { pivotDimensionHeaders_ = 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 PivotHeader(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PivotHeader( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,34 +71,38 @@ private PivotHeader( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotDimensionHeaders_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pivotDimensionHeaders_ = + new java.util.ArrayList< + com.google.analytics.data.v1beta.PivotDimensionHeader>(); + mutable_bitField0_ |= 0x00000001; + } + pivotDimensionHeaders_.add( + input.readMessage( + com.google.analytics.data.v1beta.PivotDimensionHeader.parser(), + extensionRegistry)); + break; } - pivotDimensionHeaders_.add( - input.readMessage(com.google.analytics.data.v1beta.PivotDimensionHeader.parser(), extensionRegistry)); - break; - } - case 16: { - - rowCount_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + rowCount_ = 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)) { pivotDimensionHeaders_ = java.util.Collections.unmodifiableList(pivotDimensionHeaders_); @@ -90,87 +111,109 @@ private PivotHeader( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.PivotHeader.class, com.google.analytics.data.v1beta.PivotHeader.Builder.class); + com.google.analytics.data.v1beta.PivotHeader.class, + com.google.analytics.data.v1beta.PivotHeader.Builder.class); } public static final int PIVOT_DIMENSION_HEADERS_FIELD_NUMBER = 1; - private java.util.List pivotDimensionHeaders_; + private java.util.List + pivotDimensionHeaders_; /** + * + * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ @java.lang.Override - public java.util.List getPivotDimensionHeadersList() { + public java.util.List + getPivotDimensionHeadersList() { return pivotDimensionHeaders_; } /** + * + * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getPivotDimensionHeadersOrBuilderList() { return pivotDimensionHeaders_; } /** + * + * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ @java.lang.Override public int getPivotDimensionHeadersCount() { return pivotDimensionHeaders_.size(); } /** + * + * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ @java.lang.Override public com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHeaders(int index) { return pivotDimensionHeaders_.get(index); } /** + * + * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ @java.lang.Override - public com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder getPivotDimensionHeadersOrBuilder( - int index) { + public com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder + getPivotDimensionHeadersOrBuilder(int index) { return pivotDimensionHeaders_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 2; private int rowCount_; /** + * + * *
    * The cardinality of the pivot. The total number of rows for this pivot's
    * fields regardless of how the parameters `offset` and `limit` are specified
@@ -178,6 +221,7 @@ public com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder getPivotDi
    * 
* * int32 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -186,6 +230,7 @@ public int getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,8 +242,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < pivotDimensionHeaders_.size(); i++) { output.writeMessage(1, pivotDimensionHeaders_.get(i)); } @@ -215,12 +259,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < pivotDimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, pivotDimensionHeaders_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, pivotDimensionHeaders_.get(i)); } if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, rowCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -230,17 +274,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.analytics.data.v1beta.PivotHeader)) { return super.equals(obj); } - com.google.analytics.data.v1beta.PivotHeader other = (com.google.analytics.data.v1beta.PivotHeader) obj; + com.google.analytics.data.v1beta.PivotHeader other = + (com.google.analytics.data.v1beta.PivotHeader) obj; - if (!getPivotDimensionHeadersList() - .equals(other.getPivotDimensionHeadersList())) return false; - if (getRowCount() - != other.getRowCount()) return false; + if (!getPivotDimensionHeadersList().equals(other.getPivotDimensionHeadersList())) return false; + if (getRowCount() != other.getRowCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -263,118 +306,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.PivotHeader parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.PivotHeader parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.PivotHeader parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.PivotHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.PivotHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.PivotHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.PivotHeader parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.PivotHeader 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.analytics.data.v1beta.PivotHeader parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.PivotHeader parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.PivotHeader parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.PivotHeader parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.PivotHeader parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.PivotHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.PivotHeader prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Dimensions' values in a single pivot.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.PivotHeader} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.PivotHeader) com.google.analytics.data.v1beta.PivotHeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.PivotHeader.class, com.google.analytics.data.v1beta.PivotHeader.Builder.class); + com.google.analytics.data.v1beta.PivotHeader.class, + com.google.analytics.data.v1beta.PivotHeader.Builder.class); } // Construct using com.google.analytics.data.v1beta.PivotHeader.newBuilder() @@ -382,17 +434,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) { getPivotDimensionHeadersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +460,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; } @java.lang.Override @@ -429,7 +481,8 @@ public com.google.analytics.data.v1beta.PivotHeader build() { @java.lang.Override public com.google.analytics.data.v1beta.PivotHeader buildPartial() { - com.google.analytics.data.v1beta.PivotHeader result = new com.google.analytics.data.v1beta.PivotHeader(this); + com.google.analytics.data.v1beta.PivotHeader result = + new com.google.analytics.data.v1beta.PivotHeader(this); int from_bitField0_ = bitField0_; if (pivotDimensionHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,38 +502,39 @@ public com.google.analytics.data.v1beta.PivotHeader buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.PivotHeader) { - return mergeFrom((com.google.analytics.data.v1beta.PivotHeader)other); + return mergeFrom((com.google.analytics.data.v1beta.PivotHeader) other); } else { super.mergeFrom(other); return this; @@ -507,9 +561,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.PivotHeader other) { pivotDimensionHeadersBuilder_ = null; pivotDimensionHeaders_ = other.pivotDimensionHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - pivotDimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPivotDimensionHeadersFieldBuilder() : null; + pivotDimensionHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPivotDimensionHeadersFieldBuilder() + : null; } else { pivotDimensionHeadersBuilder_.addAllMessages(other.pivotDimensionHeaders_); } @@ -546,29 +601,41 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List pivotDimensionHeaders_ = - java.util.Collections.emptyList(); + private java.util.List + pivotDimensionHeaders_ = java.util.Collections.emptyList(); + private void ensurePivotDimensionHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pivotDimensionHeaders_ = new java.util.ArrayList(pivotDimensionHeaders_); + pivotDimensionHeaders_ = + new java.util.ArrayList( + pivotDimensionHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.PivotDimensionHeader, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder> pivotDimensionHeadersBuilder_; + com.google.analytics.data.v1beta.PivotDimensionHeader, + com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, + com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder> + pivotDimensionHeadersBuilder_; /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - public java.util.List getPivotDimensionHeadersList() { + public java.util.List + getPivotDimensionHeadersList() { if (pivotDimensionHeadersBuilder_ == null) { return java.util.Collections.unmodifiableList(pivotDimensionHeaders_); } else { @@ -576,12 +643,16 @@ public java.util.List get } } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ public int getPivotDimensionHeadersCount() { if (pivotDimensionHeadersBuilder_ == null) { @@ -591,14 +662,19 @@ public int getPivotDimensionHeadersCount() { } } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - public com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHeaders(int index) { + public com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHeaders( + int index) { if (pivotDimensionHeadersBuilder_ == null) { return pivotDimensionHeaders_.get(index); } else { @@ -606,12 +682,16 @@ public com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHe } } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ public Builder setPivotDimensionHeaders( int index, com.google.analytics.data.v1beta.PivotDimensionHeader value) { @@ -628,12 +708,16 @@ public Builder setPivotDimensionHeaders( return this; } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ public Builder setPivotDimensionHeaders( int index, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder builderForValue) { @@ -647,14 +731,19 @@ public Builder setPivotDimensionHeaders( return this; } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - public Builder addPivotDimensionHeaders(com.google.analytics.data.v1beta.PivotDimensionHeader value) { + public Builder addPivotDimensionHeaders( + com.google.analytics.data.v1beta.PivotDimensionHeader value) { if (pivotDimensionHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -668,12 +757,16 @@ public Builder addPivotDimensionHeaders(com.google.analytics.data.v1beta.PivotDi return this; } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ public Builder addPivotDimensionHeaders( int index, com.google.analytics.data.v1beta.PivotDimensionHeader value) { @@ -690,12 +783,16 @@ public Builder addPivotDimensionHeaders( return this; } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ public Builder addPivotDimensionHeaders( com.google.analytics.data.v1beta.PivotDimensionHeader.Builder builderForValue) { @@ -709,12 +806,16 @@ public Builder addPivotDimensionHeaders( return this; } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ public Builder addPivotDimensionHeaders( int index, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder builderForValue) { @@ -728,19 +829,23 @@ public Builder addPivotDimensionHeaders( return this; } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ public Builder addAllPivotDimensionHeaders( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (pivotDimensionHeadersBuilder_ == null) { ensurePivotDimensionHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pivotDimensionHeaders_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotDimensionHeaders_); onChanged(); } else { pivotDimensionHeadersBuilder_.addAllMessages(values); @@ -748,12 +853,16 @@ public Builder addAllPivotDimensionHeaders( return this; } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ public Builder clearPivotDimensionHeaders() { if (pivotDimensionHeadersBuilder_ == null) { @@ -766,12 +875,16 @@ public Builder clearPivotDimensionHeaders() { return this; } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ public Builder removePivotDimensionHeaders(int index) { if (pivotDimensionHeadersBuilder_ == null) { @@ -784,42 +897,55 @@ public Builder removePivotDimensionHeaders(int index) { return this; } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder getPivotDimensionHeadersBuilder( - int index) { + public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder + getPivotDimensionHeadersBuilder(int index) { return getPivotDimensionHeadersFieldBuilder().getBuilder(index); } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - public com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder getPivotDimensionHeadersOrBuilder( - int index) { + public com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder + getPivotDimensionHeadersOrBuilder(int index) { if (pivotDimensionHeadersBuilder_ == null) { - return pivotDimensionHeaders_.get(index); } else { + return pivotDimensionHeaders_.get(index); + } else { return pivotDimensionHeadersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - public java.util.List - getPivotDimensionHeadersOrBuilderList() { + public java.util.List + getPivotDimensionHeadersOrBuilderList() { if (pivotDimensionHeadersBuilder_ != null) { return pivotDimensionHeadersBuilder_.getMessageOrBuilderList(); } else { @@ -827,48 +953,68 @@ public com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder getPivotDi } } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder addPivotDimensionHeadersBuilder() { - return getPivotDimensionHeadersFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()); + public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder + addPivotDimensionHeadersBuilder() { + return getPivotDimensionHeadersFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()); } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder addPivotDimensionHeadersBuilder( - int index) { - return getPivotDimensionHeadersFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()); + public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder + addPivotDimensionHeadersBuilder(int index) { + return getPivotDimensionHeadersFieldBuilder() + .addBuilder( + index, com.google.analytics.data.v1beta.PivotDimensionHeader.getDefaultInstance()); } /** + * + * *
      * The size is the same as the cardinality of the corresponding dimension
      * combinations.
      * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - public java.util.List - getPivotDimensionHeadersBuilderList() { + public java.util.List + getPivotDimensionHeadersBuilderList() { return getPivotDimensionHeadersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.PivotDimensionHeader, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder> + com.google.analytics.data.v1beta.PivotDimensionHeader, + com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, + com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder> getPivotDimensionHeadersFieldBuilder() { if (pivotDimensionHeadersBuilder_ == null) { - pivotDimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.PivotDimensionHeader, com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder>( + pivotDimensionHeadersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.PivotDimensionHeader, + com.google.analytics.data.v1beta.PivotDimensionHeader.Builder, + com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder>( pivotDimensionHeaders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -878,8 +1024,10 @@ public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder addPivotDim return pivotDimensionHeadersBuilder_; } - private int rowCount_ ; + private int rowCount_; /** + * + * *
      * The cardinality of the pivot. The total number of rows for this pivot's
      * fields regardless of how the parameters `offset` and `limit` are specified
@@ -887,6 +1035,7 @@ public com.google.analytics.data.v1beta.PivotDimensionHeader.Builder addPivotDim
      * 
* * int32 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -894,6 +1043,8 @@ public int getRowCount() { return rowCount_; } /** + * + * *
      * The cardinality of the pivot. The total number of rows for this pivot's
      * fields regardless of how the parameters `offset` and `limit` are specified
@@ -901,16 +1052,19 @@ public int getRowCount() {
      * 
* * int32 row_count = 2; + * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(int value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * The cardinality of the pivot. The total number of rows for this pivot's
      * fields regardless of how the parameters `offset` and `limit` are specified
@@ -918,17 +1072,18 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 2; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 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); } @@ -938,12 +1093,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.PivotHeader) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.PivotHeader) private static final com.google.analytics.data.v1beta.PivotHeader DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.PivotHeader(); } @@ -952,16 +1107,16 @@ public static com.google.analytics.data.v1beta.PivotHeader getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PivotHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PivotHeader(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PivotHeader parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PivotHeader(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -976,6 +1131,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.PivotHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java similarity index 67% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java index 2116bef3..add1a37e 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotHeaderOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface PivotHeaderOrBuilder extends +public interface PivotHeaderOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.PivotHeader) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - java.util.List + java.util.List getPivotDimensionHeadersList(); /** + * + * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ com.google.analytics.data.v1beta.PivotDimensionHeader getPivotDimensionHeaders(int index); /** + * + * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ int getPivotDimensionHeadersCount(); /** + * + * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ - java.util.List + java.util.List getPivotDimensionHeadersOrBuilderList(); /** + * + * *
    * The size is the same as the cardinality of the corresponding dimension
    * combinations.
    * 
* - * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1; + * */ com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder getPivotDimensionHeadersOrBuilder( int index); /** + * + * *
    * The cardinality of the pivot. The total number of rows for this pivot's
    * fields regardless of how the parameters `offset` and `limit` are specified
@@ -64,6 +97,7 @@ com.google.analytics.data.v1beta.PivotDimensionHeaderOrBuilder getPivotDimension
    * 
* * int32 row_count = 2; + * * @return The rowCount. */ int getRowCount(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java similarity index 86% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java index 0c3be721..3b8b5514 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PivotOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface PivotOrBuilder extends +public interface PivotOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Pivot) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -16,11 +34,13 @@ public interface PivotOrBuilder extends
    * 
* * repeated string field_names = 1; + * * @return A list containing the fieldNames. */ - java.util.List - getFieldNamesList(); + java.util.List getFieldNamesList(); /** + * + * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -29,10 +49,13 @@ public interface PivotOrBuilder extends
    * 
* * repeated string field_names = 1; + * * @return The count of fieldNames. */ int getFieldNamesCount(); /** + * + * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -41,11 +64,14 @@ public interface PivotOrBuilder extends
    * 
* * repeated string field_names = 1; + * * @param index The index of the element to return. * @return The fieldNames at the given index. */ java.lang.String getFieldNames(int index); /** + * + * *
    * Dimension names for visible columns in the report response. Including
    * "dateRange" produces a date range column; for each row in the response,
@@ -54,13 +80,15 @@ public interface PivotOrBuilder extends
    * 
* * repeated string field_names = 1; + * * @param index The index of the value to return. * @return The bytes of the fieldNames at the given index. */ - com.google.protobuf.ByteString - getFieldNamesBytes(int index); + com.google.protobuf.ByteString getFieldNamesBytes(int index); /** + * + * *
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -71,9 +99,10 @@ public interface PivotOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
    */
-  java.util.List 
-      getOrderBysList();
+  java.util.List getOrderBysList();
   /**
+   *
+   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -86,6 +115,8 @@ public interface PivotOrBuilder extends
    */
   com.google.analytics.data.v1beta.OrderBy getOrderBys(int index);
   /**
+   *
+   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -98,6 +129,8 @@ public interface PivotOrBuilder extends
    */
   int getOrderBysCount();
   /**
+   *
+   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -108,9 +141,11 @@ public interface PivotOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
    */
-  java.util.List 
+  java.util.List
       getOrderBysOrBuilderList();
   /**
+   *
+   *
    * 
    * Specifies how dimensions are ordered in the pivot. In the first Pivot, the
    * OrderBys determine Row and PivotDimensionHeader ordering; in subsequent
@@ -121,20 +156,24 @@ public interface PivotOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;
    */
-  com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The row count of the start row. The first row is counted as row 0.
    * 
* * int64 offset = 3; + * * @return The offset. */ long getOffset(); /** + * + * *
    * The number of unique combinations of dimension values to return in this
    * pivot. The `limit` parameter is required. A `limit` of 10,000 is common for
@@ -145,59 +184,74 @@ com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
    * 
* * int64 limit = 4; + * * @return The limit. */ long getLimit(); /** + * + * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * * @return A list containing the metricAggregations. */ java.util.List getMetricAggregationsList(); /** + * + * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * * @return The count of metricAggregations. */ int getMetricAggregationsCount(); /** + * + * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations(int index); /** + * + * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * * @return A list containing the enum numeric values on the wire for metricAggregations. */ - java.util.List - getMetricAggregationsValueList(); + java.util.List getMetricAggregationsValueList(); /** + * + * *
    * Aggregate the metrics by dimensions in this pivot using the specified
    * metric_aggregations.
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java similarity index 71% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java index 076b1ca4..5836d2c1 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuota.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Current state of all quotas for this Analytics Property. If any quota for a
  * property is exhausted, all requests to that property will return Resource
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.PropertyQuota}
  */
-public final class PropertyQuota extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PropertyQuota extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.PropertyQuota)
     PropertyQuotaOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PropertyQuota.newBuilder() to construct.
   private PropertyQuota(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private PropertyQuota() {
-  }
+
+  private PropertyQuota() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PropertyQuota();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private PropertyQuota(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,106 +70,125 @@ private PropertyQuota(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
-            if (tokensPerDay_ != null) {
-              subBuilder = tokensPerDay_.toBuilder();
-            }
-            tokensPerDay_ = input.readMessage(com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(tokensPerDay_);
-              tokensPerDay_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 18: {
-            com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
-            if (tokensPerHour_ != null) {
-              subBuilder = tokensPerHour_.toBuilder();
-            }
-            tokensPerHour_ = input.readMessage(com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(tokensPerHour_);
-              tokensPerHour_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 26: {
-            com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
-            if (concurrentRequests_ != null) {
-              subBuilder = concurrentRequests_.toBuilder();
+          case 10:
+            {
+              com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
+              if (tokensPerDay_ != null) {
+                subBuilder = tokensPerDay_.toBuilder();
+              }
+              tokensPerDay_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tokensPerDay_);
+                tokensPerDay_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            concurrentRequests_ = input.readMessage(com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(concurrentRequests_);
-              concurrentRequests_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
+              if (tokensPerHour_ != null) {
+                subBuilder = tokensPerHour_.toBuilder();
+              }
+              tokensPerHour_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tokensPerHour_);
+                tokensPerHour_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
-            if (serverErrorsPerProjectPerHour_ != null) {
-              subBuilder = serverErrorsPerProjectPerHour_.toBuilder();
-            }
-            serverErrorsPerProjectPerHour_ = input.readMessage(com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(serverErrorsPerProjectPerHour_);
-              serverErrorsPerProjectPerHour_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
+              if (concurrentRequests_ != null) {
+                subBuilder = concurrentRequests_.toBuilder();
+              }
+              concurrentRequests_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(concurrentRequests_);
+                concurrentRequests_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 42: {
-            com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
-            if (potentiallyThresholdedRequestsPerHour_ != null) {
-              subBuilder = potentiallyThresholdedRequestsPerHour_.toBuilder();
+          case 34:
+            {
+              com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
+              if (serverErrorsPerProjectPerHour_ != null) {
+                subBuilder = serverErrorsPerProjectPerHour_.toBuilder();
+              }
+              serverErrorsPerProjectPerHour_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(serverErrorsPerProjectPerHour_);
+                serverErrorsPerProjectPerHour_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            potentiallyThresholdedRequestsPerHour_ = input.readMessage(com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(potentiallyThresholdedRequestsPerHour_);
-              potentiallyThresholdedRequestsPerHour_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.analytics.data.v1beta.QuotaStatus.Builder subBuilder = null;
+              if (potentiallyThresholdedRequestsPerHour_ != null) {
+                subBuilder = potentiallyThresholdedRequestsPerHour_.toBuilder();
+              }
+              potentiallyThresholdedRequestsPerHour_ =
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.QuotaStatus.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(potentiallyThresholdedRequestsPerHour_);
+                potentiallyThresholdedRequestsPerHour_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.PropertyQuota.class, com.google.analytics.data.v1beta.PropertyQuota.Builder.class);
+            com.google.analytics.data.v1beta.PropertyQuota.class,
+            com.google.analytics.data.v1beta.PropertyQuota.Builder.class);
   }
 
   public static final int TOKENS_PER_DAY_FIELD_NUMBER = 1;
   private com.google.analytics.data.v1beta.QuotaStatus tokensPerDay_;
   /**
+   *
+   *
    * 
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -161,6 +196,7 @@ private PropertyQuota(
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; + * * @return Whether the tokensPerDay field is set. */ @java.lang.Override @@ -168,6 +204,8 @@ public boolean hasTokensPerDay() { return tokensPerDay_ != null; } /** + * + * *
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -175,13 +213,18 @@ public boolean hasTokensPerDay() {
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; + * * @return The tokensPerDay. */ @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus getTokensPerDay() { - return tokensPerDay_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerDay_; + return tokensPerDay_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : tokensPerDay_; } /** + * + * *
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -198,6 +241,8 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
   public static final int TOKENS_PER_HOUR_FIELD_NUMBER = 2;
   private com.google.analytics.data.v1beta.QuotaStatus tokensPerHour_;
   /**
+   *
+   *
    * 
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -206,6 +251,7 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; + * * @return Whether the tokensPerHour field is set. */ @java.lang.Override @@ -213,6 +259,8 @@ public boolean hasTokensPerHour() { return tokensPerHour_ != null; } /** + * + * *
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -221,13 +269,18 @@ public boolean hasTokensPerHour() {
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; + * * @return The tokensPerHour. */ @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus getTokensPerHour() { - return tokensPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerHour_; + return tokensPerHour_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : tokensPerHour_; } /** + * + * *
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -245,12 +298,15 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerHourOrB
   public static final int CONCURRENT_REQUESTS_FIELD_NUMBER = 3;
   private com.google.analytics.data.v1beta.QuotaStatus concurrentRequests_;
   /**
+   *
+   *
    * 
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; + * * @return Whether the concurrentRequests field is set. */ @java.lang.Override @@ -258,19 +314,26 @@ public boolean hasConcurrentRequests() { return concurrentRequests_ != null; } /** + * + * *
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; + * * @return The concurrentRequests. */ @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus getConcurrentRequests() { - return concurrentRequests_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : concurrentRequests_; + return concurrentRequests_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : concurrentRequests_; } /** + * + * *
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -286,6 +349,8 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentReques
   public static final int SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER = 4;
   private com.google.analytics.data.v1beta.QuotaStatus serverErrorsPerProjectPerHour_;
   /**
+   *
+   *
    * 
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -293,6 +358,7 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentReques
    * 
* * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * * @return Whether the serverErrorsPerProjectPerHour field is set. */ @java.lang.Override @@ -300,6 +366,8 @@ public boolean hasServerErrorsPerProjectPerHour() { return serverErrorsPerProjectPerHour_ != null; } /** + * + * *
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -307,13 +375,18 @@ public boolean hasServerErrorsPerProjectPerHour() {
    * 
* * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * * @return The serverErrorsPerProjectPerHour. */ @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus getServerErrorsPerProjectPerHour() { - return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : serverErrorsPerProjectPerHour_; } /** + * + * *
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -323,13 +396,16 @@ public com.google.analytics.data.v1beta.QuotaStatus getServerErrorsPerProjectPer
    * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder() {
+  public com.google.analytics.data.v1beta.QuotaStatusOrBuilder
+      getServerErrorsPerProjectPerHourOrBuilder() {
     return getServerErrorsPerProjectPerHour();
   }
 
   public static final int POTENTIALLY_THRESHOLDED_REQUESTS_PER_HOUR_FIELD_NUMBER = 5;
   private com.google.analytics.data.v1beta.QuotaStatus potentiallyThresholdedRequestsPerHour_;
   /**
+   *
+   *
    * 
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -337,7 +413,9 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getServerErrorsPerP
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * * @return Whether the potentiallyThresholdedRequestsPerHour field is set. */ @java.lang.Override @@ -345,6 +423,8 @@ public boolean hasPotentiallyThresholdedRequestsPerHour() { return potentiallyThresholdedRequestsPerHour_ != null; } /** + * + * *
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -352,14 +432,20 @@ public boolean hasPotentiallyThresholdedRequestsPerHour() {
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * * @return The potentiallyThresholdedRequestsPerHour. */ @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus getPotentiallyThresholdedRequestsPerHour() { - return potentiallyThresholdedRequestsPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : potentiallyThresholdedRequestsPerHour_; + return potentiallyThresholdedRequestsPerHour_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : potentiallyThresholdedRequestsPerHour_; } /** + * + * *
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -367,14 +453,17 @@ public com.google.analytics.data.v1beta.QuotaStatus getPotentiallyThresholdedReq
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * */ @java.lang.Override - public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getPotentiallyThresholdedRequestsPerHourOrBuilder() { + public com.google.analytics.data.v1beta.QuotaStatusOrBuilder + getPotentiallyThresholdedRequestsPerHourOrBuilder() { return getPotentiallyThresholdedRequestsPerHour(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,8 +475,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tokensPerDay_ != null) { output.writeMessage(1, getTokensPerDay()); } @@ -413,24 +501,23 @@ public int getSerializedSize() { size = 0; if (tokensPerDay_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTokensPerDay()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTokensPerDay()); } if (tokensPerHour_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTokensPerHour()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTokensPerHour()); } if (concurrentRequests_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getConcurrentRequests()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConcurrentRequests()); } if (serverErrorsPerProjectPerHour_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getServerErrorsPerProjectPerHour()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getServerErrorsPerProjectPerHour()); } if (potentiallyThresholdedRequestsPerHour_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getPotentiallyThresholdedRequestsPerHour()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, getPotentiallyThresholdedRequestsPerHour()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -440,34 +527,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.analytics.data.v1beta.PropertyQuota)) { return super.equals(obj); } - com.google.analytics.data.v1beta.PropertyQuota other = (com.google.analytics.data.v1beta.PropertyQuota) obj; + com.google.analytics.data.v1beta.PropertyQuota other = + (com.google.analytics.data.v1beta.PropertyQuota) obj; if (hasTokensPerDay() != other.hasTokensPerDay()) return false; if (hasTokensPerDay()) { - if (!getTokensPerDay() - .equals(other.getTokensPerDay())) return false; + if (!getTokensPerDay().equals(other.getTokensPerDay())) return false; } if (hasTokensPerHour() != other.hasTokensPerHour()) return false; if (hasTokensPerHour()) { - if (!getTokensPerHour() - .equals(other.getTokensPerHour())) return false; + if (!getTokensPerHour().equals(other.getTokensPerHour())) return false; } if (hasConcurrentRequests() != other.hasConcurrentRequests()) return false; if (hasConcurrentRequests()) { - if (!getConcurrentRequests() - .equals(other.getConcurrentRequests())) return false; + if (!getConcurrentRequests().equals(other.getConcurrentRequests())) return false; } - if (hasServerErrorsPerProjectPerHour() != other.hasServerErrorsPerProjectPerHour()) return false; + if (hasServerErrorsPerProjectPerHour() != other.hasServerErrorsPerProjectPerHour()) + return false; if (hasServerErrorsPerProjectPerHour()) { - if (!getServerErrorsPerProjectPerHour() - .equals(other.getServerErrorsPerProjectPerHour())) return false; + if (!getServerErrorsPerProjectPerHour().equals(other.getServerErrorsPerProjectPerHour())) + return false; } - if (hasPotentiallyThresholdedRequestsPerHour() != other.hasPotentiallyThresholdedRequestsPerHour()) return false; + if (hasPotentiallyThresholdedRequestsPerHour() + != other.hasPotentiallyThresholdedRequestsPerHour()) return false; if (hasPotentiallyThresholdedRequestsPerHour()) { if (!getPotentiallyThresholdedRequestsPerHour() .equals(other.getPotentiallyThresholdedRequestsPerHour())) return false; @@ -508,97 +595,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.PropertyQuota parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.PropertyQuota parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.PropertyQuota 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.analytics.data.v1beta.PropertyQuota parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.PropertyQuota parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.PropertyQuota parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.PropertyQuota parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.PropertyQuota parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.PropertyQuota prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Current state of all quotas for this Analytics Property. If any quota for a
    * property is exhausted, all requests to that property will return Resource
@@ -607,21 +701,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.PropertyQuota}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.PropertyQuota)
       com.google.analytics.data.v1beta.PropertyQuotaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.PropertyQuota.class, com.google.analytics.data.v1beta.PropertyQuota.Builder.class);
+              com.google.analytics.data.v1beta.PropertyQuota.class,
+              com.google.analytics.data.v1beta.PropertyQuota.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.PropertyQuota.newBuilder()
@@ -629,16 +725,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();
@@ -676,9 +771,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor;
     }
 
     @java.lang.Override
@@ -697,7 +792,8 @@ public com.google.analytics.data.v1beta.PropertyQuota build() {
 
     @java.lang.Override
     public com.google.analytics.data.v1beta.PropertyQuota buildPartial() {
-      com.google.analytics.data.v1beta.PropertyQuota result = new com.google.analytics.data.v1beta.PropertyQuota(this);
+      com.google.analytics.data.v1beta.PropertyQuota result =
+          new com.google.analytics.data.v1beta.PropertyQuota(this);
       if (tokensPerDayBuilder_ == null) {
         result.tokensPerDay_ = tokensPerDay_;
       } else {
@@ -721,7 +817,8 @@ public com.google.analytics.data.v1beta.PropertyQuota buildPartial() {
       if (potentiallyThresholdedRequestsPerHourBuilder_ == null) {
         result.potentiallyThresholdedRequestsPerHour_ = potentiallyThresholdedRequestsPerHour_;
       } else {
-        result.potentiallyThresholdedRequestsPerHour_ = potentiallyThresholdedRequestsPerHourBuilder_.build();
+        result.potentiallyThresholdedRequestsPerHour_ =
+            potentiallyThresholdedRequestsPerHourBuilder_.build();
       }
       onBuilt();
       return result;
@@ -731,38 +828,39 @@ public com.google.analytics.data.v1beta.PropertyQuota buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.PropertyQuota) {
-        return mergeFrom((com.google.analytics.data.v1beta.PropertyQuota)other);
+        return mergeFrom((com.google.analytics.data.v1beta.PropertyQuota) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -784,7 +882,8 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.PropertyQuota other) {
         mergeServerErrorsPerProjectPerHour(other.getServerErrorsPerProjectPerHour());
       }
       if (other.hasPotentiallyThresholdedRequestsPerHour()) {
-        mergePotentiallyThresholdedRequestsPerHour(other.getPotentiallyThresholdedRequestsPerHour());
+        mergePotentiallyThresholdedRequestsPerHour(
+            other.getPotentiallyThresholdedRequestsPerHour());
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -817,8 +916,13 @@ public Builder mergeFrom(
 
     private com.google.analytics.data.v1beta.QuotaStatus tokensPerDay_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> tokensPerDayBuilder_;
+            com.google.analytics.data.v1beta.QuotaStatus,
+            com.google.analytics.data.v1beta.QuotaStatus.Builder,
+            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
+        tokensPerDayBuilder_;
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -826,12 +930,15 @@ public Builder mergeFrom(
      * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; + * * @return Whether the tokensPerDay field is set. */ public boolean hasTokensPerDay() { return tokensPerDayBuilder_ != null || tokensPerDay_ != null; } /** + * + * *
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -839,16 +946,21 @@ public boolean hasTokensPerDay() {
      * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; + * * @return The tokensPerDay. */ public com.google.analytics.data.v1beta.QuotaStatus getTokensPerDay() { if (tokensPerDayBuilder_ == null) { - return tokensPerDay_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerDay_; + return tokensPerDay_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : tokensPerDay_; } else { return tokensPerDayBuilder_.getMessage(); } } /** + * + * *
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -871,6 +983,8 @@ public Builder setTokensPerDay(com.google.analytics.data.v1beta.QuotaStatus valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -891,6 +1005,8 @@ public Builder setTokensPerDay(
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -903,7 +1019,9 @@ public Builder mergeTokensPerDay(com.google.analytics.data.v1beta.QuotaStatus va
       if (tokensPerDayBuilder_ == null) {
         if (tokensPerDay_ != null) {
           tokensPerDay_ =
-            com.google.analytics.data.v1beta.QuotaStatus.newBuilder(tokensPerDay_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.QuotaStatus.newBuilder(tokensPerDay_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tokensPerDay_ = value;
         }
@@ -915,6 +1033,8 @@ public Builder mergeTokensPerDay(com.google.analytics.data.v1beta.QuotaStatus va
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -935,6 +1055,8 @@ public Builder clearTokensPerDay() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -944,11 +1066,13 @@ public Builder clearTokensPerDay() {
      * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1;
      */
     public com.google.analytics.data.v1beta.QuotaStatus.Builder getTokensPerDayBuilder() {
-      
+
       onChanged();
       return getTokensPerDayFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -961,11 +1085,14 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
       if (tokensPerDayBuilder_ != null) {
         return tokensPerDayBuilder_.getMessageOrBuilder();
       } else {
-        return tokensPerDay_ == null ?
-            com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerDay_;
+        return tokensPerDay_ == null
+            ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance()
+            : tokensPerDay_;
       }
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 25,000 tokens per day;
      * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -975,14 +1102,17 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
      * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> 
+            com.google.analytics.data.v1beta.QuotaStatus,
+            com.google.analytics.data.v1beta.QuotaStatus.Builder,
+            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
         getTokensPerDayFieldBuilder() {
       if (tokensPerDayBuilder_ == null) {
-        tokensPerDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
-                getTokensPerDay(),
-                getParentForChildren(),
-                isClean());
+        tokensPerDayBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.QuotaStatus,
+                com.google.analytics.data.v1beta.QuotaStatus.Builder,
+                com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
+                getTokensPerDay(), getParentForChildren(), isClean());
         tokensPerDay_ = null;
       }
       return tokensPerDayBuilder_;
@@ -990,8 +1120,13 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
 
     private com.google.analytics.data.v1beta.QuotaStatus tokensPerHour_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> tokensPerHourBuilder_;
+            com.google.analytics.data.v1beta.QuotaStatus,
+            com.google.analytics.data.v1beta.QuotaStatus.Builder,
+            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
+        tokensPerHourBuilder_;
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1000,12 +1135,15 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBu
      * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; + * * @return Whether the tokensPerHour field is set. */ public boolean hasTokensPerHour() { return tokensPerHourBuilder_ != null || tokensPerHour_ != null; } /** + * + * *
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1014,16 +1152,21 @@ public boolean hasTokensPerHour() {
      * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; + * * @return The tokensPerHour. */ public com.google.analytics.data.v1beta.QuotaStatus getTokensPerHour() { if (tokensPerHourBuilder_ == null) { - return tokensPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerHour_; + return tokensPerHour_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : tokensPerHour_; } else { return tokensPerHourBuilder_.getMessage(); } } /** + * + * *
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1047,6 +1190,8 @@ public Builder setTokensPerHour(com.google.analytics.data.v1beta.QuotaStatus val
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1068,6 +1213,8 @@ public Builder setTokensPerHour(
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1081,7 +1228,9 @@ public Builder mergeTokensPerHour(com.google.analytics.data.v1beta.QuotaStatus v
       if (tokensPerHourBuilder_ == null) {
         if (tokensPerHour_ != null) {
           tokensPerHour_ =
-            com.google.analytics.data.v1beta.QuotaStatus.newBuilder(tokensPerHour_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.QuotaStatus.newBuilder(tokensPerHour_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tokensPerHour_ = value;
         }
@@ -1093,6 +1242,8 @@ public Builder mergeTokensPerHour(com.google.analytics.data.v1beta.QuotaStatus v
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1114,6 +1265,8 @@ public Builder clearTokensPerHour() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1124,11 +1277,13 @@ public Builder clearTokensPerHour() {
      * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2;
      */
     public com.google.analytics.data.v1beta.QuotaStatus.Builder getTokensPerHourBuilder() {
-      
+
       onChanged();
       return getTokensPerHourFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1142,11 +1297,14 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerHourOrB
       if (tokensPerHourBuilder_ != null) {
         return tokensPerHourBuilder_.getMessageOrBuilder();
       } else {
-        return tokensPerHour_ == null ?
-            com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : tokensPerHour_;
+        return tokensPerHour_ == null
+            ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance()
+            : tokensPerHour_;
       }
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can use up to 5,000 tokens per hour;
      * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -1157,14 +1315,17 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerHourOrB
      * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> 
+            com.google.analytics.data.v1beta.QuotaStatus,
+            com.google.analytics.data.v1beta.QuotaStatus.Builder,
+            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
         getTokensPerHourFieldBuilder() {
       if (tokensPerHourBuilder_ == null) {
-        tokensPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
-                getTokensPerHour(),
-                getParentForChildren(),
-                isClean());
+        tokensPerHourBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.QuotaStatus,
+                com.google.analytics.data.v1beta.QuotaStatus.Builder,
+                com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
+                getTokensPerHour(), getParentForChildren(), isClean());
         tokensPerHour_ = null;
       }
       return tokensPerHourBuilder_;
@@ -1172,36 +1333,49 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerHourOrB
 
     private com.google.analytics.data.v1beta.QuotaStatus concurrentRequests_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> concurrentRequestsBuilder_;
+            com.google.analytics.data.v1beta.QuotaStatus,
+            com.google.analytics.data.v1beta.QuotaStatus.Builder,
+            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
+        concurrentRequestsBuilder_;
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; + * * @return Whether the concurrentRequests field is set. */ public boolean hasConcurrentRequests() { return concurrentRequestsBuilder_ != null || concurrentRequests_ != null; } /** + * + * *
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; + * * @return The concurrentRequests. */ public com.google.analytics.data.v1beta.QuotaStatus getConcurrentRequests() { if (concurrentRequestsBuilder_ == null) { - return concurrentRequests_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : concurrentRequests_; + return concurrentRequests_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : concurrentRequests_; } else { return concurrentRequestsBuilder_.getMessage(); } } /** + * + * *
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1223,6 +1397,8 @@ public Builder setConcurrentRequests(com.google.analytics.data.v1beta.QuotaStatu
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1242,6 +1418,8 @@ public Builder setConcurrentRequests(
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1253,7 +1431,9 @@ public Builder mergeConcurrentRequests(com.google.analytics.data.v1beta.QuotaSta
       if (concurrentRequestsBuilder_ == null) {
         if (concurrentRequests_ != null) {
           concurrentRequests_ =
-            com.google.analytics.data.v1beta.QuotaStatus.newBuilder(concurrentRequests_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.QuotaStatus.newBuilder(concurrentRequests_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           concurrentRequests_ = value;
         }
@@ -1265,6 +1445,8 @@ public Builder mergeConcurrentRequests(com.google.analytics.data.v1beta.QuotaSta
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1284,6 +1466,8 @@ public Builder clearConcurrentRequests() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1292,11 +1476,13 @@ public Builder clearConcurrentRequests() {
      * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3;
      */
     public com.google.analytics.data.v1beta.QuotaStatus.Builder getConcurrentRequestsBuilder() {
-      
+
       onChanged();
       return getConcurrentRequestsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1308,11 +1494,14 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentReques
       if (concurrentRequestsBuilder_ != null) {
         return concurrentRequestsBuilder_.getMessageOrBuilder();
       } else {
-        return concurrentRequests_ == null ?
-            com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : concurrentRequests_;
+        return concurrentRequests_ == null
+            ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance()
+            : concurrentRequests_;
       }
     }
     /**
+     *
+     *
      * 
      * Standard Analytics Properties can send up to 10 concurrent requests;
      * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -1321,14 +1510,17 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentReques
      * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> 
+            com.google.analytics.data.v1beta.QuotaStatus,
+            com.google.analytics.data.v1beta.QuotaStatus.Builder,
+            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
         getConcurrentRequestsFieldBuilder() {
       if (concurrentRequestsBuilder_ == null) {
-        concurrentRequestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
-                getConcurrentRequests(),
-                getParentForChildren(),
-                isClean());
+        concurrentRequestsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.QuotaStatus,
+                com.google.analytics.data.v1beta.QuotaStatus.Builder,
+                com.google.analytics.data.v1beta.QuotaStatusOrBuilder>(
+                getConcurrentRequests(), getParentForChildren(), isClean());
         concurrentRequests_ = null;
       }
       return concurrentRequestsBuilder_;
@@ -1336,47 +1528,65 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentReques
 
     private com.google.analytics.data.v1beta.QuotaStatus serverErrorsPerProjectPerHour_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> serverErrorsPerProjectPerHourBuilder_;
+            com.google.analytics.data.v1beta.QuotaStatus,
+            com.google.analytics.data.v1beta.QuotaStatus.Builder,
+            com.google.analytics.data.v1beta.QuotaStatusOrBuilder>
+        serverErrorsPerProjectPerHourBuilder_;
     /**
+     *
+     *
      * 
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return Whether the serverErrorsPerProjectPerHour field is set. */ public boolean hasServerErrorsPerProjectPerHour() { - return serverErrorsPerProjectPerHourBuilder_ != null || serverErrorsPerProjectPerHour_ != null; + return serverErrorsPerProjectPerHourBuilder_ != null + || serverErrorsPerProjectPerHour_ != null; } /** + * + * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return The serverErrorsPerProjectPerHour. */ public com.google.analytics.data.v1beta.QuotaStatus getServerErrorsPerProjectPerHour() { if (serverErrorsPerProjectPerHourBuilder_ == null) { - return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : serverErrorsPerProjectPerHour_; } else { return serverErrorsPerProjectPerHourBuilder_.getMessage(); } } /** + * + * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * */ - public Builder setServerErrorsPerProjectPerHour(com.google.analytics.data.v1beta.QuotaStatus value) { + public Builder setServerErrorsPerProjectPerHour( + com.google.analytics.data.v1beta.QuotaStatus value) { if (serverErrorsPerProjectPerHourBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1390,13 +1600,16 @@ public Builder setServerErrorsPerProjectPerHour(com.google.analytics.data.v1beta return this; } /** + * + * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * */ public Builder setServerErrorsPerProjectPerHour( com.google.analytics.data.v1beta.QuotaStatus.Builder builderForValue) { @@ -1410,19 +1623,26 @@ public Builder setServerErrorsPerProjectPerHour( return this; } /** + * + * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * */ - public Builder mergeServerErrorsPerProjectPerHour(com.google.analytics.data.v1beta.QuotaStatus value) { + public Builder mergeServerErrorsPerProjectPerHour( + com.google.analytics.data.v1beta.QuotaStatus value) { if (serverErrorsPerProjectPerHourBuilder_ == null) { if (serverErrorsPerProjectPerHour_ != null) { serverErrorsPerProjectPerHour_ = - com.google.analytics.data.v1beta.QuotaStatus.newBuilder(serverErrorsPerProjectPerHour_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.QuotaStatus.newBuilder( + serverErrorsPerProjectPerHour_) + .mergeFrom(value) + .buildPartial(); } else { serverErrorsPerProjectPerHour_ = value; } @@ -1434,13 +1654,16 @@ public Builder mergeServerErrorsPerProjectPerHour(com.google.analytics.data.v1be return this; } /** + * + * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * */ public Builder clearServerErrorsPerProjectPerHour() { if (serverErrorsPerProjectPerHourBuilder_ == null) { @@ -1454,54 +1677,69 @@ public Builder clearServerErrorsPerProjectPerHour() { return this; } /** + * + * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * */ - public com.google.analytics.data.v1beta.QuotaStatus.Builder getServerErrorsPerProjectPerHourBuilder() { - + public com.google.analytics.data.v1beta.QuotaStatus.Builder + getServerErrorsPerProjectPerHourBuilder() { + onChanged(); return getServerErrorsPerProjectPerHourFieldBuilder().getBuilder(); } /** + * + * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * */ - public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder() { + public com.google.analytics.data.v1beta.QuotaStatusOrBuilder + getServerErrorsPerProjectPerHourOrBuilder() { if (serverErrorsPerProjectPerHourBuilder_ != null) { return serverErrorsPerProjectPerHourBuilder_.getMessageOrBuilder(); } else { - return serverErrorsPerProjectPerHour_ == null ? - com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : serverErrorsPerProjectPerHour_; } } /** + * + * *
      * Standard Analytics Properties and cloud project pairs can have up to 10
      * server errors per hour; Analytics 360 Properties and cloud project pairs
      * can have up to 50 server errors per hour.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> + com.google.analytics.data.v1beta.QuotaStatus, + com.google.analytics.data.v1beta.QuotaStatus.Builder, + com.google.analytics.data.v1beta.QuotaStatusOrBuilder> getServerErrorsPerProjectPerHourFieldBuilder() { if (serverErrorsPerProjectPerHourBuilder_ == null) { - serverErrorsPerProjectPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder>( - getServerErrorsPerProjectPerHour(), - getParentForChildren(), - isClean()); + serverErrorsPerProjectPerHourBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.QuotaStatus, + com.google.analytics.data.v1beta.QuotaStatus.Builder, + com.google.analytics.data.v1beta.QuotaStatusOrBuilder>( + getServerErrorsPerProjectPerHour(), getParentForChildren(), isClean()); serverErrorsPerProjectPerHour_ = null; } return serverErrorsPerProjectPerHourBuilder_; @@ -1509,8 +1747,13 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getServerErrorsPerP private com.google.analytics.data.v1beta.QuotaStatus potentiallyThresholdedRequestsPerHour_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> potentiallyThresholdedRequestsPerHourBuilder_; + com.google.analytics.data.v1beta.QuotaStatus, + com.google.analytics.data.v1beta.QuotaStatus.Builder, + com.google.analytics.data.v1beta.QuotaStatusOrBuilder> + potentiallyThresholdedRequestsPerHourBuilder_; /** + * + * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1518,13 +1761,19 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getServerErrorsPerP
      * thresholded dimensions.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * * @return Whether the potentiallyThresholdedRequestsPerHour field is set. */ public boolean hasPotentiallyThresholdedRequestsPerHour() { - return potentiallyThresholdedRequestsPerHourBuilder_ != null || potentiallyThresholdedRequestsPerHour_ != null; + return potentiallyThresholdedRequestsPerHourBuilder_ != null + || potentiallyThresholdedRequestsPerHour_ != null; } /** + * + * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1532,17 +1781,24 @@ public boolean hasPotentiallyThresholdedRequestsPerHour() {
      * thresholded dimensions.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * * @return The potentiallyThresholdedRequestsPerHour. */ public com.google.analytics.data.v1beta.QuotaStatus getPotentiallyThresholdedRequestsPerHour() { if (potentiallyThresholdedRequestsPerHourBuilder_ == null) { - return potentiallyThresholdedRequestsPerHour_ == null ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : potentiallyThresholdedRequestsPerHour_; + return potentiallyThresholdedRequestsPerHour_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : potentiallyThresholdedRequestsPerHour_; } else { return potentiallyThresholdedRequestsPerHourBuilder_.getMessage(); } } /** + * + * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1550,9 +1806,12 @@ public com.google.analytics.data.v1beta.QuotaStatus getPotentiallyThresholdedReq
      * thresholded dimensions.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * */ - public Builder setPotentiallyThresholdedRequestsPerHour(com.google.analytics.data.v1beta.QuotaStatus value) { + public Builder setPotentiallyThresholdedRequestsPerHour( + com.google.analytics.data.v1beta.QuotaStatus value) { if (potentiallyThresholdedRequestsPerHourBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1566,6 +1825,8 @@ public Builder setPotentiallyThresholdedRequestsPerHour(com.google.analytics.dat return this; } /** + * + * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1573,7 +1834,9 @@ public Builder setPotentiallyThresholdedRequestsPerHour(com.google.analytics.dat
      * thresholded dimensions.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * */ public Builder setPotentiallyThresholdedRequestsPerHour( com.google.analytics.data.v1beta.QuotaStatus.Builder builderForValue) { @@ -1587,6 +1850,8 @@ public Builder setPotentiallyThresholdedRequestsPerHour( return this; } /** + * + * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1594,13 +1859,19 @@ public Builder setPotentiallyThresholdedRequestsPerHour(
      * thresholded dimensions.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * */ - public Builder mergePotentiallyThresholdedRequestsPerHour(com.google.analytics.data.v1beta.QuotaStatus value) { + public Builder mergePotentiallyThresholdedRequestsPerHour( + com.google.analytics.data.v1beta.QuotaStatus value) { if (potentiallyThresholdedRequestsPerHourBuilder_ == null) { if (potentiallyThresholdedRequestsPerHour_ != null) { potentiallyThresholdedRequestsPerHour_ = - com.google.analytics.data.v1beta.QuotaStatus.newBuilder(potentiallyThresholdedRequestsPerHour_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.QuotaStatus.newBuilder( + potentiallyThresholdedRequestsPerHour_) + .mergeFrom(value) + .buildPartial(); } else { potentiallyThresholdedRequestsPerHour_ = value; } @@ -1612,6 +1883,8 @@ public Builder mergePotentiallyThresholdedRequestsPerHour(com.google.analytics.d return this; } /** + * + * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1619,7 +1892,9 @@ public Builder mergePotentiallyThresholdedRequestsPerHour(com.google.analytics.d
      * thresholded dimensions.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * */ public Builder clearPotentiallyThresholdedRequestsPerHour() { if (potentiallyThresholdedRequestsPerHourBuilder_ == null) { @@ -1633,6 +1908,8 @@ public Builder clearPotentiallyThresholdedRequestsPerHour() { return this; } /** + * + * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1640,14 +1917,19 @@ public Builder clearPotentiallyThresholdedRequestsPerHour() {
      * thresholded dimensions.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * */ - public com.google.analytics.data.v1beta.QuotaStatus.Builder getPotentiallyThresholdedRequestsPerHourBuilder() { - + public com.google.analytics.data.v1beta.QuotaStatus.Builder + getPotentiallyThresholdedRequestsPerHourBuilder() { + onChanged(); return getPotentiallyThresholdedRequestsPerHourFieldBuilder().getBuilder(); } /** + * + * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1655,17 +1937,23 @@ public com.google.analytics.data.v1beta.QuotaStatus.Builder getPotentiallyThresh
      * thresholded dimensions.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * */ - public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getPotentiallyThresholdedRequestsPerHourOrBuilder() { + public com.google.analytics.data.v1beta.QuotaStatusOrBuilder + getPotentiallyThresholdedRequestsPerHourOrBuilder() { if (potentiallyThresholdedRequestsPerHourBuilder_ != null) { return potentiallyThresholdedRequestsPerHourBuilder_.getMessageOrBuilder(); } else { - return potentiallyThresholdedRequestsPerHour_ == null ? - com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() : potentiallyThresholdedRequestsPerHour_; + return potentiallyThresholdedRequestsPerHour_ == null + ? com.google.analytics.data.v1beta.QuotaStatus.getDefaultInstance() + : potentiallyThresholdedRequestsPerHour_; } } /** + * + * *
      * Analytics Properties can send up to 120 requests with potentially
      * thresholded dimensions per hour. In a batch request, each report request
@@ -1673,24 +1961,29 @@ public com.google.analytics.data.v1beta.QuotaStatusOrBuilder getPotentiallyThres
      * thresholded dimensions.
      * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder> + com.google.analytics.data.v1beta.QuotaStatus, + com.google.analytics.data.v1beta.QuotaStatus.Builder, + com.google.analytics.data.v1beta.QuotaStatusOrBuilder> getPotentiallyThresholdedRequestsPerHourFieldBuilder() { if (potentiallyThresholdedRequestsPerHourBuilder_ == null) { - potentiallyThresholdedRequestsPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.QuotaStatus, com.google.analytics.data.v1beta.QuotaStatus.Builder, com.google.analytics.data.v1beta.QuotaStatusOrBuilder>( - getPotentiallyThresholdedRequestsPerHour(), - getParentForChildren(), - isClean()); + potentiallyThresholdedRequestsPerHourBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.QuotaStatus, + com.google.analytics.data.v1beta.QuotaStatus.Builder, + com.google.analytics.data.v1beta.QuotaStatusOrBuilder>( + getPotentiallyThresholdedRequestsPerHour(), getParentForChildren(), isClean()); potentiallyThresholdedRequestsPerHour_ = null; } return potentiallyThresholdedRequestsPerHourBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1700,12 +1993,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.PropertyQuota) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.PropertyQuota) private static final com.google.analytics.data.v1beta.PropertyQuota DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.PropertyQuota(); } @@ -1714,16 +2007,16 @@ public static com.google.analytics.data.v1beta.PropertyQuota getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertyQuota parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PropertyQuota(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertyQuota parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PropertyQuota(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1738,6 +2031,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.PropertyQuota getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java similarity index 85% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java index 3f024e64..983f5733 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/PropertyQuotaOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface PropertyQuotaOrBuilder extends +public interface PropertyQuotaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.PropertyQuota) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -15,10 +33,13 @@ public interface PropertyQuotaOrBuilder extends
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; + * * @return Whether the tokensPerDay field is set. */ boolean hasTokensPerDay(); /** + * + * *
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -26,10 +47,13 @@ public interface PropertyQuotaOrBuilder extends
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_day = 1; + * * @return The tokensPerDay. */ com.google.analytics.data.v1beta.QuotaStatus getTokensPerDay(); /** + * + * *
    * Standard Analytics Properties can use up to 25,000 tokens per day;
    * Analytics 360 Properties can use 250,000 tokens per day. Most requests
@@ -41,6 +65,8 @@ public interface PropertyQuotaOrBuilder extends
   com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerDayOrBuilder();
 
   /**
+   *
+   *
    * 
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -49,10 +75,13 @@ public interface PropertyQuotaOrBuilder extends
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; + * * @return Whether the tokensPerHour field is set. */ boolean hasTokensPerHour(); /** + * + * *
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -61,10 +90,13 @@ public interface PropertyQuotaOrBuilder extends
    * 
* * .google.analytics.data.v1beta.QuotaStatus tokens_per_hour = 2; + * * @return The tokensPerHour. */ com.google.analytics.data.v1beta.QuotaStatus getTokensPerHour(); /** + * + * *
    * Standard Analytics Properties can use up to 5,000 tokens per hour;
    * Analytics 360 Properties can use 50,000 tokens per hour. An API request
@@ -77,26 +109,34 @@ public interface PropertyQuotaOrBuilder extends
   com.google.analytics.data.v1beta.QuotaStatusOrBuilder getTokensPerHourOrBuilder();
 
   /**
+   *
+   *
    * 
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; + * * @return Whether the concurrentRequests field is set. */ boolean hasConcurrentRequests(); /** + * + * *
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.data.v1beta.QuotaStatus concurrent_requests = 3; + * * @return The concurrentRequests. */ com.google.analytics.data.v1beta.QuotaStatus getConcurrentRequests(); /** + * + * *
    * Standard Analytics Properties can send up to 10 concurrent requests;
    * Analytics 360 Properties can use up to 50 concurrent requests.
@@ -107,6 +147,8 @@ public interface PropertyQuotaOrBuilder extends
   com.google.analytics.data.v1beta.QuotaStatusOrBuilder getConcurrentRequestsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -114,10 +156,13 @@ public interface PropertyQuotaOrBuilder extends
    * 
* * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * * @return Whether the serverErrorsPerProjectPerHour field is set. */ boolean hasServerErrorsPerProjectPerHour(); /** + * + * *
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -125,10 +170,13 @@ public interface PropertyQuotaOrBuilder extends
    * 
* * .google.analytics.data.v1beta.QuotaStatus server_errors_per_project_per_hour = 4; + * * @return The serverErrorsPerProjectPerHour. */ com.google.analytics.data.v1beta.QuotaStatus getServerErrorsPerProjectPerHour(); /** + * + * *
    * Standard Analytics Properties and cloud project pairs can have up to 10
    * server errors per hour; Analytics 360 Properties and cloud project pairs
@@ -140,6 +188,8 @@ public interface PropertyQuotaOrBuilder extends
   com.google.analytics.data.v1beta.QuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder();
 
   /**
+   *
+   *
    * 
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -147,11 +197,15 @@ public interface PropertyQuotaOrBuilder extends
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * * @return Whether the potentiallyThresholdedRequestsPerHour field is set. */ boolean hasPotentiallyThresholdedRequestsPerHour(); /** + * + * *
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -159,11 +213,15 @@ public interface PropertyQuotaOrBuilder extends
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * + * * @return The potentiallyThresholdedRequestsPerHour. */ com.google.analytics.data.v1beta.QuotaStatus getPotentiallyThresholdedRequestsPerHour(); /** + * + * *
    * Analytics Properties can send up to 120 requests with potentially
    * thresholded dimensions per hour. In a batch request, each report request
@@ -171,7 +229,9 @@ public interface PropertyQuotaOrBuilder extends
    * thresholded dimensions.
    * 
* - * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * .google.analytics.data.v1beta.QuotaStatus potentially_thresholded_requests_per_hour = 5; + * */ - com.google.analytics.data.v1beta.QuotaStatusOrBuilder getPotentiallyThresholdedRequestsPerHourOrBuilder(); + com.google.analytics.data.v1beta.QuotaStatusOrBuilder + getPotentiallyThresholdedRequestsPerHourOrBuilder(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java similarity index 68% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java index b03dae94..87c4fd23 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatus.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Current state for a particular quota group.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.QuotaStatus} */ -public final class QuotaStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QuotaStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.QuotaStatus) QuotaStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QuotaStatus.newBuilder() to construct. private QuotaStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QuotaStatus() { - } + + private QuotaStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QuotaStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QuotaStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,56 +68,61 @@ private QuotaStatus( case 0: done = true; break; - case 8: { - - consumed_ = input.readInt32(); - break; - } - case 16: { - - remaining_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + consumed_ = input.readInt32(); + break; + } + case 16: + { + remaining_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.QuotaStatus.class, com.google.analytics.data.v1beta.QuotaStatus.Builder.class); + com.google.analytics.data.v1beta.QuotaStatus.class, + com.google.analytics.data.v1beta.QuotaStatus.Builder.class); } public static final int CONSUMED_FIELD_NUMBER = 1; private int consumed_; /** + * + * *
    * Quota consumed by this request.
    * 
* * int32 consumed = 1; + * * @return The consumed. */ @java.lang.Override @@ -112,11 +133,14 @@ public int getConsumed() { public static final int REMAINING_FIELD_NUMBER = 2; private int remaining_; /** + * + * *
    * Quota remaining after this request.
    * 
* * int32 remaining = 2; + * * @return The remaining. */ @java.lang.Override @@ -125,6 +149,7 @@ public int getRemaining() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,8 +161,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (consumed_ != 0) { output.writeInt32(1, consumed_); } @@ -154,12 +178,10 @@ public int getSerializedSize() { size = 0; if (consumed_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, consumed_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, consumed_); } if (remaining_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, remaining_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, remaining_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -169,17 +191,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.analytics.data.v1beta.QuotaStatus)) { return super.equals(obj); } - com.google.analytics.data.v1beta.QuotaStatus other = (com.google.analytics.data.v1beta.QuotaStatus) obj; + com.google.analytics.data.v1beta.QuotaStatus other = + (com.google.analytics.data.v1beta.QuotaStatus) obj; - if (getConsumed() - != other.getConsumed()) return false; - if (getRemaining() - != other.getRemaining()) return false; + if (getConsumed() != other.getConsumed()) return false; + if (getRemaining() != other.getRemaining()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -200,118 +221,127 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.QuotaStatus parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.QuotaStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.QuotaStatus 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.analytics.data.v1beta.QuotaStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.QuotaStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.QuotaStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.QuotaStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.QuotaStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.QuotaStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Current state for a particular quota group.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.QuotaStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.QuotaStatus) com.google.analytics.data.v1beta.QuotaStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.QuotaStatus.class, com.google.analytics.data.v1beta.QuotaStatus.Builder.class); + com.google.analytics.data.v1beta.QuotaStatus.class, + com.google.analytics.data.v1beta.QuotaStatus.Builder.class); } // Construct using com.google.analytics.data.v1beta.QuotaStatus.newBuilder() @@ -319,16 +349,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(); @@ -340,9 +369,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; } @java.lang.Override @@ -361,7 +390,8 @@ public com.google.analytics.data.v1beta.QuotaStatus build() { @java.lang.Override public com.google.analytics.data.v1beta.QuotaStatus buildPartial() { - com.google.analytics.data.v1beta.QuotaStatus result = new com.google.analytics.data.v1beta.QuotaStatus(this); + com.google.analytics.data.v1beta.QuotaStatus result = + new com.google.analytics.data.v1beta.QuotaStatus(this); result.consumed_ = consumed_; result.remaining_ = remaining_; onBuilt(); @@ -372,38 +402,39 @@ public com.google.analytics.data.v1beta.QuotaStatus buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.QuotaStatus) { - return mergeFrom((com.google.analytics.data.v1beta.QuotaStatus)other); + return mergeFrom((com.google.analytics.data.v1beta.QuotaStatus) other); } else { super.mergeFrom(other); return this; @@ -447,13 +478,16 @@ public Builder mergeFrom( return this; } - private int consumed_ ; + private int consumed_; /** + * + * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; + * * @return The consumed. */ @java.lang.Override @@ -461,42 +495,51 @@ public int getConsumed() { return consumed_; } /** + * + * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; + * * @param value The consumed to set. * @return This builder for chaining. */ public Builder setConsumed(int value) { - + consumed_ = value; onChanged(); return this; } /** + * + * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; + * * @return This builder for chaining. */ public Builder clearConsumed() { - + consumed_ = 0; onChanged(); return this; } - private int remaining_ ; + private int remaining_; /** + * + * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; + * * @return The remaining. */ @java.lang.Override @@ -504,37 +547,43 @@ public int getRemaining() { return remaining_; } /** + * + * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; + * * @param value The remaining to set. * @return This builder for chaining. */ public Builder setRemaining(int value) { - + remaining_ = value; onChanged(); return this; } /** + * + * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; + * * @return This builder for chaining. */ public Builder clearRemaining() { - + remaining_ = 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); } @@ -544,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.QuotaStatus) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.QuotaStatus) private static final com.google.analytics.data.v1beta.QuotaStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.QuotaStatus(); } @@ -558,16 +607,16 @@ public static com.google.analytics.data.v1beta.QuotaStatus getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuotaStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QuotaStatus(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuotaStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QuotaStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +631,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.QuotaStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.java new file mode 100644 index 00000000..e507a751 --- /dev/null +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/QuotaStatusOrBuilder.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/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public interface QuotaStatusOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.QuotaStatus) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Quota consumed by this request.
+   * 
+ * + * int32 consumed = 1; + * + * @return The consumed. + */ + int getConsumed(); + + /** + * + * + *
+   * Quota remaining after this request.
+   * 
+ * + * int32 remaining = 2; + * + * @return The remaining. + */ + int getRemaining(); +} diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java new file mode 100644 index 00000000..efbfb403 --- /dev/null +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ReportingApiProto.java @@ -0,0 +1,703 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public final class ReportingApiProto { + private ReportingApiProto() {} + + 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_analytics_data_v1beta_DateRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_MinuteRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Dimension_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Metric_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_FilterExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Filter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_OrderBy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Pivot_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_CohortSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Cohort_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_CohortsRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_MetricHeader_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_PivotHeader_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_Row_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_MetricValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_NumericValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_data_v1beta_MetricCompatibility_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/analytics/data/v1beta/data.prot" + + "o\022\034google.analytics.data.v1beta\"?\n\tDateR" + + "ange\022\022\n\nstart_date\030\001 \001(\t\022\020\n\010end_date\030\002 \001" + + "(\t\022\014\n\004name\030\003 \001(\t\"\203\001\n\013MinuteRange\022\036\n\021star" + + "t_minutes_ago\030\001 \001(\005H\000\210\001\001\022\034\n\017end_minutes_" + + "ago\030\002 \001(\005H\001\210\001\001\022\014\n\004name\030\003 \001(\tB\024\n\022_start_m" + + "inutes_agoB\022\n\020_end_minutes_ago\"j\n\tDimens" + + "ion\022\014\n\004name\030\001 \001(\t\022O\n\024dimension_expressio" + + "n\030\002 \001(\01321.google.analytics.data.v1beta.D" + + "imensionExpression\"\246\003\n\023DimensionExpressi" + + "on\022V\n\nlower_case\030\004 \001(\0132@.google.analytic" + + "s.data.v1beta.DimensionExpression.CaseEx" + + "pressionH\000\022V\n\nupper_case\030\005 \001(\0132@.google." + + "analytics.data.v1beta.DimensionExpressio" + + "n.CaseExpressionH\000\022^\n\013concatenate\030\006 \001(\0132" + + "G.google.analytics.data.v1beta.Dimension" + + "Expression.ConcatenateExpressionH\000\032(\n\016Ca" + + "seExpression\022\026\n\016dimension_name\030\001 \001(\t\032C\n\025" + + "ConcatenateExpression\022\027\n\017dimension_names" + + "\030\001 \003(\t\022\021\n\tdelimiter\030\002 \001(\tB\020\n\016one_express" + + "ion\"=\n\006Metric\022\014\n\004name\030\001 \001(\t\022\022\n\nexpressio" + + "n\030\002 \001(\t\022\021\n\tinvisible\030\003 \001(\010\"\255\002\n\020FilterExp" + + "ression\022G\n\tand_group\030\001 \001(\01322.google.anal" + + "ytics.data.v1beta.FilterExpressionListH\000" + + "\022F\n\010or_group\030\002 \001(\01322.google.analytics.da" + + "ta.v1beta.FilterExpressionListH\000\022H\n\016not_" + + "expression\030\003 \001(\0132..google.analytics.data" + + ".v1beta.FilterExpressionH\000\0226\n\006filter\030\004 \001" + + "(\0132$.google.analytics.data.v1beta.Filter" + + "H\000B\006\n\004expr\"[\n\024FilterExpressionList\022C\n\013ex" + + "pressions\030\001 \003(\0132..google.analytics.data." + + "v1beta.FilterExpression\"\336\010\n\006Filter\022\022\n\nfi" + + "eld_name\030\001 \001(\t\022J\n\rstring_filter\030\003 \001(\01321." + + "google.analytics.data.v1beta.Filter.Stri" + + "ngFilterH\000\022K\n\016in_list_filter\030\004 \001(\01321.goo" + + "gle.analytics.data.v1beta.Filter.InListF" + + "ilterH\000\022L\n\016numeric_filter\030\005 \001(\01322.google" + + ".analytics.data.v1beta.Filter.NumericFil" + + "terH\000\022L\n\016between_filter\030\006 \001(\01322.google.a" + + "nalytics.data.v1beta.Filter.BetweenFilte" + + "rH\000\032\216\002\n\014StringFilter\022O\n\nmatch_type\030\001 \001(\016" + + "2;.google.analytics.data.v1beta.Filter.S" + + "tringFilter.MatchType\022\r\n\005value\030\002 \001(\t\022\026\n\016" + + "case_sensitive\030\003 \001(\010\"\205\001\n\tMatchType\022\032\n\026MA" + + "TCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013BEG" + + "INS_WITH\020\002\022\r\n\tENDS_WITH\020\003\022\014\n\010CONTAINS\020\004\022" + + "\017\n\013FULL_REGEXP\020\005\022\022\n\016PARTIAL_REGEXP\020\006\0326\n\014" + + "InListFilter\022\016\n\006values\030\001 \003(\t\022\026\n\016case_sen" + + "sitive\030\002 \001(\010\032\243\002\n\rNumericFilter\022O\n\toperat" + + "ion\030\001 \001(\0162<.google.analytics.data.v1beta" + + ".Filter.NumericFilter.Operation\0229\n\005value" + + "\030\002 \001(\0132*.google.analytics.data.v1beta.Nu" + + "mericValue\"\205\001\n\tOperation\022\031\n\025OPERATION_UN" + + "SPECIFIED\020\000\022\t\n\005EQUAL\020\001\022\r\n\tLESS_THAN\020\002\022\026\n" + + "\022LESS_THAN_OR_EQUAL\020\003\022\020\n\014GREATER_THAN\020\004\022" + + "\031\n\025GREATER_THAN_OR_EQUAL\020\005\032\215\001\n\rBetweenFi" + + "lter\022>\n\nfrom_value\030\001 \001(\0132*.google.analyt" + + "ics.data.v1beta.NumericValue\022<\n\010to_value" + + "\030\002 \001(\0132*.google.analytics.data.v1beta.Nu" + + "mericValueB\014\n\none_filter\"\332\005\n\007OrderBy\022E\n\006" + + "metric\030\001 \001(\01323.google.analytics.data.v1b" + + "eta.OrderBy.MetricOrderByH\000\022K\n\tdimension" + + "\030\002 \001(\01326.google.analytics.data.v1beta.Or" + + "derBy.DimensionOrderByH\000\022C\n\005pivot\030\003 \001(\0132" + + "2.google.analytics.data.v1beta.OrderBy.P" + + "ivotOrderByH\000\022\014\n\004desc\030\004 \001(\010\032$\n\rMetricOrd" + + "erBy\022\023\n\013metric_name\030\001 \001(\t\032\353\001\n\020DimensionO" + + "rderBy\022\026\n\016dimension_name\030\001 \001(\t\022T\n\norder_" + + "type\030\002 \001(\0162@.google.analytics.data.v1bet" + + "a.OrderBy.DimensionOrderBy.OrderType\"i\n\t" + + "OrderType\022\032\n\026ORDER_TYPE_UNSPECIFIED\020\000\022\020\n" + + "\014ALPHANUMERIC\020\001\022!\n\035CASE_INSENSITIVE_ALPH" + + "ANUMERIC\020\002\022\013\n\007NUMERIC\020\003\032\303\001\n\014PivotOrderBy" + + "\022\023\n\013metric_name\030\001 \001(\t\022[\n\020pivot_selection" + + "s\030\002 \003(\0132A.google.analytics.data.v1beta.O" + + "rderBy.PivotOrderBy.PivotSelection\032A\n\016Pi" + + "votSelection\022\026\n\016dimension_name\030\001 \001(\t\022\027\n\017" + + "dimension_value\030\002 \001(\tB\016\n\014one_order_by\"\303\001" + + "\n\005Pivot\022\023\n\013field_names\030\001 \003(\t\0228\n\torder_by" + + "s\030\002 \003(\0132%.google.analytics.data.v1beta.O" + + "rderBy\022\016\n\006offset\030\003 \001(\003\022\r\n\005limit\030\004 \001(\003\022L\n" + + "\023metric_aggregations\030\005 \003(\0162/.google.anal" + + "ytics.data.v1beta.MetricAggregation\"\332\001\n\n" + + "CohortSpec\0225\n\007cohorts\030\001 \003(\0132$.google.ana" + + "lytics.data.v1beta.Cohort\022A\n\rcohorts_ran" + + "ge\030\002 \001(\0132*.google.analytics.data.v1beta." + + "CohortsRange\022R\n\026cohort_report_settings\030\003" + + " \001(\01322.google.analytics.data.v1beta.Coho" + + "rtReportSettings\"f\n\006Cohort\022\014\n\004name\030\001 \001(\t" + + "\022\021\n\tdimension\030\002 \001(\t\022;\n\ndate_range\030\003 \001(\0132" + + "\'.google.analytics.data.v1beta.DateRange" + + "\"\325\001\n\014CohortsRange\022K\n\013granularity\030\001 \001(\01626" + + ".google.analytics.data.v1beta.CohortsRan" + + "ge.Granularity\022\024\n\014start_offset\030\002 \001(\005\022\022\n\n" + + "end_offset\030\003 \001(\005\"N\n\013Granularity\022\033\n\027GRANU" + + "LARITY_UNSPECIFIED\020\000\022\t\n\005DAILY\020\001\022\n\n\006WEEKL" + + "Y\020\002\022\013\n\007MONTHLY\020\003\"*\n\024CohortReportSettings" + + "\022\022\n\naccumulate\030\001 \001(\010\"4\n\020ResponseMetaData" + + "\022 \n\030data_loss_from_other_row\030\003 \001(\010\"\037\n\017Di" + + "mensionHeader\022\014\n\004name\030\001 \001(\t\"T\n\014MetricHea" + + "der\022\014\n\004name\030\001 \001(\t\0226\n\004type\030\002 \001(\0162(.google" + + ".analytics.data.v1beta.MetricType\"u\n\013Piv" + + "otHeader\022S\n\027pivot_dimension_headers\030\001 \003(" + + "\01322.google.analytics.data.v1beta.PivotDi" + + "mensionHeader\022\021\n\trow_count\030\002 \001(\005\"^\n\024Pivo" + + "tDimensionHeader\022F\n\020dimension_values\030\001 \003" + + "(\0132,.google.analytics.data.v1beta.Dimens" + + "ionValue\"\217\001\n\003Row\022F\n\020dimension_values\030\001 \003" + + "(\0132,.google.analytics.data.v1beta.Dimens" + + "ionValue\022@\n\rmetric_values\030\002 \003(\0132).google" + + ".analytics.data.v1beta.MetricValue\".\n\016Di" + + "mensionValue\022\017\n\005value\030\001 \001(\tH\000B\013\n\tone_val" + + "ue\"+\n\013MetricValue\022\017\n\005value\030\004 \001(\tH\000B\013\n\ton" + + "e_value\"J\n\014NumericValue\022\025\n\013int64_value\030\001" + + " \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone_va" + + "lue\"\223\003\n\rPropertyQuota\022A\n\016tokens_per_day\030" + + "\001 \001(\0132).google.analytics.data.v1beta.Quo" + + "taStatus\022B\n\017tokens_per_hour\030\002 \001(\0132).goog" + + "le.analytics.data.v1beta.QuotaStatus\022F\n\023" + + "concurrent_requests\030\003 \001(\0132).google.analy" + + "tics.data.v1beta.QuotaStatus\022U\n\"server_e" + + "rrors_per_project_per_hour\030\004 \001(\0132).googl" + + "e.analytics.data.v1beta.QuotaStatus\022\\\n)p" + + "otentially_thresholded_requests_per_hour" + + "\030\005 \001(\0132).google.analytics.data.v1beta.Qu" + + "otaStatus\"2\n\013QuotaStatus\022\020\n\010consumed\030\001 \001" + + "(\005\022\021\n\tremaining\030\002 \001(\005\"\226\001\n\021DimensionMetad" + + "ata\022\020\n\010api_name\030\001 \001(\t\022\017\n\007ui_name\030\002 \001(\t\022\023" + + "\n\013description\030\003 \001(\t\022\034\n\024deprecated_api_na" + + "mes\030\004 \003(\t\022\031\n\021custom_definition\030\005 \001(\010\022\020\n\010" + + "category\030\007 \001(\t\"\337\001\n\016MetricMetadata\022\020\n\010api" + + "_name\030\001 \001(\t\022\017\n\007ui_name\030\002 \001(\t\022\023\n\013descript" + + "ion\030\003 \001(\t\022\034\n\024deprecated_api_names\030\004 \003(\t\022" + + "6\n\004type\030\005 \001(\0162(.google.analytics.data.v1" + + "beta.MetricType\022\022\n\nexpression\030\006 \001(\t\022\031\n\021c" + + "ustom_definition\030\007 \001(\010\022\020\n\010category\030\n \001(\t" + + "\"\334\001\n\026DimensionCompatibility\022P\n\022dimension" + + "_metadata\030\001 \001(\0132/.google.analytics.data." + + "v1beta.DimensionMetadataH\000\210\001\001\022G\n\rcompati" + + "bility\030\002 \001(\0162+.google.analytics.data.v1b" + + "eta.CompatibilityH\001\210\001\001B\025\n\023_dimension_met" + + "adataB\020\n\016_compatibility\"\320\001\n\023MetricCompat" + + "ibility\022J\n\017metric_metadata\030\001 \001(\0132,.googl" + + "e.analytics.data.v1beta.MetricMetadataH\000" + + "\210\001\001\022G\n\rcompatibility\030\002 \001(\0162+.google.anal" + + "ytics.data.v1beta.CompatibilityH\001\210\001\001B\022\n\020" + + "_metric_metadataB\020\n\016_compatibility*g\n\021Me" + + "tricAggregation\022\"\n\036METRIC_AGGREGATION_UN" + + "SPECIFIED\020\000\022\t\n\005TOTAL\020\001\022\013\n\007MINIMUM\020\005\022\013\n\007M" + + "AXIMUM\020\006\022\t\n\005COUNT\020\004*\201\002\n\nMetricType\022\033\n\027ME" + + "TRIC_TYPE_UNSPECIFIED\020\000\022\020\n\014TYPE_INTEGER\020" + + "\001\022\016\n\nTYPE_FLOAT\020\002\022\020\n\014TYPE_SECONDS\020\004\022\025\n\021T" + + "YPE_MILLISECONDS\020\005\022\020\n\014TYPE_MINUTES\020\006\022\016\n\n" + + "TYPE_HOURS\020\007\022\021\n\rTYPE_STANDARD\020\010\022\021\n\rTYPE_" + + "CURRENCY\020\t\022\r\n\tTYPE_FEET\020\n\022\016\n\nTYPE_MILES\020" + + "\013\022\017\n\013TYPE_METERS\020\014\022\023\n\017TYPE_KILOMETERS\020\r*" + + "P\n\rCompatibility\022\035\n\031COMPATIBILITY_UNSPEC" + + "IFIED\020\000\022\016\n\nCOMPATIBLE\020\001\022\020\n\014INCOMPATIBLE\020" + + "\002By\n com.google.analytics.data.v1betaB\021R" + + "eportingApiProtoP\001Z@google.golang.org/ge" + + "nproto/googleapis/analytics/data/v1beta;" + + "datab\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_analytics_data_v1beta_DateRange_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_data_v1beta_DateRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DateRange_descriptor, + new java.lang.String[] { + "StartDate", "EndDate", "Name", + }); + internal_static_google_analytics_data_v1beta_MinuteRange_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_data_v1beta_MinuteRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_MinuteRange_descriptor, + new java.lang.String[] { + "StartMinutesAgo", "EndMinutesAgo", "Name", "StartMinutesAgo", "EndMinutesAgo", + }); + internal_static_google_analytics_data_v1beta_Dimension_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_data_v1beta_Dimension_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Dimension_descriptor, + new java.lang.String[] { + "Name", "DimensionExpression", + }); + internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_data_v1beta_DimensionExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor, + new java.lang.String[] { + "LowerCase", "UpperCase", "Concatenate", "OneExpression", + }); + internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor = + internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionExpression_CaseExpression_descriptor, + new java.lang.String[] { + "DimensionName", + }); + internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor = + internal_static_google_analytics_data_v1beta_DimensionExpression_descriptor + .getNestedTypes() + .get(1); + internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionExpression_ConcatenateExpression_descriptor, + new java.lang.String[] { + "DimensionNames", "Delimiter", + }); + internal_static_google_analytics_data_v1beta_Metric_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_data_v1beta_Metric_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Metric_descriptor, + new java.lang.String[] { + "Name", "Expression", "Invisible", + }); + internal_static_google_analytics_data_v1beta_FilterExpression_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_data_v1beta_FilterExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_FilterExpression_descriptor, + new java.lang.String[] { + "AndGroup", "OrGroup", "NotExpression", "Filter", "Expr", + }); + internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_data_v1beta_FilterExpressionList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_FilterExpressionList_descriptor, + new java.lang.String[] { + "Expressions", + }); + internal_static_google_analytics_data_v1beta_Filter_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_data_v1beta_Filter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Filter_descriptor, + new java.lang.String[] { + "FieldName", + "StringFilter", + "InListFilter", + "NumericFilter", + "BetweenFilter", + "OneFilter", + }); + internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor = + internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_data_v1beta_Filter_StringFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Filter_StringFilter_descriptor, + new java.lang.String[] { + "MatchType", "Value", "CaseSensitive", + }); + internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor = + internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_data_v1beta_Filter_InListFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Filter_InListFilter_descriptor, + new java.lang.String[] { + "Values", "CaseSensitive", + }); + internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor = + internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(2); + internal_static_google_analytics_data_v1beta_Filter_NumericFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Filter_NumericFilter_descriptor, + new java.lang.String[] { + "Operation", "Value", + }); + internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor = + internal_static_google_analytics_data_v1beta_Filter_descriptor.getNestedTypes().get(3); + internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Filter_BetweenFilter_descriptor, + new java.lang.String[] { + "FromValue", "ToValue", + }); + internal_static_google_analytics_data_v1beta_OrderBy_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_data_v1beta_OrderBy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_OrderBy_descriptor, + new java.lang.String[] { + "Metric", "Dimension", "Pivot", "Desc", "OneOrderBy", + }); + internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor = + internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(0); + internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_OrderBy_MetricOrderBy_descriptor, + new java.lang.String[] { + "MetricName", + }); + internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor = + internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(1); + internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_OrderBy_DimensionOrderBy_descriptor, + new java.lang.String[] { + "DimensionName", "OrderType", + }); + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor = + internal_static_google_analytics_data_v1beta_OrderBy_descriptor.getNestedTypes().get(2); + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor, + new java.lang.String[] { + "MetricName", "PivotSelections", + }); + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor = + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_OrderBy_PivotOrderBy_PivotSelection_descriptor, + new java.lang.String[] { + "DimensionName", "DimensionValue", + }); + internal_static_google_analytics_data_v1beta_Pivot_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_data_v1beta_Pivot_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Pivot_descriptor, + new java.lang.String[] { + "FieldNames", "OrderBys", "Offset", "Limit", "MetricAggregations", + }); + internal_static_google_analytics_data_v1beta_CohortSpec_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_data_v1beta_CohortSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_CohortSpec_descriptor, + new java.lang.String[] { + "Cohorts", "CohortsRange", "CohortReportSettings", + }); + internal_static_google_analytics_data_v1beta_Cohort_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_data_v1beta_Cohort_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Cohort_descriptor, + new java.lang.String[] { + "Name", "Dimension", "DateRange", + }); + internal_static_google_analytics_data_v1beta_CohortsRange_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_data_v1beta_CohortsRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_CohortsRange_descriptor, + new java.lang.String[] { + "Granularity", "StartOffset", "EndOffset", + }); + internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_data_v1beta_CohortReportSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_CohortReportSettings_descriptor, + new java.lang.String[] { + "Accumulate", + }); + internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor, + new java.lang.String[] { + "DataLossFromOtherRow", + }); + internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_data_v1beta_DimensionHeader_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionHeader_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_data_v1beta_MetricHeader_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_data_v1beta_MetricHeader_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_MetricHeader_descriptor, + new java.lang.String[] { + "Name", "Type", + }); + internal_static_google_analytics_data_v1beta_PivotHeader_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_data_v1beta_PivotHeader_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_PivotHeader_descriptor, + new java.lang.String[] { + "PivotDimensionHeaders", "RowCount", + }); + internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_data_v1beta_PivotDimensionHeader_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_PivotDimensionHeader_descriptor, + new java.lang.String[] { + "DimensionValues", + }); + internal_static_google_analytics_data_v1beta_Row_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_Row_descriptor, + new java.lang.String[] { + "DimensionValues", "MetricValues", + }); + internal_static_google_analytics_data_v1beta_DimensionValue_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_analytics_data_v1beta_DimensionValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionValue_descriptor, + new java.lang.String[] { + "Value", "OneValue", + }); + internal_static_google_analytics_data_v1beta_MetricValue_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_analytics_data_v1beta_MetricValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_MetricValue_descriptor, + new java.lang.String[] { + "Value", "OneValue", + }); + internal_static_google_analytics_data_v1beta_NumericValue_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_analytics_data_v1beta_NumericValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_NumericValue_descriptor, + new java.lang.String[] { + "Int64Value", "DoubleValue", "OneValue", + }); + internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_analytics_data_v1beta_PropertyQuota_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_PropertyQuota_descriptor, + new java.lang.String[] { + "TokensPerDay", + "TokensPerHour", + "ConcurrentRequests", + "ServerErrorsPerProjectPerHour", + "PotentiallyThresholdedRequestsPerHour", + }); + internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_analytics_data_v1beta_QuotaStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_QuotaStatus_descriptor, + new java.lang.String[] { + "Consumed", "Remaining", + }); + internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_analytics_data_v1beta_DimensionMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionMetadata_descriptor, + new java.lang.String[] { + "ApiName", + "UiName", + "Description", + "DeprecatedApiNames", + "CustomDefinition", + "Category", + }); + internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_analytics_data_v1beta_MetricMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_MetricMetadata_descriptor, + new java.lang.String[] { + "ApiName", + "UiName", + "Description", + "DeprecatedApiNames", + "Type", + "Expression", + "CustomDefinition", + "Category", + }); + internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_analytics_data_v1beta_DimensionCompatibility_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_DimensionCompatibility_descriptor, + new java.lang.String[] { + "DimensionMetadata", "Compatibility", "DimensionMetadata", "Compatibility", + }); + internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_analytics_data_v1beta_MetricCompatibility_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_data_v1beta_MetricCompatibility_descriptor, + new java.lang.String[] { + "MetricMetadata", "Compatibility", "MetricMetadata", "Compatibility", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java similarity index 68% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java index d44043ad..3b549245 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaData.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Response's metadata carrying additional information about the report content.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.ResponseMetaData} */ -public final class ResponseMetaData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResponseMetaData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.ResponseMetaData) ResponseMetaDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResponseMetaData.newBuilder() to construct. private ResponseMetaData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResponseMetaData() { - } + + private ResponseMetaData() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResponseMetaData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResponseMetaData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,57 @@ private ResponseMetaData( case 0: done = true; break; - case 24: { - - dataLossFromOtherRow_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 24: + { + dataLossFromOtherRow_ = 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.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.ResponseMetaData.class, com.google.analytics.data.v1beta.ResponseMetaData.Builder.class); + com.google.analytics.data.v1beta.ResponseMetaData.class, + com.google.analytics.data.v1beta.ResponseMetaData.Builder.class); } public static final int DATA_LOSS_FROM_OTHER_ROW_FIELD_NUMBER = 3; private boolean dataLossFromOtherRow_; /** + * + * *
    * If true, indicates some buckets of dimension combinations are rolled into
    * "(other)" row. This can happen for high cardinality reports.
    * 
* * bool data_loss_from_other_row = 3; + * * @return The dataLossFromOtherRow. */ @java.lang.Override @@ -106,6 +127,7 @@ public boolean getDataLossFromOtherRow() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dataLossFromOtherRow_ != false) { output.writeBool(3, dataLossFromOtherRow_); } @@ -132,8 +153,7 @@ public int getSerializedSize() { size = 0; if (dataLossFromOtherRow_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, dataLossFromOtherRow_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, dataLossFromOtherRow_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -143,15 +163,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.analytics.data.v1beta.ResponseMetaData)) { return super.equals(obj); } - com.google.analytics.data.v1beta.ResponseMetaData other = (com.google.analytics.data.v1beta.ResponseMetaData) obj; + com.google.analytics.data.v1beta.ResponseMetaData other = + (com.google.analytics.data.v1beta.ResponseMetaData) obj; - if (getDataLossFromOtherRow() - != other.getDataLossFromOtherRow()) return false; + if (getDataLossFromOtherRow() != other.getDataLossFromOtherRow()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -164,125 +184,133 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DATA_LOSS_FROM_OTHER_ROW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDataLossFromOtherRow()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDataLossFromOtherRow()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.ResponseMetaData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.ResponseMetaData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.ResponseMetaData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.ResponseMetaData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.ResponseMetaData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response's metadata carrying additional information about the report content.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.ResponseMetaData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.ResponseMetaData) com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_ResponseMetaData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.ResponseMetaData.class, com.google.analytics.data.v1beta.ResponseMetaData.Builder.class); + com.google.analytics.data.v1beta.ResponseMetaData.class, + com.google.analytics.data.v1beta.ResponseMetaData.Builder.class); } // Construct using com.google.analytics.data.v1beta.ResponseMetaData.newBuilder() @@ -290,16 +318,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(); @@ -309,9 +336,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.ReportingApiProto + .internal_static_google_analytics_data_v1beta_ResponseMetaData_descriptor; } @java.lang.Override @@ -330,7 +357,8 @@ public com.google.analytics.data.v1beta.ResponseMetaData build() { @java.lang.Override public com.google.analytics.data.v1beta.ResponseMetaData buildPartial() { - com.google.analytics.data.v1beta.ResponseMetaData result = new com.google.analytics.data.v1beta.ResponseMetaData(this); + com.google.analytics.data.v1beta.ResponseMetaData result = + new com.google.analytics.data.v1beta.ResponseMetaData(this); result.dataLossFromOtherRow_ = dataLossFromOtherRow_; onBuilt(); return result; @@ -340,38 +368,39 @@ public com.google.analytics.data.v1beta.ResponseMetaData buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.ResponseMetaData) { - return mergeFrom((com.google.analytics.data.v1beta.ResponseMetaData)other); + return mergeFrom((com.google.analytics.data.v1beta.ResponseMetaData) other); } else { super.mergeFrom(other); return this; @@ -379,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.ResponseMetaData other) { - if (other == com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance()) + return this; if (other.getDataLossFromOtherRow() != false) { setDataLossFromOtherRow(other.getDataLossFromOtherRow()); } @@ -402,7 +432,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.ResponseMetaData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.ResponseMetaData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -412,14 +443,17 @@ public Builder mergeFrom( return this; } - private boolean dataLossFromOtherRow_ ; + private boolean dataLossFromOtherRow_; /** + * + * *
      * If true, indicates some buckets of dimension combinations are rolled into
      * "(other)" row. This can happen for high cardinality reports.
      * 
* * bool data_loss_from_other_row = 3; + * * @return The dataLossFromOtherRow. */ @java.lang.Override @@ -427,39 +461,45 @@ public boolean getDataLossFromOtherRow() { return dataLossFromOtherRow_; } /** + * + * *
      * If true, indicates some buckets of dimension combinations are rolled into
      * "(other)" row. This can happen for high cardinality reports.
      * 
* * bool data_loss_from_other_row = 3; + * * @param value The dataLossFromOtherRow to set. * @return This builder for chaining. */ public Builder setDataLossFromOtherRow(boolean value) { - + dataLossFromOtherRow_ = value; onChanged(); return this; } /** + * + * *
      * If true, indicates some buckets of dimension combinations are rolled into
      * "(other)" row. This can happen for high cardinality reports.
      * 
* * bool data_loss_from_other_row = 3; + * * @return This builder for chaining. */ public Builder clearDataLossFromOtherRow() { - + dataLossFromOtherRow_ = 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); } @@ -469,12 +509,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.ResponseMetaData) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.ResponseMetaData) private static final com.google.analytics.data.v1beta.ResponseMetaData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.ResponseMetaData(); } @@ -483,16 +523,16 @@ public static com.google.analytics.data.v1beta.ResponseMetaData getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetaData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResponseMetaData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMetaData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResponseMetaData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -507,6 +547,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.ResponseMetaData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java new file mode 100644 index 00000000..30d8d054 --- /dev/null +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/ResponseMetaDataOrBuilder.java @@ -0,0 +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/analytics/data/v1beta/data.proto + +package com.google.analytics.data.v1beta; + +public interface ResponseMetaDataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.ResponseMetaData) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * If true, indicates some buckets of dimension combinations are rolled into
+   * "(other)" row. This can happen for high cardinality reports.
+   * 
+ * + * bool data_loss_from_other_row = 3; + * + * @return The dataLossFromOtherRow. + */ + boolean getDataLossFromOtherRow(); +} diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.java similarity index 78% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.java index ebfc40eb..d76dc002 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/Row.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; /** + * + * *
  * Report data for each row.
  * For example if RunReportRequest contains:
@@ -43,15 +60,16 @@
  *
  * Protobuf type {@code google.analytics.data.v1beta.Row}
  */
-public final class Row extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Row extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.Row)
     RowOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Row.newBuilder() to construct.
   private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Row() {
     dimensionValues_ = java.util.Collections.emptyList();
     metricValues_ = java.util.Collections.emptyList();
@@ -59,16 +77,15 @@ private Row() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Row();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Row(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -88,38 +105,43 @@ private Row(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              dimensionValues_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                dimensionValues_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              dimensionValues_.add(
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.DimensionValue.parser(), extensionRegistry));
+              break;
             }
-            dimensionValues_.add(
-                input.readMessage(com.google.analytics.data.v1beta.DimensionValue.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              metricValues_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                metricValues_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              metricValues_.add(
+                  input.readMessage(
+                      com.google.analytics.data.v1beta.MetricValue.parser(), extensionRegistry));
+              break;
             }
-            metricValues_.add(
-                input.readMessage(com.google.analytics.data.v1beta.MetricValue.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)) {
         dimensionValues_ = java.util.Collections.unmodifiableList(dimensionValues_);
@@ -131,22 +153,27 @@ private Row(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Row_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_Row_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable
+    return com.google.analytics.data.v1beta.ReportingApiProto
+        .internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.data.v1beta.Row.class, com.google.analytics.data.v1beta.Row.Builder.class);
+            com.google.analytics.data.v1beta.Row.class,
+            com.google.analytics.data.v1beta.Row.Builder.class);
   }
 
   public static final int DIMENSION_VALUES_FIELD_NUMBER = 1;
   private java.util.List dimensionValues_;
   /**
+   *
+   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -159,6 +186,8 @@ public java.util.List getDimens
     return dimensionValues_;
   }
   /**
+   *
+   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -167,11 +196,13 @@ public java.util.List getDimens
    * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDimensionValuesOrBuilderList() {
     return dimensionValues_;
   }
   /**
+   *
+   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -184,6 +215,8 @@ public int getDimensionValuesCount() {
     return dimensionValues_.size();
   }
   /**
+   *
+   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -196,6 +229,8 @@ public com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int in
     return dimensionValues_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -212,6 +247,8 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu
   public static final int METRIC_VALUES_FIELD_NUMBER = 2;
   private java.util.List metricValues_;
   /**
+   *
+   *
    * 
    * List of requested visible metric values.
    * 
@@ -223,6 +260,8 @@ public java.util.List getMetricVal return metricValues_; } /** + * + * *
    * List of requested visible metric values.
    * 
@@ -230,11 +269,13 @@ public java.util.List getMetricVal * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ @java.lang.Override - public java.util.List + public java.util.List getMetricValuesOrBuilderList() { return metricValues_; } /** + * + * *
    * List of requested visible metric values.
    * 
@@ -246,6 +287,8 @@ public int getMetricValuesCount() { return metricValues_.size(); } /** + * + * *
    * List of requested visible metric values.
    * 
@@ -257,6 +300,8 @@ public com.google.analytics.data.v1beta.MetricValue getMetricValues(int index) { return metricValues_.get(index); } /** + * + * *
    * List of requested visible metric values.
    * 
@@ -264,12 +309,12 @@ public com.google.analytics.data.v1beta.MetricValue getMetricValues(int index) { * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBuilder(int index) { return metricValues_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,8 +326,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensionValues_.size(); i++) { output.writeMessage(1, dimensionValues_.get(i)); } @@ -299,12 +343,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dimensionValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionValues_.get(i)); } for (int i = 0; i < metricValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, metricValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricValues_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -314,17 +356,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.analytics.data.v1beta.Row)) { return super.equals(obj); } com.google.analytics.data.v1beta.Row other = (com.google.analytics.data.v1beta.Row) obj; - if (!getDimensionValuesList() - .equals(other.getDimensionValuesList())) return false; - if (!getMetricValuesList() - .equals(other.getMetricValuesList())) return false; + if (!getDimensionValuesList().equals(other.getDimensionValuesList())) return false; + if (!getMetricValuesList().equals(other.getMetricValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -349,97 +389,103 @@ public int hashCode() { return hash; } - public static com.google.analytics.data.v1beta.Row parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.data.v1beta.Row parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Row parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.Row parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.analytics.data.v1beta.Row parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Row parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Row parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.Row parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.Row 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.analytics.data.v1beta.Row parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Row 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.analytics.data.v1beta.Row parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.Row parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.Row parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.Row prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Report data for each row.
    * For example if RunReportRequest contains:
@@ -479,21 +525,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.data.v1beta.Row}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.Row)
       com.google.analytics.data.v1beta.RowOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Row_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Row_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Row_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.data.v1beta.Row.class, com.google.analytics.data.v1beta.Row.Builder.class);
+              com.google.analytics.data.v1beta.Row.class,
+              com.google.analytics.data.v1beta.Row.Builder.class);
     }
 
     // Construct using com.google.analytics.data.v1beta.Row.newBuilder()
@@ -501,18 +549,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) {
         getDimensionValuesFieldBuilder();
         getMetricValuesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -532,9 +580,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.data.v1beta.ReportingApiProto.internal_static_google_analytics_data_v1beta_Row_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.data.v1beta.ReportingApiProto
+          .internal_static_google_analytics_data_v1beta_Row_descriptor;
     }
 
     @java.lang.Override
@@ -581,38 +629,39 @@ public com.google.analytics.data.v1beta.Row buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.data.v1beta.Row) {
-        return mergeFrom((com.google.analytics.data.v1beta.Row)other);
+        return mergeFrom((com.google.analytics.data.v1beta.Row) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -639,9 +688,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Row other) {
             dimensionValuesBuilder_ = null;
             dimensionValues_ = other.dimensionValues_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            dimensionValuesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getDimensionValuesFieldBuilder() : null;
+            dimensionValuesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getDimensionValuesFieldBuilder()
+                    : null;
           } else {
             dimensionValuesBuilder_.addAllMessages(other.dimensionValues_);
           }
@@ -665,9 +715,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.Row other) {
             metricValuesBuilder_ = null;
             metricValues_ = other.metricValues_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            metricValuesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getMetricValuesFieldBuilder() : null;
+            metricValuesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getMetricValuesFieldBuilder()
+                    : null;
           } else {
             metricValuesBuilder_.addAllMessages(other.metricValues_);
           }
@@ -701,21 +752,30 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List dimensionValues_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureDimensionValuesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        dimensionValues_ = new java.util.ArrayList(dimensionValues_);
+        dimensionValues_ =
+            new java.util.ArrayList(
+                dimensionValues_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder> dimensionValuesBuilder_;
+            com.google.analytics.data.v1beta.DimensionValue,
+            com.google.analytics.data.v1beta.DimensionValue.Builder,
+            com.google.analytics.data.v1beta.DimensionValueOrBuilder>
+        dimensionValuesBuilder_;
 
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -723,7 +783,8 @@ private void ensureDimensionValuesIsMutable() {
      *
      * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
      */
-    public java.util.List getDimensionValuesList() {
+    public java.util.List
+        getDimensionValuesList() {
       if (dimensionValuesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(dimensionValues_);
       } else {
@@ -731,6 +792,8 @@ public java.util.List getDimens
       }
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -746,6 +809,8 @@ public int getDimensionValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -761,6 +826,8 @@ public com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int in
       }
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -783,6 +850,8 @@ public Builder setDimensionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -802,6 +871,8 @@ public Builder setDimensionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -823,6 +894,8 @@ public Builder addDimensionValues(com.google.analytics.data.v1beta.DimensionValu
       return this;
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -845,6 +918,8 @@ public Builder addDimensionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -864,6 +939,8 @@ public Builder addDimensionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -883,6 +960,8 @@ public Builder addDimensionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -894,8 +973,7 @@ public Builder addAllDimensionValues(
         java.lang.Iterable values) {
       if (dimensionValuesBuilder_ == null) {
         ensureDimensionValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dimensionValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionValues_);
         onChanged();
       } else {
         dimensionValuesBuilder_.addAllMessages(values);
@@ -903,6 +981,8 @@ public Builder addAllDimensionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -921,6 +1001,8 @@ public Builder clearDimensionValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -939,6 +1021,8 @@ public Builder removeDimensionValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -951,6 +1035,8 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder getDimensionValue
       return getDimensionValuesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -961,11 +1047,14 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder getDimensionValue
     public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder(
         int index) {
       if (dimensionValuesBuilder_ == null) {
-        return dimensionValues_.get(index);  } else {
+        return dimensionValues_.get(index);
+      } else {
         return dimensionValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -973,8 +1062,8 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu
      *
      * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
      */
-    public java.util.List 
-         getDimensionValuesOrBuilderList() {
+    public java.util.List
+        getDimensionValuesOrBuilderList() {
       if (dimensionValuesBuilder_ != null) {
         return dimensionValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -982,6 +1071,8 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu
       }
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -990,10 +1081,12 @@ public com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValu
      * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
      */
     public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValuesBuilder() {
-      return getDimensionValuesFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance());
+      return getDimensionValuesFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -1003,10 +1096,12 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValue
      */
     public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValuesBuilder(
         int index) {
-      return getDimensionValuesFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance());
+      return getDimensionValuesFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.DimensionValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of requested dimension values. In a PivotReport, dimension_values
      * are only listed for dimensions included in a pivot.
@@ -1014,16 +1109,22 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValue
      *
      * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
      */
-    public java.util.List 
-         getDimensionValuesBuilderList() {
+    public java.util.List
+        getDimensionValuesBuilderList() {
       return getDimensionValuesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder> 
+            com.google.analytics.data.v1beta.DimensionValue,
+            com.google.analytics.data.v1beta.DimensionValue.Builder,
+            com.google.analytics.data.v1beta.DimensionValueOrBuilder>
         getDimensionValuesFieldBuilder() {
       if (dimensionValuesBuilder_ == null) {
-        dimensionValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionValue, com.google.analytics.data.v1beta.DimensionValue.Builder, com.google.analytics.data.v1beta.DimensionValueOrBuilder>(
+        dimensionValuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.DimensionValue,
+                com.google.analytics.data.v1beta.DimensionValue.Builder,
+                com.google.analytics.data.v1beta.DimensionValueOrBuilder>(
                 dimensionValues_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1034,18 +1135,25 @@ public com.google.analytics.data.v1beta.DimensionValue.Builder addDimensionValue
     }
 
     private java.util.List metricValues_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMetricValuesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        metricValues_ = new java.util.ArrayList(metricValues_);
+        metricValues_ =
+            new java.util.ArrayList(metricValues_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.MetricValue, com.google.analytics.data.v1beta.MetricValue.Builder, com.google.analytics.data.v1beta.MetricValueOrBuilder> metricValuesBuilder_;
+            com.google.analytics.data.v1beta.MetricValue,
+            com.google.analytics.data.v1beta.MetricValue.Builder,
+            com.google.analytics.data.v1beta.MetricValueOrBuilder>
+        metricValuesBuilder_;
 
     /**
+     *
+     *
      * 
      * List of requested visible metric values.
      * 
@@ -1060,6 +1168,8 @@ public java.util.List getMetricVal } } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1074,6 +1184,8 @@ public int getMetricValuesCount() { } } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1088,14 +1200,15 @@ public com.google.analytics.data.v1beta.MetricValue getMetricValues(int index) { } } /** + * + * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public Builder setMetricValues( - int index, com.google.analytics.data.v1beta.MetricValue value) { + public Builder setMetricValues(int index, com.google.analytics.data.v1beta.MetricValue value) { if (metricValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1109,6 +1222,8 @@ public Builder setMetricValues( return this; } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1127,6 +1242,8 @@ public Builder setMetricValues( return this; } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1147,14 +1264,15 @@ public Builder addMetricValues(com.google.analytics.data.v1beta.MetricValue valu return this; } /** + * + * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public Builder addMetricValues( - int index, com.google.analytics.data.v1beta.MetricValue value) { + public Builder addMetricValues(int index, com.google.analytics.data.v1beta.MetricValue value) { if (metricValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1168,6 +1286,8 @@ public Builder addMetricValues( return this; } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1186,6 +1306,8 @@ public Builder addMetricValues( return this; } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1204,6 +1326,8 @@ public Builder addMetricValues( return this; } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1214,8 +1338,7 @@ public Builder addAllMetricValues( java.lang.Iterable values) { if (metricValuesBuilder_ == null) { ensureMetricValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metricValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricValues_); onChanged(); } else { metricValuesBuilder_.addAllMessages(values); @@ -1223,6 +1346,8 @@ public Builder addAllMetricValues( return this; } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1240,6 +1365,8 @@ public Builder clearMetricValues() { return this; } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1257,17 +1384,20 @@ public Builder removeMetricValues(int index) { return this; } /** + * + * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public com.google.analytics.data.v1beta.MetricValue.Builder getMetricValuesBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricValue.Builder getMetricValuesBuilder(int index) { return getMetricValuesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1277,19 +1407,22 @@ public com.google.analytics.data.v1beta.MetricValue.Builder getMetricValuesBuild public com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBuilder( int index) { if (metricValuesBuilder_ == null) { - return metricValues_.get(index); } else { + return metricValues_.get(index); + } else { return metricValuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public java.util.List - getMetricValuesOrBuilderList() { + public java.util.List + getMetricValuesOrBuilderList() { if (metricValuesBuilder_ != null) { return metricValuesBuilder_.getMessageOrBuilderList(); } else { @@ -1297,6 +1430,8 @@ public com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBu } } /** + * + * *
      * List of requested visible metric values.
      * 
@@ -1304,49 +1439,55 @@ public com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBu * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ public com.google.analytics.data.v1beta.MetricValue.Builder addMetricValuesBuilder() { - return getMetricValuesFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.MetricValue.getDefaultInstance()); + return getMetricValuesFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.MetricValue.getDefaultInstance()); } /** + * + * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public com.google.analytics.data.v1beta.MetricValue.Builder addMetricValuesBuilder( - int index) { - return getMetricValuesFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.MetricValue.getDefaultInstance()); + public com.google.analytics.data.v1beta.MetricValue.Builder addMetricValuesBuilder(int index) { + return getMetricValuesFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.MetricValue.getDefaultInstance()); } /** + * + * *
      * List of requested visible metric values.
      * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - public java.util.List - getMetricValuesBuilderList() { + public java.util.List + getMetricValuesBuilderList() { return getMetricValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricValue, com.google.analytics.data.v1beta.MetricValue.Builder, com.google.analytics.data.v1beta.MetricValueOrBuilder> + com.google.analytics.data.v1beta.MetricValue, + com.google.analytics.data.v1beta.MetricValue.Builder, + com.google.analytics.data.v1beta.MetricValueOrBuilder> getMetricValuesFieldBuilder() { if (metricValuesBuilder_ == null) { - metricValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MetricValue, com.google.analytics.data.v1beta.MetricValue.Builder, com.google.analytics.data.v1beta.MetricValueOrBuilder>( - metricValues_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + metricValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.MetricValue, + com.google.analytics.data.v1beta.MetricValue.Builder, + com.google.analytics.data.v1beta.MetricValueOrBuilder>( + metricValues_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); metricValues_ = null; } return metricValuesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1356,12 +1497,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.Row) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.Row) private static final com.google.analytics.data.v1beta.Row DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.Row(); } @@ -1370,16 +1511,16 @@ public static com.google.analytics.data.v1beta.Row getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Row parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Row(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Row parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Row(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1394,6 +1535,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.Row getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java similarity index 76% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java index a51e8fc8..9a277d48 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RowOrBuilder.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/analytics/data/v1beta/data.proto package com.google.analytics.data.v1beta; -public interface RowOrBuilder extends +public interface RowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.Row) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -15,9 +33,10 @@ public interface RowOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
    */
-  java.util.List 
-      getDimensionValuesList();
+  java.util.List getDimensionValuesList();
   /**
+   *
+   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -27,6 +46,8 @@ public interface RowOrBuilder extends
    */
   com.google.analytics.data.v1beta.DimensionValue getDimensionValues(int index);
   /**
+   *
+   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -36,6 +57,8 @@ public interface RowOrBuilder extends
    */
   int getDimensionValuesCount();
   /**
+   *
+   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -43,9 +66,11 @@ public interface RowOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
    */
-  java.util.List 
+  java.util.List
       getDimensionValuesOrBuilderList();
   /**
+   *
+   *
    * 
    * List of requested dimension values. In a PivotReport, dimension_values
    * are only listed for dimensions included in a pivot.
@@ -53,19 +78,21 @@ public interface RowOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.DimensionValue dimension_values = 1;
    */
-  com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * List of requested visible metric values.
    * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - java.util.List - getMetricValuesList(); + java.util.List getMetricValuesList(); /** + * + * *
    * List of requested visible metric values.
    * 
@@ -74,6 +101,8 @@ com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBui */ com.google.analytics.data.v1beta.MetricValue getMetricValues(int index); /** + * + * *
    * List of requested visible metric values.
    * 
@@ -82,21 +111,24 @@ com.google.analytics.data.v1beta.DimensionValueOrBuilder getDimensionValuesOrBui */ int getMetricValuesCount(); /** + * + * *
    * List of requested visible metric values.
    * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - java.util.List + java.util.List getMetricValuesOrBuilderList(); /** + * + * *
    * List of requested visible metric values.
    * 
* * repeated .google.analytics.data.v1beta.MetricValue metric_values = 2; */ - com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBuilder( - int index); + com.google.analytics.data.v1beta.MetricValueOrBuilder getMetricValuesOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java similarity index 81% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java index db91cbfb..853a98d7 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The request to generate a pivot report.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunPivotReportRequest} */ -public final class RunPivotReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunPivotReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunPivotReportRequest) RunPivotReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunPivotReportRequest.newBuilder() to construct. private RunPivotReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunPivotReportRequest() { property_ = ""; dimensions_ = java.util.Collections.emptyList(); @@ -30,16 +48,15 @@ private RunPivotReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunPivotReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RunPivotReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,117 +76,137 @@ private RunPivotReportRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + property_ = s; + break; } - dimensions_.add( - input.readMessage(com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metrics_.add( - input.readMessage(com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - dateRanges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dimensions_.add( + input.readMessage( + com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); + break; } - dateRanges_.add( - input.readMessage(com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - pivots_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metrics_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + metrics_.add( + input.readMessage( + com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); + break; } - pivots_.add( - input.readMessage(com.google.analytics.data.v1beta.Pivot.parser(), extensionRegistry)); - break; - } - case 50: { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (dimensionFilter_ != null) { - subBuilder = dimensionFilter_.toBuilder(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + dateRanges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + dateRanges_.add( + input.readMessage( + com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry)); + break; } - dimensionFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionFilter_); - dimensionFilter_ = subBuilder.buildPartial(); + case 42: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + pivots_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + pivots_.add( + input.readMessage( + com.google.analytics.data.v1beta.Pivot.parser(), extensionRegistry)); + break; } + case 50: + { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (dimensionFilter_ != null) { + subBuilder = dimensionFilter_.toBuilder(); + } + dimensionFilter_ = + input.readMessage( + com.google.analytics.data.v1beta.FilterExpression.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dimensionFilter_); + dimensionFilter_ = subBuilder.buildPartial(); + } - break; - } - case 58: { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (metricFilter_ != null) { - subBuilder = metricFilter_.toBuilder(); + break; } - metricFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricFilter_); - metricFilter_ = subBuilder.buildPartial(); + case 58: + { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (metricFilter_ != null) { + subBuilder = metricFilter_.toBuilder(); + } + metricFilter_ = + input.readMessage( + com.google.analytics.data.v1beta.FilterExpression.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricFilter_); + metricFilter_ = subBuilder.buildPartial(); + } + + break; } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + currencyCode_ = s; + break; + } + case 74: + { + com.google.analytics.data.v1beta.CohortSpec.Builder subBuilder = null; + if (cohortSpec_ != null) { + subBuilder = cohortSpec_.toBuilder(); + } + cohortSpec_ = + input.readMessage( + com.google.analytics.data.v1beta.CohortSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cohortSpec_); + cohortSpec_ = subBuilder.buildPartial(); + } - currencyCode_ = s; - break; - } - case 74: { - com.google.analytics.data.v1beta.CohortSpec.Builder subBuilder = null; - if (cohortSpec_ != null) { - subBuilder = cohortSpec_.toBuilder(); + break; } - cohortSpec_ = input.readMessage(com.google.analytics.data.v1beta.CohortSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cohortSpec_); - cohortSpec_ = subBuilder.buildPartial(); + case 80: + { + keepEmptyRows_ = input.readBool(); + break; } - - break; - } - case 80: { - - keepEmptyRows_ = input.readBool(); - break; - } - case 88: { - - returnPropertyQuota_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 88: + { + returnPropertyQuota_ = 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)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -187,22 +224,27 @@ private RunPivotReportRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunPivotReportRequest.class, com.google.analytics.data.v1beta.RunPivotReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunPivotReportRequest.class, + com.google.analytics.data.v1beta.RunPivotReportRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -214,6 +256,7 @@ private RunPivotReportRequest(
    * 
* * string property = 1; + * * @return The property. */ @java.lang.Override @@ -222,14 +265,15 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -241,16 +285,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -261,6 +304,8 @@ public java.lang.String getProperty() { public static final int DIMENSIONS_FIELD_NUMBER = 2; private java.util.List dimensions_; /** + * + * *
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -273,6 +318,8 @@ public java.util.List getDimensionsL
     return dimensions_;
   }
   /**
+   *
+   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -281,11 +328,13 @@ public java.util.List getDimensionsL
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDimensionsOrBuilderList() {
     return dimensions_;
   }
   /**
+   *
+   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -298,6 +347,8 @@ public int getDimensionsCount() {
     return dimensions_.size();
   }
   /**
+   *
+   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -310,6 +361,8 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
     return dimensions_.get(index);
   }
   /**
+   *
+   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -318,14 +371,15 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) {
     return dimensions_.get(index);
   }
 
   public static final int METRICS_FIELD_NUMBER = 3;
   private java.util.List metrics_;
   /**
+   *
+   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -339,6 +393,8 @@ public java.util.List getMetricsList()
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -348,11 +404,13 @@ public java.util.List getMetricsList()
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricsOrBuilderList() {
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -366,6 +424,8 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
+   *
+   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -379,6 +439,8 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
     return metrics_.get(index);
   }
   /**
+   *
+   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -388,14 +450,15 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) {
     return metrics_.get(index);
   }
 
   public static final int DATE_RANGES_FIELD_NUMBER = 4;
   private java.util.List dateRanges_;
   /**
+   *
+   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -411,6 +474,8 @@ public java.util.List getDateRangesL
     return dateRanges_;
   }
   /**
+   *
+   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -422,11 +487,13 @@ public java.util.List getDateRangesL
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDateRangesOrBuilderList() {
     return dateRanges_;
   }
   /**
+   *
+   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -442,6 +509,8 @@ public int getDateRangesCount() {
     return dateRanges_.size();
   }
   /**
+   *
+   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -457,6 +526,8 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
     return dateRanges_.get(index);
   }
   /**
+   *
+   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -468,14 +539,15 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index) {
     return dateRanges_.get(index);
   }
 
   public static final int PIVOTS_FIELD_NUMBER = 5;
   private java.util.List pivots_;
   /**
+   *
+   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -490,6 +562,8 @@ public java.util.List getPivotsList() {
     return pivots_;
   }
   /**
+   *
+   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -500,11 +574,13 @@ public java.util.List getPivotsList() {
    * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getPivotsOrBuilderList() {
     return pivots_;
   }
   /**
+   *
+   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -519,6 +595,8 @@ public int getPivotsCount() {
     return pivots_.size();
   }
   /**
+   *
+   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -533,6 +611,8 @@ public com.google.analytics.data.v1beta.Pivot getPivots(int index) {
     return pivots_.get(index);
   }
   /**
+   *
+   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -543,20 +623,22 @@ public com.google.analytics.data.v1beta.Pivot getPivots(int index) {
    * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(int index) {
     return pivots_.get(index);
   }
 
   public static final int DIMENSION_FILTER_FIELD_NUMBER = 6;
   private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_;
   /**
+   *
+   *
    * 
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; + * * @return Whether the dimensionFilter field is set. */ @java.lang.Override @@ -564,19 +646,26 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** + * + * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; + * * @return The dimensionFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { - return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : dimensionFilter_; } /** + * + * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
@@ -592,6 +681,8 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
   public static final int METRIC_FILTER_FIELD_NUMBER = 7;
   private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
   /**
+   *
+   *
    * 
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -599,6 +690,7 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; + * * @return Whether the metricFilter field is set. */ @java.lang.Override @@ -606,6 +698,8 @@ public boolean hasMetricFilter() { return metricFilter_ != null; } /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -613,13 +707,18 @@ public boolean hasMetricFilter() {
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; + * * @return The metricFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { - return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : metricFilter_; } /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -636,12 +735,15 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
   public static final int CURRENCY_CODE_FIELD_NUMBER = 8;
   private volatile java.lang.Object currencyCode_;
   /**
+   *
+   *
    * 
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 8; + * * @return The currencyCode. */ @java.lang.Override @@ -650,30 +752,30 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** + * + * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 8; + * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrencyCodeBytes() { + public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -684,12 +786,15 @@ public java.lang.String getCurrencyCode() { public static final int COHORT_SPEC_FIELD_NUMBER = 9; private com.google.analytics.data.v1beta.CohortSpec cohortSpec_; /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; + * * @return Whether the cohortSpec field is set. */ @java.lang.Override @@ -697,19 +802,26 @@ public boolean hasCohortSpec() { return cohortSpec_ != null; } /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; + * * @return The cohortSpec. */ @java.lang.Override public com.google.analytics.data.v1beta.CohortSpec getCohortSpec() { - return cohortSpec_ == null ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_; + return cohortSpec_ == null + ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() + : cohortSpec_; } /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
@@ -725,6 +837,8 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
   public static final int KEEP_EMPTY_ROWS_FIELD_NUMBER = 10;
   private boolean keepEmptyRows_;
   /**
+   *
+   *
    * 
    * If false or unspecified, each row with all metrics equal to 0 will not be
    * returned. If true, these rows will be returned if they are not separately
@@ -732,6 +846,7 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
    * 
* * bool keep_empty_rows = 10; + * * @return The keepEmptyRows. */ @java.lang.Override @@ -742,12 +857,15 @@ public boolean getKeepEmptyRows() { public static final int RETURN_PROPERTY_QUOTA_FIELD_NUMBER = 11; private boolean returnPropertyQuota_; /** + * + * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 11; + * * @return The returnPropertyQuota. */ @java.lang.Override @@ -756,6 +874,7 @@ public boolean getReturnPropertyQuota() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -767,8 +886,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getPropertyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -815,43 +933,34 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); } for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); } for (int i = 0; i < dateRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, dateRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, dateRanges_.get(i)); } for (int i = 0; i < pivots_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, pivots_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, pivots_.get(i)); } if (dimensionFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDimensionFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDimensionFilter()); } if (metricFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getMetricFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetricFilter()); } if (!getCurrencyCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, currencyCode_); } if (cohortSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getCohortSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCohortSpec()); } if (keepEmptyRows_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, keepEmptyRows_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, keepEmptyRows_); } if (returnPropertyQuota_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, returnPropertyQuota_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, returnPropertyQuota_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -861,44 +970,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.analytics.data.v1beta.RunPivotReportRequest)) { return super.equals(obj); } - com.google.analytics.data.v1beta.RunPivotReportRequest other = (com.google.analytics.data.v1beta.RunPivotReportRequest) obj; - - if (!getProperty() - .equals(other.getProperty())) return false; - if (!getDimensionsList() - .equals(other.getDimensionsList())) return false; - if (!getMetricsList() - .equals(other.getMetricsList())) return false; - if (!getDateRangesList() - .equals(other.getDateRangesList())) return false; - if (!getPivotsList() - .equals(other.getPivotsList())) return false; + com.google.analytics.data.v1beta.RunPivotReportRequest other = + (com.google.analytics.data.v1beta.RunPivotReportRequest) obj; + + if (!getProperty().equals(other.getProperty())) return false; + if (!getDimensionsList().equals(other.getDimensionsList())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; + if (!getDateRangesList().equals(other.getDateRangesList())) return false; + if (!getPivotsList().equals(other.getPivotsList())) return false; if (hasDimensionFilter() != other.hasDimensionFilter()) return false; if (hasDimensionFilter()) { - if (!getDimensionFilter() - .equals(other.getDimensionFilter())) return false; + if (!getDimensionFilter().equals(other.getDimensionFilter())) return false; } if (hasMetricFilter() != other.hasMetricFilter()) return false; if (hasMetricFilter()) { - if (!getMetricFilter() - .equals(other.getMetricFilter())) return false; + if (!getMetricFilter().equals(other.getMetricFilter())) return false; } - if (!getCurrencyCode() - .equals(other.getCurrencyCode())) return false; + if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; if (hasCohortSpec() != other.hasCohortSpec()) return false; if (hasCohortSpec()) { - if (!getCohortSpec() - .equals(other.getCohortSpec())) return false; + if (!getCohortSpec().equals(other.getCohortSpec())) return false; } - if (getKeepEmptyRows() - != other.getKeepEmptyRows()) return false; - if (getReturnPropertyQuota() - != other.getReturnPropertyQuota()) return false; + if (getKeepEmptyRows() != other.getKeepEmptyRows()) return false; + if (getReturnPropertyQuota() != other.getReturnPropertyQuota()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -943,128 +1042,136 @@ public int hashCode() { hash = (53 * hash) + getCohortSpec().hashCode(); } hash = (37 * hash) + KEEP_EMPTY_ROWS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getKeepEmptyRows()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeepEmptyRows()); hash = (37 * hash) + RETURN_PROPERTY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReturnPropertyQuota()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPropertyQuota()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunPivotReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunPivotReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.RunPivotReportRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.RunPivotReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 request to generate a pivot report.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunPivotReportRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunPivotReportRequest) com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunPivotReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunPivotReportRequest.class, com.google.analytics.data.v1beta.RunPivotReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunPivotReportRequest.class, + com.google.analytics.data.v1beta.RunPivotReportRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunPivotReportRequest.newBuilder() @@ -1072,20 +1179,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDimensionsFieldBuilder(); getMetricsFieldBuilder(); getDateRangesFieldBuilder(); getPivotsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1143,9 +1250,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunPivotReportRequest_descriptor; } @java.lang.Override @@ -1164,7 +1271,8 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.RunPivotReportRequest buildPartial() { - com.google.analytics.data.v1beta.RunPivotReportRequest result = new com.google.analytics.data.v1beta.RunPivotReportRequest(this); + com.google.analytics.data.v1beta.RunPivotReportRequest result = + new com.google.analytics.data.v1beta.RunPivotReportRequest(this); int from_bitField0_ = bitField0_; result.property_ = property_; if (dimensionsBuilder_ == null) { @@ -1229,38 +1337,39 @@ public com.google.analytics.data.v1beta.RunPivotReportRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunPivotReportRequest) { - return mergeFrom((com.google.analytics.data.v1beta.RunPivotReportRequest)other); + return mergeFrom((com.google.analytics.data.v1beta.RunPivotReportRequest) other); } else { super.mergeFrom(other); return this; @@ -1268,7 +1377,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportRequest other) { - if (other == com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.RunPivotReportRequest.getDefaultInstance()) + return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -1291,9 +1401,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportRequest dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionsFieldBuilder() : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionsFieldBuilder() + : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -1317,9 +1428,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportRequest metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricsFieldBuilder() : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricsFieldBuilder() + : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -1343,9 +1455,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportRequest dateRangesBuilder_ = null; dateRanges_ = other.dateRanges_; bitField0_ = (bitField0_ & ~0x00000004); - dateRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDateRangesFieldBuilder() : null; + dateRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDateRangesFieldBuilder() + : null; } else { dateRangesBuilder_.addAllMessages(other.dateRanges_); } @@ -1369,9 +1482,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportRequest pivotsBuilder_ = null; pivots_ = other.pivots_; bitField0_ = (bitField0_ & ~0x00000008); - pivotsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPivotsFieldBuilder() : null; + pivotsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPivotsFieldBuilder() + : null; } else { pivotsBuilder_.addAllMessages(other.pivots_); } @@ -1415,7 +1529,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.RunPivotReportRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.RunPivotReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1424,10 +1539,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1439,13 +1557,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1454,6 +1572,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1465,15 +1585,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -1481,6 +1600,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1492,20 +1613,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { + public Builder setProperty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1517,15 +1640,18 @@ public Builder setProperty(
      * 
* * string property = 1; + * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1537,34 +1663,41 @@ public Builder clearProperty() {
      * 
* * string property = 1; + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List dimensions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(dimensions_); + dimensions_ = + new java.util.ArrayList(dimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> dimensionsBuilder_; + com.google.analytics.data.v1beta.Dimension, + com.google.analytics.data.v1beta.Dimension.Builder, + com.google.analytics.data.v1beta.DimensionOrBuilder> + dimensionsBuilder_; /** + * + * *
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1580,6 +1713,8 @@ public java.util.List getDimensionsL
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1595,6 +1730,8 @@ public int getDimensionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1610,6 +1747,8 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1617,8 +1756,7 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) {
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public Builder setDimensions(
-        int index, com.google.analytics.data.v1beta.Dimension value) {
+    public Builder setDimensions(int index, com.google.analytics.data.v1beta.Dimension value) {
       if (dimensionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1632,6 +1770,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1651,6 +1791,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1672,6 +1814,8 @@ public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1679,8 +1823,7 @@ public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) {
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public Builder addDimensions(
-        int index, com.google.analytics.data.v1beta.Dimension value) {
+    public Builder addDimensions(int index, com.google.analytics.data.v1beta.Dimension value) {
       if (dimensionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1694,6 +1837,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1713,6 +1858,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1732,6 +1879,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1743,8 +1892,7 @@ public Builder addAllDimensions(
         java.lang.Iterable values) {
       if (dimensionsBuilder_ == null) {
         ensureDimensionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dimensions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_);
         onChanged();
       } else {
         dimensionsBuilder_.addAllMessages(values);
@@ -1752,6 +1900,8 @@ public Builder addAllDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1770,6 +1920,8 @@ public Builder clearDimensions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1788,6 +1940,8 @@ public Builder removeDimensions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1795,11 +1949,12 @@ public Builder removeDimensions(int index) {
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(int index) {
       return getDimensionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1807,14 +1962,16 @@ public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) {
       if (dimensionsBuilder_ == null) {
-        return dimensions_.get(index);  } else {
+        return dimensions_.get(index);
+      } else {
         return dimensionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1822,8 +1979,8 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public java.util.List 
-         getDimensionsOrBuilderList() {
+    public java.util.List
+        getDimensionsOrBuilderList() {
       if (dimensionsBuilder_ != null) {
         return dimensionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1831,6 +1988,8 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1839,10 +1998,12 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
     public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder() {
-      return getDimensionsFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
+      return getDimensionsFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1850,12 +2011,13 @@ public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder()
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(
-        int index) {
-      return getDimensionsFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(int index) {
+      return getDimensionsFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The dimensions requested. All defined dimensions must be used by one of the
      * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -1863,38 +2025,47 @@ public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      */
-    public java.util.List 
-         getDimensionsBuilderList() {
+    public java.util.List
+        getDimensionsBuilderList() {
       return getDimensionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> 
+            com.google.analytics.data.v1beta.Dimension,
+            com.google.analytics.data.v1beta.Dimension.Builder,
+            com.google.analytics.data.v1beta.DimensionOrBuilder>
         getDimensionsFieldBuilder() {
       if (dimensionsBuilder_ == null) {
-        dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder>(
-                dimensions_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        dimensionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.Dimension,
+                com.google.analytics.data.v1beta.Dimension.Builder,
+                com.google.analytics.data.v1beta.DimensionOrBuilder>(
+                dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         dimensions_ = null;
       }
       return dimensionsBuilder_;
     }
 
     private java.util.List metrics_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMetricsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         metrics_ = new java.util.ArrayList(metrics_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> metricsBuilder_;
+            com.google.analytics.data.v1beta.Metric,
+            com.google.analytics.data.v1beta.Metric.Builder,
+            com.google.analytics.data.v1beta.MetricOrBuilder>
+        metricsBuilder_;
 
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -1911,6 +2082,8 @@ public java.util.List getMetricsList()
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -1927,6 +2100,8 @@ public int getMetricsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -1943,6 +2118,8 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -1951,8 +2128,7 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public Builder setMetrics(
-        int index, com.google.analytics.data.v1beta.Metric value) {
+    public Builder setMetrics(int index, com.google.analytics.data.v1beta.Metric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1966,6 +2142,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -1986,6 +2164,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2008,6 +2188,8 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2016,8 +2198,7 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public Builder addMetrics(
-        int index, com.google.analytics.data.v1beta.Metric value) {
+    public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2031,6 +2212,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2039,8 +2222,7 @@ public Builder addMetrics(
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public Builder addMetrics(
-        com.google.analytics.data.v1beta.Metric.Builder builderForValue) {
+    public Builder addMetrics(com.google.analytics.data.v1beta.Metric.Builder builderForValue) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
         metrics_.add(builderForValue.build());
@@ -2051,6 +2233,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2071,6 +2255,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2083,8 +2269,7 @@ public Builder addAllMetrics(
         java.lang.Iterable values) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metrics_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
         onChanged();
       } else {
         metricsBuilder_.addAllMessages(values);
@@ -2092,6 +2277,8 @@ public Builder addAllMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2111,6 +2298,8 @@ public Builder clearMetrics() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2130,6 +2319,8 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2138,11 +2329,12 @@ public Builder removeMetrics(int index) {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(int index) {
       return getMetricsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2151,14 +2343,16 @@ public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) {
       if (metricsBuilder_ == null) {
-        return metrics_.get(index);  } else {
+        return metrics_.get(index);
+      } else {
         return metricsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2167,8 +2361,8 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public java.util.List 
-         getMetricsOrBuilderList() {
+    public java.util.List
+        getMetricsOrBuilderList() {
       if (metricsBuilder_ != null) {
         return metricsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2176,6 +2370,8 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2185,10 +2381,12 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
     public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() {
-      return getMetricsFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.Metric.getDefaultInstance());
+      return getMetricsFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.Metric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2197,12 +2395,13 @@ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() {
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(
-        int index) {
-      return getMetricsFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.Metric.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(int index) {
+      return getMetricsFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.Metric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The metrics requested, at least one metric needs to be specified. All
      * defined metrics must be used by one of the following: metric_expression,
@@ -2211,38 +2410,47 @@ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Metric metrics = 3;
      */
-    public java.util.List 
-         getMetricsBuilderList() {
+    public java.util.List getMetricsBuilderList() {
       return getMetricsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> 
+            com.google.analytics.data.v1beta.Metric,
+            com.google.analytics.data.v1beta.Metric.Builder,
+            com.google.analytics.data.v1beta.MetricOrBuilder>
         getMetricsFieldBuilder() {
       if (metricsBuilder_ == null) {
-        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder>(
-                metrics_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        metricsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.Metric,
+                com.google.analytics.data.v1beta.Metric.Builder,
+                com.google.analytics.data.v1beta.MetricOrBuilder>(
+                metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         metrics_ = null;
       }
       return metricsBuilder_;
     }
 
     private java.util.List dateRanges_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureDateRangesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        dateRanges_ = new java.util.ArrayList(dateRanges_);
+        dateRanges_ =
+            new java.util.ArrayList(dateRanges_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> dateRangesBuilder_;
+            com.google.analytics.data.v1beta.DateRange,
+            com.google.analytics.data.v1beta.DateRange.Builder,
+            com.google.analytics.data.v1beta.DateRangeOrBuilder>
+        dateRangesBuilder_;
 
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2261,6 +2469,8 @@ public java.util.List getDateRangesL
       }
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2279,6 +2489,8 @@ public int getDateRangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2297,6 +2509,8 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2307,8 +2521,7 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public Builder setDateRanges(
-        int index, com.google.analytics.data.v1beta.DateRange value) {
+    public Builder setDateRanges(int index, com.google.analytics.data.v1beta.DateRange value) {
       if (dateRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2322,6 +2535,8 @@ public Builder setDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2344,6 +2559,8 @@ public Builder setDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2368,6 +2585,8 @@ public Builder addDateRanges(com.google.analytics.data.v1beta.DateRange value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2378,8 +2597,7 @@ public Builder addDateRanges(com.google.analytics.data.v1beta.DateRange value) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public Builder addDateRanges(
-        int index, com.google.analytics.data.v1beta.DateRange value) {
+    public Builder addDateRanges(int index, com.google.analytics.data.v1beta.DateRange value) {
       if (dateRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2393,6 +2611,8 @@ public Builder addDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2415,6 +2635,8 @@ public Builder addDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2437,6 +2659,8 @@ public Builder addDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2451,8 +2675,7 @@ public Builder addAllDateRanges(
         java.lang.Iterable values) {
       if (dateRangesBuilder_ == null) {
         ensureDateRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dateRanges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dateRanges_);
         onChanged();
       } else {
         dateRangesBuilder_.addAllMessages(values);
@@ -2460,6 +2683,8 @@ public Builder addAllDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2481,6 +2706,8 @@ public Builder clearDateRanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2502,6 +2729,8 @@ public Builder removeDateRanges(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2512,11 +2741,12 @@ public Builder removeDateRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(int index) {
       return getDateRangesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2527,14 +2757,16 @@ public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index) {
       if (dateRangesBuilder_ == null) {
-        return dateRanges_.get(index);  } else {
+        return dateRanges_.get(index);
+      } else {
         return dateRangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2545,8 +2777,8 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public java.util.List 
-         getDateRangesOrBuilderList() {
+    public java.util.List
+        getDateRangesOrBuilderList() {
       if (dateRangesBuilder_ != null) {
         return dateRangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2554,6 +2786,8 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2565,10 +2799,12 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
     public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder() {
-      return getDateRangesFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
+      return getDateRangesFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2579,12 +2815,13 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder()
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(
-        int index) {
-      return getDateRangesFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
+    public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(int index) {
+      return getDateRangesFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The date range to retrieve event data for the report. If multiple date
      * ranges are specified, event data from each date range is used in the
@@ -2595,38 +2832,47 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public java.util.List 
-         getDateRangesBuilderList() {
+    public java.util.List
+        getDateRangesBuilderList() {
       return getDateRangesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> 
+            com.google.analytics.data.v1beta.DateRange,
+            com.google.analytics.data.v1beta.DateRange.Builder,
+            com.google.analytics.data.v1beta.DateRangeOrBuilder>
         getDateRangesFieldBuilder() {
       if (dateRangesBuilder_ == null) {
-        dateRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder>(
-                dateRanges_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        dateRangesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.DateRange,
+                com.google.analytics.data.v1beta.DateRange.Builder,
+                com.google.analytics.data.v1beta.DateRangeOrBuilder>(
+                dateRanges_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         dateRanges_ = null;
       }
       return dateRangesBuilder_;
     }
 
     private java.util.List pivots_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensurePivotsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         pivots_ = new java.util.ArrayList(pivots_);
         bitField0_ |= 0x00000008;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Pivot, com.google.analytics.data.v1beta.Pivot.Builder, com.google.analytics.data.v1beta.PivotOrBuilder> pivotsBuilder_;
+            com.google.analytics.data.v1beta.Pivot,
+            com.google.analytics.data.v1beta.Pivot.Builder,
+            com.google.analytics.data.v1beta.PivotOrBuilder>
+        pivotsBuilder_;
 
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2644,6 +2890,8 @@ public java.util.List getPivotsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2661,6 +2909,8 @@ public int getPivotsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2678,6 +2928,8 @@ public com.google.analytics.data.v1beta.Pivot getPivots(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2687,8 +2939,7 @@ public com.google.analytics.data.v1beta.Pivot getPivots(int index) {
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public Builder setPivots(
-        int index, com.google.analytics.data.v1beta.Pivot value) {
+    public Builder setPivots(int index, com.google.analytics.data.v1beta.Pivot value) {
       if (pivotsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2702,6 +2953,8 @@ public Builder setPivots(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2723,6 +2976,8 @@ public Builder setPivots(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2746,6 +3001,8 @@ public Builder addPivots(com.google.analytics.data.v1beta.Pivot value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2755,8 +3012,7 @@ public Builder addPivots(com.google.analytics.data.v1beta.Pivot value) {
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public Builder addPivots(
-        int index, com.google.analytics.data.v1beta.Pivot value) {
+    public Builder addPivots(int index, com.google.analytics.data.v1beta.Pivot value) {
       if (pivotsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2770,6 +3026,8 @@ public Builder addPivots(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2779,8 +3037,7 @@ public Builder addPivots(
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public Builder addPivots(
-        com.google.analytics.data.v1beta.Pivot.Builder builderForValue) {
+    public Builder addPivots(com.google.analytics.data.v1beta.Pivot.Builder builderForValue) {
       if (pivotsBuilder_ == null) {
         ensurePivotsIsMutable();
         pivots_.add(builderForValue.build());
@@ -2791,6 +3048,8 @@ public Builder addPivots(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2812,6 +3071,8 @@ public Builder addPivots(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2825,8 +3086,7 @@ public Builder addAllPivots(
         java.lang.Iterable values) {
       if (pivotsBuilder_ == null) {
         ensurePivotsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, pivots_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivots_);
         onChanged();
       } else {
         pivotsBuilder_.addAllMessages(values);
@@ -2834,6 +3094,8 @@ public Builder addAllPivots(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2854,6 +3116,8 @@ public Builder clearPivots() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2874,6 +3138,8 @@ public Builder removePivots(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2883,11 +3149,12 @@ public Builder removePivots(int index) {
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public com.google.analytics.data.v1beta.Pivot.Builder getPivotsBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.Pivot.Builder getPivotsBuilder(int index) {
       return getPivotsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2897,14 +3164,16 @@ public com.google.analytics.data.v1beta.Pivot.Builder getPivotsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(int index) {
       if (pivotsBuilder_ == null) {
-        return pivots_.get(index);  } else {
+        return pivots_.get(index);
+      } else {
         return pivotsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2914,8 +3183,8 @@ public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public java.util.List 
-         getPivotsOrBuilderList() {
+    public java.util.List
+        getPivotsOrBuilderList() {
       if (pivotsBuilder_ != null) {
         return pivotsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2923,6 +3192,8 @@ public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2933,10 +3204,12 @@ public com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
     public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder() {
-      return getPivotsFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.Pivot.getDefaultInstance());
+      return getPivotsFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.Pivot.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2946,12 +3219,13 @@ public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder() {
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder(
-        int index) {
-      return getPivotsFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.Pivot.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder(int index) {
+      return getPivotsFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.Pivot.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes the visual format of the report's dimensions in columns or rows.
      * The union of the fieldNames (dimension names) in all pivots must be a
@@ -2961,20 +3235,22 @@ public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder(
      *
      * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
      */
-    public java.util.List 
-         getPivotsBuilderList() {
+    public java.util.List getPivotsBuilderList() {
       return getPivotsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Pivot, com.google.analytics.data.v1beta.Pivot.Builder, com.google.analytics.data.v1beta.PivotOrBuilder> 
+            com.google.analytics.data.v1beta.Pivot,
+            com.google.analytics.data.v1beta.Pivot.Builder,
+            com.google.analytics.data.v1beta.PivotOrBuilder>
         getPivotsFieldBuilder() {
       if (pivotsBuilder_ == null) {
-        pivotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Pivot, com.google.analytics.data.v1beta.Pivot.Builder, com.google.analytics.data.v1beta.PivotOrBuilder>(
-                pivots_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        pivotsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.Pivot,
+                com.google.analytics.data.v1beta.Pivot.Builder,
+                com.google.analytics.data.v1beta.PivotOrBuilder>(
+                pivots_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         pivots_ = null;
       }
       return pivotsBuilder_;
@@ -2982,36 +3258,49 @@ public com.google.analytics.data.v1beta.Pivot.Builder addPivotsBuilder(
 
     private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> dimensionFilterBuilder_;
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        dimensionFilterBuilder_;
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; + * * @return Whether the dimensionFilter field is set. */ public boolean hasDimensionFilter() { return dimensionFilterBuilder_ != null || dimensionFilter_ != null; } /** + * + * *
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; + * * @return The dimensionFilter. */ public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : dimensionFilter_; } else { return dimensionFilterBuilder_.getMessage(); } } /** + * + * *
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3033,6 +3322,8 @@ public Builder setDimensionFilter(com.google.analytics.data.v1beta.FilterExpress
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3052,6 +3343,8 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3063,7 +3356,9 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       if (dimensionFilterBuilder_ == null) {
         if (dimensionFilter_ != null) {
           dimensionFilter_ =
-            com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dimensionFilter_ = value;
         }
@@ -3075,6 +3370,8 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3094,6 +3391,8 @@ public Builder clearDimensionFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3102,11 +3401,13 @@ public Builder clearDimensionFilter() {
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFilterBuilder() {
-      
+
       onChanged();
       return getDimensionFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3114,15 +3415,19 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
      *
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6;
      */
-    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder() {
+    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder
+        getDimensionFilterOrBuilder() {
       if (dimensionFilterBuilder_ != null) {
         return dimensionFilterBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionFilter_ == null ?
-            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_;
+        return dimensionFilter_ == null
+            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
+            : dimensionFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -3131,14 +3436,17 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
         getDimensionFilterFieldBuilder() {
       if (dimensionFilterBuilder_ == null) {
-        dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getDimensionFilter(),
-                getParentForChildren(),
-                isClean());
+        dimensionFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.FilterExpression,
+                com.google.analytics.data.v1beta.FilterExpression.Builder,
+                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getDimensionFilter(), getParentForChildren(), isClean());
         dimensionFilter_ = null;
       }
       return dimensionFilterBuilder_;
@@ -3146,8 +3454,13 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
 
     private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> metricFilterBuilder_;
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        metricFilterBuilder_;
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3155,12 +3468,15 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; + * * @return Whether the metricFilter field is set. */ public boolean hasMetricFilter() { return metricFilterBuilder_ != null || metricFilter_ != null; } /** + * + * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3168,16 +3484,21 @@ public boolean hasMetricFilter() {
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; + * * @return The metricFilter. */ public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { if (metricFilterBuilder_ == null) { - return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : metricFilter_; } else { return metricFilterBuilder_.getMessage(); } } /** + * + * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3200,6 +3521,8 @@ public Builder setMetricFilter(com.google.analytics.data.v1beta.FilterExpression
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3220,6 +3543,8 @@ public Builder setMetricFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3232,7 +3557,9 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       if (metricFilterBuilder_ == null) {
         if (metricFilter_ != null) {
           metricFilter_ =
-            com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metricFilter_ = value;
         }
@@ -3244,6 +3571,8 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3264,6 +3593,8 @@ public Builder clearMetricFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3273,11 +3604,13 @@ public Builder clearMetricFilter() {
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 7;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getMetricFilterBuilder() {
-      
+
       onChanged();
       return getMetricFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3290,11 +3623,14 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
       if (metricFilterBuilder_ != null) {
         return metricFilterBuilder_.getMessageOrBuilder();
       } else {
-        return metricFilter_ == null ?
-            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_;
+        return metricFilter_ == null
+            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
+            : metricFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -3304,14 +3640,17 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
         getMetricFilterFieldBuilder() {
       if (metricFilterBuilder_ == null) {
-        metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getMetricFilter(),
-                getParentForChildren(),
-                isClean());
+        metricFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.FilterExpression,
+                com.google.analytics.data.v1beta.FilterExpression.Builder,
+                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getMetricFilter(), getParentForChildren(), isClean());
         metricFilter_ = null;
       }
       return metricFilterBuilder_;
@@ -3319,19 +3658,21 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
 
     private java.lang.Object currencyCode_ = "";
     /**
+     *
+     *
      * 
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 8; + * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -3340,21 +3681,22 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 8; + * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString - getCurrencyCodeBytes() { + public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -3362,57 +3704,64 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 8; + * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode( - java.lang.String value) { + public Builder setCurrencyCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currencyCode_ = value; onChanged(); return this; } /** + * + * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 8; + * * @return This builder for chaining. */ public Builder clearCurrencyCode() { - + currencyCode_ = getDefaultInstance().getCurrencyCode(); onChanged(); return this; } /** + * + * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 8; + * * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currencyCode_ = value; onChanged(); return this; @@ -3420,36 +3769,49 @@ public Builder setCurrencyCodeBytes( private com.google.analytics.data.v1beta.CohortSpec cohortSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder> cohortSpecBuilder_; + com.google.analytics.data.v1beta.CohortSpec, + com.google.analytics.data.v1beta.CohortSpec.Builder, + com.google.analytics.data.v1beta.CohortSpecOrBuilder> + cohortSpecBuilder_; /** + * + * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
      * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; + * * @return Whether the cohortSpec field is set. */ public boolean hasCohortSpec() { return cohortSpecBuilder_ != null || cohortSpec_ != null; } /** + * + * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
      * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; + * * @return The cohortSpec. */ public com.google.analytics.data.v1beta.CohortSpec getCohortSpec() { if (cohortSpecBuilder_ == null) { - return cohortSpec_ == null ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_; + return cohortSpec_ == null + ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() + : cohortSpec_; } else { return cohortSpecBuilder_.getMessage(); } } /** + * + * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3471,6 +3833,8 @@ public Builder setCohortSpec(com.google.analytics.data.v1beta.CohortSpec value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3490,6 +3854,8 @@ public Builder setCohortSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3501,7 +3867,9 @@ public Builder mergeCohortSpec(com.google.analytics.data.v1beta.CohortSpec value
       if (cohortSpecBuilder_ == null) {
         if (cohortSpec_ != null) {
           cohortSpec_ =
-            com.google.analytics.data.v1beta.CohortSpec.newBuilder(cohortSpec_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.CohortSpec.newBuilder(cohortSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           cohortSpec_ = value;
         }
@@ -3513,6 +3881,8 @@ public Builder mergeCohortSpec(com.google.analytics.data.v1beta.CohortSpec value
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3532,6 +3902,8 @@ public Builder clearCohortSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3540,11 +3912,13 @@ public Builder clearCohortSpec() {
      * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9;
      */
     public com.google.analytics.data.v1beta.CohortSpec.Builder getCohortSpecBuilder() {
-      
+
       onChanged();
       return getCohortSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3556,11 +3930,14 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
       if (cohortSpecBuilder_ != null) {
         return cohortSpecBuilder_.getMessageOrBuilder();
       } else {
-        return cohortSpec_ == null ?
-            com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_;
+        return cohortSpec_ == null
+            ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance()
+            : cohortSpec_;
       }
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3569,21 +3946,26 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
      * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder> 
+            com.google.analytics.data.v1beta.CohortSpec,
+            com.google.analytics.data.v1beta.CohortSpec.Builder,
+            com.google.analytics.data.v1beta.CohortSpecOrBuilder>
         getCohortSpecFieldBuilder() {
       if (cohortSpecBuilder_ == null) {
-        cohortSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder>(
-                getCohortSpec(),
-                getParentForChildren(),
-                isClean());
+        cohortSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.CohortSpec,
+                com.google.analytics.data.v1beta.CohortSpec.Builder,
+                com.google.analytics.data.v1beta.CohortSpecOrBuilder>(
+                getCohortSpec(), getParentForChildren(), isClean());
         cohortSpec_ = null;
       }
       return cohortSpecBuilder_;
     }
 
-    private boolean keepEmptyRows_ ;
+    private boolean keepEmptyRows_;
     /**
+     *
+     *
      * 
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -3591,6 +3973,7 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
      * 
* * bool keep_empty_rows = 10; + * * @return The keepEmptyRows. */ @java.lang.Override @@ -3598,6 +3981,8 @@ public boolean getKeepEmptyRows() { return keepEmptyRows_; } /** + * + * *
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -3605,16 +3990,19 @@ public boolean getKeepEmptyRows() {
      * 
* * bool keep_empty_rows = 10; + * * @param value The keepEmptyRows to set. * @return This builder for chaining. */ public Builder setKeepEmptyRows(boolean value) { - + keepEmptyRows_ = value; onChanged(); return this; } /** + * + * *
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -3622,23 +4010,27 @@ public Builder setKeepEmptyRows(boolean value) {
      * 
* * bool keep_empty_rows = 10; + * * @return This builder for chaining. */ public Builder clearKeepEmptyRows() { - + keepEmptyRows_ = false; onChanged(); return this; } - private boolean returnPropertyQuota_ ; + private boolean returnPropertyQuota_; /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 11; + * * @return The returnPropertyQuota. */ @java.lang.Override @@ -3646,39 +4038,45 @@ public boolean getReturnPropertyQuota() { return returnPropertyQuota_; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 11; + * * @param value The returnPropertyQuota to set. * @return This builder for chaining. */ public Builder setReturnPropertyQuota(boolean value) { - + returnPropertyQuota_ = value; onChanged(); return this; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 11; + * * @return This builder for chaining. */ public Builder clearReturnPropertyQuota() { - + returnPropertyQuota_ = 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); } @@ -3688,12 +4086,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunPivotReportRequest) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunPivotReportRequest) private static final com.google.analytics.data.v1beta.RunPivotReportRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunPivotReportRequest(); } @@ -3702,16 +4100,16 @@ public static com.google.analytics.data.v1beta.RunPivotReportRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunPivotReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunPivotReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunPivotReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunPivotReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3726,6 +4124,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.RunPivotReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java similarity index 89% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java index 55bd06cf..7e9d0768 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface RunPivotReportRequestOrBuilder extends +public interface RunPivotReportRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunPivotReportRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -19,10 +37,13 @@ public interface RunPivotReportRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -34,12 +55,14 @@ public interface RunPivotReportRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -47,9 +70,10 @@ public interface RunPivotReportRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
-  java.util.List 
-      getDimensionsList();
+  java.util.List getDimensionsList();
   /**
+   *
+   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -59,6 +83,8 @@ public interface RunPivotReportRequestOrBuilder extends
    */
   com.google.analytics.data.v1beta.Dimension getDimensions(int index);
   /**
+   *
+   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -68,6 +94,8 @@ public interface RunPivotReportRequestOrBuilder extends
    */
   int getDimensionsCount();
   /**
+   *
+   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -75,9 +103,11 @@ public interface RunPivotReportRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
-  java.util.List 
+  java.util.List
       getDimensionsOrBuilderList();
   /**
+   *
+   *
    * 
    * The dimensions requested. All defined dimensions must be used by one of the
    * following: dimension_expression, dimension_filter, pivots, order_bys.
@@ -85,10 +115,11 @@ public interface RunPivotReportRequestOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
    */
-  com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -97,9 +128,10 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
-  java.util.List 
-      getMetricsList();
+  java.util.List getMetricsList();
   /**
+   *
+   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -110,6 +142,8 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
    */
   com.google.analytics.data.v1beta.Metric getMetrics(int index);
   /**
+   *
+   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -120,6 +154,8 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
    */
   int getMetricsCount();
   /**
+   *
+   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -128,9 +164,11 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
-  java.util.List 
+  java.util.List
       getMetricsOrBuilderList();
   /**
+   *
+   *
    * 
    * The metrics requested, at least one metric needs to be specified. All
    * defined metrics must be used by one of the following: metric_expression,
@@ -139,10 +177,11 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Metric metrics = 3;
    */
-  com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -153,9 +192,10 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  java.util.List 
-      getDateRangesList();
+  java.util.List getDateRangesList();
   /**
+   *
+   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -168,6 +208,8 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    */
   com.google.analytics.data.v1beta.DateRange getDateRanges(int index);
   /**
+   *
+   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -180,6 +222,8 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    */
   int getDateRangesCount();
   /**
+   *
+   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -190,9 +234,11 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  java.util.List 
+  java.util.List
       getDateRangesOrBuilderList();
   /**
+   *
+   *
    * 
    * The date range to retrieve event data for the report. If multiple date
    * ranges are specified, event data from each date range is used in the
@@ -203,10 +249,11 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -216,9 +263,10 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
    */
-  java.util.List 
-      getPivotsList();
+  java.util.List getPivotsList();
   /**
+   *
+   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -230,6 +278,8 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
    */
   com.google.analytics.data.v1beta.Pivot getPivots(int index);
   /**
+   *
+   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -241,6 +291,8 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
    */
   int getPivotsCount();
   /**
+   *
+   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -250,9 +302,11 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
    */
-  java.util.List 
+  java.util.List
       getPivotsOrBuilderList();
   /**
+   *
+   *
    * 
    * Describes the visual format of the report's dimensions in columns or rows.
    * The union of the fieldNames (dimension names) in all pivots must be a
@@ -262,30 +316,37 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Pivot pivots = 5;
    */
-  com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; + * * @return Whether the dimensionFilter field is set. */ boolean hasDimensionFilter(); /** + * + * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 6; + * * @return The dimensionFilter. */ com.google.analytics.data.v1beta.FilterExpression getDimensionFilter(); /** + * + * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
@@ -296,6 +357,8 @@ com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -303,10 +366,13 @@ com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; + * * @return Whether the metricFilter field is set. */ boolean hasMetricFilter(); /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -314,10 +380,13 @@ com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 7; + * * @return The metricFilter. */ com.google.analytics.data.v1beta.FilterExpression getMetricFilter(); /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -329,48 +398,61 @@ com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 8; + * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** + * + * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 8; + * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString - getCurrencyCodeBytes(); + com.google.protobuf.ByteString getCurrencyCodeBytes(); /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; + * * @return Whether the cohortSpec field is set. */ boolean hasCohortSpec(); /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 9; + * * @return The cohortSpec. */ com.google.analytics.data.v1beta.CohortSpec getCohortSpec(); /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
@@ -381,6 +463,8 @@ com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
   com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * If false or unspecified, each row with all metrics equal to 0 will not be
    * returned. If true, these rows will be returned if they are not separately
@@ -388,17 +472,21 @@ com.google.analytics.data.v1beta.PivotOrBuilder getPivotsOrBuilder(
    * 
* * bool keep_empty_rows = 10; + * * @return The keepEmptyRows. */ boolean getKeepEmptyRows(); /** + * + * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 11; + * * @return The returnPropertyQuota. */ boolean getReturnPropertyQuota(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java similarity index 83% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java index f2d94b1c..9dfbd55d 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponse.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The response pivot report table corresponding to a pivot request.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunPivotReportResponse} */ -public final class RunPivotReportResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunPivotReportResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunPivotReportResponse) RunPivotReportResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunPivotReportResponse.newBuilder() to construct. private RunPivotReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunPivotReportResponse() { pivotHeaders_ = java.util.Collections.emptyList(); dimensionHeaders_ = java.util.Collections.emptyList(); @@ -30,16 +48,15 @@ private RunPivotReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunPivotReportResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RunPivotReportResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,97 +76,118 @@ private RunPivotReportResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pivotHeaders_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pivotHeaders_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + pivotHeaders_.add( + input.readMessage( + com.google.analytics.data.v1beta.PivotHeader.parser(), extensionRegistry)); + break; } - pivotHeaders_.add( - input.readMessage(com.google.analytics.data.v1beta.PivotHeader.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - dimensionHeaders_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + dimensionHeaders_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + dimensionHeaders_.add( + input.readMessage( + com.google.analytics.data.v1beta.DimensionHeader.parser(), + extensionRegistry)); + break; } - dimensionHeaders_.add( - input.readMessage(com.google.analytics.data.v1beta.DimensionHeader.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - metricHeaders_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + metricHeaders_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + metricHeaders_.add( + input.readMessage( + com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); + break; } - metricHeaders_.add( - input.readMessage(com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - rows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 34: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + rows_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + rows_.add( + input.readMessage( + com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; } - rows_.add( - input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - aggregates_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - aggregates_.add( - input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; - } - case 50: { - com.google.analytics.data.v1beta.ResponseMetaData.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(com.google.analytics.data.v1beta.ResponseMetaData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); + case 42: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + aggregates_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + aggregates_.add( + input.readMessage( + com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; } + case 50: + { + com.google.analytics.data.v1beta.ResponseMetaData.Builder subBuilder = null; + if (metadata_ != null) { + subBuilder = metadata_.toBuilder(); + } + metadata_ = + input.readMessage( + com.google.analytics.data.v1beta.ResponseMetaData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metadata_); + metadata_ = subBuilder.buildPartial(); + } - break; - } - case 58: { - com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; - if (propertyQuota_ != null) { - subBuilder = propertyQuota_.toBuilder(); - } - propertyQuota_ = input.readMessage(com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(propertyQuota_); - propertyQuota_ = subBuilder.buildPartial(); + break; } + case 58: + { + com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; + if (propertyQuota_ != null) { + subBuilder = propertyQuota_.toBuilder(); + } + propertyQuota_ = + input.readMessage( + com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(propertyQuota_); + propertyQuota_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - kind_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + kind_ = 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)) { pivotHeaders_ = java.util.Collections.unmodifiableList(pivotHeaders_); @@ -170,22 +208,27 @@ private RunPivotReportResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunPivotReportResponse.class, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunPivotReportResponse.class, + com.google.analytics.data.v1beta.RunPivotReportResponse.Builder.class); } public static final int PIVOT_HEADERS_FIELD_NUMBER = 1; private java.util.List pivotHeaders_; /** + * + * *
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -229,6 +272,8 @@ public java.util.List getPivotHead
     return pivotHeaders_;
   }
   /**
+   *
+   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -268,11 +313,13 @@ public java.util.List getPivotHead
    * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getPivotHeadersOrBuilderList() {
     return pivotHeaders_;
   }
   /**
+   *
+   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -316,6 +363,8 @@ public int getPivotHeadersCount() {
     return pivotHeaders_.size();
   }
   /**
+   *
+   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -359,6 +408,8 @@ public com.google.analytics.data.v1beta.PivotHeader getPivotHeaders(int index) {
     return pivotHeaders_.get(index);
   }
   /**
+   *
+   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -398,14 +449,15 @@ public com.google.analytics.data.v1beta.PivotHeader getPivotHeaders(int index) {
    * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(int index) {
     return pivotHeaders_.get(index);
   }
 
   public static final int DIMENSION_HEADERS_FIELD_NUMBER = 2;
   private java.util.List dimensionHeaders_;
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -414,10 +466,13 @@ public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBu
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
    */
   @java.lang.Override
-  public java.util.List getDimensionHeadersList() {
+  public java.util.List
+      getDimensionHeadersList() {
     return dimensionHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -426,11 +481,13 @@ public java.util.List getDimen
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDimensionHeadersOrBuilderList() {
     return dimensionHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -443,6 +500,8 @@ public int getDimensionHeadersCount() {
     return dimensionHeaders_.size();
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -455,6 +514,8 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
     return dimensionHeaders_.get(index);
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -471,6 +532,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
   public static final int METRIC_HEADERS_FIELD_NUMBER = 3;
   private java.util.List metricHeaders_;
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -483,6 +546,8 @@ public java.util.List getMetricHe
     return metricHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -491,11 +556,13 @@ public java.util.List getMetricHe
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricHeadersOrBuilderList() {
     return metricHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -508,6 +575,8 @@ public int getMetricHeadersCount() {
     return metricHeaders_.size();
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -520,6 +589,8 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
     return metricHeaders_.get(index);
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -536,6 +607,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
   public static final int ROWS_FIELD_NUMBER = 4;
   private java.util.List rows_;
   /**
+   *
+   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -547,6 +620,8 @@ public java.util.List getRowsList() { return rows_; } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -554,11 +629,13 @@ public java.util.List getRowsList() { * repeated .google.analytics.data.v1beta.Row rows = 4; */ @java.lang.Override - public java.util.List + public java.util.List getRowsOrBuilderList() { return rows_; } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -570,6 +647,8 @@ public int getRowsCount() { return rows_.size(); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -581,6 +660,8 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { return rows_.get(index); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -588,14 +669,15 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { * repeated .google.analytics.data.v1beta.Row rows = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { return rows_.get(index); } public static final int AGGREGATES_FIELD_NUMBER = 5; private java.util.List aggregates_; /** + * + * *
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -610,6 +692,8 @@ public java.util.List getAggregatesList()
     return aggregates_;
   }
   /**
+   *
+   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -620,11 +704,13 @@ public java.util.List getAggregatesList()
    * repeated .google.analytics.data.v1beta.Row aggregates = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAggregatesOrBuilderList() {
     return aggregates_;
   }
   /**
+   *
+   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -639,6 +725,8 @@ public int getAggregatesCount() {
     return aggregates_.size();
   }
   /**
+   *
+   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -653,6 +741,8 @@ public com.google.analytics.data.v1beta.Row getAggregates(int index) {
     return aggregates_.get(index);
   }
   /**
+   *
+   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -663,19 +753,21 @@ public com.google.analytics.data.v1beta.Row getAggregates(int index) {
    * repeated .google.analytics.data.v1beta.Row aggregates = 5;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(int index) {
     return aggregates_.get(index);
   }
 
   public static final int METADATA_FIELD_NUMBER = 6;
   private com.google.analytics.data.v1beta.ResponseMetaData metadata_;
   /**
+   *
+   *
    * 
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -683,18 +775,25 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; + * * @return The metadata. */ @java.lang.Override public com.google.analytics.data.v1beta.ResponseMetaData getMetadata() { - return metadata_ == null ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() + : metadata_; } /** + * + * *
    * Metadata for the report.
    * 
@@ -709,11 +808,14 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB public static final int PROPERTY_QUOTA_FIELD_NUMBER = 7; private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; + * * @return Whether the propertyQuota field is set. */ @java.lang.Override @@ -721,18 +823,25 @@ public boolean hasPropertyQuota() { return propertyQuota_ != null; } /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; + * * @return The propertyQuota. */ @java.lang.Override public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { - return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; + return propertyQuota_ == null + ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() + : propertyQuota_; } /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
@@ -747,6 +856,8 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO public static final int KIND_FIELD_NUMBER = 8; private volatile java.lang.Object kind_; /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -754,6 +865,7 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
    * 
* * string kind = 8; + * * @return The kind. */ @java.lang.Override @@ -762,14 +874,15 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -777,16 +890,15 @@ public java.lang.String getKind() {
    * 
* * string kind = 8; + * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -795,6 +907,7 @@ public java.lang.String getKind() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -806,8 +919,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < pivotHeaders_.size(); i++) { output.writeMessage(1, pivotHeaders_.get(i)); } @@ -842,32 +954,25 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < pivotHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, pivotHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, pivotHeaders_.get(i)); } for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, dimensionHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensionHeaders_.get(i)); } for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, metricHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metricHeaders_.get(i)); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, rows_.get(i)); } for (int i = 0; i < aggregates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, aggregates_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, aggregates_.get(i)); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetadata()); } if (propertyQuota_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getPropertyQuota()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPropertyQuota()); } if (!getKindBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kind_); @@ -880,35 +985,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.analytics.data.v1beta.RunPivotReportResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.RunPivotReportResponse other = (com.google.analytics.data.v1beta.RunPivotReportResponse) obj; + com.google.analytics.data.v1beta.RunPivotReportResponse other = + (com.google.analytics.data.v1beta.RunPivotReportResponse) obj; - if (!getPivotHeadersList() - .equals(other.getPivotHeadersList())) return false; - if (!getDimensionHeadersList() - .equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList() - .equals(other.getMetricHeadersList())) return false; - if (!getRowsList() - .equals(other.getRowsList())) return false; - if (!getAggregatesList() - .equals(other.getAggregatesList())) return false; + if (!getPivotHeadersList().equals(other.getPivotHeadersList())) return false; + if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; + if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; + if (!getRowsList().equals(other.getRowsList())) return false; + if (!getAggregatesList().equals(other.getAggregatesList())) 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 (hasPropertyQuota() != other.hasPropertyQuota()) return false; if (hasPropertyQuota()) { - if (!getPropertyQuota() - .equals(other.getPropertyQuota())) return false; + if (!getPropertyQuota().equals(other.getPropertyQuota())) return false; } - if (!getKind() - .equals(other.getKind())) return false; + if (!getKind().equals(other.getKind())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -956,117 +1054,127 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunPivotReportResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunPivotReportResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.RunPivotReportResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.RunPivotReportResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 response pivot report table corresponding to a pivot request.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunPivotReportResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunPivotReportResponse) com.google.analytics.data.v1beta.RunPivotReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunPivotReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunPivotReportResponse.class, com.google.analytics.data.v1beta.RunPivotReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunPivotReportResponse.class, + com.google.analytics.data.v1beta.RunPivotReportResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunPivotReportResponse.newBuilder() @@ -1074,14 +1182,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPivotHeadersFieldBuilder(); getDimensionHeadersFieldBuilder(); getMetricHeadersFieldBuilder(); @@ -1089,6 +1196,7 @@ private void maybeForceBuilderInitialization() { getAggregatesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1140,9 +1248,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunPivotReportResponse_descriptor; } @java.lang.Override @@ -1161,7 +1269,8 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.RunPivotReportResponse buildPartial() { - com.google.analytics.data.v1beta.RunPivotReportResponse result = new com.google.analytics.data.v1beta.RunPivotReportResponse(this); + com.google.analytics.data.v1beta.RunPivotReportResponse result = + new com.google.analytics.data.v1beta.RunPivotReportResponse(this); int from_bitField0_ = bitField0_; if (pivotHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1227,38 +1336,39 @@ public com.google.analytics.data.v1beta.RunPivotReportResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunPivotReportResponse) { - return mergeFrom((com.google.analytics.data.v1beta.RunPivotReportResponse)other); + return mergeFrom((com.google.analytics.data.v1beta.RunPivotReportResponse) other); } else { super.mergeFrom(other); return this; @@ -1266,7 +1376,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse other) { - if (other == com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.RunPivotReportResponse.getDefaultInstance()) + return this; if (pivotHeadersBuilder_ == null) { if (!other.pivotHeaders_.isEmpty()) { if (pivotHeaders_.isEmpty()) { @@ -1285,9 +1396,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse pivotHeadersBuilder_ = null; pivotHeaders_ = other.pivotHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - pivotHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPivotHeadersFieldBuilder() : null; + pivotHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPivotHeadersFieldBuilder() + : null; } else { pivotHeadersBuilder_.addAllMessages(other.pivotHeaders_); } @@ -1311,9 +1423,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse dimensionHeadersBuilder_ = null; dimensionHeaders_ = other.dimensionHeaders_; bitField0_ = (bitField0_ & ~0x00000002); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionHeadersFieldBuilder() : null; + dimensionHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionHeadersFieldBuilder() + : null; } else { dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); } @@ -1337,9 +1450,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse metricHeadersBuilder_ = null; metricHeaders_ = other.metricHeaders_; bitField0_ = (bitField0_ & ~0x00000004); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricHeadersFieldBuilder() : null; + metricHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricHeadersFieldBuilder() + : null; } else { metricHeadersBuilder_.addAllMessages(other.metricHeaders_); } @@ -1363,9 +1477,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000008); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRowsFieldBuilder() : null; + rowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRowsFieldBuilder() + : null; } else { rowsBuilder_.addAllMessages(other.rows_); } @@ -1389,9 +1504,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunPivotReportResponse aggregatesBuilder_ = null; aggregates_ = other.aggregates_; bitField0_ = (bitField0_ & ~0x00000010); - aggregatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAggregatesFieldBuilder() : null; + aggregatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAggregatesFieldBuilder() + : null; } else { aggregatesBuilder_.addAllMessages(other.aggregates_); } @@ -1426,7 +1542,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.RunPivotReportResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.RunPivotReportResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1435,21 +1552,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List pivotHeaders_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePivotHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pivotHeaders_ = new java.util.ArrayList(pivotHeaders_); + pivotHeaders_ = + new java.util.ArrayList(pivotHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.PivotHeader, com.google.analytics.data.v1beta.PivotHeader.Builder, com.google.analytics.data.v1beta.PivotHeaderOrBuilder> pivotHeadersBuilder_; + com.google.analytics.data.v1beta.PivotHeader, + com.google.analytics.data.v1beta.PivotHeader.Builder, + com.google.analytics.data.v1beta.PivotHeaderOrBuilder> + pivotHeadersBuilder_; /** + * + * *
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1496,6 +1621,8 @@ public java.util.List getPivotHead
       }
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1542,6 +1669,8 @@ public int getPivotHeadersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1588,6 +1717,8 @@ public com.google.analytics.data.v1beta.PivotHeader getPivotHeaders(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1626,8 +1757,7 @@ public com.google.analytics.data.v1beta.PivotHeader getPivotHeaders(int index) {
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public Builder setPivotHeaders(
-        int index, com.google.analytics.data.v1beta.PivotHeader value) {
+    public Builder setPivotHeaders(int index, com.google.analytics.data.v1beta.PivotHeader value) {
       if (pivotHeadersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1641,6 +1771,8 @@ public Builder setPivotHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1691,6 +1823,8 @@ public Builder setPivotHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1743,6 +1877,8 @@ public Builder addPivotHeaders(com.google.analytics.data.v1beta.PivotHeader valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1781,8 +1917,7 @@ public Builder addPivotHeaders(com.google.analytics.data.v1beta.PivotHeader valu
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public Builder addPivotHeaders(
-        int index, com.google.analytics.data.v1beta.PivotHeader value) {
+    public Builder addPivotHeaders(int index, com.google.analytics.data.v1beta.PivotHeader value) {
       if (pivotHeadersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1796,6 +1931,8 @@ public Builder addPivotHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1846,6 +1983,8 @@ public Builder addPivotHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1896,6 +2035,8 @@ public Builder addPivotHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1938,8 +2079,7 @@ public Builder addAllPivotHeaders(
         java.lang.Iterable values) {
       if (pivotHeadersBuilder_ == null) {
         ensurePivotHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, pivotHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pivotHeaders_);
         onChanged();
       } else {
         pivotHeadersBuilder_.addAllMessages(values);
@@ -1947,6 +2087,8 @@ public Builder addAllPivotHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -1996,6 +2138,8 @@ public Builder clearPivotHeaders() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2045,6 +2189,8 @@ public Builder removePivotHeaders(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2083,11 +2229,12 @@ public Builder removePivotHeaders(int index) {
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public com.google.analytics.data.v1beta.PivotHeader.Builder getPivotHeadersBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.PivotHeader.Builder getPivotHeadersBuilder(int index) {
       return getPivotHeadersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2129,11 +2276,14 @@ public com.google.analytics.data.v1beta.PivotHeader.Builder getPivotHeadersBuild
     public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
         int index) {
       if (pivotHeadersBuilder_ == null) {
-        return pivotHeaders_.get(index);  } else {
+        return pivotHeaders_.get(index);
+      } else {
         return pivotHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2172,8 +2322,8 @@ public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBu
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public java.util.List 
-         getPivotHeadersOrBuilderList() {
+    public java.util.List
+        getPivotHeadersOrBuilderList() {
       if (pivotHeadersBuilder_ != null) {
         return pivotHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2181,6 +2331,8 @@ public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2220,10 +2372,12 @@ public com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBu
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
     public com.google.analytics.data.v1beta.PivotHeader.Builder addPivotHeadersBuilder() {
-      return getPivotHeadersFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.PivotHeader.getDefaultInstance());
+      return getPivotHeadersFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.PivotHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2262,12 +2416,13 @@ public com.google.analytics.data.v1beta.PivotHeader.Builder addPivotHeadersBuild
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public com.google.analytics.data.v1beta.PivotHeader.Builder addPivotHeadersBuilder(
-        int index) {
-      return getPivotHeadersFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.PivotHeader.getDefaultInstance());
+    public com.google.analytics.data.v1beta.PivotHeader.Builder addPivotHeadersBuilder(int index) {
+      return getPivotHeadersFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.PivotHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Summarizes the columns and rows created by a pivot. Each pivot in the
      * request produces one header in the response. If we have a request like
@@ -2306,38 +2461,49 @@ public com.google.analytics.data.v1beta.PivotHeader.Builder addPivotHeadersBuild
      *
      * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
      */
-    public java.util.List 
-         getPivotHeadersBuilderList() {
+    public java.util.List
+        getPivotHeadersBuilderList() {
       return getPivotHeadersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.PivotHeader, com.google.analytics.data.v1beta.PivotHeader.Builder, com.google.analytics.data.v1beta.PivotHeaderOrBuilder> 
+            com.google.analytics.data.v1beta.PivotHeader,
+            com.google.analytics.data.v1beta.PivotHeader.Builder,
+            com.google.analytics.data.v1beta.PivotHeaderOrBuilder>
         getPivotHeadersFieldBuilder() {
       if (pivotHeadersBuilder_ == null) {
-        pivotHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.PivotHeader, com.google.analytics.data.v1beta.PivotHeader.Builder, com.google.analytics.data.v1beta.PivotHeaderOrBuilder>(
-                pivotHeaders_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        pivotHeadersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.PivotHeader,
+                com.google.analytics.data.v1beta.PivotHeader.Builder,
+                com.google.analytics.data.v1beta.PivotHeaderOrBuilder>(
+                pivotHeaders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         pivotHeaders_ = null;
       }
       return pivotHeadersBuilder_;
     }
 
     private java.util.List dimensionHeaders_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureDimensionHeadersIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        dimensionHeaders_ = new java.util.ArrayList(dimensionHeaders_);
+        dimensionHeaders_ =
+            new java.util.ArrayList(
+                dimensionHeaders_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> dimensionHeadersBuilder_;
+            com.google.analytics.data.v1beta.DimensionHeader,
+            com.google.analytics.data.v1beta.DimensionHeader.Builder,
+            com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>
+        dimensionHeadersBuilder_;
 
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2345,7 +2511,8 @@ private void ensureDimensionHeadersIsMutable() {
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
      */
-    public java.util.List getDimensionHeadersList() {
+    public java.util.List
+        getDimensionHeadersList() {
       if (dimensionHeadersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(dimensionHeaders_);
       } else {
@@ -2353,6 +2520,8 @@ public java.util.List getDimen
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2368,6 +2537,8 @@ public int getDimensionHeadersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2383,6 +2554,8 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2405,6 +2578,8 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2424,6 +2599,8 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2445,6 +2622,8 @@ public Builder addDimensionHeaders(com.google.analytics.data.v1beta.DimensionHea
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2467,6 +2646,8 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2486,6 +2667,8 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2505,6 +2688,8 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2516,8 +2701,7 @@ public Builder addAllDimensionHeaders(
         java.lang.Iterable values) {
       if (dimensionHeadersBuilder_ == null) {
         ensureDimensionHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dimensionHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_);
         onChanged();
       } else {
         dimensionHeadersBuilder_.addAllMessages(values);
@@ -2525,6 +2709,8 @@ public Builder addAllDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2543,6 +2729,8 @@ public Builder clearDimensionHeaders() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2561,6 +2749,8 @@ public Builder removeDimensionHeaders(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2573,6 +2763,8 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
       return getDimensionHeadersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2583,11 +2775,14 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
     public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
         int index) {
       if (dimensionHeadersBuilder_ == null) {
-        return dimensionHeaders_.get(index);  } else {
+        return dimensionHeaders_.get(index);
+      } else {
         return dimensionHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2595,8 +2790,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
      */
-    public java.util.List 
-         getDimensionHeadersOrBuilderList() {
+    public java.util.List
+        getDimensionHeadersOrBuilderList() {
       if (dimensionHeadersBuilder_ != null) {
         return dimensionHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2604,6 +2799,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2612,10 +2809,12 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder() {
-      return getDimensionHeadersFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2625,10 +2824,12 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder(
         int index) {
-      return getDimensionHeadersFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -2636,16 +2837,22 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
      */
-    public java.util.List 
-         getDimensionHeadersBuilderList() {
+    public java.util.List
+        getDimensionHeadersBuilderList() {
       return getDimensionHeadersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> 
+            com.google.analytics.data.v1beta.DimensionHeader,
+            com.google.analytics.data.v1beta.DimensionHeader.Builder,
+            com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>
         getDimensionHeadersFieldBuilder() {
       if (dimensionHeadersBuilder_ == null) {
-        dimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
+        dimensionHeadersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.DimensionHeader,
+                com.google.analytics.data.v1beta.DimensionHeader.Builder,
+                com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
                 dimensionHeaders_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2656,18 +2863,25 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
     }
 
     private java.util.List metricHeaders_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMetricHeadersIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        metricHeaders_ = new java.util.ArrayList(metricHeaders_);
+        metricHeaders_ =
+            new java.util.ArrayList(metricHeaders_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> metricHeadersBuilder_;
+            com.google.analytics.data.v1beta.MetricHeader,
+            com.google.analytics.data.v1beta.MetricHeader.Builder,
+            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
+        metricHeadersBuilder_;
 
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2683,6 +2897,8 @@ public java.util.List getMetricHe
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2698,6 +2914,8 @@ public int getMetricHeadersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2713,6 +2931,8 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2735,6 +2955,8 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2754,6 +2976,8 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2775,6 +2999,8 @@ public Builder addMetricHeaders(com.google.analytics.data.v1beta.MetricHeader va
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2797,6 +3023,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2816,6 +3044,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2835,6 +3065,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2846,8 +3078,7 @@ public Builder addAllMetricHeaders(
         java.lang.Iterable values) {
       if (metricHeadersBuilder_ == null) {
         ensureMetricHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metricHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_);
         onChanged();
       } else {
         metricHeadersBuilder_.addAllMessages(values);
@@ -2855,6 +3086,8 @@ public Builder addAllMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2873,6 +3106,8 @@ public Builder clearMetricHeaders() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2891,6 +3126,8 @@ public Builder removeMetricHeaders(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2903,6 +3140,8 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
       return getMetricHeadersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2913,11 +3152,14 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
     public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
         int index) {
       if (metricHeadersBuilder_ == null) {
-        return metricHeaders_.get(index);  } else {
+        return metricHeaders_.get(index);
+      } else {
         return metricHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2925,8 +3167,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
      */
-    public java.util.List 
-         getMetricHeadersOrBuilderList() {
+    public java.util.List
+        getMetricHeadersOrBuilderList() {
       if (metricHeadersBuilder_ != null) {
         return metricHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2934,6 +3176,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2942,10 +3186,12 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder() {
-      return getMetricHeadersFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2955,10 +3201,12 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder(
         int index) {
-      return getMetricHeadersFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2966,16 +3214,22 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
      */
-    public java.util.List 
-         getMetricHeadersBuilderList() {
+    public java.util.List
+        getMetricHeadersBuilderList() {
       return getMetricHeadersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> 
+            com.google.analytics.data.v1beta.MetricHeader,
+            com.google.analytics.data.v1beta.MetricHeader.Builder,
+            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
         getMetricHeadersFieldBuilder() {
       if (metricHeadersBuilder_ == null) {
-        metricHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
+        metricHeadersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.MetricHeader,
+                com.google.analytics.data.v1beta.MetricHeader.Builder,
+                com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
                 metricHeaders_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -2986,18 +3240,24 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
     }
 
     private java.util.List rows_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000008;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> rowsBuilder_;
+            com.google.analytics.data.v1beta.Row,
+            com.google.analytics.data.v1beta.Row.Builder,
+            com.google.analytics.data.v1beta.RowOrBuilder>
+        rowsBuilder_;
 
     /**
+     *
+     *
      * 
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3012,6 +3272,8 @@ public java.util.List getRowsList() { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3026,6 +3288,8 @@ public int getRowsCount() { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3040,14 +3304,15 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public Builder setRows( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder setRows(int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3061,6 +3326,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3079,6 +3346,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3099,14 +3368,15 @@ public Builder addRows(com.google.analytics.data.v1beta.Row value) { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public Builder addRows( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder addRows(int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3120,14 +3390,15 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public Builder addRows( - com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addRows(com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -3138,6 +3409,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3156,6 +3429,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3166,8 +3441,7 @@ public Builder addAllRows( java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); @@ -3175,6 +3449,8 @@ public Builder addAllRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3192,6 +3468,8 @@ public Builder clearRows() { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3209,39 +3487,44 @@ public Builder removeRows(int index) { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder( - int index) { + public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder(int index) { return getRowsFieldBuilder().getBuilder(index); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { if (rowsBuilder_ == null) { - return rows_.get(index); } else { + return rows_.get(index); + } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -3249,6 +3532,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -3256,60 +3541,71 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( * repeated .google.analytics.data.v1beta.Row rows = 4; */ public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getRowsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder( - int index) { - return getRowsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder(int index) { + return getRowsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - public java.util.List - getRowsBuilderList() { + public java.util.List getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( - rows_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + rowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder>( + rows_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; } private java.util.List aggregates_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAggregatesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { aggregates_ = new java.util.ArrayList(aggregates_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> aggregatesBuilder_; + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> + aggregatesBuilder_; /** + * + * *
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3327,6 +3623,8 @@ public java.util.List getAggregatesList()
       }
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3344,6 +3642,8 @@ public int getAggregatesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3361,6 +3661,8 @@ public com.google.analytics.data.v1beta.Row getAggregates(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3370,8 +3672,7 @@ public com.google.analytics.data.v1beta.Row getAggregates(int index) {
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public Builder setAggregates(
-        int index, com.google.analytics.data.v1beta.Row value) {
+    public Builder setAggregates(int index, com.google.analytics.data.v1beta.Row value) {
       if (aggregatesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3385,6 +3686,8 @@ public Builder setAggregates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3406,6 +3709,8 @@ public Builder setAggregates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3429,6 +3734,8 @@ public Builder addAggregates(com.google.analytics.data.v1beta.Row value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3438,8 +3745,7 @@ public Builder addAggregates(com.google.analytics.data.v1beta.Row value) {
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public Builder addAggregates(
-        int index, com.google.analytics.data.v1beta.Row value) {
+    public Builder addAggregates(int index, com.google.analytics.data.v1beta.Row value) {
       if (aggregatesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3453,6 +3759,8 @@ public Builder addAggregates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3462,8 +3770,7 @@ public Builder addAggregates(
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public Builder addAggregates(
-        com.google.analytics.data.v1beta.Row.Builder builderForValue) {
+    public Builder addAggregates(com.google.analytics.data.v1beta.Row.Builder builderForValue) {
       if (aggregatesBuilder_ == null) {
         ensureAggregatesIsMutable();
         aggregates_.add(builderForValue.build());
@@ -3474,6 +3781,8 @@ public Builder addAggregates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3495,6 +3804,8 @@ public Builder addAggregates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3508,8 +3819,7 @@ public Builder addAllAggregates(
         java.lang.Iterable values) {
       if (aggregatesBuilder_ == null) {
         ensureAggregatesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, aggregates_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregates_);
         onChanged();
       } else {
         aggregatesBuilder_.addAllMessages(values);
@@ -3517,6 +3827,8 @@ public Builder addAllAggregates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3537,6 +3849,8 @@ public Builder clearAggregates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3557,6 +3871,8 @@ public Builder removeAggregates(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3566,11 +3882,12 @@ public Builder removeAggregates(int index) {
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public com.google.analytics.data.v1beta.Row.Builder getAggregatesBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.Row.Builder getAggregatesBuilder(int index) {
       return getAggregatesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3580,14 +3897,16 @@ public com.google.analytics.data.v1beta.Row.Builder getAggregatesBuilder(
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(int index) {
       if (aggregatesBuilder_ == null) {
-        return aggregates_.get(index);  } else {
+        return aggregates_.get(index);
+      } else {
         return aggregatesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3597,8 +3916,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public java.util.List 
-         getAggregatesOrBuilderList() {
+    public java.util.List
+        getAggregatesOrBuilderList() {
       if (aggregatesBuilder_ != null) {
         return aggregatesBuilder_.getMessageOrBuilderList();
       } else {
@@ -3606,6 +3925,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3616,10 +3937,12 @@ public com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
     public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder() {
-      return getAggregatesFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.Row.getDefaultInstance());
+      return getAggregatesFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3629,12 +3952,13 @@ public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder() {
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder(
-        int index) {
-      return getAggregatesFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.Row.getDefaultInstance());
+    public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder(int index) {
+      return getAggregatesFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Aggregation of metric values. Can be totals, minimums, or maximums. The
      * returned aggregations are controlled by the metric_aggregations in the
@@ -3644,20 +3968,22 @@ public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder(
      *
      * repeated .google.analytics.data.v1beta.Row aggregates = 5;
      */
-    public java.util.List 
-         getAggregatesBuilderList() {
+    public java.util.List getAggregatesBuilderList() {
       return getAggregatesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> 
+            com.google.analytics.data.v1beta.Row,
+            com.google.analytics.data.v1beta.Row.Builder,
+            com.google.analytics.data.v1beta.RowOrBuilder>
         getAggregatesFieldBuilder() {
       if (aggregatesBuilder_ == null) {
-        aggregatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>(
-                aggregates_,
-                ((bitField0_ & 0x00000010) != 0),
-                getParentForChildren(),
-                isClean());
+        aggregatesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.Row,
+                com.google.analytics.data.v1beta.Row.Builder,
+                com.google.analytics.data.v1beta.RowOrBuilder>(
+                aggregates_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
         aggregates_ = null;
       }
       return aggregatesBuilder_;
@@ -3665,34 +3991,47 @@ public com.google.analytics.data.v1beta.Row.Builder addAggregatesBuilder(
 
     private com.google.analytics.data.v1beta.ResponseMetaData metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> metadataBuilder_;
+            com.google.analytics.data.v1beta.ResponseMetaData,
+            com.google.analytics.data.v1beta.ResponseMetaData.Builder,
+            com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Metadata for the report.
      * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Metadata for the report.
      * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; + * * @return The metadata. */ public com.google.analytics.data.v1beta.ResponseMetaData getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Metadata for the report.
      * 
@@ -3713,6 +4052,8 @@ public Builder setMetadata(com.google.analytics.data.v1beta.ResponseMetaData val return this; } /** + * + * *
      * Metadata for the report.
      * 
@@ -3731,6 +4072,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Metadata for the report.
      * 
@@ -3741,7 +4084,9 @@ public Builder mergeMetadata(com.google.analytics.data.v1beta.ResponseMetaData v if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.analytics.data.v1beta.ResponseMetaData.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.ResponseMetaData.newBuilder(metadata_) + .mergeFrom(value) + .buildPartial(); } else { metadata_ = value; } @@ -3753,6 +4098,8 @@ public Builder mergeMetadata(com.google.analytics.data.v1beta.ResponseMetaData v return this; } /** + * + * *
      * Metadata for the report.
      * 
@@ -3771,6 +4118,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Metadata for the report.
      * 
@@ -3778,11 +4127,13 @@ public Builder clearMetadata() { * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; */ public com.google.analytics.data.v1beta.ResponseMetaData.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Metadata for the report.
      * 
@@ -3793,11 +4144,14 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() + : metadata_; } } /** + * + * *
      * Metadata for the report.
      * 
@@ -3805,14 +4159,17 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> + com.google.analytics.data.v1beta.ResponseMetaData, + com.google.analytics.data.v1beta.ResponseMetaData.Builder, + com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.ResponseMetaData, + com.google.analytics.data.v1beta.ResponseMetaData.Builder, + com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; @@ -3820,34 +4177,47 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> propertyQuotaBuilder_; + com.google.analytics.data.v1beta.PropertyQuota, + com.google.analytics.data.v1beta.PropertyQuota.Builder, + com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> + propertyQuotaBuilder_; /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; + * * @return Whether the propertyQuota field is set. */ public boolean hasPropertyQuota() { return propertyQuotaBuilder_ != null || propertyQuota_ != null; } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; + * * @return The propertyQuota. */ public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { if (propertyQuotaBuilder_ == null) { - return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; + return propertyQuota_ == null + ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() + : propertyQuota_; } else { return propertyQuotaBuilder_.getMessage(); } } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3868,6 +4238,8 @@ public Builder setPropertyQuota(com.google.analytics.data.v1beta.PropertyQuota v return this; } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3886,6 +4258,8 @@ public Builder setPropertyQuota( return this; } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3896,7 +4270,9 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota if (propertyQuotaBuilder_ == null) { if (propertyQuota_ != null) { propertyQuota_ = - com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_) + .mergeFrom(value) + .buildPartial(); } else { propertyQuota_ = value; } @@ -3908,6 +4284,8 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota return this; } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3926,6 +4304,8 @@ public Builder clearPropertyQuota() { return this; } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3933,11 +4313,13 @@ public Builder clearPropertyQuota() { * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; */ public com.google.analytics.data.v1beta.PropertyQuota.Builder getPropertyQuotaBuilder() { - + onChanged(); return getPropertyQuotaFieldBuilder().getBuilder(); } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3948,11 +4330,14 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO if (propertyQuotaBuilder_ != null) { return propertyQuotaBuilder_.getMessageOrBuilder(); } else { - return propertyQuota_ == null ? - com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; + return propertyQuota_ == null + ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() + : propertyQuota_; } } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3960,14 +4345,17 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> + com.google.analytics.data.v1beta.PropertyQuota, + com.google.analytics.data.v1beta.PropertyQuota.Builder, + com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> getPropertyQuotaFieldBuilder() { if (propertyQuotaBuilder_ == null) { - propertyQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( - getPropertyQuota(), - getParentForChildren(), - isClean()); + propertyQuotaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.PropertyQuota, + com.google.analytics.data.v1beta.PropertyQuota.Builder, + com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( + getPropertyQuota(), getParentForChildren(), isClean()); propertyQuota_ = null; } return propertyQuotaBuilder_; @@ -3975,6 +4363,8 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO private java.lang.Object kind_ = ""; /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -3982,13 +4372,13 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
      * 
* * string kind = 8; + * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -3997,6 +4387,8 @@ public java.lang.String getKind() { } } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -4004,15 +4396,14 @@ public java.lang.String getKind() {
      * 
* * string kind = 8; + * * @return The bytes for kind. */ - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -4020,6 +4411,8 @@ public java.lang.String getKind() { } } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -4027,20 +4420,22 @@ public java.lang.String getKind() {
      * 
* * string kind = 8; + * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind( - java.lang.String value) { + public Builder setKind(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -4048,15 +4443,18 @@ public Builder setKind(
      * 
* * string kind = 8; + * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -4064,23 +4462,23 @@ public Builder clearKind() {
      * 
* * string kind = 8; + * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { + public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = 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); } @@ -4090,12 +4488,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunPivotReportResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunPivotReportResponse) private static final com.google.analytics.data.v1beta.RunPivotReportResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunPivotReportResponse(); } @@ -4104,16 +4502,16 @@ public static com.google.analytics.data.v1beta.RunPivotReportResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunPivotReportResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunPivotReportResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunPivotReportResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunPivotReportResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4128,6 +4526,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.RunPivotReportResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java similarity index 90% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java index b2a774f0..2a889094 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunPivotReportResponseOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface RunPivotReportResponseOrBuilder extends +public interface RunPivotReportResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunPivotReportResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -46,9 +64,10 @@ public interface RunPivotReportResponseOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
    */
-  java.util.List 
-      getPivotHeadersList();
+  java.util.List getPivotHeadersList();
   /**
+   *
+   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -89,6 +108,8 @@ public interface RunPivotReportResponseOrBuilder extends
    */
   com.google.analytics.data.v1beta.PivotHeader getPivotHeaders(int index);
   /**
+   *
+   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -129,6 +150,8 @@ public interface RunPivotReportResponseOrBuilder extends
    */
   int getPivotHeadersCount();
   /**
+   *
+   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -167,9 +190,11 @@ public interface RunPivotReportResponseOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
    */
-  java.util.List 
+  java.util.List
       getPivotHeadersOrBuilderList();
   /**
+   *
+   *
    * 
    * Summarizes the columns and rows created by a pivot. Each pivot in the
    * request produces one header in the response. If we have a request like
@@ -208,10 +233,11 @@ public interface RunPivotReportResponseOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.PivotHeader pivot_headers = 1;
    */
-  com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -219,9 +245,10 @@ com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
    */
-  java.util.List 
-      getDimensionHeadersList();
+  java.util.List getDimensionHeadersList();
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -231,6 +258,8 @@ com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
    */
   com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int index);
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -240,6 +269,8 @@ com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
    */
   int getDimensionHeadersCount();
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -247,9 +278,11 @@ com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
    */
-  java.util.List 
+  java.util.List
       getDimensionHeadersOrBuilderList();
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -257,10 +290,11 @@ com.google.analytics.data.v1beta.PivotHeaderOrBuilder getPivotHeadersOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 2;
    */
-  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -268,9 +302,10 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
    */
-  java.util.List 
-      getMetricHeadersList();
+  java.util.List getMetricHeadersList();
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -280,6 +315,8 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    */
   com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index);
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -289,6 +326,8 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    */
   int getMetricHeadersCount();
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -296,9 +335,11 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
    */
-  java.util.List 
+  java.util.List
       getMetricHeadersOrBuilderList();
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -306,19 +347,21 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 3;
    */
-  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - java.util.List - getRowsList(); + java.util.List getRowsList(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -327,6 +370,8 @@ com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder */ com.google.analytics.data.v1beta.Row getRows(int index); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -335,25 +380,29 @@ com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder */ int getRowsCount(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - java.util.List - getRowsOrBuilderList(); + java.util.List getRowsOrBuilderList(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 4; */ - com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( - int index); + com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index); /** + * + * *
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -363,9 +412,10 @@ com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Row aggregates = 5;
    */
-  java.util.List 
-      getAggregatesList();
+  java.util.List getAggregatesList();
   /**
+   *
+   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -377,6 +427,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(
    */
   com.google.analytics.data.v1beta.Row getAggregates(int index);
   /**
+   *
+   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -388,6 +440,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(
    */
   int getAggregatesCount();
   /**
+   *
+   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -397,9 +451,11 @@ com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Row aggregates = 5;
    */
-  java.util.List 
+  java.util.List
       getAggregatesOrBuilderList();
   /**
+   *
+   *
    * 
    * Aggregation of metric values. Can be totals, minimums, or maximums. The
    * returned aggregations are controlled by the metric_aggregations in the
@@ -409,28 +465,35 @@ com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.Row aggregates = 5;
    */
-  com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 6; + * * @return The metadata. */ com.google.analytics.data.v1beta.ResponseMetaData getMetadata(); /** + * + * *
    * Metadata for the report.
    * 
@@ -440,24 +503,32 @@ com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder( com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrBuilder(); /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; + * * @return Whether the propertyQuota field is set. */ boolean hasPropertyQuota(); /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 7; + * * @return The propertyQuota. */ com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota(); /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
@@ -467,6 +538,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder( com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder(); /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -474,10 +547,13 @@ com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
    * 
* * string kind = 8; + * * @return The kind. */ java.lang.String getKind(); /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runPivotReport". Useful to distinguish between
@@ -485,8 +561,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getAggregatesOrBuilder(
    * 
* * string kind = 8; + * * @return The bytes for kind. */ - com.google.protobuf.ByteString - getKindBytes(); + com.google.protobuf.ByteString getKindBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java similarity index 79% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java index 7807ae0f..fb94d77e 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The request to generate a realtime report.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunRealtimeReportRequest} */ -public final class RunRealtimeReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunRealtimeReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunRealtimeReportRequest) RunRealtimeReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunRealtimeReportRequest.newBuilder() to construct. private RunRealtimeReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunRealtimeReportRequest() { property_ = ""; dimensions_ = java.util.Collections.emptyList(); @@ -30,16 +48,15 @@ private RunRealtimeReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunRealtimeReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RunRealtimeReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,121 +76,140 @@ private RunRealtimeReportRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dimensions_.add( - input.readMessage(com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + property_ = s; + break; } - metrics_.add( - input.readMessage(com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); - break; - } - case 34: { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (dimensionFilter_ != null) { - subBuilder = dimensionFilter_.toBuilder(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dimensions_.add( + input.readMessage( + com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); + break; } - dimensionFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionFilter_); - dimensionFilter_ = subBuilder.buildPartial(); + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metrics_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + metrics_.add( + input.readMessage( + com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); + break; } + case 34: + { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (dimensionFilter_ != null) { + subBuilder = dimensionFilter_.toBuilder(); + } + dimensionFilter_ = + input.readMessage( + com.google.analytics.data.v1beta.FilterExpression.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dimensionFilter_); + dimensionFilter_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (metricFilter_ != null) { - subBuilder = metricFilter_.toBuilder(); - } - metricFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricFilter_); - metricFilter_ = subBuilder.buildPartial(); + break; } + case 42: + { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (metricFilter_ != null) { + subBuilder = metricFilter_.toBuilder(); + } + metricFilter_ = + input.readMessage( + com.google.analytics.data.v1beta.FilterExpression.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricFilter_); + metricFilter_ = subBuilder.buildPartial(); + } - break; - } - case 48: { - - limit_ = input.readInt64(); - break; - } - case 56: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + break; } - metricAggregations_.add(rawValue); - break; - } - case 58: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 48: + { + limit_ = input.readInt64(); + break; + } + case 56: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000004) != 0)) { metricAggregations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } metricAggregations_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - orderBys_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 58: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + metricAggregations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + metricAggregations_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - orderBys_.add( - input.readMessage(com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); - break; - } - case 72: { - - returnPropertyQuota_ = input.readBool(); - break; - } - case 82: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - minuteRanges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + case 66: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + orderBys_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + orderBys_.add( + input.readMessage( + com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); + break; } - minuteRanges_.add( - input.readMessage(com.google.analytics.data.v1beta.MinuteRange.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 72: + { + returnPropertyQuota_ = input.readBool(); + break; + } + case 82: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + minuteRanges_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + minuteRanges_.add( + input.readMessage( + com.google.analytics.data.v1beta.MinuteRange.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)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -194,22 +230,27 @@ private RunRealtimeReportRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, com.google.analytics.data.v1beta.RunRealtimeReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, + com.google.analytics.data.v1beta.RunRealtimeReportRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -219,6 +260,7 @@ private RunRealtimeReportRequest(
    * 
* * string property = 1; + * * @return The property. */ @java.lang.Override @@ -227,14 +269,15 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -244,16 +287,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -264,6 +306,8 @@ public java.lang.String getProperty() { public static final int DIMENSIONS_FIELD_NUMBER = 2; private java.util.List dimensions_; /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -275,6 +319,8 @@ public java.util.List getDimensionsL return dimensions_; } /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -282,11 +328,13 @@ public java.util.List getDimensionsL * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ @java.lang.Override - public java.util.List + public java.util.List getDimensionsOrBuilderList() { return dimensions_; } /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -298,6 +346,8 @@ public int getDimensionsCount() { return dimensions_.size(); } /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -309,6 +359,8 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { return dimensions_.get(index); } /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -316,14 +368,15 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) { return dimensions_.get(index); } public static final int METRICS_FIELD_NUMBER = 3; private java.util.List metrics_; /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -335,6 +388,8 @@ public java.util.List getMetricsList() return metrics_; } /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -342,11 +397,13 @@ public java.util.List getMetricsList() * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ @java.lang.Override - public java.util.List + public java.util.List getMetricsOrBuilderList() { return metrics_; } /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -358,6 +415,8 @@ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -369,6 +428,8 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { return metrics_.get(index); } /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -376,20 +437,22 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) { return metrics_.get(index); } public static final int DIMENSION_FILTER_FIELD_NUMBER = 4; private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_; /** + * + * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return Whether the dimensionFilter field is set. */ @java.lang.Override @@ -397,19 +460,26 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** + * + * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return The dimensionFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { - return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : dimensionFilter_; } /** + * + * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
@@ -425,6 +495,8 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
   public static final int METRIC_FILTER_FIELD_NUMBER = 5;
   private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
   /**
+   *
+   *
    * 
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -432,6 +504,7 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return Whether the metricFilter field is set. */ @java.lang.Override @@ -439,6 +512,8 @@ public boolean hasMetricFilter() { return metricFilter_ != null; } /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -446,13 +521,18 @@ public boolean hasMetricFilter() {
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return The metricFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { - return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : metricFilter_; } /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -469,6 +549,8 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
   public static final int LIMIT_FIELD_NUMBER = 6;
   private long limit_;
   /**
+   *
+   *
    * 
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -481,6 +563,7 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
    * 
* * int64 limit = 6; + * * @return The limit. */ @java.lang.Override @@ -491,36 +574,49 @@ public long getLimit() { public static final int METRIC_AGGREGATIONS_FIELD_NUMBER = 7; private java.util.List metricAggregations_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> metricAggregations_converter_ = + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> + metricAggregations_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>() { - public com.google.analytics.data.v1beta.MetricAggregation convert(java.lang.Integer from) { + public com.google.analytics.data.v1beta.MetricAggregation convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricAggregation result = com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); - return result == null ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.MetricAggregation result = + com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); + return result == null + ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED + : result; } }; /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * * @return A list containing the metricAggregations. */ @java.lang.Override - public java.util.List getMetricAggregationsList() { + public java.util.List + getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( + metricAggregations_, metricAggregations_converter_); } /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * * @return The count of metricAggregations. */ @java.lang.Override @@ -528,12 +624,15 @@ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -542,26 +641,31 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * * @return A list containing the enum numeric values on the wire for metricAggregations. */ @java.lang.Override - public java.util.List - getMetricAggregationsValueList() { + public java.util.List getMetricAggregationsValueList() { return metricAggregations_; } /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -569,11 +673,14 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } + private int metricAggregationsMemoizedSerializedSize; public static final int ORDER_BYS_FIELD_NUMBER = 8; private java.util.List orderBys_; /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -585,6 +692,8 @@ public java.util.List getOrderBysList( return orderBys_; } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -592,11 +701,13 @@ public java.util.List getOrderBysList( * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ @java.lang.Override - public java.util.List + public java.util.List getOrderBysOrBuilderList() { return orderBys_; } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -608,6 +719,8 @@ public int getOrderBysCount() { return orderBys_.size(); } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -619,6 +732,8 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { return orderBys_.get(index); } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -626,20 +741,22 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( - int index) { + public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) { return orderBys_.get(index); } public static final int RETURN_PROPERTY_QUOTA_FIELD_NUMBER = 9; private boolean returnPropertyQuota_; /** + * + * *
    * Toggles whether to return the current state of this Analytics Property's
    * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 9; + * * @return The returnPropertyQuota. */ @java.lang.Override @@ -650,6 +767,8 @@ public boolean getReturnPropertyQuota() { public static final int MINUTE_RANGES_FIELD_NUMBER = 10; private java.util.List minuteRanges_; /** + * + * *
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -665,6 +784,8 @@ public java.util.List getMinuteRan
     return minuteRanges_;
   }
   /**
+   *
+   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -676,11 +797,13 @@ public java.util.List getMinuteRan
    * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMinuteRangesOrBuilderList() {
     return minuteRanges_;
   }
   /**
+   *
+   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -696,6 +819,8 @@ public int getMinuteRangesCount() {
     return minuteRanges_.size();
   }
   /**
+   *
+   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -711,6 +836,8 @@ public com.google.analytics.data.v1beta.MinuteRange getMinuteRanges(int index) {
     return minuteRanges_.get(index);
   }
   /**
+   *
+   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -722,12 +849,12 @@ public com.google.analytics.data.v1beta.MinuteRange getMinuteRanges(int index) {
    * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBuilder(int index) {
     return minuteRanges_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -739,8 +866,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 (!getPropertyBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_);
@@ -789,48 +915,41 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_);
     }
     for (int i = 0; i < dimensions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, dimensions_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i));
     }
     for (int i = 0; i < metrics_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, metrics_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i));
     }
     if (dimensionFilter_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getDimensionFilter());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDimensionFilter());
     }
     if (metricFilter_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getMetricFilter());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetricFilter());
     }
     if (limit_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(6, limit_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, limit_);
     }
     {
       int dataSize = 0;
       for (int i = 0; i < metricAggregations_.size(); i++) {
-        dataSize += com.google.protobuf.CodedOutputStream
-          .computeEnumSizeNoTag(metricAggregations_.get(i));
+        dataSize +=
+            com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(metricAggregations_.get(i));
       }
       size += dataSize;
-      if (!getMetricAggregationsList().isEmpty()) {  size += 1;
-        size += com.google.protobuf.CodedOutputStream
-          .computeUInt32SizeNoTag(dataSize);
-      }metricAggregationsMemoizedSerializedSize = dataSize;
+      if (!getMetricAggregationsList().isEmpty()) {
+        size += 1;
+        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
+      }
+      metricAggregationsMemoizedSerializedSize = dataSize;
     }
     for (int i = 0; i < orderBys_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, orderBys_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, orderBys_.get(i));
     }
     if (returnPropertyQuota_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(9, returnPropertyQuota_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, returnPropertyQuota_);
     }
     for (int i = 0; i < minuteRanges_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, minuteRanges_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, minuteRanges_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -840,38 +959,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.analytics.data.v1beta.RunRealtimeReportRequest)) {
       return super.equals(obj);
     }
-    com.google.analytics.data.v1beta.RunRealtimeReportRequest other = (com.google.analytics.data.v1beta.RunRealtimeReportRequest) obj;
+    com.google.analytics.data.v1beta.RunRealtimeReportRequest other =
+        (com.google.analytics.data.v1beta.RunRealtimeReportRequest) obj;
 
-    if (!getProperty()
-        .equals(other.getProperty())) return false;
-    if (!getDimensionsList()
-        .equals(other.getDimensionsList())) return false;
-    if (!getMetricsList()
-        .equals(other.getMetricsList())) return false;
+    if (!getProperty().equals(other.getProperty())) return false;
+    if (!getDimensionsList().equals(other.getDimensionsList())) return false;
+    if (!getMetricsList().equals(other.getMetricsList())) return false;
     if (hasDimensionFilter() != other.hasDimensionFilter()) return false;
     if (hasDimensionFilter()) {
-      if (!getDimensionFilter()
-          .equals(other.getDimensionFilter())) return false;
+      if (!getDimensionFilter().equals(other.getDimensionFilter())) return false;
     }
     if (hasMetricFilter() != other.hasMetricFilter()) return false;
     if (hasMetricFilter()) {
-      if (!getMetricFilter()
-          .equals(other.getMetricFilter())) return false;
+      if (!getMetricFilter().equals(other.getMetricFilter())) return false;
     }
-    if (getLimit()
-        != other.getLimit()) return false;
+    if (getLimit() != other.getLimit()) return false;
     if (!metricAggregations_.equals(other.metricAggregations_)) return false;
-    if (!getOrderBysList()
-        .equals(other.getOrderBysList())) return false;
-    if (getReturnPropertyQuota()
-        != other.getReturnPropertyQuota()) return false;
-    if (!getMinuteRangesList()
-        .equals(other.getMinuteRangesList())) return false;
+    if (!getOrderBysList().equals(other.getOrderBysList())) return false;
+    if (getReturnPropertyQuota() != other.getReturnPropertyQuota()) return false;
+    if (!getMinuteRangesList().equals(other.getMinuteRangesList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -902,8 +1013,7 @@ public int hashCode() {
       hash = (53 * hash) + getMetricFilter().hashCode();
     }
     hash = (37 * hash) + LIMIT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getLimit());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit());
     if (getMetricAggregationsCount() > 0) {
       hash = (37 * hash) + METRIC_AGGREGATIONS_FIELD_NUMBER;
       hash = (53 * hash) + metricAggregations_.hashCode();
@@ -913,8 +1023,7 @@ public int hashCode() {
       hash = (53 * hash) + getOrderBysList().hashCode();
     }
     hash = (37 * hash) + RETURN_PROPERTY_QUOTA_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getReturnPropertyQuota());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPropertyQuota());
     if (getMinuteRangesCount() > 0) {
       hash = (37 * hash) + MINUTE_RANGES_FIELD_NUMBER;
       hash = (53 * hash) + getMinuteRangesList().hashCode();
@@ -925,117 +1034,127 @@ public int hashCode() {
   }
 
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.data.v1beta.RunRealtimeReportRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.analytics.data.v1beta.RunRealtimeReportRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.analytics.data.v1beta.RunRealtimeReportRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 request to generate a realtime report.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunRealtimeReportRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunRealtimeReportRequest) com.google.analytics.data.v1beta.RunRealtimeReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, com.google.analytics.data.v1beta.RunRealtimeReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunRealtimeReportRequest.class, + com.google.analytics.data.v1beta.RunRealtimeReportRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunRealtimeReportRequest.newBuilder() @@ -1043,20 +1162,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDimensionsFieldBuilder(); getMetricsFieldBuilder(); getOrderBysFieldBuilder(); getMinuteRangesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1108,9 +1227,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunRealtimeReportRequest_descriptor; } @java.lang.Override @@ -1129,7 +1248,8 @@ public com.google.analytics.data.v1beta.RunRealtimeReportRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.RunRealtimeReportRequest buildPartial() { - com.google.analytics.data.v1beta.RunRealtimeReportRequest result = new com.google.analytics.data.v1beta.RunRealtimeReportRequest(this); + com.google.analytics.data.v1beta.RunRealtimeReportRequest result = + new com.google.analytics.data.v1beta.RunRealtimeReportRequest(this); int from_bitField0_ = bitField0_; result.property_ = property_; if (dimensionsBuilder_ == null) { @@ -1193,38 +1313,39 @@ public com.google.analytics.data.v1beta.RunRealtimeReportRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunRealtimeReportRequest) { - return mergeFrom((com.google.analytics.data.v1beta.RunRealtimeReportRequest)other); + return mergeFrom((com.google.analytics.data.v1beta.RunRealtimeReportRequest) other); } else { super.mergeFrom(other); return this; @@ -1232,7 +1353,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRequest other) { - if (other == com.google.analytics.data.v1beta.RunRealtimeReportRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.RunRealtimeReportRequest.getDefaultInstance()) + return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -1255,9 +1377,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportReque dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionsFieldBuilder() : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionsFieldBuilder() + : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -1281,9 +1404,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportReque metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricsFieldBuilder() : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricsFieldBuilder() + : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -1326,9 +1450,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportReque orderBysBuilder_ = null; orderBys_ = other.orderBys_; bitField0_ = (bitField0_ & ~0x00000008); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOrderBysFieldBuilder() : null; + orderBysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOrderBysFieldBuilder() + : null; } else { orderBysBuilder_.addAllMessages(other.orderBys_); } @@ -1355,9 +1480,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportReque minuteRangesBuilder_ = null; minuteRanges_ = other.minuteRanges_; bitField0_ = (bitField0_ & ~0x00000010); - minuteRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMinuteRangesFieldBuilder() : null; + minuteRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMinuteRangesFieldBuilder() + : null; } else { minuteRangesBuilder_.addAllMessages(other.minuteRanges_); } @@ -1382,7 +1508,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.RunRealtimeReportRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.RunRealtimeReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1391,10 +1518,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1404,13 +1534,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1419,6 +1549,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1428,15 +1560,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -1444,6 +1575,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1453,20 +1586,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { + public Builder setProperty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1476,15 +1611,18 @@ public Builder setProperty(
      * 
* * string property = 1; + * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1494,34 +1632,41 @@ public Builder clearProperty() {
      * 
* * string property = 1; + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List dimensions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(dimensions_); + dimensions_ = + new java.util.ArrayList(dimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> dimensionsBuilder_; + com.google.analytics.data.v1beta.Dimension, + com.google.analytics.data.v1beta.Dimension.Builder, + com.google.analytics.data.v1beta.DimensionOrBuilder> + dimensionsBuilder_; /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1536,6 +1681,8 @@ public java.util.List getDimensionsL } } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1550,6 +1697,8 @@ public int getDimensionsCount() { } } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1564,14 +1713,15 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { } } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public Builder setDimensions( - int index, com.google.analytics.data.v1beta.Dimension value) { + public Builder setDimensions(int index, com.google.analytics.data.v1beta.Dimension value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1585,6 +1735,8 @@ public Builder setDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1603,6 +1755,8 @@ public Builder setDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1623,14 +1777,15 @@ public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) { return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public Builder addDimensions( - int index, com.google.analytics.data.v1beta.Dimension value) { + public Builder addDimensions(int index, com.google.analytics.data.v1beta.Dimension value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1644,6 +1799,8 @@ public Builder addDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1662,6 +1819,8 @@ public Builder addDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1680,6 +1839,8 @@ public Builder addDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1690,8 +1851,7 @@ public Builder addAllDimensions( java.lang.Iterable values) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); onChanged(); } else { dimensionsBuilder_.addAllMessages(values); @@ -1699,6 +1859,8 @@ public Builder addAllDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1716,6 +1878,8 @@ public Builder clearDimensions() { return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1733,39 +1897,44 @@ public Builder removeDimensions(int index) { return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder( - int index) { + public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(int index) { return getDimensionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) { if (dimensionsBuilder_ == null) { - return dimensions_.get(index); } else { + return dimensions_.get(index); + } else { return dimensionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public java.util.List - getDimensionsOrBuilderList() { + public java.util.List + getDimensionsOrBuilderList() { if (dimensionsBuilder_ != null) { return dimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -1773,6 +1942,8 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde } } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1780,60 +1951,72 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder() { - return getDimensionsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); + return getDimensionsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder( - int index) { - return getDimensionsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); + public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(int index) { + return getDimensionsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public java.util.List - getDimensionsBuilderList() { + public java.util.List + getDimensionsBuilderList() { return getDimensionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> + com.google.analytics.data.v1beta.Dimension, + com.google.analytics.data.v1beta.Dimension.Builder, + com.google.analytics.data.v1beta.DimensionOrBuilder> getDimensionsFieldBuilder() { if (dimensionsBuilder_ == null) { - dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder>( - dimensions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dimensionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Dimension, + com.google.analytics.data.v1beta.Dimension.Builder, + com.google.analytics.data.v1beta.DimensionOrBuilder>( + dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dimensions_ = null; } return dimensionsBuilder_; } private java.util.List metrics_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { metrics_ = new java.util.ArrayList(metrics_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> metricsBuilder_; + com.google.analytics.data.v1beta.Metric, + com.google.analytics.data.v1beta.Metric.Builder, + com.google.analytics.data.v1beta.MetricOrBuilder> + metricsBuilder_; /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -1848,6 +2031,8 @@ public java.util.List getMetricsList() } } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -1862,6 +2047,8 @@ public int getMetricsCount() { } } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -1876,14 +2063,15 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { } } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder setMetrics( - int index, com.google.analytics.data.v1beta.Metric value) { + public Builder setMetrics(int index, com.google.analytics.data.v1beta.Metric value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1897,6 +2085,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -1915,6 +2105,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -1935,14 +2127,15 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) { return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder addMetrics( - int index, com.google.analytics.data.v1beta.Metric value) { + public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1956,14 +2149,15 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder addMetrics( - com.google.analytics.data.v1beta.Metric.Builder builderForValue) { + public Builder addMetrics(com.google.analytics.data.v1beta.Metric.Builder builderForValue) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); metrics_.add(builderForValue.build()); @@ -1974,6 +2168,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -1992,6 +2188,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2002,8 +2200,7 @@ public Builder addAllMetrics( java.lang.Iterable values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -2011,6 +2208,8 @@ public Builder addAllMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2028,6 +2227,8 @@ public Builder clearMetrics() { return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2045,39 +2246,44 @@ public Builder removeMetrics(int index) { return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder( - int index) { + public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(int index) { return getMetricsFieldBuilder().getBuilder(index); } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) { if (metricsBuilder_ == null) { - return metrics_.get(index); } else { + return metrics_.get(index); + } else { return metricsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public java.util.List - getMetricsOrBuilderList() { + public java.util.List + getMetricsOrBuilderList() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilderList(); } else { @@ -2085,6 +2291,8 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( } } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2092,42 +2300,47 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() { - return getMetricsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Metric.getDefaultInstance()); + return getMetricsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Metric.getDefaultInstance()); } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder( - int index) { - return getMetricsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Metric.getDefaultInstance()); + public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(int index) { + return getMetricsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Metric.getDefaultInstance()); } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public java.util.List - getMetricsBuilderList() { + public java.util.List getMetricsBuilderList() { return getMetricsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> + com.google.analytics.data.v1beta.Metric, + com.google.analytics.data.v1beta.Metric.Builder, + com.google.analytics.data.v1beta.MetricOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { - metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder>( - metrics_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + metricsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Metric, + com.google.analytics.data.v1beta.Metric.Builder, + com.google.analytics.data.v1beta.MetricOrBuilder>( + metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); metrics_ = null; } return metricsBuilder_; @@ -2135,36 +2348,49 @@ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder( private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> dimensionFilterBuilder_; + com.google.analytics.data.v1beta.FilterExpression, + com.google.analytics.data.v1beta.FilterExpression.Builder, + com.google.analytics.data.v1beta.FilterExpressionOrBuilder> + dimensionFilterBuilder_; /** + * + * *
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return Whether the dimensionFilter field is set. */ public boolean hasDimensionFilter() { return dimensionFilterBuilder_ != null || dimensionFilter_ != null; } /** + * + * *
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return The dimensionFilter. */ public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : dimensionFilter_; } else { return dimensionFilterBuilder_.getMessage(); } } /** + * + * *
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2186,6 +2412,8 @@ public Builder setDimensionFilter(com.google.analytics.data.v1beta.FilterExpress
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2205,6 +2433,8 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2216,7 +2446,9 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       if (dimensionFilterBuilder_ == null) {
         if (dimensionFilter_ != null) {
           dimensionFilter_ =
-            com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dimensionFilter_ = value;
         }
@@ -2228,6 +2460,8 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2247,6 +2481,8 @@ public Builder clearDimensionFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2255,11 +2491,13 @@ public Builder clearDimensionFilter() {
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFilterBuilder() {
-      
+
       onChanged();
       return getDimensionFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2267,15 +2505,19 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
      *
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      */
-    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder() {
+    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder
+        getDimensionFilterOrBuilder() {
       if (dimensionFilterBuilder_ != null) {
         return dimensionFilterBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionFilter_ == null ?
-            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_;
+        return dimensionFilter_ == null
+            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
+            : dimensionFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * The filter clause of dimensions. Dimensions must be requested to be used in
      * this filter. Metrics cannot be used in this filter.
@@ -2284,14 +2526,17 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
         getDimensionFilterFieldBuilder() {
       if (dimensionFilterBuilder_ == null) {
-        dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getDimensionFilter(),
-                getParentForChildren(),
-                isClean());
+        dimensionFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.FilterExpression,
+                com.google.analytics.data.v1beta.FilterExpression.Builder,
+                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getDimensionFilter(), getParentForChildren(), isClean());
         dimensionFilter_ = null;
       }
       return dimensionFilterBuilder_;
@@ -2299,8 +2544,13 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
 
     private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> metricFilterBuilder_;
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        metricFilterBuilder_;
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2308,12 +2558,15 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return Whether the metricFilter field is set. */ public boolean hasMetricFilter() { return metricFilterBuilder_ != null || metricFilter_ != null; } /** + * + * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2321,16 +2574,21 @@ public boolean hasMetricFilter() {
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return The metricFilter. */ public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { if (metricFilterBuilder_ == null) { - return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : metricFilter_; } else { return metricFilterBuilder_.getMessage(); } } /** + * + * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2353,6 +2611,8 @@ public Builder setMetricFilter(com.google.analytics.data.v1beta.FilterExpression
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2373,6 +2633,8 @@ public Builder setMetricFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2385,7 +2647,9 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       if (metricFilterBuilder_ == null) {
         if (metricFilter_ != null) {
           metricFilter_ =
-            com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metricFilter_ = value;
         }
@@ -2397,6 +2661,8 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2417,6 +2683,8 @@ public Builder clearMetricFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2426,11 +2694,13 @@ public Builder clearMetricFilter() {
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 5;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getMetricFilterBuilder() {
-      
+
       onChanged();
       return getMetricFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2443,11 +2713,14 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
       if (metricFilterBuilder_ != null) {
         return metricFilterBuilder_.getMessageOrBuilder();
       } else {
-        return metricFilter_ == null ?
-            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_;
+        return metricFilter_ == null
+            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
+            : metricFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -2457,21 +2730,26 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
         getMetricFilterFieldBuilder() {
       if (metricFilterBuilder_ == null) {
-        metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getMetricFilter(),
-                getParentForChildren(),
-                isClean());
+        metricFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.FilterExpression,
+                com.google.analytics.data.v1beta.FilterExpression.Builder,
+                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getMetricFilter(), getParentForChildren(), isClean());
         metricFilter_ = null;
       }
       return metricFilterBuilder_;
     }
 
-    private long limit_ ;
+    private long limit_;
     /**
+     *
+     *
      * 
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -2484,6 +2762,7 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * 
* * int64 limit = 6; + * * @return The limit. */ @java.lang.Override @@ -2491,6 +2770,8 @@ public long getLimit() { return limit_; } /** + * + * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -2503,16 +2784,19 @@ public long getLimit() {
      * 
* * int64 limit = 6; + * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; onChanged(); return this; } /** + * + * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -2525,17 +2809,19 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 6; + * * @return This builder for chaining. */ public Builder clearLimit() { - + limit_ = 0L; onChanged(); return this; } private java.util.List metricAggregations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricAggregationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { metricAggregations_ = new java.util.ArrayList(metricAggregations_); @@ -2543,37 +2829,51 @@ private void ensureMetricAggregationsIsMutable() { } } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @return A list containing the metricAggregations. */ - public java.util.List getMetricAggregationsList() { + public java.util.List + getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( + metricAggregations_, metricAggregations_converter_); } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @return The count of metricAggregations. */ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -2581,12 +2881,16 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @param index The index to set the value at. * @param value The metricAggregations to set. * @return This builder for chaining. @@ -2602,12 +2906,16 @@ public Builder setMetricAggregations( return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @param value The metricAggregations to add. * @return This builder for chaining. */ @@ -2621,12 +2929,16 @@ public Builder addMetricAggregations(com.google.analytics.data.v1beta.MetricAggr return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @param values The metricAggregations to add. * @return This builder for chaining. */ @@ -2640,12 +2952,16 @@ public Builder addAllMetricAggregations( return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @return This builder for chaining. */ public Builder clearMetricAggregations() { @@ -2655,25 +2971,32 @@ public Builder clearMetricAggregations() { return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @return A list containing the enum numeric values on the wire for metricAggregations. */ - public java.util.List - getMetricAggregationsValueList() { + public java.util.List getMetricAggregationsValueList() { return java.util.Collections.unmodifiableList(metricAggregations_); } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -2681,30 +3004,37 @@ public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. * @return This builder for chaining. */ - public Builder setMetricAggregationsValue( - int index, int value) { + public Builder setMetricAggregationsValue(int index, int value) { ensureMetricAggregationsIsMutable(); metricAggregations_.set(index, value); onChanged(); return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @param value The enum numeric value on the wire for metricAggregations to add. * @return This builder for chaining. */ @@ -2715,17 +3045,20 @@ public Builder addMetricAggregationsValue(int value) { return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * + * * @param values The enum numeric values on the wire for metricAggregations to add. * @return This builder for chaining. */ - public Builder addAllMetricAggregationsValue( - java.lang.Iterable values) { + public Builder addAllMetricAggregationsValue(java.lang.Iterable values) { ensureMetricAggregationsIsMutable(); for (int value : values) { metricAggregations_.add(value); @@ -2735,18 +3068,24 @@ public Builder addAllMetricAggregationsValue( } private java.util.List orderBys_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOrderBysIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { orderBys_ = new java.util.ArrayList(orderBys_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> orderBysBuilder_; + com.google.analytics.data.v1beta.OrderBy, + com.google.analytics.data.v1beta.OrderBy.Builder, + com.google.analytics.data.v1beta.OrderByOrBuilder> + orderBysBuilder_; /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -2761,6 +3100,8 @@ public java.util.List getOrderBysList( } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -2775,6 +3116,8 @@ public int getOrderBysCount() { } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -2789,14 +3132,15 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public Builder setOrderBys( - int index, com.google.analytics.data.v1beta.OrderBy value) { + public Builder setOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2810,6 +3154,8 @@ public Builder setOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -2828,6 +3174,8 @@ public Builder setOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -2848,14 +3196,15 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy value) { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public Builder addOrderBys( - int index, com.google.analytics.data.v1beta.OrderBy value) { + public Builder addOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2869,14 +3218,15 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public Builder addOrderBys( - com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) { + public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) { if (orderBysBuilder_ == null) { ensureOrderBysIsMutable(); orderBys_.add(builderForValue.build()); @@ -2887,6 +3237,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -2905,6 +3257,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -2915,8 +3269,7 @@ public Builder addAllOrderBys( java.lang.Iterable values) { if (orderBysBuilder_ == null) { ensureOrderBysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, orderBys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_); onChanged(); } else { orderBysBuilder_.addAllMessages(values); @@ -2924,6 +3277,8 @@ public Builder addAllOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -2941,6 +3296,8 @@ public Builder clearOrderBys() { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -2958,39 +3315,44 @@ public Builder removeOrderBys(int index) { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder( - int index) { + public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder(int index) { return getOrderBysFieldBuilder().getBuilder(index); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( - int index) { + public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) { if (orderBysBuilder_ == null) { - return orderBys_.get(index); } else { + return orderBys_.get(index); + } else { return orderBysBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public java.util.List - getOrderBysOrBuilderList() { + public java.util.List + getOrderBysOrBuilderList() { if (orderBysBuilder_ != null) { return orderBysBuilder_.getMessageOrBuilderList(); } else { @@ -2998,6 +3360,8 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3005,55 +3369,64 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder() { - return getOrderBysFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); + return getOrderBysFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder( - int index) { - return getOrderBysFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); + public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(int index) { + return getOrderBysFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - public java.util.List - getOrderBysBuilderList() { + public java.util.List + getOrderBysBuilderList() { return getOrderBysFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> + com.google.analytics.data.v1beta.OrderBy, + com.google.analytics.data.v1beta.OrderBy.Builder, + com.google.analytics.data.v1beta.OrderByOrBuilder> getOrderBysFieldBuilder() { if (orderBysBuilder_ == null) { - orderBysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder>( - orderBys_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + orderBysBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy, + com.google.analytics.data.v1beta.OrderBy.Builder, + com.google.analytics.data.v1beta.OrderByOrBuilder>( + orderBys_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); orderBys_ = null; } return orderBysBuilder_; } - private boolean returnPropertyQuota_ ; + private boolean returnPropertyQuota_; /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 9; + * * @return The returnPropertyQuota. */ @java.lang.Override @@ -3061,50 +3434,63 @@ public boolean getReturnPropertyQuota() { return returnPropertyQuota_; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 9; + * * @param value The returnPropertyQuota to set. * @return This builder for chaining. */ public Builder setReturnPropertyQuota(boolean value) { - + returnPropertyQuota_ = value; onChanged(); return this; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 9; + * * @return This builder for chaining. */ public Builder clearReturnPropertyQuota() { - + returnPropertyQuota_ = false; onChanged(); return this; } private java.util.List minuteRanges_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMinuteRangesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - minuteRanges_ = new java.util.ArrayList(minuteRanges_); + minuteRanges_ = + new java.util.ArrayList(minuteRanges_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.MinuteRange, com.google.analytics.data.v1beta.MinuteRange.Builder, com.google.analytics.data.v1beta.MinuteRangeOrBuilder> minuteRangesBuilder_; + com.google.analytics.data.v1beta.MinuteRange, + com.google.analytics.data.v1beta.MinuteRange.Builder, + com.google.analytics.data.v1beta.MinuteRangeOrBuilder> + minuteRangesBuilder_; /** + * + * *
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3123,6 +3509,8 @@ public java.util.List getMinuteRan
       }
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3141,6 +3529,8 @@ public int getMinuteRangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3159,6 +3549,8 @@ public com.google.analytics.data.v1beta.MinuteRange getMinuteRanges(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3169,8 +3561,7 @@ public com.google.analytics.data.v1beta.MinuteRange getMinuteRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public Builder setMinuteRanges(
-        int index, com.google.analytics.data.v1beta.MinuteRange value) {
+    public Builder setMinuteRanges(int index, com.google.analytics.data.v1beta.MinuteRange value) {
       if (minuteRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3184,6 +3575,8 @@ public Builder setMinuteRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3206,6 +3599,8 @@ public Builder setMinuteRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3230,6 +3625,8 @@ public Builder addMinuteRanges(com.google.analytics.data.v1beta.MinuteRange valu
       return this;
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3240,8 +3637,7 @@ public Builder addMinuteRanges(com.google.analytics.data.v1beta.MinuteRange valu
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public Builder addMinuteRanges(
-        int index, com.google.analytics.data.v1beta.MinuteRange value) {
+    public Builder addMinuteRanges(int index, com.google.analytics.data.v1beta.MinuteRange value) {
       if (minuteRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3255,6 +3651,8 @@ public Builder addMinuteRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3277,6 +3675,8 @@ public Builder addMinuteRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3299,6 +3699,8 @@ public Builder addMinuteRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3313,8 +3715,7 @@ public Builder addAllMinuteRanges(
         java.lang.Iterable values) {
       if (minuteRangesBuilder_ == null) {
         ensureMinuteRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, minuteRanges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, minuteRanges_);
         onChanged();
       } else {
         minuteRangesBuilder_.addAllMessages(values);
@@ -3322,6 +3723,8 @@ public Builder addAllMinuteRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3343,6 +3746,8 @@ public Builder clearMinuteRanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3364,6 +3769,8 @@ public Builder removeMinuteRanges(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3374,11 +3781,12 @@ public Builder removeMinuteRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public com.google.analytics.data.v1beta.MinuteRange.Builder getMinuteRangesBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.MinuteRange.Builder getMinuteRangesBuilder(int index) {
       return getMinuteRangesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3392,11 +3800,14 @@ public com.google.analytics.data.v1beta.MinuteRange.Builder getMinuteRangesBuild
     public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBuilder(
         int index) {
       if (minuteRangesBuilder_ == null) {
-        return minuteRanges_.get(index);  } else {
+        return minuteRanges_.get(index);
+      } else {
         return minuteRangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3407,8 +3818,8 @@ public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBu
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public java.util.List 
-         getMinuteRangesOrBuilderList() {
+    public java.util.List
+        getMinuteRangesOrBuilderList() {
       if (minuteRangesBuilder_ != null) {
         return minuteRangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -3416,6 +3827,8 @@ public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBu
       }
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3427,10 +3840,12 @@ public com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBu
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
     public com.google.analytics.data.v1beta.MinuteRange.Builder addMinuteRangesBuilder() {
-      return getMinuteRangesFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.MinuteRange.getDefaultInstance());
+      return getMinuteRangesFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.MinuteRange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3441,12 +3856,13 @@ public com.google.analytics.data.v1beta.MinuteRange.Builder addMinuteRangesBuild
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public com.google.analytics.data.v1beta.MinuteRange.Builder addMinuteRangesBuilder(
-        int index) {
-      return getMinuteRangesFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.MinuteRange.getDefaultInstance());
+    public com.google.analytics.data.v1beta.MinuteRange.Builder addMinuteRangesBuilder(int index) {
+      return getMinuteRangesFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.MinuteRange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The minute ranges of event data to read. If unspecified, one minute range
      * for the last 30 minutes will be used. If multiple minute ranges are
@@ -3457,27 +3873,30 @@ public com.google.analytics.data.v1beta.MinuteRange.Builder addMinuteRangesBuild
      *
      * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
      */
-    public java.util.List 
-         getMinuteRangesBuilderList() {
+    public java.util.List
+        getMinuteRangesBuilderList() {
       return getMinuteRangesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.MinuteRange, com.google.analytics.data.v1beta.MinuteRange.Builder, com.google.analytics.data.v1beta.MinuteRangeOrBuilder> 
+            com.google.analytics.data.v1beta.MinuteRange,
+            com.google.analytics.data.v1beta.MinuteRange.Builder,
+            com.google.analytics.data.v1beta.MinuteRangeOrBuilder>
         getMinuteRangesFieldBuilder() {
       if (minuteRangesBuilder_ == null) {
-        minuteRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MinuteRange, com.google.analytics.data.v1beta.MinuteRange.Builder, com.google.analytics.data.v1beta.MinuteRangeOrBuilder>(
-                minuteRanges_,
-                ((bitField0_ & 0x00000010) != 0),
-                getParentForChildren(),
-                isClean());
+        minuteRangesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.MinuteRange,
+                com.google.analytics.data.v1beta.MinuteRange.Builder,
+                com.google.analytics.data.v1beta.MinuteRangeOrBuilder>(
+                minuteRanges_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
         minuteRanges_ = null;
       }
       return minuteRangesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3487,12 +3906,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunRealtimeReportRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunRealtimeReportRequest)
   private static final com.google.analytics.data.v1beta.RunRealtimeReportRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunRealtimeReportRequest();
   }
@@ -3501,16 +3920,16 @@ public static com.google.analytics.data.v1beta.RunRealtimeReportRequest getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RunRealtimeReportRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new RunRealtimeReportRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RunRealtimeReportRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new RunRealtimeReportRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3525,6 +3944,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.data.v1beta.RunRealtimeReportRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java
similarity index 88%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java
index 38ef3cf6..3db31e98 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
-public interface RunRealtimeReportRequestOrBuilder extends
+public interface RunRealtimeReportRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunRealtimeReportRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -17,10 +35,13 @@ public interface RunRealtimeReportRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -30,21 +51,24 @@ public interface RunRealtimeReportRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - java.util.List - getDimensionsList(); + java.util.List getDimensionsList(); /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -53,6 +77,8 @@ public interface RunRealtimeReportRequestOrBuilder extends */ com.google.analytics.data.v1beta.Dimension getDimensions(int index); /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -61,34 +87,40 @@ public interface RunRealtimeReportRequestOrBuilder extends */ int getDimensionsCount(); /** + * + * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - java.util.List + java.util.List getDimensionsOrBuilderList(); /** + * + * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( - int index); + com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index); /** + * + * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - java.util.List - getMetricsList(); + java.util.List getMetricsList(); /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -97,6 +129,8 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( */ com.google.analytics.data.v1beta.Metric getMetrics(int index); /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -105,45 +139,56 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( */ int getMetricsCount(); /** + * + * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - java.util.List + java.util.List getMetricsOrBuilderList(); /** + * + * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( - int index); + com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index); /** + * + * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return Whether the dimensionFilter field is set. */ boolean hasDimensionFilter(); /** + * + * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 4; + * * @return The dimensionFilter. */ com.google.analytics.data.v1beta.FilterExpression getDimensionFilter(); /** + * + * *
    * The filter clause of dimensions. Dimensions must be requested to be used in
    * this filter. Metrics cannot be used in this filter.
@@ -154,6 +199,8 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -161,10 +208,13 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return Whether the metricFilter field is set. */ boolean hasMetricFilter(); /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -172,10 +222,13 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 5; + * * @return The metricFilter. */ com.google.analytics.data.v1beta.FilterExpression getMetricFilter(); /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Metrics must be requested to be used in this filter.
@@ -187,6 +240,8 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -199,74 +254,92 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    * 
* * int64 limit = 6; + * * @return The limit. */ long getLimit(); /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * * @return A list containing the metricAggregations. */ java.util.List getMetricAggregationsList(); /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * * @return The count of metricAggregations. */ int getMetricAggregationsCount(); /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations(int index); /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * * @return A list containing the enum numeric values on the wire for metricAggregations. */ - java.util.List - getMetricAggregationsValueList(); + java.util.List getMetricAggregationsValueList(); /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 7; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ int getMetricAggregationsValue(int index); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - java.util.List - getOrderBysList(); + java.util.List getOrderBysList(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -275,6 +348,8 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( */ com.google.analytics.data.v1beta.OrderBy getOrderBys(int index); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -283,36 +358,44 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( */ int getOrderBysCount(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - java.util.List + java.util.List getOrderBysOrBuilderList(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 8; */ - com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( - int index); + com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index); /** + * + * *
    * Toggles whether to return the current state of this Analytics Property's
    * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 9; + * * @return The returnPropertyQuota. */ boolean getReturnPropertyQuota(); /** + * + * *
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -323,9 +406,10 @@ com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
    */
-  java.util.List 
-      getMinuteRangesList();
+  java.util.List getMinuteRangesList();
   /**
+   *
+   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -338,6 +422,8 @@ com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
    */
   com.google.analytics.data.v1beta.MinuteRange getMinuteRanges(int index);
   /**
+   *
+   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -350,6 +436,8 @@ com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
    */
   int getMinuteRangesCount();
   /**
+   *
+   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -360,9 +448,11 @@ com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
    */
-  java.util.List 
+  java.util.List
       getMinuteRangesOrBuilderList();
   /**
+   *
+   *
    * 
    * The minute ranges of event data to read. If unspecified, one minute range
    * for the last 30 minutes will be used. If multiple minute ranges are
@@ -373,6 +463,5 @@ com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.MinuteRange minute_ranges = 10;
    */
-  com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.MinuteRangeOrBuilder getMinuteRangesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java
similarity index 80%
rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java
rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java
index 07d850c4..98cec581 100644
--- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.java
+++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponse.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/analytics/data/v1beta/analytics_data_api.proto
 
 package com.google.analytics.data.v1beta;
 
 /**
+ *
+ *
  * 
  * The response realtime report table corresponding to a request.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunRealtimeReportResponse} */ -public final class RunRealtimeReportResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunRealtimeReportResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunRealtimeReportResponse) RunRealtimeReportResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunRealtimeReportResponse.newBuilder() to construct. private RunRealtimeReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunRealtimeReportResponse() { dimensionHeaders_ = java.util.Collections.emptyList(); metricHeaders_ = java.util.Collections.emptyList(); @@ -31,16 +49,15 @@ private RunRealtimeReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunRealtimeReportResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RunRealtimeReportResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,98 +77,116 @@ private RunRealtimeReportResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionHeaders_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dimensionHeaders_.add( + input.readMessage( + com.google.analytics.data.v1beta.DimensionHeader.parser(), + extensionRegistry)); + break; } - dimensionHeaders_.add( - input.readMessage(com.google.analytics.data.v1beta.DimensionHeader.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metricHeaders_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + metricHeaders_.add( + input.readMessage( + com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); + break; } - metricHeaders_.add( - input.readMessage(com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - rows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + rows_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + rows_.add( + input.readMessage( + com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; } - rows_.add( - input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - totals_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 34: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + totals_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + totals_.add( + input.readMessage( + com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; } - totals_.add( - input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - maximums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + case 42: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + maximums_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + maximums_.add( + input.readMessage( + com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; } - maximums_.add( - input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - minimums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + case 50: + { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + minimums_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + minimums_.add( + input.readMessage( + com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; } - minimums_.add( - input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; - } - case 56: { - - rowCount_ = input.readInt32(); - break; - } - case 66: { - com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; - if (propertyQuota_ != null) { - subBuilder = propertyQuota_.toBuilder(); + case 56: + { + rowCount_ = input.readInt32(); + break; } - propertyQuota_ = input.readMessage(com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(propertyQuota_); - propertyQuota_ = subBuilder.buildPartial(); + case 66: + { + com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; + if (propertyQuota_ != null) { + subBuilder = propertyQuota_.toBuilder(); + } + propertyQuota_ = + input.readMessage( + com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(propertyQuota_); + propertyQuota_ = subBuilder.buildPartial(); + } + + break; } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - - kind_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + kind_ = 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)) { dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); @@ -175,22 +210,27 @@ private RunRealtimeReportResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, com.google.analytics.data.v1beta.RunRealtimeReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, + com.google.analytics.data.v1beta.RunRealtimeReportResponse.Builder.class); } public static final int DIMENSION_HEADERS_FIELD_NUMBER = 1; private java.util.List dimensionHeaders_; /** + * + * *
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -199,10 +239,13 @@ private RunRealtimeReportResponse(
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
   @java.lang.Override
-  public java.util.List getDimensionHeadersList() {
+  public java.util.List
+      getDimensionHeadersList() {
     return dimensionHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -211,11 +254,13 @@ public java.util.List getDimen
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDimensionHeadersOrBuilderList() {
     return dimensionHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -228,6 +273,8 @@ public int getDimensionHeadersCount() {
     return dimensionHeaders_.size();
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -240,6 +287,8 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
     return dimensionHeaders_.get(index);
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -256,6 +305,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
   public static final int METRIC_HEADERS_FIELD_NUMBER = 2;
   private java.util.List metricHeaders_;
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -268,6 +319,8 @@ public java.util.List getMetricHe
     return metricHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -276,11 +329,13 @@ public java.util.List getMetricHe
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricHeadersOrBuilderList() {
     return metricHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -293,6 +348,8 @@ public int getMetricHeadersCount() {
     return metricHeaders_.size();
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -305,6 +362,8 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
     return metricHeaders_.get(index);
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -321,6 +380,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
   public static final int ROWS_FIELD_NUMBER = 3;
   private java.util.List rows_;
   /**
+   *
+   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -332,6 +393,8 @@ public java.util.List getRowsList() { return rows_; } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -339,11 +402,13 @@ public java.util.List getRowsList() { * repeated .google.analytics.data.v1beta.Row rows = 3; */ @java.lang.Override - public java.util.List + public java.util.List getRowsOrBuilderList() { return rows_; } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -355,6 +420,8 @@ public int getRowsCount() { return rows_.size(); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -366,6 +433,8 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { return rows_.get(index); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -373,14 +442,15 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { * repeated .google.analytics.data.v1beta.Row rows = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { return rows_.get(index); } public static final int TOTALS_FIELD_NUMBER = 4; private java.util.List totals_; /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -392,6 +462,8 @@ public java.util.List getTotalsList() { return totals_; } /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -399,11 +471,13 @@ public java.util.List getTotalsList() { * repeated .google.analytics.data.v1beta.Row totals = 4; */ @java.lang.Override - public java.util.List + public java.util.List getTotalsOrBuilderList() { return totals_; } /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -415,6 +489,8 @@ public int getTotalsCount() { return totals_.size(); } /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -426,6 +502,8 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { return totals_.get(index); } /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -433,14 +511,15 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { * repeated .google.analytics.data.v1beta.Row totals = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index) { return totals_.get(index); } public static final int MAXIMUMS_FIELD_NUMBER = 5; private java.util.List maximums_; /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -452,6 +531,8 @@ public java.util.List getMaximumsList() { return maximums_; } /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -459,11 +540,13 @@ public java.util.List getMaximumsList() { * repeated .google.analytics.data.v1beta.Row maximums = 5; */ @java.lang.Override - public java.util.List + public java.util.List getMaximumsOrBuilderList() { return maximums_; } /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -475,6 +558,8 @@ public int getMaximumsCount() { return maximums_.size(); } /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -486,6 +571,8 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { return maximums_.get(index); } /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -493,14 +580,15 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { * repeated .google.analytics.data.v1beta.Row maximums = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index) { return maximums_.get(index); } public static final int MINIMUMS_FIELD_NUMBER = 6; private java.util.List minimums_; /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -512,6 +600,8 @@ public java.util.List getMinimumsList() { return minimums_; } /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -519,11 +609,13 @@ public java.util.List getMinimumsList() { * repeated .google.analytics.data.v1beta.Row minimums = 6; */ @java.lang.Override - public java.util.List + public java.util.List getMinimumsOrBuilderList() { return minimums_; } /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -535,6 +627,8 @@ public int getMinimumsCount() { return minimums_.size(); } /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -546,6 +640,8 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { return minimums_.get(index); } /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -553,14 +649,15 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { * repeated .google.analytics.data.v1beta.Row minimums = 6; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index) { return minimums_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 7; private int rowCount_; /** + * + * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response and the `limit` request
@@ -570,6 +667,7 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(
    * 
* * int32 row_count = 7; + * * @return The rowCount. */ @java.lang.Override @@ -580,11 +678,14 @@ public int getRowCount() { public static final int PROPERTY_QUOTA_FIELD_NUMBER = 8; private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; /** + * + * *
    * This Analytics Property's Realtime quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; + * * @return Whether the propertyQuota field is set. */ @java.lang.Override @@ -592,18 +693,25 @@ public boolean hasPropertyQuota() { return propertyQuota_ != null; } /** + * + * *
    * This Analytics Property's Realtime quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; + * * @return The propertyQuota. */ @java.lang.Override public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { - return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; + return propertyQuota_ == null + ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() + : propertyQuota_; } /** + * + * *
    * This Analytics Property's Realtime quota state including this request.
    * 
@@ -618,6 +726,8 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO public static final int KIND_FIELD_NUMBER = 9; private volatile java.lang.Object kind_; /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -625,6 +735,7 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
    * 
* * string kind = 9; + * * @return The kind. */ @java.lang.Override @@ -633,14 +744,15 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -648,16 +760,15 @@ public java.lang.String getKind() {
    * 
* * string kind = 9; + * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -666,6 +777,7 @@ public java.lang.String getKind() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -677,8 +789,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensionHeaders_.size(); i++) { output.writeMessage(1, dimensionHeaders_.get(i)); } @@ -716,36 +827,28 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dimensionHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionHeaders_.get(i)); } for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, metricHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricHeaders_.get(i)); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rows_.get(i)); } for (int i = 0; i < totals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, totals_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, totals_.get(i)); } for (int i = 0; i < maximums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, maximums_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, maximums_.get(i)); } for (int i = 0; i < minimums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, minimums_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, minimums_.get(i)); } if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, rowCount_); } if (propertyQuota_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getPropertyQuota()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPropertyQuota()); } if (!getKindBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, kind_); @@ -758,34 +861,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.analytics.data.v1beta.RunRealtimeReportResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.RunRealtimeReportResponse other = (com.google.analytics.data.v1beta.RunRealtimeReportResponse) obj; - - if (!getDimensionHeadersList() - .equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList() - .equals(other.getMetricHeadersList())) return false; - if (!getRowsList() - .equals(other.getRowsList())) return false; - if (!getTotalsList() - .equals(other.getTotalsList())) return false; - if (!getMaximumsList() - .equals(other.getMaximumsList())) return false; - if (!getMinimumsList() - .equals(other.getMinimumsList())) return false; - if (getRowCount() - != other.getRowCount()) return false; + com.google.analytics.data.v1beta.RunRealtimeReportResponse other = + (com.google.analytics.data.v1beta.RunRealtimeReportResponse) obj; + + if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; + if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; + if (!getRowsList().equals(other.getRowsList())) return false; + if (!getTotalsList().equals(other.getTotalsList())) return false; + if (!getMaximumsList().equals(other.getMaximumsList())) return false; + if (!getMinimumsList().equals(other.getMinimumsList())) return false; + if (getRowCount() != other.getRowCount()) return false; if (hasPropertyQuota() != other.hasPropertyQuota()) return false; if (hasPropertyQuota()) { - if (!getPropertyQuota() - .equals(other.getPropertyQuota())) return false; + if (!getPropertyQuota().equals(other.getPropertyQuota())) return false; } - if (!getKind() - .equals(other.getKind())) return false; + if (!getKind().equals(other.getKind())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -835,117 +930,127 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunRealtimeReportResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.data.v1beta.RunRealtimeReportResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.data.v1beta.RunRealtimeReportResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 response realtime report table corresponding to a request.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunRealtimeReportResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunRealtimeReportResponse) com.google.analytics.data.v1beta.RunRealtimeReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, com.google.analytics.data.v1beta.RunRealtimeReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunRealtimeReportResponse.class, + com.google.analytics.data.v1beta.RunRealtimeReportResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunRealtimeReportResponse.newBuilder() @@ -953,14 +1058,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDimensionHeadersFieldBuilder(); getMetricHeadersFieldBuilder(); getRowsFieldBuilder(); @@ -969,6 +1073,7 @@ private void maybeForceBuilderInitialization() { getMinimumsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1022,9 +1127,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunRealtimeReportResponse_descriptor; } @java.lang.Override @@ -1043,7 +1148,8 @@ public com.google.analytics.data.v1beta.RunRealtimeReportResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.RunRealtimeReportResponse buildPartial() { - com.google.analytics.data.v1beta.RunRealtimeReportResponse result = new com.google.analytics.data.v1beta.RunRealtimeReportResponse(this); + com.google.analytics.data.v1beta.RunRealtimeReportResponse result = + new com.google.analytics.data.v1beta.RunRealtimeReportResponse(this); int from_bitField0_ = bitField0_; if (dimensionHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1114,38 +1220,39 @@ public com.google.analytics.data.v1beta.RunRealtimeReportResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunRealtimeReportResponse) { - return mergeFrom((com.google.analytics.data.v1beta.RunRealtimeReportResponse)other); + return mergeFrom((com.google.analytics.data.v1beta.RunRealtimeReportResponse) other); } else { super.mergeFrom(other); return this; @@ -1153,7 +1260,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportResponse other) { - if (other == com.google.analytics.data.v1beta.RunRealtimeReportResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.RunRealtimeReportResponse.getDefaultInstance()) + return this; if (dimensionHeadersBuilder_ == null) { if (!other.dimensionHeaders_.isEmpty()) { if (dimensionHeaders_.isEmpty()) { @@ -1172,9 +1280,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo dimensionHeadersBuilder_ = null; dimensionHeaders_ = other.dimensionHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionHeadersFieldBuilder() : null; + dimensionHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionHeadersFieldBuilder() + : null; } else { dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); } @@ -1198,9 +1307,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo metricHeadersBuilder_ = null; metricHeaders_ = other.metricHeaders_; bitField0_ = (bitField0_ & ~0x00000002); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricHeadersFieldBuilder() : null; + metricHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricHeadersFieldBuilder() + : null; } else { metricHeadersBuilder_.addAllMessages(other.metricHeaders_); } @@ -1224,9 +1334,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000004); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRowsFieldBuilder() : null; + rowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRowsFieldBuilder() + : null; } else { rowsBuilder_.addAllMessages(other.rows_); } @@ -1250,9 +1361,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo totalsBuilder_ = null; totals_ = other.totals_; bitField0_ = (bitField0_ & ~0x00000008); - totalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTotalsFieldBuilder() : null; + totalsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTotalsFieldBuilder() + : null; } else { totalsBuilder_.addAllMessages(other.totals_); } @@ -1276,9 +1388,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo maximumsBuilder_ = null; maximums_ = other.maximums_; bitField0_ = (bitField0_ & ~0x00000010); - maximumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMaximumsFieldBuilder() : null; + maximumsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMaximumsFieldBuilder() + : null; } else { maximumsBuilder_.addAllMessages(other.maximums_); } @@ -1302,9 +1415,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunRealtimeReportRespo minimumsBuilder_ = null; minimums_ = other.minimums_; bitField0_ = (bitField0_ & ~0x00000020); - minimumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMinimumsFieldBuilder() : null; + minimumsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMinimumsFieldBuilder() + : null; } else { minimumsBuilder_.addAllMessages(other.minimums_); } @@ -1339,7 +1453,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.RunRealtimeReportResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.RunRealtimeReportResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1348,21 +1463,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dimensionHeaders_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDimensionHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = new java.util.ArrayList(dimensionHeaders_); + dimensionHeaders_ = + new java.util.ArrayList( + dimensionHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> dimensionHeadersBuilder_; + com.google.analytics.data.v1beta.DimensionHeader, + com.google.analytics.data.v1beta.DimensionHeader.Builder, + com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> + dimensionHeadersBuilder_; /** + * + * *
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1370,7 +1494,8 @@ private void ensureDimensionHeadersIsMutable() {
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List getDimensionHeadersList() {
+    public java.util.List
+        getDimensionHeadersList() {
       if (dimensionHeadersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(dimensionHeaders_);
       } else {
@@ -1378,6 +1503,8 @@ public java.util.List getDimen
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1393,6 +1520,8 @@ public int getDimensionHeadersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1408,6 +1537,8 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1430,6 +1561,8 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1449,6 +1582,8 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1470,6 +1605,8 @@ public Builder addDimensionHeaders(com.google.analytics.data.v1beta.DimensionHea
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1492,6 +1629,8 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1511,6 +1650,8 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1530,6 +1671,8 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1541,8 +1684,7 @@ public Builder addAllDimensionHeaders(
         java.lang.Iterable values) {
       if (dimensionHeadersBuilder_ == null) {
         ensureDimensionHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dimensionHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_);
         onChanged();
       } else {
         dimensionHeadersBuilder_.addAllMessages(values);
@@ -1550,6 +1692,8 @@ public Builder addAllDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1568,6 +1712,8 @@ public Builder clearDimensionHeaders() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1586,6 +1732,8 @@ public Builder removeDimensionHeaders(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1598,6 +1746,8 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
       return getDimensionHeadersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1608,11 +1758,14 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
     public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
         int index) {
       if (dimensionHeadersBuilder_ == null) {
-        return dimensionHeaders_.get(index);  } else {
+        return dimensionHeaders_.get(index);
+      } else {
         return dimensionHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1620,8 +1773,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List 
-         getDimensionHeadersOrBuilderList() {
+    public java.util.List
+        getDimensionHeadersOrBuilderList() {
       if (dimensionHeadersBuilder_ != null) {
         return dimensionHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1629,6 +1782,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1637,10 +1792,12 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder() {
-      return getDimensionHeadersFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1650,10 +1807,12 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder(
         int index) {
-      return getDimensionHeadersFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1661,16 +1820,22 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List 
-         getDimensionHeadersBuilderList() {
+    public java.util.List
+        getDimensionHeadersBuilderList() {
       return getDimensionHeadersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> 
+            com.google.analytics.data.v1beta.DimensionHeader,
+            com.google.analytics.data.v1beta.DimensionHeader.Builder,
+            com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>
         getDimensionHeadersFieldBuilder() {
       if (dimensionHeadersBuilder_ == null) {
-        dimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
+        dimensionHeadersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.DimensionHeader,
+                com.google.analytics.data.v1beta.DimensionHeader.Builder,
+                com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
                 dimensionHeaders_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1681,18 +1846,25 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
     }
 
     private java.util.List metricHeaders_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMetricHeadersIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        metricHeaders_ = new java.util.ArrayList(metricHeaders_);
+        metricHeaders_ =
+            new java.util.ArrayList(metricHeaders_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> metricHeadersBuilder_;
+            com.google.analytics.data.v1beta.MetricHeader,
+            com.google.analytics.data.v1beta.MetricHeader.Builder,
+            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
+        metricHeadersBuilder_;
 
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1708,6 +1880,8 @@ public java.util.List getMetricHe
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1723,6 +1897,8 @@ public int getMetricHeadersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1738,6 +1914,8 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1760,6 +1938,8 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1779,6 +1959,8 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1800,6 +1982,8 @@ public Builder addMetricHeaders(com.google.analytics.data.v1beta.MetricHeader va
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1822,6 +2006,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1841,6 +2027,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1860,6 +2048,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1871,8 +2061,7 @@ public Builder addAllMetricHeaders(
         java.lang.Iterable values) {
       if (metricHeadersBuilder_ == null) {
         ensureMetricHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metricHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_);
         onChanged();
       } else {
         metricHeadersBuilder_.addAllMessages(values);
@@ -1880,6 +2069,8 @@ public Builder addAllMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1898,6 +2089,8 @@ public Builder clearMetricHeaders() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1916,6 +2109,8 @@ public Builder removeMetricHeaders(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1928,6 +2123,8 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
       return getMetricHeadersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1938,11 +2135,14 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
     public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
         int index) {
       if (metricHeadersBuilder_ == null) {
-        return metricHeaders_.get(index);  } else {
+        return metricHeaders_.get(index);
+      } else {
         return metricHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1950,8 +2150,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
-    public java.util.List 
-         getMetricHeadersOrBuilderList() {
+    public java.util.List
+        getMetricHeadersOrBuilderList() {
       if (metricHeadersBuilder_ != null) {
         return metricHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1959,6 +2159,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1967,10 +2169,12 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder() {
-      return getMetricHeadersFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1980,10 +2184,12 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder(
         int index) {
-      return getMetricHeadersFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1991,16 +2197,22 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
-    public java.util.List 
-         getMetricHeadersBuilderList() {
+    public java.util.List
+        getMetricHeadersBuilderList() {
       return getMetricHeadersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> 
+            com.google.analytics.data.v1beta.MetricHeader,
+            com.google.analytics.data.v1beta.MetricHeader.Builder,
+            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
         getMetricHeadersFieldBuilder() {
       if (metricHeadersBuilder_ == null) {
-        metricHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
+        metricHeadersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.MetricHeader,
+                com.google.analytics.data.v1beta.MetricHeader.Builder,
+                com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
                 metricHeaders_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2011,18 +2223,24 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
     }
 
     private java.util.List rows_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> rowsBuilder_;
+            com.google.analytics.data.v1beta.Row,
+            com.google.analytics.data.v1beta.Row.Builder,
+            com.google.analytics.data.v1beta.RowOrBuilder>
+        rowsBuilder_;
 
     /**
+     *
+     *
      * 
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2037,6 +2255,8 @@ public java.util.List getRowsList() { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2051,6 +2271,8 @@ public int getRowsCount() { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2065,14 +2287,15 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder setRows( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder setRows(int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2086,6 +2309,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2104,6 +2329,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2124,14 +2351,15 @@ public Builder addRows(com.google.analytics.data.v1beta.Row value) { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder addRows( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder addRows(int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2145,14 +2373,15 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder addRows( - com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addRows(com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -2163,6 +2392,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2181,6 +2412,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2191,8 +2424,7 @@ public Builder addAllRows( java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); @@ -2200,6 +2432,8 @@ public Builder addAllRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2217,6 +2451,8 @@ public Builder clearRows() { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2234,39 +2470,44 @@ public Builder removeRows(int index) { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder( - int index) { + public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder(int index) { return getRowsFieldBuilder().getBuilder(index); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { if (rowsBuilder_ == null) { - return rows_.get(index); } else { + return rows_.get(index); + } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -2274,6 +2515,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2281,60 +2524,71 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( * repeated .google.analytics.data.v1beta.Row rows = 3; */ public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getRowsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder( - int index) { - return getRowsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder(int index) { + return getRowsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public java.util.List - getRowsBuilderList() { + public java.util.List getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( - rows_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + rowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder>( + rows_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; } private java.util.List totals_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTotalsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { totals_ = new java.util.ArrayList(totals_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> totalsBuilder_; + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> + totalsBuilder_; /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2349,6 +2603,8 @@ public java.util.List getTotalsList() { } } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2363,6 +2619,8 @@ public int getTotalsCount() { } } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2377,14 +2635,15 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { } } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder setTotals( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder setTotals(int index, com.google.analytics.data.v1beta.Row value) { if (totalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2398,6 +2657,8 @@ public Builder setTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2416,6 +2677,8 @@ public Builder setTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2436,14 +2699,15 @@ public Builder addTotals(com.google.analytics.data.v1beta.Row value) { return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder addTotals( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder addTotals(int index, com.google.analytics.data.v1beta.Row value) { if (totalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2457,14 +2721,15 @@ public Builder addTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder addTotals( - com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addTotals(com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (totalsBuilder_ == null) { ensureTotalsIsMutable(); totals_.add(builderForValue.build()); @@ -2475,6 +2740,8 @@ public Builder addTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2493,6 +2760,8 @@ public Builder addTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2503,8 +2772,7 @@ public Builder addAllTotals( java.lang.Iterable values) { if (totalsBuilder_ == null) { ensureTotalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, totals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, totals_); onChanged(); } else { totalsBuilder_.addAllMessages(values); @@ -2512,6 +2780,8 @@ public Builder addAllTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2529,6 +2799,8 @@ public Builder clearTotals() { return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2546,39 +2818,44 @@ public Builder removeTotals(int index) { return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.Row.Builder getTotalsBuilder( - int index) { + public com.google.analytics.data.v1beta.Row.Builder getTotalsBuilder(int index) { return getTotalsFieldBuilder().getBuilder(index); } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index) { if (totalsBuilder_ == null) { - return totals_.get(index); } else { + return totals_.get(index); + } else { return totalsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public java.util.List - getTotalsOrBuilderList() { + public java.util.List + getTotalsOrBuilderList() { if (totalsBuilder_ != null) { return totalsBuilder_.getMessageOrBuilderList(); } else { @@ -2586,6 +2863,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( } } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2593,60 +2872,71 @@ public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( * repeated .google.analytics.data.v1beta.Row totals = 4; */ public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder() { - return getTotalsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getTotalsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder( - int index) { - return getTotalsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder(int index) { + return getTotalsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public java.util.List - getTotalsBuilderList() { + public java.util.List getTotalsBuilderList() { return getTotalsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> getTotalsFieldBuilder() { if (totalsBuilder_ == null) { - totalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( - totals_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + totalsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder>( + totals_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); totals_ = null; } return totalsBuilder_; } private java.util.List maximums_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMaximumsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { maximums_ = new java.util.ArrayList(maximums_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> maximumsBuilder_; + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> + maximumsBuilder_; /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2661,6 +2951,8 @@ public java.util.List getMaximumsList() { } } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2675,6 +2967,8 @@ public int getMaximumsCount() { } } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2689,14 +2983,15 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { } } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder setMaximums( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder setMaximums(int index, com.google.analytics.data.v1beta.Row value) { if (maximumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2710,6 +3005,8 @@ public Builder setMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2728,6 +3025,8 @@ public Builder setMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2748,14 +3047,15 @@ public Builder addMaximums(com.google.analytics.data.v1beta.Row value) { return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder addMaximums( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder addMaximums(int index, com.google.analytics.data.v1beta.Row value) { if (maximumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2769,14 +3069,15 @@ public Builder addMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder addMaximums( - com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addMaximums(com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (maximumsBuilder_ == null) { ensureMaximumsIsMutable(); maximums_.add(builderForValue.build()); @@ -2787,6 +3088,8 @@ public Builder addMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2805,6 +3108,8 @@ public Builder addMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2815,8 +3120,7 @@ public Builder addAllMaximums( java.lang.Iterable values) { if (maximumsBuilder_ == null) { ensureMaximumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, maximums_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, maximums_); onChanged(); } else { maximumsBuilder_.addAllMessages(values); @@ -2824,6 +3128,8 @@ public Builder addAllMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2841,6 +3147,8 @@ public Builder clearMaximums() { return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2858,39 +3166,44 @@ public Builder removeMaximums(int index) { return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.Row.Builder getMaximumsBuilder( - int index) { + public com.google.analytics.data.v1beta.Row.Builder getMaximumsBuilder(int index) { return getMaximumsFieldBuilder().getBuilder(index); } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index) { if (maximumsBuilder_ == null) { - return maximums_.get(index); } else { + return maximums_.get(index); + } else { return maximumsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public java.util.List - getMaximumsOrBuilderList() { + public java.util.List + getMaximumsOrBuilderList() { if (maximumsBuilder_ != null) { return maximumsBuilder_.getMessageOrBuilderList(); } else { @@ -2898,6 +3211,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( } } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2905,60 +3220,71 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( * repeated .google.analytics.data.v1beta.Row maximums = 5; */ public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder() { - return getMaximumsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getMaximumsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder( - int index) { - return getMaximumsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder(int index) { + return getMaximumsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public java.util.List - getMaximumsBuilderList() { + public java.util.List getMaximumsBuilderList() { return getMaximumsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> getMaximumsFieldBuilder() { if (maximumsBuilder_ == null) { - maximumsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( - maximums_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + maximumsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder>( + maximums_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); maximums_ = null; } return maximumsBuilder_; } private java.util.List minimums_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMinimumsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { minimums_ = new java.util.ArrayList(minimums_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> minimumsBuilder_; + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> + minimumsBuilder_; /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -2973,6 +3299,8 @@ public java.util.List getMinimumsList() { } } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -2987,6 +3315,8 @@ public int getMinimumsCount() { } } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3001,14 +3331,15 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { } } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder setMinimums( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder setMinimums(int index, com.google.analytics.data.v1beta.Row value) { if (minimumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3022,6 +3353,8 @@ public Builder setMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3040,6 +3373,8 @@ public Builder setMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3060,14 +3395,15 @@ public Builder addMinimums(com.google.analytics.data.v1beta.Row value) { return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder addMinimums( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder addMinimums(int index, com.google.analytics.data.v1beta.Row value) { if (minimumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3081,14 +3417,15 @@ public Builder addMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder addMinimums( - com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addMinimums(com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (minimumsBuilder_ == null) { ensureMinimumsIsMutable(); minimums_.add(builderForValue.build()); @@ -3099,6 +3436,8 @@ public Builder addMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3117,6 +3456,8 @@ public Builder addMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3127,8 +3468,7 @@ public Builder addAllMinimums( java.lang.Iterable values) { if (minimumsBuilder_ == null) { ensureMinimumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, minimums_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, minimums_); onChanged(); } else { minimumsBuilder_.addAllMessages(values); @@ -3136,6 +3476,8 @@ public Builder addAllMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3153,6 +3495,8 @@ public Builder clearMinimums() { return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3170,39 +3514,44 @@ public Builder removeMinimums(int index) { return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.Row.Builder getMinimumsBuilder( - int index) { + public com.google.analytics.data.v1beta.Row.Builder getMinimumsBuilder(int index) { return getMinimumsFieldBuilder().getBuilder(index); } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index) { if (minimumsBuilder_ == null) { - return minimums_.get(index); } else { + return minimums_.get(index); + } else { return minimumsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public java.util.List - getMinimumsOrBuilderList() { + public java.util.List + getMinimumsOrBuilderList() { if (minimumsBuilder_ != null) { return minimumsBuilder_.getMessageOrBuilderList(); } else { @@ -3210,6 +3559,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( } } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3217,49 +3568,56 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( * repeated .google.analytics.data.v1beta.Row minimums = 6; */ public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder() { - return getMinimumsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getMinimumsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder( - int index) { - return getMinimumsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder(int index) { + return getMinimumsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public java.util.List - getMinimumsBuilderList() { + public java.util.List getMinimumsBuilderList() { return getMinimumsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> getMinimumsFieldBuilder() { if (minimumsBuilder_ == null) { - minimumsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( - minimums_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); + minimumsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder>( + minimums_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); minimums_ = null; } return minimumsBuilder_; } - private int rowCount_ ; + private int rowCount_; /** + * + * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response and the `limit` request
@@ -3269,6 +3627,7 @@ public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder(
      * 
* * int32 row_count = 7; + * * @return The rowCount. */ @java.lang.Override @@ -3276,6 +3635,8 @@ public int getRowCount() { return rowCount_; } /** + * + * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response and the `limit` request
@@ -3285,16 +3646,19 @@ public int getRowCount() {
      * 
* * int32 row_count = 7; + * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(int value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response and the `limit` request
@@ -3304,10 +3668,11 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 7; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0; onChanged(); return this; @@ -3315,34 +3680,47 @@ public Builder clearRowCount() { private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> propertyQuotaBuilder_; + com.google.analytics.data.v1beta.PropertyQuota, + com.google.analytics.data.v1beta.PropertyQuota.Builder, + com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> + propertyQuotaBuilder_; /** + * + * *
      * This Analytics Property's Realtime quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; + * * @return Whether the propertyQuota field is set. */ public boolean hasPropertyQuota() { return propertyQuotaBuilder_ != null || propertyQuota_ != null; } /** + * + * *
      * This Analytics Property's Realtime quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; + * * @return The propertyQuota. */ public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { if (propertyQuotaBuilder_ == null) { - return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; + return propertyQuota_ == null + ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() + : propertyQuota_; } else { return propertyQuotaBuilder_.getMessage(); } } /** + * + * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3363,6 +3741,8 @@ public Builder setPropertyQuota(com.google.analytics.data.v1beta.PropertyQuota v return this; } /** + * + * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3381,6 +3761,8 @@ public Builder setPropertyQuota( return this; } /** + * + * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3391,7 +3773,9 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota if (propertyQuotaBuilder_ == null) { if (propertyQuota_ != null) { propertyQuota_ = - com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_) + .mergeFrom(value) + .buildPartial(); } else { propertyQuota_ = value; } @@ -3403,6 +3787,8 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota return this; } /** + * + * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3421,6 +3807,8 @@ public Builder clearPropertyQuota() { return this; } /** + * + * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3428,11 +3816,13 @@ public Builder clearPropertyQuota() { * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; */ public com.google.analytics.data.v1beta.PropertyQuota.Builder getPropertyQuotaBuilder() { - + onChanged(); return getPropertyQuotaFieldBuilder().getBuilder(); } /** + * + * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3443,11 +3833,14 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO if (propertyQuotaBuilder_ != null) { return propertyQuotaBuilder_.getMessageOrBuilder(); } else { - return propertyQuota_ == null ? - com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; + return propertyQuota_ == null + ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() + : propertyQuota_; } } /** + * + * *
      * This Analytics Property's Realtime quota state including this request.
      * 
@@ -3455,14 +3848,17 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> + com.google.analytics.data.v1beta.PropertyQuota, + com.google.analytics.data.v1beta.PropertyQuota.Builder, + com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> getPropertyQuotaFieldBuilder() { if (propertyQuotaBuilder_ == null) { - propertyQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( - getPropertyQuota(), - getParentForChildren(), - isClean()); + propertyQuotaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.PropertyQuota, + com.google.analytics.data.v1beta.PropertyQuota.Builder, + com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( + getPropertyQuota(), getParentForChildren(), isClean()); propertyQuota_ = null; } return propertyQuotaBuilder_; @@ -3470,6 +3866,8 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO private java.lang.Object kind_ = ""; /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -3477,13 +3875,13 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
      * 
* * string kind = 9; + * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -3492,6 +3890,8 @@ public java.lang.String getKind() { } } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -3499,15 +3899,14 @@ public java.lang.String getKind() {
      * 
* * string kind = 9; + * * @return The bytes for kind. */ - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -3515,6 +3914,8 @@ public java.lang.String getKind() { } } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -3522,20 +3923,22 @@ public java.lang.String getKind() {
      * 
* * string kind = 9; + * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind( - java.lang.String value) { + public Builder setKind(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -3543,15 +3946,18 @@ public Builder setKind(
      * 
* * string kind = 9; + * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -3559,23 +3965,23 @@ public Builder clearKind() {
      * 
* * string kind = 9; + * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { + public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = 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); } @@ -3585,12 +3991,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunRealtimeReportResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunRealtimeReportResponse) private static final com.google.analytics.data.v1beta.RunRealtimeReportResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunRealtimeReportResponse(); } @@ -3599,16 +4005,16 @@ public static com.google.analytics.data.v1beta.RunRealtimeReportResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunRealtimeReportResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunRealtimeReportResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunRealtimeReportResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunRealtimeReportResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3623,6 +4029,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.data.v1beta.RunRealtimeReportResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java similarity index 85% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java index 5557225f..e7e3a731 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunRealtimeReportResponseOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface RunRealtimeReportResponseOrBuilder extends +public interface RunRealtimeReportResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunRealtimeReportResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -15,9 +33,10 @@ public interface RunRealtimeReportResponseOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  java.util.List 
-      getDimensionHeadersList();
+  java.util.List getDimensionHeadersList();
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -27,6 +46,8 @@ public interface RunRealtimeReportResponseOrBuilder extends
    */
   com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int index);
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -36,6 +57,8 @@ public interface RunRealtimeReportResponseOrBuilder extends
    */
   int getDimensionHeadersCount();
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -43,9 +66,11 @@ public interface RunRealtimeReportResponseOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  java.util.List 
+  java.util.List
       getDimensionHeadersOrBuilderList();
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -53,10 +78,11 @@ public interface RunRealtimeReportResponseOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -64,9 +90,10 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  java.util.List 
-      getMetricHeadersList();
+  java.util.List getMetricHeadersList();
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -76,6 +103,8 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    */
   com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index);
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -85,6 +114,8 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    */
   int getMetricHeadersCount();
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -92,9 +123,11 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  java.util.List 
+  java.util.List
       getMetricHeadersOrBuilderList();
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -102,19 +135,21 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - java.util.List - getRowsList(); + java.util.List getRowsList(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -123,6 +158,8 @@ com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder */ com.google.analytics.data.v1beta.Row getRows(int index); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -131,34 +168,39 @@ com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder */ int getRowsCount(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - java.util.List - getRowsOrBuilderList(); + java.util.List getRowsOrBuilderList(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( - int index); + com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index); /** + * + * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - java.util.List - getTotalsList(); + java.util.List getTotalsList(); /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -167,6 +209,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( */ com.google.analytics.data.v1beta.Row getTotals(int index); /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -175,34 +219,39 @@ com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( */ int getTotalsCount(); /** + * + * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - java.util.List - getTotalsOrBuilderList(); + java.util.List getTotalsOrBuilderList(); /** + * + * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( - int index); + com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index); /** + * + * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - java.util.List - getMaximumsList(); + java.util.List getMaximumsList(); /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -211,6 +260,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( */ com.google.analytics.data.v1beta.Row getMaximums(int index); /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -219,34 +270,40 @@ com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( */ int getMaximumsCount(); /** + * + * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - java.util.List + java.util.List getMaximumsOrBuilderList(); /** + * + * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( - int index); + com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index); /** + * + * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - java.util.List - getMinimumsList(); + java.util.List getMinimumsList(); /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -255,6 +312,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( */ com.google.analytics.data.v1beta.Row getMinimums(int index); /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -263,25 +322,30 @@ com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( */ int getMinimumsCount(); /** + * + * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - java.util.List + java.util.List getMinimumsOrBuilderList(); /** + * + * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( - int index); + com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index); /** + * + * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response and the `limit` request
@@ -291,29 +355,38 @@ com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(
    * 
* * int32 row_count = 7; + * * @return The rowCount. */ int getRowCount(); /** + * + * *
    * This Analytics Property's Realtime quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; + * * @return Whether the propertyQuota field is set. */ boolean hasPropertyQuota(); /** + * + * *
    * This Analytics Property's Realtime quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 8; + * * @return The propertyQuota. */ com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota(); /** + * + * *
    * This Analytics Property's Realtime quota state including this request.
    * 
@@ -323,6 +396,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder(); /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -330,10 +405,13 @@ com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(
    * 
* * string kind = 9; + * * @return The kind. */ java.lang.String getKind(); /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runRealtimeReport". Useful to distinguish
@@ -341,8 +419,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(
    * 
* * string kind = 9; + * * @return The bytes for kind. */ - com.google.protobuf.ByteString - getKindBytes(); + com.google.protobuf.ByteString getKindBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java similarity index 80% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java index cb8adf97..f7c00738 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequest.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The request to generate a report.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunReportRequest} */ -public final class RunReportRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunReportRequest) RunReportRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunReportRequest.newBuilder() to construct. private RunReportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunReportRequest() { property_ = ""; dimensions_ = java.util.Collections.emptyList(); @@ -31,16 +49,15 @@ private RunReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunReportRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RunReportRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,150 +77,172 @@ private RunReportRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - property_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + property_ = s; + break; } - dimensions_.add( - input.readMessage(com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metrics_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dimensions_.add( + input.readMessage( + com.google.analytics.data.v1beta.Dimension.parser(), extensionRegistry)); + break; } - metrics_.add( - input.readMessage(com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - dateRanges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metrics_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + metrics_.add( + input.readMessage( + com.google.analytics.data.v1beta.Metric.parser(), extensionRegistry)); + break; } - dateRanges_.add( - input.readMessage(com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (dimensionFilter_ != null) { - subBuilder = dimensionFilter_.toBuilder(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + dateRanges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + dateRanges_.add( + input.readMessage( + com.google.analytics.data.v1beta.DateRange.parser(), extensionRegistry)); + break; } - dimensionFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dimensionFilter_); - dimensionFilter_ = subBuilder.buildPartial(); + case 42: + { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (dimensionFilter_ != null) { + subBuilder = dimensionFilter_.toBuilder(); + } + dimensionFilter_ = + input.readMessage( + com.google.analytics.data.v1beta.FilterExpression.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dimensionFilter_); + dimensionFilter_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; + if (metricFilter_ != null) { + subBuilder = metricFilter_.toBuilder(); + } + metricFilter_ = + input.readMessage( + com.google.analytics.data.v1beta.FilterExpression.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricFilter_); + metricFilter_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.analytics.data.v1beta.FilterExpression.Builder subBuilder = null; - if (metricFilter_ != null) { - subBuilder = metricFilter_.toBuilder(); + break; } - metricFilter_ = input.readMessage(com.google.analytics.data.v1beta.FilterExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricFilter_); - metricFilter_ = subBuilder.buildPartial(); + case 56: + { + offset_ = input.readInt64(); + break; } - - break; - } - case 56: { - - offset_ = input.readInt64(); - break; - } - case 64: { - - limit_ = input.readInt64(); - break; - } - case 72: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - metricAggregations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 64: + { + limit_ = input.readInt64(); + break; } - metricAggregations_.add(rawValue); - break; - } - case 74: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 72: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000008) != 0)) { metricAggregations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } metricAggregations_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - case 82: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - orderBys_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - orderBys_.add( - input.readMessage(com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); - break; - } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - - currencyCode_ = s; - break; - } - case 98: { - com.google.analytics.data.v1beta.CohortSpec.Builder subBuilder = null; - if (cohortSpec_ != null) { - subBuilder = cohortSpec_.toBuilder(); + case 74: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + metricAggregations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + metricAggregations_.add(rawValue); + } + input.popLimit(oldLimit); + break; } - cohortSpec_ = input.readMessage(com.google.analytics.data.v1beta.CohortSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cohortSpec_); - cohortSpec_ = subBuilder.buildPartial(); + case 82: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + orderBys_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + orderBys_.add( + input.readMessage( + com.google.analytics.data.v1beta.OrderBy.parser(), extensionRegistry)); + break; } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 104: { - - keepEmptyRows_ = input.readBool(); - break; - } - case 112: { + currencyCode_ = s; + break; + } + case 98: + { + com.google.analytics.data.v1beta.CohortSpec.Builder subBuilder = null; + if (cohortSpec_ != null) { + subBuilder = cohortSpec_.toBuilder(); + } + cohortSpec_ = + input.readMessage( + com.google.analytics.data.v1beta.CohortSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cohortSpec_); + cohortSpec_ = subBuilder.buildPartial(); + } - returnPropertyQuota_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 104: + { + keepEmptyRows_ = input.readBool(); + break; + } + case 112: + { + returnPropertyQuota_ = 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)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -224,22 +263,27 @@ private RunReportRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunReportRequest.class, com.google.analytics.data.v1beta.RunReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunReportRequest.class, + com.google.analytics.data.v1beta.RunReportRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; private volatile java.lang.Object property_; /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -251,6 +295,7 @@ private RunReportRequest(
    * 
* * string property = 1; + * * @return The property. */ @java.lang.Override @@ -259,14 +304,15 @@ public java.lang.String getProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; } } /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -278,16 +324,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -298,6 +343,8 @@ public java.lang.String getProperty() { public static final int DIMENSIONS_FIELD_NUMBER = 2; private java.util.List dimensions_; /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -309,6 +356,8 @@ public java.util.List getDimensionsL return dimensions_; } /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -316,11 +365,13 @@ public java.util.List getDimensionsL * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ @java.lang.Override - public java.util.List + public java.util.List getDimensionsOrBuilderList() { return dimensions_; } /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -332,6 +383,8 @@ public int getDimensionsCount() { return dimensions_.size(); } /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -343,6 +396,8 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { return dimensions_.get(index); } /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -350,14 +405,15 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ @java.lang.Override - public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) { return dimensions_.get(index); } public static final int METRICS_FIELD_NUMBER = 3; private java.util.List metrics_; /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -369,6 +425,8 @@ public java.util.List getMetricsList() return metrics_; } /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -376,11 +434,13 @@ public java.util.List getMetricsList() * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ @java.lang.Override - public java.util.List + public java.util.List getMetricsOrBuilderList() { return metrics_; } /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -392,6 +452,8 @@ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -403,6 +465,8 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { return metrics_.get(index); } /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -410,14 +474,15 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) { return metrics_.get(index); } public static final int DATE_RANGES_FIELD_NUMBER = 4; private java.util.List dateRanges_; /** + * + * *
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -433,6 +498,8 @@ public java.util.List getDateRangesL
     return dateRanges_;
   }
   /**
+   *
+   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -444,11 +511,13 @@ public java.util.List getDateRangesL
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDateRangesOrBuilderList() {
     return dateRanges_;
   }
   /**
+   *
+   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -464,6 +533,8 @@ public int getDateRangesCount() {
     return dateRanges_.size();
   }
   /**
+   *
+   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -479,6 +550,8 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
     return dateRanges_.get(index);
   }
   /**
+   *
+   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -490,14 +563,15 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
   @java.lang.Override
-  public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
-      int index) {
+  public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index) {
     return dateRanges_.get(index);
   }
 
   public static final int DIMENSION_FILTER_FIELD_NUMBER = 5;
   private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_;
   /**
+   *
+   *
    * 
    * Dimension filters allow you to ask for only specific dimension values in
    * the report. To learn more, see [Fundamentals of Dimension
@@ -506,6 +580,7 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; + * * @return Whether the dimensionFilter field is set. */ @java.lang.Override @@ -513,6 +588,8 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** + * + * *
    * Dimension filters allow you to ask for only specific dimension values in
    * the report. To learn more, see [Fundamentals of Dimension
@@ -521,13 +598,18 @@ public boolean hasDimensionFilter() {
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; + * * @return The dimensionFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { - return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : dimensionFilter_; } /** + * + * *
    * Dimension filters allow you to ask for only specific dimension values in
    * the report. To learn more, see [Fundamentals of Dimension
@@ -545,12 +627,15 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
   public static final int METRIC_FILTER_FIELD_NUMBER = 6;
   private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
   /**
+   *
+   *
    * 
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Dimensions cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; + * * @return Whether the metricFilter field is set. */ @java.lang.Override @@ -558,19 +643,26 @@ public boolean hasMetricFilter() { return metricFilter_ != null; } /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Dimensions cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; + * * @return The metricFilter. */ @java.lang.Override public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { - return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : metricFilter_; } /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Dimensions cannot be used in this filter.
@@ -586,6 +678,8 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
   public static final int OFFSET_FIELD_NUMBER = 7;
   private long offset_;
   /**
+   *
+   *
    * 
    * The row count of the start row. The first row is counted as row 0.
    * When paging, the first request does not specify offset; or equivalently,
@@ -597,6 +691,7 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
    * 
* * int64 offset = 7; + * * @return The offset. */ @java.lang.Override @@ -607,6 +702,8 @@ public long getOffset() { public static final int LIMIT_FIELD_NUMBER = 8; private long limit_; /** + * + * *
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -621,6 +718,7 @@ public long getOffset() {
    * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -631,36 +729,49 @@ public long getLimit() { public static final int METRIC_AGGREGATIONS_FIELD_NUMBER = 9; private java.util.List metricAggregations_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> metricAggregations_converter_ = + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation> + metricAggregations_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>() { - public com.google.analytics.data.v1beta.MetricAggregation convert(java.lang.Integer from) { + public com.google.analytics.data.v1beta.MetricAggregation convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.analytics.data.v1beta.MetricAggregation result = com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); - return result == null ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED : result; + com.google.analytics.data.v1beta.MetricAggregation result = + com.google.analytics.data.v1beta.MetricAggregation.valueOf(from); + return result == null + ? com.google.analytics.data.v1beta.MetricAggregation.UNRECOGNIZED + : result; } }; /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * * @return A list containing the metricAggregations. */ @java.lang.Override - public java.util.List getMetricAggregationsList() { + public java.util.List + getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( + metricAggregations_, metricAggregations_converter_); } /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * * @return The count of metricAggregations. */ @java.lang.Override @@ -668,12 +779,15 @@ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -682,26 +796,31 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * * @return A list containing the enum numeric values on the wire for metricAggregations. */ @java.lang.Override - public java.util.List - getMetricAggregationsValueList() { + public java.util.List getMetricAggregationsValueList() { return metricAggregations_; } /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -709,11 +828,14 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } + private int metricAggregationsMemoizedSerializedSize; public static final int ORDER_BYS_FIELD_NUMBER = 10; private java.util.List orderBys_; /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -725,6 +847,8 @@ public java.util.List getOrderBysList( return orderBys_; } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -732,11 +856,13 @@ public java.util.List getOrderBysList( * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ @java.lang.Override - public java.util.List + public java.util.List getOrderBysOrBuilderList() { return orderBys_; } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -748,6 +874,8 @@ public int getOrderBysCount() { return orderBys_.size(); } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -759,6 +887,8 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { return orderBys_.get(index); } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -766,20 +896,22 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ @java.lang.Override - public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( - int index) { + public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) { return orderBys_.get(index); } public static final int CURRENCY_CODE_FIELD_NUMBER = 11; private volatile java.lang.Object currencyCode_; /** + * + * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 11; + * * @return The currencyCode. */ @java.lang.Override @@ -788,30 +920,30 @@ public java.lang.String getCurrencyCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** + * + * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 11; + * * @return The bytes for currencyCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrencyCodeBytes() { + public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -822,12 +954,15 @@ public java.lang.String getCurrencyCode() { public static final int COHORT_SPEC_FIELD_NUMBER = 12; private com.google.analytics.data.v1beta.CohortSpec cohortSpec_; /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; + * * @return Whether the cohortSpec field is set. */ @java.lang.Override @@ -835,19 +970,26 @@ public boolean hasCohortSpec() { return cohortSpec_ != null; } /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; + * * @return The cohortSpec. */ @java.lang.Override public com.google.analytics.data.v1beta.CohortSpec getCohortSpec() { - return cohortSpec_ == null ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_; + return cohortSpec_ == null + ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() + : cohortSpec_; } /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
@@ -863,6 +1005,8 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
   public static final int KEEP_EMPTY_ROWS_FIELD_NUMBER = 13;
   private boolean keepEmptyRows_;
   /**
+   *
+   *
    * 
    * If false or unspecified, each row with all metrics equal to 0 will not be
    * returned. If true, these rows will be returned if they are not separately
@@ -870,6 +1014,7 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
    * 
* * bool keep_empty_rows = 13; + * * @return The keepEmptyRows. */ @java.lang.Override @@ -880,12 +1025,15 @@ public boolean getKeepEmptyRows() { public static final int RETURN_PROPERTY_QUOTA_FIELD_NUMBER = 14; private boolean returnPropertyQuota_; /** + * + * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 14; + * * @return The returnPropertyQuota. */ @java.lang.Override @@ -894,6 +1042,7 @@ public boolean getReturnPropertyQuota() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -905,8 +1054,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getPropertyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); @@ -967,63 +1115,53 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); } for (int i = 0; i < dimensions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, dimensions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i)); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); } for (int i = 0; i < dateRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, dateRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, dateRanges_.get(i)); } if (dimensionFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getDimensionFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDimensionFilter()); } if (metricFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMetricFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetricFilter()); } if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, offset_); } if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, limit_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, limit_); } { int dataSize = 0; for (int i = 0; i < metricAggregations_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(metricAggregations_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(metricAggregations_.get(i)); } size += dataSize; - if (!getMetricAggregationsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }metricAggregationsMemoizedSerializedSize = dataSize; + if (!getMetricAggregationsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + metricAggregationsMemoizedSerializedSize = dataSize; } for (int i = 0; i < orderBys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, orderBys_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, orderBys_.get(i)); } if (!getCurrencyCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, currencyCode_); } if (cohortSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getCohortSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCohortSpec()); } if (keepEmptyRows_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, keepEmptyRows_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, keepEmptyRows_); } if (returnPropertyQuota_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(14, returnPropertyQuota_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, returnPropertyQuota_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1033,49 +1171,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.data.v1beta.RunReportRequest)) { return super.equals(obj); } - com.google.analytics.data.v1beta.RunReportRequest other = (com.google.analytics.data.v1beta.RunReportRequest) obj; + com.google.analytics.data.v1beta.RunReportRequest other = + (com.google.analytics.data.v1beta.RunReportRequest) obj; - if (!getProperty() - .equals(other.getProperty())) return false; - if (!getDimensionsList() - .equals(other.getDimensionsList())) return false; - if (!getMetricsList() - .equals(other.getMetricsList())) return false; - if (!getDateRangesList() - .equals(other.getDateRangesList())) return false; + if (!getProperty().equals(other.getProperty())) return false; + if (!getDimensionsList().equals(other.getDimensionsList())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; + if (!getDateRangesList().equals(other.getDateRangesList())) return false; if (hasDimensionFilter() != other.hasDimensionFilter()) return false; if (hasDimensionFilter()) { - if (!getDimensionFilter() - .equals(other.getDimensionFilter())) return false; + if (!getDimensionFilter().equals(other.getDimensionFilter())) return false; } if (hasMetricFilter() != other.hasMetricFilter()) return false; if (hasMetricFilter()) { - if (!getMetricFilter() - .equals(other.getMetricFilter())) return false; + if (!getMetricFilter().equals(other.getMetricFilter())) return false; } - if (getOffset() - != other.getOffset()) return false; - if (getLimit() - != other.getLimit()) return false; + if (getOffset() != other.getOffset()) return false; + if (getLimit() != other.getLimit()) return false; if (!metricAggregations_.equals(other.metricAggregations_)) return false; - if (!getOrderBysList() - .equals(other.getOrderBysList())) return false; - if (!getCurrencyCode() - .equals(other.getCurrencyCode())) return false; + if (!getOrderBysList().equals(other.getOrderBysList())) return false; + if (!getCurrencyCode().equals(other.getCurrencyCode())) return false; if (hasCohortSpec() != other.hasCohortSpec()) return false; if (hasCohortSpec()) { - if (!getCohortSpec() - .equals(other.getCohortSpec())) return false; + if (!getCohortSpec().equals(other.getCohortSpec())) return false; } - if (getKeepEmptyRows() - != other.getKeepEmptyRows()) return false; - if (getReturnPropertyQuota() - != other.getReturnPropertyQuota()) return false; + if (getKeepEmptyRows() != other.getKeepEmptyRows()) return false; + if (getReturnPropertyQuota() != other.getReturnPropertyQuota()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1110,11 +1236,9 @@ public int hashCode() { hash = (53 * hash) + getMetricFilter().hashCode(); } hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); if (getMetricAggregationsCount() > 0) { hash = (37 * hash) + METRIC_AGGREGATIONS_FIELD_NUMBER; hash = (53 * hash) + metricAggregations_.hashCode(); @@ -1130,128 +1254,135 @@ public int hashCode() { hash = (53 * hash) + getCohortSpec().hashCode(); } hash = (37 * hash) + KEEP_EMPTY_ROWS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getKeepEmptyRows()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeepEmptyRows()); hash = (37 * hash) + RETURN_PROPERTY_QUOTA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReturnPropertyQuota()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPropertyQuota()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.RunReportRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunReportRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunReportRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.RunReportRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 request to generate a report.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunReportRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunReportRequest) com.google.analytics.data.v1beta.RunReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunReportRequest.class, com.google.analytics.data.v1beta.RunReportRequest.Builder.class); + com.google.analytics.data.v1beta.RunReportRequest.class, + com.google.analytics.data.v1beta.RunReportRequest.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunReportRequest.newBuilder() @@ -1259,20 +1390,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDimensionsFieldBuilder(); getMetricsFieldBuilder(); getDateRangesFieldBuilder(); getOrderBysFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1336,9 +1467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunReportRequest_descriptor; } @java.lang.Override @@ -1357,7 +1488,8 @@ public com.google.analytics.data.v1beta.RunReportRequest build() { @java.lang.Override public com.google.analytics.data.v1beta.RunReportRequest buildPartial() { - com.google.analytics.data.v1beta.RunReportRequest result = new com.google.analytics.data.v1beta.RunReportRequest(this); + com.google.analytics.data.v1beta.RunReportRequest result = + new com.google.analytics.data.v1beta.RunReportRequest(this); int from_bitField0_ = bitField0_; result.property_ = property_; if (dimensionsBuilder_ == null) { @@ -1429,38 +1561,39 @@ public com.google.analytics.data.v1beta.RunReportRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunReportRequest) { - return mergeFrom((com.google.analytics.data.v1beta.RunReportRequest)other); + return mergeFrom((com.google.analytics.data.v1beta.RunReportRequest) other); } else { super.mergeFrom(other); return this; @@ -1468,7 +1601,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportRequest other) { - if (other == com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.RunReportRequest.getDefaultInstance()) + return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; onChanged(); @@ -1491,9 +1625,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportRequest other dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionsFieldBuilder() : null; + dimensionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionsFieldBuilder() + : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } @@ -1517,9 +1652,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportRequest other metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000002); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricsFieldBuilder() : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricsFieldBuilder() + : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -1543,9 +1679,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportRequest other dateRangesBuilder_ = null; dateRanges_ = other.dateRanges_; bitField0_ = (bitField0_ & ~0x00000004); - dateRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDateRangesFieldBuilder() : null; + dateRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDateRangesFieldBuilder() + : null; } else { dateRangesBuilder_.addAllMessages(other.dateRanges_); } @@ -1591,9 +1728,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportRequest other orderBysBuilder_ = null; orderBys_ = other.orderBys_; bitField0_ = (bitField0_ & ~0x00000010); - orderBysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOrderBysFieldBuilder() : null; + orderBysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOrderBysFieldBuilder() + : null; } else { orderBysBuilder_.addAllMessages(other.orderBys_); } @@ -1631,7 +1769,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.RunReportRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.RunReportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1640,10 +1779,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1655,13 +1797,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -1670,6 +1812,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1681,15 +1825,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -1697,6 +1840,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1708,20 +1853,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { + public Builder setProperty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + property_ = value; onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1733,15 +1880,18 @@ public Builder setProperty(
      * 
* * string property = 1; + * * @return This builder for chaining. */ public Builder clearProperty() { - + property_ = getDefaultInstance().getProperty(); onChanged(); return this; } /** + * + * *
      * A Google Analytics GA4 property identifier whose events are tracked.
      * Specified in the URL path and not the body. To learn more, see [where to
@@ -1753,34 +1903,41 @@ public Builder clearProperty() {
      * 
* * string property = 1; + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { + public Builder setPropertyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + property_ = value; onChanged(); return this; } private java.util.List dimensions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensions_ = new java.util.ArrayList(dimensions_); + dimensions_ = + new java.util.ArrayList(dimensions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> dimensionsBuilder_; + com.google.analytics.data.v1beta.Dimension, + com.google.analytics.data.v1beta.Dimension.Builder, + com.google.analytics.data.v1beta.DimensionOrBuilder> + dimensionsBuilder_; /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1795,6 +1952,8 @@ public java.util.List getDimensionsL } } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1809,6 +1968,8 @@ public int getDimensionsCount() { } } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1823,14 +1984,15 @@ public com.google.analytics.data.v1beta.Dimension getDimensions(int index) { } } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public Builder setDimensions( - int index, com.google.analytics.data.v1beta.Dimension value) { + public Builder setDimensions(int index, com.google.analytics.data.v1beta.Dimension value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1844,6 +2006,8 @@ public Builder setDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1862,6 +2026,8 @@ public Builder setDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1882,14 +2048,15 @@ public Builder addDimensions(com.google.analytics.data.v1beta.Dimension value) { return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public Builder addDimensions( - int index, com.google.analytics.data.v1beta.Dimension value) { + public Builder addDimensions(int index, com.google.analytics.data.v1beta.Dimension value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1903,6 +2070,8 @@ public Builder addDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1921,6 +2090,8 @@ public Builder addDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1939,6 +2110,8 @@ public Builder addDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1949,8 +2122,7 @@ public Builder addAllDimensions( java.lang.Iterable values) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dimensions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_); onChanged(); } else { dimensionsBuilder_.addAllMessages(values); @@ -1958,6 +2130,8 @@ public Builder addAllDimensions( return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1975,6 +2149,8 @@ public Builder clearDimensions() { return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -1992,39 +2168,44 @@ public Builder removeDimensions(int index) { return this; } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder( - int index) { + public com.google.analytics.data.v1beta.Dimension.Builder getDimensionsBuilder(int index) { return getDimensionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index) { if (dimensionsBuilder_ == null) { - return dimensions_.get(index); } else { + return dimensions_.get(index); + } else { return dimensionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public java.util.List - getDimensionsOrBuilderList() { + public java.util.List + getDimensionsOrBuilderList() { if (dimensionsBuilder_ != null) { return dimensionsBuilder_.getMessageOrBuilderList(); } else { @@ -2032,6 +2213,8 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde } } /** + * + * *
      * The dimensions requested and displayed.
      * 
@@ -2039,60 +2222,72 @@ public com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilde * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder() { - return getDimensionsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); + return getDimensionsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder( - int index) { - return getDimensionsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); + public com.google.analytics.data.v1beta.Dimension.Builder addDimensionsBuilder(int index) { + return getDimensionsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Dimension.getDefaultInstance()); } /** + * + * *
      * The dimensions requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - public java.util.List - getDimensionsBuilderList() { + public java.util.List + getDimensionsBuilderList() { return getDimensionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder> + com.google.analytics.data.v1beta.Dimension, + com.google.analytics.data.v1beta.Dimension.Builder, + com.google.analytics.data.v1beta.DimensionOrBuilder> getDimensionsFieldBuilder() { if (dimensionsBuilder_ == null) { - dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Dimension, com.google.analytics.data.v1beta.Dimension.Builder, com.google.analytics.data.v1beta.DimensionOrBuilder>( - dimensions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dimensionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Dimension, + com.google.analytics.data.v1beta.Dimension.Builder, + com.google.analytics.data.v1beta.DimensionOrBuilder>( + dimensions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dimensions_ = null; } return dimensionsBuilder_; } private java.util.List metrics_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { metrics_ = new java.util.ArrayList(metrics_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> metricsBuilder_; + com.google.analytics.data.v1beta.Metric, + com.google.analytics.data.v1beta.Metric.Builder, + com.google.analytics.data.v1beta.MetricOrBuilder> + metricsBuilder_; /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2107,6 +2302,8 @@ public java.util.List getMetricsList() } } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2121,6 +2318,8 @@ public int getMetricsCount() { } } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2135,14 +2334,15 @@ public com.google.analytics.data.v1beta.Metric getMetrics(int index) { } } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder setMetrics( - int index, com.google.analytics.data.v1beta.Metric value) { + public Builder setMetrics(int index, com.google.analytics.data.v1beta.Metric value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2156,6 +2356,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2174,6 +2376,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2194,14 +2398,15 @@ public Builder addMetrics(com.google.analytics.data.v1beta.Metric value) { return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder addMetrics( - int index, com.google.analytics.data.v1beta.Metric value) { + public Builder addMetrics(int index, com.google.analytics.data.v1beta.Metric value) { if (metricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2215,14 +2420,15 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public Builder addMetrics( - com.google.analytics.data.v1beta.Metric.Builder builderForValue) { + public Builder addMetrics(com.google.analytics.data.v1beta.Metric.Builder builderForValue) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); metrics_.add(builderForValue.build()); @@ -2233,6 +2439,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2251,6 +2459,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2261,8 +2471,7 @@ public Builder addAllMetrics( java.lang.Iterable values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -2270,6 +2479,8 @@ public Builder addAllMetrics( return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2287,6 +2498,8 @@ public Builder clearMetrics() { return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2304,39 +2517,44 @@ public Builder removeMetrics(int index) { return this; } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder( - int index) { + public com.google.analytics.data.v1beta.Metric.Builder getMetricsBuilder(int index) { return getMetricsFieldBuilder().getBuilder(index); } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index) { if (metricsBuilder_ == null) { - return metrics_.get(index); } else { + return metrics_.get(index); + } else { return metricsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public java.util.List - getMetricsOrBuilderList() { + public java.util.List + getMetricsOrBuilderList() { if (metricsBuilder_ != null) { return metricsBuilder_.getMessageOrBuilderList(); } else { @@ -2344,6 +2562,8 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( } } /** + * + * *
      * The metrics requested and displayed.
      * 
@@ -2351,60 +2571,72 @@ public com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder() { - return getMetricsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Metric.getDefaultInstance()); + return getMetricsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Metric.getDefaultInstance()); } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder( - int index) { - return getMetricsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Metric.getDefaultInstance()); + public com.google.analytics.data.v1beta.Metric.Builder addMetricsBuilder(int index) { + return getMetricsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Metric.getDefaultInstance()); } /** + * + * *
      * The metrics requested and displayed.
      * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - public java.util.List - getMetricsBuilderList() { + public java.util.List getMetricsBuilderList() { return getMetricsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder> + com.google.analytics.data.v1beta.Metric, + com.google.analytics.data.v1beta.Metric.Builder, + com.google.analytics.data.v1beta.MetricOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { - metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Metric, com.google.analytics.data.v1beta.Metric.Builder, com.google.analytics.data.v1beta.MetricOrBuilder>( - metrics_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + metricsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Metric, + com.google.analytics.data.v1beta.Metric.Builder, + com.google.analytics.data.v1beta.MetricOrBuilder>( + metrics_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); metrics_ = null; } return metricsBuilder_; } private java.util.List dateRanges_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDateRangesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - dateRanges_ = new java.util.ArrayList(dateRanges_); + dateRanges_ = + new java.util.ArrayList(dateRanges_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> dateRangesBuilder_; + com.google.analytics.data.v1beta.DateRange, + com.google.analytics.data.v1beta.DateRange.Builder, + com.google.analytics.data.v1beta.DateRangeOrBuilder> + dateRangesBuilder_; /** + * + * *
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2423,6 +2655,8 @@ public java.util.List getDateRangesL
       }
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2441,6 +2675,8 @@ public int getDateRangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2459,6 +2695,8 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2469,8 +2707,7 @@ public com.google.analytics.data.v1beta.DateRange getDateRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public Builder setDateRanges(
-        int index, com.google.analytics.data.v1beta.DateRange value) {
+    public Builder setDateRanges(int index, com.google.analytics.data.v1beta.DateRange value) {
       if (dateRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2484,6 +2721,8 @@ public Builder setDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2506,6 +2745,8 @@ public Builder setDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2530,6 +2771,8 @@ public Builder addDateRanges(com.google.analytics.data.v1beta.DateRange value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2540,8 +2783,7 @@ public Builder addDateRanges(com.google.analytics.data.v1beta.DateRange value) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public Builder addDateRanges(
-        int index, com.google.analytics.data.v1beta.DateRange value) {
+    public Builder addDateRanges(int index, com.google.analytics.data.v1beta.DateRange value) {
       if (dateRangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2555,6 +2797,8 @@ public Builder addDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2577,6 +2821,8 @@ public Builder addDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2599,6 +2845,8 @@ public Builder addDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2613,8 +2861,7 @@ public Builder addAllDateRanges(
         java.lang.Iterable values) {
       if (dateRangesBuilder_ == null) {
         ensureDateRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dateRanges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dateRanges_);
         onChanged();
       } else {
         dateRangesBuilder_.addAllMessages(values);
@@ -2622,6 +2869,8 @@ public Builder addAllDateRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2643,6 +2892,8 @@ public Builder clearDateRanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2664,6 +2915,8 @@ public Builder removeDateRanges(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2674,11 +2927,12 @@ public Builder removeDateRanges(int index) {
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(int index) {
       return getDateRangesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2689,14 +2943,16 @@ public com.google.analytics.data.v1beta.DateRange.Builder getDateRangesBuilder(
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
-        int index) {
+    public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index) {
       if (dateRangesBuilder_ == null) {
-        return dateRanges_.get(index);  } else {
+        return dateRanges_.get(index);
+      } else {
         return dateRangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2707,8 +2963,8 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public java.util.List 
-         getDateRangesOrBuilderList() {
+    public java.util.List
+        getDateRangesOrBuilderList() {
       if (dateRangesBuilder_ != null) {
         return dateRangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2716,6 +2972,8 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2727,10 +2985,12 @@ public com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilde
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
     public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder() {
-      return getDateRangesFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
+      return getDateRangesFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2741,12 +3001,13 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder()
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(
-        int index) {
-      return getDateRangesFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
+    public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(int index) {
+      return getDateRangesFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.DateRange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Date ranges of data to read. If multiple date ranges are requested, each
      * response row will contain a zero based date range index. If two date
@@ -2757,20 +3018,23 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(
      *
      * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
      */
-    public java.util.List 
-         getDateRangesBuilderList() {
+    public java.util.List
+        getDateRangesBuilderList() {
       return getDateRangesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder> 
+            com.google.analytics.data.v1beta.DateRange,
+            com.google.analytics.data.v1beta.DateRange.Builder,
+            com.google.analytics.data.v1beta.DateRangeOrBuilder>
         getDateRangesFieldBuilder() {
       if (dateRangesBuilder_ == null) {
-        dateRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DateRange, com.google.analytics.data.v1beta.DateRange.Builder, com.google.analytics.data.v1beta.DateRangeOrBuilder>(
-                dateRanges_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        dateRangesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.DateRange,
+                com.google.analytics.data.v1beta.DateRange.Builder,
+                com.google.analytics.data.v1beta.DateRangeOrBuilder>(
+                dateRanges_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         dateRanges_ = null;
       }
       return dateRangesBuilder_;
@@ -2778,8 +3042,13 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(
 
     private com.google.analytics.data.v1beta.FilterExpression dimensionFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> dimensionFilterBuilder_;
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        dimensionFilterBuilder_;
     /**
+     *
+     *
      * 
      * Dimension filters allow you to ask for only specific dimension values in
      * the report. To learn more, see [Fundamentals of Dimension
@@ -2788,12 +3057,15 @@ public com.google.analytics.data.v1beta.DateRange.Builder addDateRangesBuilder(
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; + * * @return Whether the dimensionFilter field is set. */ public boolean hasDimensionFilter() { return dimensionFilterBuilder_ != null || dimensionFilter_ != null; } /** + * + * *
      * Dimension filters allow you to ask for only specific dimension values in
      * the report. To learn more, see [Fundamentals of Dimension
@@ -2802,16 +3074,21 @@ public boolean hasDimensionFilter() {
      * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; + * * @return The dimensionFilter. */ public com.google.analytics.data.v1beta.FilterExpression getDimensionFilter() { if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : dimensionFilter_; } else { return dimensionFilterBuilder_.getMessage(); } } /** + * + * *
      * Dimension filters allow you to ask for only specific dimension values in
      * the report. To learn more, see [Fundamentals of Dimension
@@ -2835,6 +3112,8 @@ public Builder setDimensionFilter(com.google.analytics.data.v1beta.FilterExpress
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to ask for only specific dimension values in
      * the report. To learn more, see [Fundamentals of Dimension
@@ -2856,6 +3135,8 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to ask for only specific dimension values in
      * the report. To learn more, see [Fundamentals of Dimension
@@ -2869,7 +3150,9 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       if (dimensionFilterBuilder_ == null) {
         if (dimensionFilter_ != null) {
           dimensionFilter_ =
-            com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.FilterExpression.newBuilder(dimensionFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dimensionFilter_ = value;
         }
@@ -2881,6 +3164,8 @@ public Builder mergeDimensionFilter(com.google.analytics.data.v1beta.FilterExpre
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to ask for only specific dimension values in
      * the report. To learn more, see [Fundamentals of Dimension
@@ -2902,6 +3187,8 @@ public Builder clearDimensionFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to ask for only specific dimension values in
      * the report. To learn more, see [Fundamentals of Dimension
@@ -2912,11 +3199,13 @@ public Builder clearDimensionFilter() {
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFilterBuilder() {
-      
+
       onChanged();
       return getDimensionFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to ask for only specific dimension values in
      * the report. To learn more, see [Fundamentals of Dimension
@@ -2926,15 +3215,19 @@ public com.google.analytics.data.v1beta.FilterExpression.Builder getDimensionFil
      *
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5;
      */
-    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder() {
+    public com.google.analytics.data.v1beta.FilterExpressionOrBuilder
+        getDimensionFilterOrBuilder() {
       if (dimensionFilterBuilder_ != null) {
         return dimensionFilterBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionFilter_ == null ?
-            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : dimensionFilter_;
+        return dimensionFilter_ == null
+            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
+            : dimensionFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * Dimension filters allow you to ask for only specific dimension values in
      * the report. To learn more, see [Fundamentals of Dimension
@@ -2945,14 +3238,17 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
      * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
         getDimensionFilterFieldBuilder() {
       if (dimensionFilterBuilder_ == null) {
-        dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getDimensionFilter(),
-                getParentForChildren(),
-                isClean());
+        dimensionFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.FilterExpression,
+                com.google.analytics.data.v1beta.FilterExpression.Builder,
+                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getDimensionFilter(), getParentForChildren(), isClean());
         dimensionFilter_ = null;
       }
       return dimensionFilterBuilder_;
@@ -2960,36 +3256,49 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFi
 
     private com.google.analytics.data.v1beta.FilterExpression metricFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> metricFilterBuilder_;
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
+        metricFilterBuilder_;
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; + * * @return Whether the metricFilter field is set. */ public boolean hasMetricFilter() { return metricFilterBuilder_ != null || metricFilter_ != null; } /** + * + * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Dimensions cannot be used in this filter.
      * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; + * * @return The metricFilter. */ public com.google.analytics.data.v1beta.FilterExpression getMetricFilter() { if (metricFilterBuilder_ == null) { - return metricFilter_ == null ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() + : metricFilter_; } else { return metricFilterBuilder_.getMessage(); } } /** + * + * *
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Dimensions cannot be used in this filter.
@@ -3011,6 +3320,8 @@ public Builder setMetricFilter(com.google.analytics.data.v1beta.FilterExpression
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Dimensions cannot be used in this filter.
@@ -3030,6 +3341,8 @@ public Builder setMetricFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Dimensions cannot be used in this filter.
@@ -3041,7 +3354,9 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       if (metricFilterBuilder_ == null) {
         if (metricFilter_ != null) {
           metricFilter_ =
-            com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.FilterExpression.newBuilder(metricFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metricFilter_ = value;
         }
@@ -3053,6 +3368,8 @@ public Builder mergeMetricFilter(com.google.analytics.data.v1beta.FilterExpressi
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Dimensions cannot be used in this filter.
@@ -3072,6 +3389,8 @@ public Builder clearMetricFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Dimensions cannot be used in this filter.
@@ -3080,11 +3399,13 @@ public Builder clearMetricFilter() {
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 6;
      */
     public com.google.analytics.data.v1beta.FilterExpression.Builder getMetricFilterBuilder() {
-      
+
       onChanged();
       return getMetricFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Dimensions cannot be used in this filter.
@@ -3096,11 +3417,14 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
       if (metricFilterBuilder_ != null) {
         return metricFilterBuilder_.getMessageOrBuilder();
       } else {
-        return metricFilter_ == null ?
-            com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance() : metricFilter_;
+        return metricFilter_ == null
+            ? com.google.analytics.data.v1beta.FilterExpression.getDefaultInstance()
+            : metricFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * The filter clause of metrics. Applied at post aggregation phase, similar to
      * SQL having-clause. Dimensions cannot be used in this filter.
@@ -3109,21 +3433,26 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * .google.analytics.data.v1beta.FilterExpression metric_filter = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder> 
+            com.google.analytics.data.v1beta.FilterExpression,
+            com.google.analytics.data.v1beta.FilterExpression.Builder,
+            com.google.analytics.data.v1beta.FilterExpressionOrBuilder>
         getMetricFilterFieldBuilder() {
       if (metricFilterBuilder_ == null) {
-        metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.FilterExpression, com.google.analytics.data.v1beta.FilterExpression.Builder, com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
-                getMetricFilter(),
-                getParentForChildren(),
-                isClean());
+        metricFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.FilterExpression,
+                com.google.analytics.data.v1beta.FilterExpression.Builder,
+                com.google.analytics.data.v1beta.FilterExpressionOrBuilder>(
+                getMetricFilter(), getParentForChildren(), isClean());
         metricFilter_ = null;
       }
       return metricFilterBuilder_;
     }
 
-    private long offset_ ;
+    private long offset_;
     /**
+     *
+     *
      * 
      * The row count of the start row. The first row is counted as row 0.
      * When paging, the first request does not specify offset; or equivalently,
@@ -3135,6 +3464,7 @@ public com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilte
      * 
* * int64 offset = 7; + * * @return The offset. */ @java.lang.Override @@ -3142,6 +3472,8 @@ public long getOffset() { return offset_; } /** + * + * *
      * The row count of the start row. The first row is counted as row 0.
      * When paging, the first request does not specify offset; or equivalently,
@@ -3153,16 +3485,19 @@ public long getOffset() {
      * 
* * int64 offset = 7; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); return this; } /** + * + * *
      * The row count of the start row. The first row is counted as row 0.
      * When paging, the first request does not specify offset; or equivalently,
@@ -3174,17 +3509,20 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 7; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0L; onChanged(); return this; } - private long limit_ ; + private long limit_; /** + * + * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -3199,6 +3537,7 @@ public Builder clearOffset() {
      * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -3206,6 +3545,8 @@ public long getLimit() { return limit_; } /** + * + * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -3220,16 +3561,19 @@ public long getLimit() {
      * 
* * int64 limit = 8; + * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; onChanged(); return this; } /** + * + * *
      * The number of rows to return. If unspecified, 10,000 rows are returned. The
      * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -3244,17 +3588,19 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; + * * @return This builder for chaining. */ public Builder clearLimit() { - + limit_ = 0L; onChanged(); return this; } private java.util.List metricAggregations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricAggregationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { metricAggregations_ = new java.util.ArrayList(metricAggregations_); @@ -3262,37 +3608,51 @@ private void ensureMetricAggregationsIsMutable() { } } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @return A list containing the metricAggregations. */ - public java.util.List getMetricAggregationsList() { + public java.util.List + getMetricAggregationsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>(metricAggregations_, metricAggregations_converter_); + java.lang.Integer, com.google.analytics.data.v1beta.MetricAggregation>( + metricAggregations_, metricAggregations_converter_); } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @return The count of metricAggregations. */ public int getMetricAggregationsCount() { return metricAggregations_.size(); } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ @@ -3300,12 +3660,16 @@ public com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations( return metricAggregations_converter_.convert(metricAggregations_.get(index)); } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @param index The index to set the value at. * @param value The metricAggregations to set. * @return This builder for chaining. @@ -3321,12 +3685,16 @@ public Builder setMetricAggregations( return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @param value The metricAggregations to add. * @return This builder for chaining. */ @@ -3340,12 +3708,16 @@ public Builder addMetricAggregations(com.google.analytics.data.v1beta.MetricAggr return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @param values The metricAggregations to add. * @return This builder for chaining. */ @@ -3359,12 +3731,16 @@ public Builder addAllMetricAggregations( return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @return This builder for chaining. */ public Builder clearMetricAggregations() { @@ -3374,25 +3750,32 @@ public Builder clearMetricAggregations() { return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @return A list containing the enum numeric values on the wire for metricAggregations. */ - public java.util.List - getMetricAggregationsValueList() { + public java.util.List getMetricAggregationsValueList() { return java.util.Collections.unmodifiableList(metricAggregations_); } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ @@ -3400,30 +3783,37 @@ public int getMetricAggregationsValue(int index) { return metricAggregations_.get(index); } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. * @return This builder for chaining. */ - public Builder setMetricAggregationsValue( - int index, int value) { + public Builder setMetricAggregationsValue(int index, int value) { ensureMetricAggregationsIsMutable(); metricAggregations_.set(index, value); onChanged(); return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @param value The enum numeric value on the wire for metricAggregations to add. * @return This builder for chaining. */ @@ -3434,17 +3824,20 @@ public Builder addMetricAggregationsValue(int value) { return this; } /** + * + * *
      * Aggregation of metrics. Aggregated metric values will be shown in rows
      * where the dimension_values are set to "RESERVED_(MetricAggregation)".
      * 
* - * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * + * * @param values The enum numeric values on the wire for metricAggregations to add. * @return This builder for chaining. */ - public Builder addAllMetricAggregationsValue( - java.lang.Iterable values) { + public Builder addAllMetricAggregationsValue(java.lang.Iterable values) { ensureMetricAggregationsIsMutable(); for (int value : values) { metricAggregations_.add(value); @@ -3454,18 +3847,24 @@ public Builder addAllMetricAggregationsValue( } private java.util.List orderBys_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOrderBysIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { orderBys_ = new java.util.ArrayList(orderBys_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> orderBysBuilder_; + com.google.analytics.data.v1beta.OrderBy, + com.google.analytics.data.v1beta.OrderBy.Builder, + com.google.analytics.data.v1beta.OrderByOrBuilder> + orderBysBuilder_; /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3480,6 +3879,8 @@ public java.util.List getOrderBysList( } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3494,6 +3895,8 @@ public int getOrderBysCount() { } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3508,14 +3911,15 @@ public com.google.analytics.data.v1beta.OrderBy getOrderBys(int index) { } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public Builder setOrderBys( - int index, com.google.analytics.data.v1beta.OrderBy value) { + public Builder setOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3529,6 +3933,8 @@ public Builder setOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3547,6 +3953,8 @@ public Builder setOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3567,14 +3975,15 @@ public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy value) { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public Builder addOrderBys( - int index, com.google.analytics.data.v1beta.OrderBy value) { + public Builder addOrderBys(int index, com.google.analytics.data.v1beta.OrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3588,14 +3997,15 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public Builder addOrderBys( - com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) { + public Builder addOrderBys(com.google.analytics.data.v1beta.OrderBy.Builder builderForValue) { if (orderBysBuilder_ == null) { ensureOrderBysIsMutable(); orderBys_.add(builderForValue.build()); @@ -3606,6 +4016,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3624,6 +4036,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3634,8 +4048,7 @@ public Builder addAllOrderBys( java.lang.Iterable values) { if (orderBysBuilder_ == null) { ensureOrderBysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, orderBys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBys_); onChanged(); } else { orderBysBuilder_.addAllMessages(values); @@ -3643,6 +4056,8 @@ public Builder addAllOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3660,6 +4075,8 @@ public Builder clearOrderBys() { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3677,39 +4094,44 @@ public Builder removeOrderBys(int index) { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder( - int index) { + public com.google.analytics.data.v1beta.OrderBy.Builder getOrderBysBuilder(int index) { return getOrderBysFieldBuilder().getBuilder(index); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( - int index) { + public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index) { if (orderBysBuilder_ == null) { - return orderBys_.get(index); } else { + return orderBys_.get(index); + } else { return orderBysBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public java.util.List - getOrderBysOrBuilderList() { + public java.util.List + getOrderBysOrBuilderList() { if (orderBysBuilder_ != null) { return orderBysBuilder_.getMessageOrBuilderList(); } else { @@ -3717,6 +4139,8 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3724,42 +4148,48 @@ public com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder() { - return getOrderBysFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); + return getOrderBysFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder( - int index) { - return getOrderBysFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); + public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder(int index) { + return getOrderBysFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.OrderBy.getDefaultInstance()); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - public java.util.List - getOrderBysBuilderList() { + public java.util.List + getOrderBysBuilderList() { return getOrderBysFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder> + com.google.analytics.data.v1beta.OrderBy, + com.google.analytics.data.v1beta.OrderBy.Builder, + com.google.analytics.data.v1beta.OrderByOrBuilder> getOrderBysFieldBuilder() { if (orderBysBuilder_ == null) { - orderBysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.OrderBy, com.google.analytics.data.v1beta.OrderBy.Builder, com.google.analytics.data.v1beta.OrderByOrBuilder>( - orderBys_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + orderBysBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.OrderBy, + com.google.analytics.data.v1beta.OrderBy.Builder, + com.google.analytics.data.v1beta.OrderByOrBuilder>( + orderBys_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); orderBys_ = null; } return orderBysBuilder_; @@ -3767,19 +4197,21 @@ public com.google.analytics.data.v1beta.OrderBy.Builder addOrderBysBuilder( private java.lang.Object currencyCode_ = ""; /** + * + * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 11; + * * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; @@ -3788,21 +4220,22 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 11; + * * @return The bytes for currencyCode. */ - public com.google.protobuf.ByteString - getCurrencyCodeBytes() { + public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currencyCode_ = b; return b; } else { @@ -3810,57 +4243,64 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 11; + * * @param value The currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCode( - java.lang.String value) { + public Builder setCurrencyCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currencyCode_ = value; onChanged(); return this; } /** + * + * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 11; + * * @return This builder for chaining. */ public Builder clearCurrencyCode() { - + currencyCode_ = getDefaultInstance().getCurrencyCode(); onChanged(); return this; } /** + * + * *
      * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
      * If the field is empty, the report uses the property's default currency.
      * 
* * string currency_code = 11; + * * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ - public Builder setCurrencyCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currencyCode_ = value; onChanged(); return this; @@ -3868,36 +4308,49 @@ public Builder setCurrencyCodeBytes( private com.google.analytics.data.v1beta.CohortSpec cohortSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder> cohortSpecBuilder_; + com.google.analytics.data.v1beta.CohortSpec, + com.google.analytics.data.v1beta.CohortSpec.Builder, + com.google.analytics.data.v1beta.CohortSpecOrBuilder> + cohortSpecBuilder_; /** + * + * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
      * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; + * * @return Whether the cohortSpec field is set. */ public boolean hasCohortSpec() { return cohortSpecBuilder_ != null || cohortSpec_ != null; } /** + * + * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
      * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; + * * @return The cohortSpec. */ public com.google.analytics.data.v1beta.CohortSpec getCohortSpec() { if (cohortSpecBuilder_ == null) { - return cohortSpec_ == null ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_; + return cohortSpec_ == null + ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() + : cohortSpec_; } else { return cohortSpecBuilder_.getMessage(); } } /** + * + * *
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3919,6 +4372,8 @@ public Builder setCohortSpec(com.google.analytics.data.v1beta.CohortSpec value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3938,6 +4393,8 @@ public Builder setCohortSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3949,7 +4406,9 @@ public Builder mergeCohortSpec(com.google.analytics.data.v1beta.CohortSpec value
       if (cohortSpecBuilder_ == null) {
         if (cohortSpec_ != null) {
           cohortSpec_ =
-            com.google.analytics.data.v1beta.CohortSpec.newBuilder(cohortSpec_).mergeFrom(value).buildPartial();
+              com.google.analytics.data.v1beta.CohortSpec.newBuilder(cohortSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           cohortSpec_ = value;
         }
@@ -3961,6 +4420,8 @@ public Builder mergeCohortSpec(com.google.analytics.data.v1beta.CohortSpec value
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3980,6 +4441,8 @@ public Builder clearCohortSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -3988,11 +4451,13 @@ public Builder clearCohortSpec() {
      * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12;
      */
     public com.google.analytics.data.v1beta.CohortSpec.Builder getCohortSpecBuilder() {
-      
+
       onChanged();
       return getCohortSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -4004,11 +4469,14 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
       if (cohortSpecBuilder_ != null) {
         return cohortSpecBuilder_.getMessageOrBuilder();
       } else {
-        return cohortSpec_ == null ?
-            com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance() : cohortSpec_;
+        return cohortSpec_ == null
+            ? com.google.analytics.data.v1beta.CohortSpec.getDefaultInstance()
+            : cohortSpec_;
       }
     }
     /**
+     *
+     *
      * 
      * Cohort group associated with this request. If there is a cohort group
      * in the request the 'cohort' dimension must be present.
@@ -4017,21 +4485,26 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
      * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder> 
+            com.google.analytics.data.v1beta.CohortSpec,
+            com.google.analytics.data.v1beta.CohortSpec.Builder,
+            com.google.analytics.data.v1beta.CohortSpecOrBuilder>
         getCohortSpecFieldBuilder() {
       if (cohortSpecBuilder_ == null) {
-        cohortSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.data.v1beta.CohortSpec, com.google.analytics.data.v1beta.CohortSpec.Builder, com.google.analytics.data.v1beta.CohortSpecOrBuilder>(
-                getCohortSpec(),
-                getParentForChildren(),
-                isClean());
+        cohortSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.data.v1beta.CohortSpec,
+                com.google.analytics.data.v1beta.CohortSpec.Builder,
+                com.google.analytics.data.v1beta.CohortSpecOrBuilder>(
+                getCohortSpec(), getParentForChildren(), isClean());
         cohortSpec_ = null;
       }
       return cohortSpecBuilder_;
     }
 
-    private boolean keepEmptyRows_ ;
+    private boolean keepEmptyRows_;
     /**
+     *
+     *
      * 
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -4039,6 +4512,7 @@ public com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuild
      * 
* * bool keep_empty_rows = 13; + * * @return The keepEmptyRows. */ @java.lang.Override @@ -4046,6 +4520,8 @@ public boolean getKeepEmptyRows() { return keepEmptyRows_; } /** + * + * *
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -4053,16 +4529,19 @@ public boolean getKeepEmptyRows() {
      * 
* * bool keep_empty_rows = 13; + * * @param value The keepEmptyRows to set. * @return This builder for chaining. */ public Builder setKeepEmptyRows(boolean value) { - + keepEmptyRows_ = value; onChanged(); return this; } /** + * + * *
      * If false or unspecified, each row with all metrics equal to 0 will not be
      * returned. If true, these rows will be returned if they are not separately
@@ -4070,23 +4549,27 @@ public Builder setKeepEmptyRows(boolean value) {
      * 
* * bool keep_empty_rows = 13; + * * @return This builder for chaining. */ public Builder clearKeepEmptyRows() { - + keepEmptyRows_ = false; onChanged(); return this; } - private boolean returnPropertyQuota_ ; + private boolean returnPropertyQuota_; /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 14; + * * @return The returnPropertyQuota. */ @java.lang.Override @@ -4094,39 +4577,45 @@ public boolean getReturnPropertyQuota() { return returnPropertyQuota_; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 14; + * * @param value The returnPropertyQuota to set. * @return This builder for chaining. */ public Builder setReturnPropertyQuota(boolean value) { - + returnPropertyQuota_ = value; onChanged(); return this; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
      * 
* * bool return_property_quota = 14; + * * @return This builder for chaining. */ public Builder clearReturnPropertyQuota() { - + returnPropertyQuota_ = 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); } @@ -4136,12 +4625,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunReportRequest) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunReportRequest) private static final com.google.analytics.data.v1beta.RunReportRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunReportRequest(); } @@ -4150,16 +4639,16 @@ public static com.google.analytics.data.v1beta.RunReportRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunReportRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunReportRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunReportRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunReportRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4174,6 +4663,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.RunReportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java similarity index 89% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java index f67adf97..8453277c 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportRequestOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface RunReportRequestOrBuilder extends +public interface RunReportRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunReportRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -19,10 +37,13 @@ public interface RunReportRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * A Google Analytics GA4 property identifier whose events are tracked.
    * Specified in the URL path and not the body. To learn more, see [where to
@@ -34,21 +55,24 @@ public interface RunReportRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - java.util.List - getDimensionsList(); + java.util.List getDimensionsList(); /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -57,6 +81,8 @@ public interface RunReportRequestOrBuilder extends */ com.google.analytics.data.v1beta.Dimension getDimensions(int index); /** + * + * *
    * The dimensions requested and displayed.
    * 
@@ -65,34 +91,40 @@ public interface RunReportRequestOrBuilder extends */ int getDimensionsCount(); /** + * + * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - java.util.List + java.util.List getDimensionsOrBuilderList(); /** + * + * *
    * The dimensions requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Dimension dimensions = 2; */ - com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( - int index); + com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder(int index); /** + * + * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - java.util.List - getMetricsList(); + java.util.List getMetricsList(); /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -101,6 +133,8 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( */ com.google.analytics.data.v1beta.Metric getMetrics(int index); /** + * + * *
    * The metrics requested and displayed.
    * 
@@ -109,25 +143,30 @@ com.google.analytics.data.v1beta.DimensionOrBuilder getDimensionsOrBuilder( */ int getMetricsCount(); /** + * + * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - java.util.List + java.util.List getMetricsOrBuilderList(); /** + * + * *
    * The metrics requested and displayed.
    * 
* * repeated .google.analytics.data.v1beta.Metric metrics = 3; */ - com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder( - int index); + com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(int index); /** + * + * *
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -138,9 +177,10 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  java.util.List 
-      getDateRangesList();
+  java.util.List getDateRangesList();
   /**
+   *
+   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -153,6 +193,8 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    */
   com.google.analytics.data.v1beta.DateRange getDateRanges(int index);
   /**
+   *
+   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -165,6 +207,8 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    */
   int getDateRangesCount();
   /**
+   *
+   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -175,9 +219,11 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  java.util.List 
+  java.util.List
       getDateRangesOrBuilderList();
   /**
+   *
+   *
    * 
    * Date ranges of data to read. If multiple date ranges are requested, each
    * response row will contain a zero based date range index. If two date
@@ -188,10 +234,11 @@ com.google.analytics.data.v1beta.MetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.data.v1beta.DateRange date_ranges = 4;
    */
-  com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Dimension filters allow you to ask for only specific dimension values in
    * the report. To learn more, see [Fundamentals of Dimension
@@ -200,10 +247,13 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; + * * @return Whether the dimensionFilter field is set. */ boolean hasDimensionFilter(); /** + * + * *
    * Dimension filters allow you to ask for only specific dimension values in
    * the report. To learn more, see [Fundamentals of Dimension
@@ -212,10 +262,13 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
    * 
* * .google.analytics.data.v1beta.FilterExpression dimension_filter = 5; + * * @return The dimensionFilter. */ com.google.analytics.data.v1beta.FilterExpression getDimensionFilter(); /** + * + * *
    * Dimension filters allow you to ask for only specific dimension values in
    * the report. To learn more, see [Fundamentals of Dimension
@@ -228,26 +281,34 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getDimensionFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Dimensions cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; + * * @return Whether the metricFilter field is set. */ boolean hasMetricFilter(); /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Dimensions cannot be used in this filter.
    * 
* * .google.analytics.data.v1beta.FilterExpression metric_filter = 6; + * * @return The metricFilter. */ com.google.analytics.data.v1beta.FilterExpression getMetricFilter(); /** + * + * *
    * The filter clause of metrics. Applied at post aggregation phase, similar to
    * SQL having-clause. Dimensions cannot be used in this filter.
@@ -258,6 +319,8 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
   com.google.analytics.data.v1beta.FilterExpressionOrBuilder getMetricFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * The row count of the start row. The first row is counted as row 0.
    * When paging, the first request does not specify offset; or equivalently,
@@ -269,11 +332,14 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
    * 
* * int64 offset = 7; + * * @return The offset. */ long getOffset(); /** + * + * *
    * The number of rows to return. If unspecified, 10,000 rows are returned. The
    * API returns a maximum of 100,000 rows per request, no matter how many you
@@ -288,74 +354,92 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder(
    * 
* * int64 limit = 8; + * * @return The limit. */ long getLimit(); /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * * @return A list containing the metricAggregations. */ java.util.List getMetricAggregationsList(); /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * * @return The count of metricAggregations. */ int getMetricAggregationsCount(); /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * * @param index The index of the element to return. * @return The metricAggregations at the given index. */ com.google.analytics.data.v1beta.MetricAggregation getMetricAggregations(int index); /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * * @return A list containing the enum numeric values on the wire for metricAggregations. */ - java.util.List - getMetricAggregationsValueList(); + java.util.List getMetricAggregationsValueList(); /** + * + * *
    * Aggregation of metrics. Aggregated metric values will be shown in rows
    * where the dimension_values are set to "RESERVED_(MetricAggregation)".
    * 
* * repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 9; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of metricAggregations at the given index. */ int getMetricAggregationsValue(int index); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - java.util.List - getOrderBysList(); + java.util.List getOrderBysList(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -364,6 +448,8 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder( */ com.google.analytics.data.v1beta.OrderBy getOrderBys(int index); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -372,67 +458,83 @@ com.google.analytics.data.v1beta.DateRangeOrBuilder getDateRangesOrBuilder( */ int getOrderBysCount(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - java.util.List + java.util.List getOrderBysOrBuilderList(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.data.v1beta.OrderBy order_bys = 10; */ - com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder( - int index); + com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(int index); /** + * + * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 11; + * * @return The currencyCode. */ java.lang.String getCurrencyCode(); /** + * + * *
    * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
    * If the field is empty, the report uses the property's default currency.
    * 
* * string currency_code = 11; + * * @return The bytes for currencyCode. */ - com.google.protobuf.ByteString - getCurrencyCodeBytes(); + com.google.protobuf.ByteString getCurrencyCodeBytes(); /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; + * * @return Whether the cohortSpec field is set. */ boolean hasCohortSpec(); /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
    * 
* * .google.analytics.data.v1beta.CohortSpec cohort_spec = 12; + * * @return The cohortSpec. */ com.google.analytics.data.v1beta.CohortSpec getCohortSpec(); /** + * + * *
    * Cohort group associated with this request. If there is a cohort group
    * in the request the 'cohort' dimension must be present.
@@ -443,6 +545,8 @@ com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
   com.google.analytics.data.v1beta.CohortSpecOrBuilder getCohortSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * If false or unspecified, each row with all metrics equal to 0 will not be
    * returned. If true, these rows will be returned if they are not separately
@@ -450,17 +554,21 @@ com.google.analytics.data.v1beta.OrderByOrBuilder getOrderBysOrBuilder(
    * 
* * bool keep_empty_rows = 13; + * * @return The keepEmptyRows. */ boolean getKeepEmptyRows(); /** + * + * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    * 
* * bool return_property_quota = 14; + * * @return The returnPropertyQuota. */ boolean getReturnPropertyQuota(); diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java similarity index 79% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java index 8d31ab97..7994fc6e 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponse.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; /** + * + * *
  * The response report table corresponding to a request.
  * 
* * Protobuf type {@code google.analytics.data.v1beta.RunReportResponse} */ -public final class RunReportResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunReportResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.data.v1beta.RunReportResponse) RunReportResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunReportResponse.newBuilder() to construct. private RunReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunReportResponse() { dimensionHeaders_ = java.util.Collections.emptyList(); metricHeaders_ = java.util.Collections.emptyList(); @@ -31,16 +49,15 @@ private RunReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunReportResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RunReportResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,111 +77,133 @@ private RunReportResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionHeaders_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dimensionHeaders_.add( + input.readMessage( + com.google.analytics.data.v1beta.DimensionHeader.parser(), + extensionRegistry)); + break; } - dimensionHeaders_.add( - input.readMessage(com.google.analytics.data.v1beta.DimensionHeader.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - metricHeaders_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - metricHeaders_.add( - input.readMessage(com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - rows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metricHeaders_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + metricHeaders_.add( + input.readMessage( + com.google.analytics.data.v1beta.MetricHeader.parser(), extensionRegistry)); + break; } - rows_.add( - input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - totals_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + case 26: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + rows_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + rows_.add( + input.readMessage( + com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; } - totals_.add( - input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - maximums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + case 34: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + totals_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + totals_.add( + input.readMessage( + com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; } - maximums_.add( - input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - minimums_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + case 42: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + maximums_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + maximums_.add( + input.readMessage( + com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; } - minimums_.add( - input.readMessage(com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); - break; - } - case 56: { - - rowCount_ = input.readInt32(); - break; - } - case 66: { - com.google.analytics.data.v1beta.ResponseMetaData.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); + case 50: + { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + minimums_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + minimums_.add( + input.readMessage( + com.google.analytics.data.v1beta.Row.parser(), extensionRegistry)); + break; } - metadata_ = input.readMessage(com.google.analytics.data.v1beta.ResponseMetaData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); + case 56: + { + rowCount_ = input.readInt32(); + break; } + case 66: + { + com.google.analytics.data.v1beta.ResponseMetaData.Builder subBuilder = null; + if (metadata_ != null) { + subBuilder = metadata_.toBuilder(); + } + metadata_ = + input.readMessage( + com.google.analytics.data.v1beta.ResponseMetaData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metadata_); + metadata_ = subBuilder.buildPartial(); + } - break; - } - case 74: { - com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; - if (propertyQuota_ != null) { - subBuilder = propertyQuota_.toBuilder(); - } - propertyQuota_ = input.readMessage(com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(propertyQuota_); - propertyQuota_ = subBuilder.buildPartial(); + break; } + case 74: + { + com.google.analytics.data.v1beta.PropertyQuota.Builder subBuilder = null; + if (propertyQuota_ != null) { + subBuilder = propertyQuota_.toBuilder(); + } + propertyQuota_ = + input.readMessage( + com.google.analytics.data.v1beta.PropertyQuota.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(propertyQuota_); + propertyQuota_ = subBuilder.buildPartial(); + } - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - kind_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + kind_ = 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)) { dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); @@ -188,22 +227,27 @@ private RunReportResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunReportResponse.class, com.google.analytics.data.v1beta.RunReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunReportResponse.class, + com.google.analytics.data.v1beta.RunReportResponse.Builder.class); } public static final int DIMENSION_HEADERS_FIELD_NUMBER = 1; private java.util.List dimensionHeaders_; /** + * + * *
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -212,10 +256,13 @@ private RunReportResponse(
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
   @java.lang.Override
-  public java.util.List getDimensionHeadersList() {
+  public java.util.List
+      getDimensionHeadersList() {
     return dimensionHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -224,11 +271,13 @@ public java.util.List getDimen
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDimensionHeadersOrBuilderList() {
     return dimensionHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -241,6 +290,8 @@ public int getDimensionHeadersCount() {
     return dimensionHeaders_.size();
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -253,6 +304,8 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
     return dimensionHeaders_.get(index);
   }
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -269,6 +322,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
   public static final int METRIC_HEADERS_FIELD_NUMBER = 2;
   private java.util.List metricHeaders_;
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -281,6 +336,8 @@ public java.util.List getMetricHe
     return metricHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -289,11 +346,13 @@ public java.util.List getMetricHe
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricHeadersOrBuilderList() {
     return metricHeaders_;
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -306,6 +365,8 @@ public int getMetricHeadersCount() {
     return metricHeaders_.size();
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -318,6 +379,8 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
     return metricHeaders_.get(index);
   }
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -334,6 +397,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
   public static final int ROWS_FIELD_NUMBER = 3;
   private java.util.List rows_;
   /**
+   *
+   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -345,6 +410,8 @@ public java.util.List getRowsList() { return rows_; } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -352,11 +419,13 @@ public java.util.List getRowsList() { * repeated .google.analytics.data.v1beta.Row rows = 3; */ @java.lang.Override - public java.util.List + public java.util.List getRowsOrBuilderList() { return rows_; } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -368,6 +437,8 @@ public int getRowsCount() { return rows_.size(); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -379,6 +450,8 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { return rows_.get(index); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -386,14 +459,15 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { * repeated .google.analytics.data.v1beta.Row rows = 3; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { return rows_.get(index); } public static final int TOTALS_FIELD_NUMBER = 4; private java.util.List totals_; /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -405,6 +479,8 @@ public java.util.List getTotalsList() { return totals_; } /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -412,11 +488,13 @@ public java.util.List getTotalsList() { * repeated .google.analytics.data.v1beta.Row totals = 4; */ @java.lang.Override - public java.util.List + public java.util.List getTotalsOrBuilderList() { return totals_; } /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -428,6 +506,8 @@ public int getTotalsCount() { return totals_.size(); } /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -439,6 +519,8 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { return totals_.get(index); } /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -446,14 +528,15 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { * repeated .google.analytics.data.v1beta.Row totals = 4; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index) { return totals_.get(index); } public static final int MAXIMUMS_FIELD_NUMBER = 5; private java.util.List maximums_; /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -465,6 +548,8 @@ public java.util.List getMaximumsList() { return maximums_; } /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -472,11 +557,13 @@ public java.util.List getMaximumsList() { * repeated .google.analytics.data.v1beta.Row maximums = 5; */ @java.lang.Override - public java.util.List + public java.util.List getMaximumsOrBuilderList() { return maximums_; } /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -488,6 +575,8 @@ public int getMaximumsCount() { return maximums_.size(); } /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -499,6 +588,8 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { return maximums_.get(index); } /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -506,14 +597,15 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { * repeated .google.analytics.data.v1beta.Row maximums = 5; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index) { return maximums_.get(index); } public static final int MINIMUMS_FIELD_NUMBER = 6; private java.util.List minimums_; /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -525,6 +617,8 @@ public java.util.List getMinimumsList() { return minimums_; } /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -532,11 +626,13 @@ public java.util.List getMinimumsList() { * repeated .google.analytics.data.v1beta.Row minimums = 6; */ @java.lang.Override - public java.util.List + public java.util.List getMinimumsOrBuilderList() { return minimums_; } /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -548,6 +644,8 @@ public int getMinimumsCount() { return minimums_.size(); } /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -559,6 +657,8 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { return minimums_.get(index); } /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -566,14 +666,15 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { * repeated .google.analytics.data.v1beta.Row minimums = 6; */ @java.lang.Override - public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index) { return minimums_.get(index); } public static final int ROW_COUNT_FIELD_NUMBER = 7; private int rowCount_; /** + * + * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response, the `limit` request
@@ -585,6 +686,7 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(
    * 
* * int32 row_count = 7; + * * @return The rowCount. */ @java.lang.Override @@ -595,11 +697,14 @@ public int getRowCount() { public static final int METADATA_FIELD_NUMBER = 8; private com.google.analytics.data.v1beta.ResponseMetaData metadata_; /** + * + * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -607,18 +712,25 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; + * * @return The metadata. */ @java.lang.Override public com.google.analytics.data.v1beta.ResponseMetaData getMetadata() { - return metadata_ == null ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() + : metadata_; } /** + * + * *
    * Metadata for the report.
    * 
@@ -633,11 +745,14 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB public static final int PROPERTY_QUOTA_FIELD_NUMBER = 9; private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; + * * @return Whether the propertyQuota field is set. */ @java.lang.Override @@ -645,18 +760,25 @@ public boolean hasPropertyQuota() { return propertyQuota_ != null; } /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; + * * @return The propertyQuota. */ @java.lang.Override public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { - return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; + return propertyQuota_ == null + ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() + : propertyQuota_; } /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
@@ -671,6 +793,8 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO public static final int KIND_FIELD_NUMBER = 10; private volatile java.lang.Object kind_; /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -678,6 +802,7 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
    * 
* * string kind = 10; + * * @return The kind. */ @java.lang.Override @@ -686,14 +811,15 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -701,16 +827,15 @@ public java.lang.String getKind() {
    * 
* * string kind = 10; + * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -719,6 +844,7 @@ public java.lang.String getKind() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -730,8 +856,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dimensionHeaders_.size(); i++) { output.writeMessage(1, dimensionHeaders_.get(i)); } @@ -772,40 +897,31 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dimensionHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dimensionHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionHeaders_.get(i)); } for (int i = 0; i < metricHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, metricHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricHeaders_.get(i)); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rows_.get(i)); } for (int i = 0; i < totals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, totals_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, totals_.get(i)); } for (int i = 0; i < maximums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, maximums_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, maximums_.get(i)); } for (int i = 0; i < minimums_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, minimums_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, minimums_.get(i)); } if (rowCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, rowCount_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata()); } if (propertyQuota_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getPropertyQuota()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPropertyQuota()); } if (!getKindBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, kind_); @@ -818,39 +934,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.analytics.data.v1beta.RunReportResponse)) { return super.equals(obj); } - com.google.analytics.data.v1beta.RunReportResponse other = (com.google.analytics.data.v1beta.RunReportResponse) obj; - - if (!getDimensionHeadersList() - .equals(other.getDimensionHeadersList())) return false; - if (!getMetricHeadersList() - .equals(other.getMetricHeadersList())) return false; - if (!getRowsList() - .equals(other.getRowsList())) return false; - if (!getTotalsList() - .equals(other.getTotalsList())) return false; - if (!getMaximumsList() - .equals(other.getMaximumsList())) return false; - if (!getMinimumsList() - .equals(other.getMinimumsList())) return false; - if (getRowCount() - != other.getRowCount()) return false; + com.google.analytics.data.v1beta.RunReportResponse other = + (com.google.analytics.data.v1beta.RunReportResponse) obj; + + if (!getDimensionHeadersList().equals(other.getDimensionHeadersList())) return false; + if (!getMetricHeadersList().equals(other.getMetricHeadersList())) return false; + if (!getRowsList().equals(other.getRowsList())) return false; + if (!getTotalsList().equals(other.getTotalsList())) return false; + if (!getMaximumsList().equals(other.getMaximumsList())) return false; + if (!getMinimumsList().equals(other.getMinimumsList())) return false; + if (getRowCount() != other.getRowCount()) 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 (hasPropertyQuota() != other.hasPropertyQuota()) return false; if (hasPropertyQuota()) { - if (!getPropertyQuota() - .equals(other.getPropertyQuota())) return false; + if (!getPropertyQuota().equals(other.getPropertyQuota())) return false; } - if (!getKind() - .equals(other.getKind())) return false; + if (!getKind().equals(other.getKind())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -904,117 +1011,126 @@ public int hashCode() { } public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunReportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunReportResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.data.v1beta.RunReportResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.analytics.data.v1beta.RunReportResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunReportResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.data.v1beta.RunReportResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.data.v1beta.RunReportResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 response report table corresponding to a request.
    * 
* * Protobuf type {@code google.analytics.data.v1beta.RunReportResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.data.v1beta.RunReportResponse) com.google.analytics.data.v1beta.RunReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.data.v1beta.RunReportResponse.class, com.google.analytics.data.v1beta.RunReportResponse.Builder.class); + com.google.analytics.data.v1beta.RunReportResponse.class, + com.google.analytics.data.v1beta.RunReportResponse.Builder.class); } // Construct using com.google.analytics.data.v1beta.RunReportResponse.newBuilder() @@ -1022,14 +1138,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDimensionHeadersFieldBuilder(); getMetricHeadersFieldBuilder(); getRowsFieldBuilder(); @@ -1038,6 +1153,7 @@ private void maybeForceBuilderInitialization() { getMinimumsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1097,9 +1213,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.data.v1beta.AnalyticsDataApiProto.internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.data.v1beta.AnalyticsDataApiProto + .internal_static_google_analytics_data_v1beta_RunReportResponse_descriptor; } @java.lang.Override @@ -1118,7 +1234,8 @@ public com.google.analytics.data.v1beta.RunReportResponse build() { @java.lang.Override public com.google.analytics.data.v1beta.RunReportResponse buildPartial() { - com.google.analytics.data.v1beta.RunReportResponse result = new com.google.analytics.data.v1beta.RunReportResponse(this); + com.google.analytics.data.v1beta.RunReportResponse result = + new com.google.analytics.data.v1beta.RunReportResponse(this); int from_bitField0_ = bitField0_; if (dimensionHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1194,38 +1311,39 @@ public com.google.analytics.data.v1beta.RunReportResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.data.v1beta.RunReportResponse) { - return mergeFrom((com.google.analytics.data.v1beta.RunReportResponse)other); + return mergeFrom((com.google.analytics.data.v1beta.RunReportResponse) other); } else { super.mergeFrom(other); return this; @@ -1233,7 +1351,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse other) { - if (other == com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.data.v1beta.RunReportResponse.getDefaultInstance()) + return this; if (dimensionHeadersBuilder_ == null) { if (!other.dimensionHeaders_.isEmpty()) { if (dimensionHeaders_.isEmpty()) { @@ -1252,9 +1371,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe dimensionHeadersBuilder_ = null; dimensionHeaders_ = other.dimensionHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - dimensionHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDimensionHeadersFieldBuilder() : null; + dimensionHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDimensionHeadersFieldBuilder() + : null; } else { dimensionHeadersBuilder_.addAllMessages(other.dimensionHeaders_); } @@ -1278,9 +1398,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe metricHeadersBuilder_ = null; metricHeaders_ = other.metricHeaders_; bitField0_ = (bitField0_ & ~0x00000002); - metricHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricHeadersFieldBuilder() : null; + metricHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricHeadersFieldBuilder() + : null; } else { metricHeadersBuilder_.addAllMessages(other.metricHeaders_); } @@ -1304,9 +1425,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000004); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRowsFieldBuilder() : null; + rowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRowsFieldBuilder() + : null; } else { rowsBuilder_.addAllMessages(other.rows_); } @@ -1330,9 +1452,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe totalsBuilder_ = null; totals_ = other.totals_; bitField0_ = (bitField0_ & ~0x00000008); - totalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTotalsFieldBuilder() : null; + totalsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTotalsFieldBuilder() + : null; } else { totalsBuilder_.addAllMessages(other.totals_); } @@ -1356,9 +1479,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe maximumsBuilder_ = null; maximums_ = other.maximums_; bitField0_ = (bitField0_ & ~0x00000010); - maximumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMaximumsFieldBuilder() : null; + maximumsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMaximumsFieldBuilder() + : null; } else { maximumsBuilder_.addAllMessages(other.maximums_); } @@ -1382,9 +1506,10 @@ public Builder mergeFrom(com.google.analytics.data.v1beta.RunReportResponse othe minimumsBuilder_ = null; minimums_ = other.minimums_; bitField0_ = (bitField0_ & ~0x00000020); - minimumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMinimumsFieldBuilder() : null; + minimumsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMinimumsFieldBuilder() + : null; } else { minimumsBuilder_.addAllMessages(other.minimums_); } @@ -1422,7 +1547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.analytics.data.v1beta.RunReportResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.analytics.data.v1beta.RunReportResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1431,21 +1557,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dimensionHeaders_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDimensionHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dimensionHeaders_ = new java.util.ArrayList(dimensionHeaders_); + dimensionHeaders_ = + new java.util.ArrayList( + dimensionHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> dimensionHeadersBuilder_; + com.google.analytics.data.v1beta.DimensionHeader, + com.google.analytics.data.v1beta.DimensionHeader.Builder, + com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> + dimensionHeadersBuilder_; /** + * + * *
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1453,7 +1588,8 @@ private void ensureDimensionHeadersIsMutable() {
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List getDimensionHeadersList() {
+    public java.util.List
+        getDimensionHeadersList() {
       if (dimensionHeadersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(dimensionHeaders_);
       } else {
@@ -1461,6 +1597,8 @@ public java.util.List getDimen
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1476,6 +1614,8 @@ public int getDimensionHeadersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1491,6 +1631,8 @@ public com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1513,6 +1655,8 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1532,6 +1676,8 @@ public Builder setDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1553,6 +1699,8 @@ public Builder addDimensionHeaders(com.google.analytics.data.v1beta.DimensionHea
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1575,6 +1723,8 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1594,6 +1744,8 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1613,6 +1765,8 @@ public Builder addDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1624,8 +1778,7 @@ public Builder addAllDimensionHeaders(
         java.lang.Iterable values) {
       if (dimensionHeadersBuilder_ == null) {
         ensureDimensionHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, dimensionHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionHeaders_);
         onChanged();
       } else {
         dimensionHeadersBuilder_.addAllMessages(values);
@@ -1633,6 +1786,8 @@ public Builder addAllDimensionHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1651,6 +1806,8 @@ public Builder clearDimensionHeaders() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1669,6 +1826,8 @@ public Builder removeDimensionHeaders(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1681,6 +1840,8 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
       return getDimensionHeadersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1691,11 +1852,14 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder getDimensionHead
     public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
         int index) {
       if (dimensionHeadersBuilder_ == null) {
-        return dimensionHeaders_.get(index);  } else {
+        return dimensionHeaders_.get(index);
+      } else {
         return dimensionHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1703,8 +1867,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List 
-         getDimensionHeadersOrBuilderList() {
+    public java.util.List
+        getDimensionHeadersOrBuilderList() {
       if (dimensionHeadersBuilder_ != null) {
         return dimensionHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1712,6 +1876,8 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
       }
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1720,10 +1886,12 @@ public com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHea
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder() {
-      return getDimensionHeadersFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1733,10 +1901,12 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      */
     public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHeadersBuilder(
         int index) {
-      return getDimensionHeadersFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
+      return getDimensionHeadersFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.DimensionHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes dimension columns. The number of DimensionHeaders and ordering of
      * DimensionHeaders matches the dimensions present in rows.
@@ -1744,16 +1914,22 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
      *
      * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
      */
-    public java.util.List 
-         getDimensionHeadersBuilderList() {
+    public java.util.List
+        getDimensionHeadersBuilderList() {
       return getDimensionHeadersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder> 
+            com.google.analytics.data.v1beta.DimensionHeader,
+            com.google.analytics.data.v1beta.DimensionHeader.Builder,
+            com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>
         getDimensionHeadersFieldBuilder() {
       if (dimensionHeadersBuilder_ == null) {
-        dimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.DimensionHeader, com.google.analytics.data.v1beta.DimensionHeader.Builder, com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
+        dimensionHeadersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.DimensionHeader,
+                com.google.analytics.data.v1beta.DimensionHeader.Builder,
+                com.google.analytics.data.v1beta.DimensionHeaderOrBuilder>(
                 dimensionHeaders_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1764,18 +1940,25 @@ public com.google.analytics.data.v1beta.DimensionHeader.Builder addDimensionHead
     }
 
     private java.util.List metricHeaders_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMetricHeadersIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        metricHeaders_ = new java.util.ArrayList(metricHeaders_);
+        metricHeaders_ =
+            new java.util.ArrayList(metricHeaders_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> metricHeadersBuilder_;
+            com.google.analytics.data.v1beta.MetricHeader,
+            com.google.analytics.data.v1beta.MetricHeader.Builder,
+            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
+        metricHeadersBuilder_;
 
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1791,6 +1974,8 @@ public java.util.List getMetricHe
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1806,6 +1991,8 @@ public int getMetricHeadersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1821,6 +2008,8 @@ public com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index)
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1843,6 +2032,8 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1862,6 +2053,8 @@ public Builder setMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1883,6 +2076,8 @@ public Builder addMetricHeaders(com.google.analytics.data.v1beta.MetricHeader va
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1905,6 +2100,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1924,6 +2121,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1943,6 +2142,8 @@ public Builder addMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1954,8 +2155,7 @@ public Builder addAllMetricHeaders(
         java.lang.Iterable values) {
       if (metricHeadersBuilder_ == null) {
         ensureMetricHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metricHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_);
         onChanged();
       } else {
         metricHeadersBuilder_.addAllMessages(values);
@@ -1963,6 +2163,8 @@ public Builder addAllMetricHeaders(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1981,6 +2183,8 @@ public Builder clearMetricHeaders() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -1999,6 +2203,8 @@ public Builder removeMetricHeaders(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2011,6 +2217,8 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
       return getMetricHeadersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2021,11 +2229,14 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder getMetricHeadersBui
     public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
         int index) {
       if (metricHeadersBuilder_ == null) {
-        return metricHeaders_.get(index);  } else {
+        return metricHeaders_.get(index);
+      } else {
         return metricHeadersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2033,8 +2244,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
-    public java.util.List 
-         getMetricHeadersOrBuilderList() {
+    public java.util.List
+        getMetricHeadersOrBuilderList() {
       if (metricHeadersBuilder_ != null) {
         return metricHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2042,6 +2253,8 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
       }
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2050,10 +2263,12 @@ public com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOr
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder() {
-      return getMetricHeadersFieldBuilder().addBuilder(
-          com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder()
+          .addBuilder(com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2063,10 +2278,12 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      */
     public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBuilder(
         int index) {
-      return getMetricHeadersFieldBuilder().addBuilder(
-          index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder()
+          .addBuilder(index, com.google.analytics.data.v1beta.MetricHeader.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Describes metric columns. The number of MetricHeaders and ordering of
      * MetricHeaders matches the metrics present in rows.
@@ -2074,16 +2291,22 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
      *
      * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
      */
-    public java.util.List 
-         getMetricHeadersBuilderList() {
+    public java.util.List
+        getMetricHeadersBuilderList() {
       return getMetricHeadersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder> 
+            com.google.analytics.data.v1beta.MetricHeader,
+            com.google.analytics.data.v1beta.MetricHeader.Builder,
+            com.google.analytics.data.v1beta.MetricHeaderOrBuilder>
         getMetricHeadersFieldBuilder() {
       if (metricHeadersBuilder_ == null) {
-        metricHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.data.v1beta.MetricHeader, com.google.analytics.data.v1beta.MetricHeader.Builder, com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
+        metricHeadersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.data.v1beta.MetricHeader,
+                com.google.analytics.data.v1beta.MetricHeader.Builder,
+                com.google.analytics.data.v1beta.MetricHeaderOrBuilder>(
                 metricHeaders_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2094,18 +2317,24 @@ public com.google.analytics.data.v1beta.MetricHeader.Builder addMetricHeadersBui
     }
 
     private java.util.List rows_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> rowsBuilder_;
+            com.google.analytics.data.v1beta.Row,
+            com.google.analytics.data.v1beta.Row.Builder,
+            com.google.analytics.data.v1beta.RowOrBuilder>
+        rowsBuilder_;
 
     /**
+     *
+     *
      * 
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2120,6 +2349,8 @@ public java.util.List getRowsList() { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2134,6 +2365,8 @@ public int getRowsCount() { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2148,14 +2381,15 @@ public com.google.analytics.data.v1beta.Row getRows(int index) { } } /** - *
+     *
+     *
+     * 
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder setRows( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder setRows(int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2169,6 +2403,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2187,6 +2423,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2207,14 +2445,15 @@ public Builder addRows(com.google.analytics.data.v1beta.Row value) { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder addRows( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder addRows(int index, com.google.analytics.data.v1beta.Row value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2228,14 +2467,15 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public Builder addRows( - com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addRows(com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -2246,6 +2486,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2264,6 +2506,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2274,8 +2518,7 @@ public Builder addAllRows( java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); @@ -2283,6 +2526,8 @@ public Builder addAllRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2300,6 +2545,8 @@ public Builder clearRows() { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2317,39 +2564,44 @@ public Builder removeRows(int index) { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder( - int index) { + public com.google.analytics.data.v1beta.Row.Builder getRowsBuilder(int index) { return getRowsFieldBuilder().getBuilder(index); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index) { if (rowsBuilder_ == null) { - return rows_.get(index); } else { + return rows_.get(index); + } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -2357,6 +2609,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -2364,60 +2618,71 @@ public com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( * repeated .google.analytics.data.v1beta.Row rows = 3; */ public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder() { - return getRowsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getRowsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder( - int index) { - return getRowsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addRowsBuilder(int index) { + return getRowsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - public java.util.List - getRowsBuilderList() { + public java.util.List getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( - rows_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + rowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder>( + rows_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; } private java.util.List totals_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTotalsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { totals_ = new java.util.ArrayList(totals_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> totalsBuilder_; + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> + totalsBuilder_; /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2432,6 +2697,8 @@ public java.util.List getTotalsList() { } } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2446,6 +2713,8 @@ public int getTotalsCount() { } } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2460,14 +2729,15 @@ public com.google.analytics.data.v1beta.Row getTotals(int index) { } } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder setTotals( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder setTotals(int index, com.google.analytics.data.v1beta.Row value) { if (totalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2481,6 +2751,8 @@ public Builder setTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2499,6 +2771,8 @@ public Builder setTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2519,14 +2793,15 @@ public Builder addTotals(com.google.analytics.data.v1beta.Row value) { return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder addTotals( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder addTotals(int index, com.google.analytics.data.v1beta.Row value) { if (totalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2540,14 +2815,15 @@ public Builder addTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public Builder addTotals( - com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addTotals(com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (totalsBuilder_ == null) { ensureTotalsIsMutable(); totals_.add(builderForValue.build()); @@ -2558,6 +2834,8 @@ public Builder addTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2576,6 +2854,8 @@ public Builder addTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2586,8 +2866,7 @@ public Builder addAllTotals( java.lang.Iterable values) { if (totalsBuilder_ == null) { ensureTotalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, totals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, totals_); onChanged(); } else { totalsBuilder_.addAllMessages(values); @@ -2595,6 +2874,8 @@ public Builder addAllTotals( return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2612,6 +2893,8 @@ public Builder clearTotals() { return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2629,39 +2912,44 @@ public Builder removeTotals(int index) { return this; } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.Row.Builder getTotalsBuilder( - int index) { + public com.google.analytics.data.v1beta.Row.Builder getTotalsBuilder(int index) { return getTotalsFieldBuilder().getBuilder(index); } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index) { if (totalsBuilder_ == null) { - return totals_.get(index); } else { + return totals_.get(index); + } else { return totalsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public java.util.List - getTotalsOrBuilderList() { + public java.util.List + getTotalsOrBuilderList() { if (totalsBuilder_ != null) { return totalsBuilder_.getMessageOrBuilderList(); } else { @@ -2669,6 +2957,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( } } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
@@ -2676,60 +2966,71 @@ public com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( * repeated .google.analytics.data.v1beta.Row totals = 4; */ public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder() { - return getTotalsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getTotalsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder( - int index) { - return getTotalsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addTotalsBuilder(int index) { + return getTotalsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the totaled values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - public java.util.List - getTotalsBuilderList() { + public java.util.List getTotalsBuilderList() { return getTotalsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> getTotalsFieldBuilder() { if (totalsBuilder_ == null) { - totalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( - totals_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + totalsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder>( + totals_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); totals_ = null; } return totalsBuilder_; } private java.util.List maximums_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMaximumsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { maximums_ = new java.util.ArrayList(maximums_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> maximumsBuilder_; + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> + maximumsBuilder_; /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2744,6 +3045,8 @@ public java.util.List getMaximumsList() { } } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2758,6 +3061,8 @@ public int getMaximumsCount() { } } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2772,14 +3077,15 @@ public com.google.analytics.data.v1beta.Row getMaximums(int index) { } } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder setMaximums( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder setMaximums(int index, com.google.analytics.data.v1beta.Row value) { if (maximumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2793,6 +3099,8 @@ public Builder setMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2811,6 +3119,8 @@ public Builder setMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2831,14 +3141,15 @@ public Builder addMaximums(com.google.analytics.data.v1beta.Row value) { return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder addMaximums( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder addMaximums(int index, com.google.analytics.data.v1beta.Row value) { if (maximumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2852,14 +3163,15 @@ public Builder addMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public Builder addMaximums( - com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addMaximums(com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (maximumsBuilder_ == null) { ensureMaximumsIsMutable(); maximums_.add(builderForValue.build()); @@ -2870,6 +3182,8 @@ public Builder addMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2888,6 +3202,8 @@ public Builder addMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2898,8 +3214,7 @@ public Builder addAllMaximums( java.lang.Iterable values) { if (maximumsBuilder_ == null) { ensureMaximumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, maximums_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, maximums_); onChanged(); } else { maximumsBuilder_.addAllMessages(values); @@ -2907,6 +3222,8 @@ public Builder addAllMaximums( return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2924,6 +3241,8 @@ public Builder clearMaximums() { return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2941,39 +3260,44 @@ public Builder removeMaximums(int index) { return this; } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.Row.Builder getMaximumsBuilder( - int index) { + public com.google.analytics.data.v1beta.Row.Builder getMaximumsBuilder(int index) { return getMaximumsFieldBuilder().getBuilder(index); } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index) { if (maximumsBuilder_ == null) { - return maximums_.get(index); } else { + return maximums_.get(index); + } else { return maximumsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public java.util.List - getMaximumsOrBuilderList() { + public java.util.List + getMaximumsOrBuilderList() { if (maximumsBuilder_ != null) { return maximumsBuilder_.getMessageOrBuilderList(); } else { @@ -2981,6 +3305,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( } } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
@@ -2988,60 +3314,71 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( * repeated .google.analytics.data.v1beta.Row maximums = 5; */ public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder() { - return getMaximumsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getMaximumsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder( - int index) { - return getMaximumsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addMaximumsBuilder(int index) { + return getMaximumsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the maximum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - public java.util.List - getMaximumsBuilderList() { + public java.util.List getMaximumsBuilderList() { return getMaximumsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> getMaximumsFieldBuilder() { if (maximumsBuilder_ == null) { - maximumsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( - maximums_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + maximumsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder>( + maximums_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); maximums_ = null; } return maximumsBuilder_; } private java.util.List minimums_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMinimumsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { minimums_ = new java.util.ArrayList(minimums_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> minimumsBuilder_; + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> + minimumsBuilder_; /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3056,6 +3393,8 @@ public java.util.List getMinimumsList() { } } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3070,6 +3409,8 @@ public int getMinimumsCount() { } } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3084,14 +3425,15 @@ public com.google.analytics.data.v1beta.Row getMinimums(int index) { } } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder setMinimums( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder setMinimums(int index, com.google.analytics.data.v1beta.Row value) { if (minimumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3105,6 +3447,8 @@ public Builder setMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3123,6 +3467,8 @@ public Builder setMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3143,14 +3489,15 @@ public Builder addMinimums(com.google.analytics.data.v1beta.Row value) { return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder addMinimums( - int index, com.google.analytics.data.v1beta.Row value) { + public Builder addMinimums(int index, com.google.analytics.data.v1beta.Row value) { if (minimumsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3164,14 +3511,15 @@ public Builder addMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public Builder addMinimums( - com.google.analytics.data.v1beta.Row.Builder builderForValue) { + public Builder addMinimums(com.google.analytics.data.v1beta.Row.Builder builderForValue) { if (minimumsBuilder_ == null) { ensureMinimumsIsMutable(); minimums_.add(builderForValue.build()); @@ -3182,6 +3530,8 @@ public Builder addMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3200,6 +3550,8 @@ public Builder addMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3210,8 +3562,7 @@ public Builder addAllMinimums( java.lang.Iterable values) { if (minimumsBuilder_ == null) { ensureMinimumsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, minimums_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, minimums_); onChanged(); } else { minimumsBuilder_.addAllMessages(values); @@ -3219,6 +3570,8 @@ public Builder addAllMinimums( return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3236,6 +3589,8 @@ public Builder clearMinimums() { return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3253,39 +3608,44 @@ public Builder removeMinimums(int index) { return this; } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.Row.Builder getMinimumsBuilder( - int index) { + public com.google.analytics.data.v1beta.Row.Builder getMinimumsBuilder(int index) { return getMinimumsFieldBuilder().getBuilder(index); } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( - int index) { + public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index) { if (minimumsBuilder_ == null) { - return minimums_.get(index); } else { + return minimums_.get(index); + } else { return minimumsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public java.util.List - getMinimumsOrBuilderList() { + public java.util.List + getMinimumsOrBuilderList() { if (minimumsBuilder_ != null) { return minimumsBuilder_.getMessageOrBuilderList(); } else { @@ -3293,6 +3653,8 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( } } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
@@ -3300,49 +3662,56 @@ public com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( * repeated .google.analytics.data.v1beta.Row minimums = 6; */ public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder() { - return getMinimumsFieldBuilder().addBuilder( - com.google.analytics.data.v1beta.Row.getDefaultInstance()); + return getMinimumsFieldBuilder() + .addBuilder(com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder( - int index) { - return getMinimumsFieldBuilder().addBuilder( - index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); + public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder(int index) { + return getMinimumsFieldBuilder() + .addBuilder(index, com.google.analytics.data.v1beta.Row.getDefaultInstance()); } /** + * + * *
      * If requested, the minimum values of metrics.
      * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - public java.util.List - getMinimumsBuilderList() { + public java.util.List getMinimumsBuilderList() { return getMinimumsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder> + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder> getMinimumsFieldBuilder() { if (minimumsBuilder_ == null) { - minimumsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.data.v1beta.Row, com.google.analytics.data.v1beta.Row.Builder, com.google.analytics.data.v1beta.RowOrBuilder>( - minimums_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); + minimumsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.data.v1beta.Row, + com.google.analytics.data.v1beta.Row.Builder, + com.google.analytics.data.v1beta.RowOrBuilder>( + minimums_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); minimums_ = null; } return minimumsBuilder_; } - private int rowCount_ ; + private int rowCount_; /** + * + * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -3354,6 +3723,7 @@ public com.google.analytics.data.v1beta.Row.Builder addMinimumsBuilder(
      * 
* * int32 row_count = 7; + * * @return The rowCount. */ @java.lang.Override @@ -3361,6 +3731,8 @@ public int getRowCount() { return rowCount_; } /** + * + * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -3372,16 +3744,19 @@ public int getRowCount() {
      * 
* * int32 row_count = 7; + * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(int value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * The total number of rows in the query result. `rowCount` is independent of
      * the number of rows returned in the response, the `limit` request
@@ -3393,10 +3768,11 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 7; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0; onChanged(); return this; @@ -3404,34 +3780,47 @@ public Builder clearRowCount() { private com.google.analytics.data.v1beta.ResponseMetaData metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> metadataBuilder_; + com.google.analytics.data.v1beta.ResponseMetaData, + com.google.analytics.data.v1beta.ResponseMetaData.Builder, + com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> + metadataBuilder_; /** + * + * *
      * Metadata for the report.
      * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Metadata for the report.
      * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; + * * @return The metadata. */ public com.google.analytics.data.v1beta.ResponseMetaData getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Metadata for the report.
      * 
@@ -3452,6 +3841,8 @@ public Builder setMetadata(com.google.analytics.data.v1beta.ResponseMetaData val return this; } /** + * + * *
      * Metadata for the report.
      * 
@@ -3470,6 +3861,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Metadata for the report.
      * 
@@ -3480,7 +3873,9 @@ public Builder mergeMetadata(com.google.analytics.data.v1beta.ResponseMetaData v if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.analytics.data.v1beta.ResponseMetaData.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.ResponseMetaData.newBuilder(metadata_) + .mergeFrom(value) + .buildPartial(); } else { metadata_ = value; } @@ -3492,6 +3887,8 @@ public Builder mergeMetadata(com.google.analytics.data.v1beta.ResponseMetaData v return this; } /** + * + * *
      * Metadata for the report.
      * 
@@ -3510,6 +3907,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Metadata for the report.
      * 
@@ -3517,11 +3916,13 @@ public Builder clearMetadata() { * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; */ public com.google.analytics.data.v1beta.ResponseMetaData.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Metadata for the report.
      * 
@@ -3532,11 +3933,14 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.analytics.data.v1beta.ResponseMetaData.getDefaultInstance() + : metadata_; } } /** + * + * *
      * Metadata for the report.
      * 
@@ -3544,14 +3948,17 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> + com.google.analytics.data.v1beta.ResponseMetaData, + com.google.analytics.data.v1beta.ResponseMetaData.Builder, + com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.ResponseMetaData, com.google.analytics.data.v1beta.ResponseMetaData.Builder, com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.ResponseMetaData, + com.google.analytics.data.v1beta.ResponseMetaData.Builder, + com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; @@ -3559,34 +3966,47 @@ public com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrB private com.google.analytics.data.v1beta.PropertyQuota propertyQuota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> propertyQuotaBuilder_; + com.google.analytics.data.v1beta.PropertyQuota, + com.google.analytics.data.v1beta.PropertyQuota.Builder, + com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> + propertyQuotaBuilder_; /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; + * * @return Whether the propertyQuota field is set. */ public boolean hasPropertyQuota() { return propertyQuotaBuilder_ != null || propertyQuota_ != null; } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; + * * @return The propertyQuota. */ public com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota() { if (propertyQuotaBuilder_ == null) { - return propertyQuota_ == null ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; + return propertyQuota_ == null + ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() + : propertyQuota_; } else { return propertyQuotaBuilder_.getMessage(); } } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3607,6 +4027,8 @@ public Builder setPropertyQuota(com.google.analytics.data.v1beta.PropertyQuota v return this; } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3625,6 +4047,8 @@ public Builder setPropertyQuota( return this; } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3635,7 +4059,9 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota if (propertyQuotaBuilder_ == null) { if (propertyQuota_ != null) { propertyQuota_ = - com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_).mergeFrom(value).buildPartial(); + com.google.analytics.data.v1beta.PropertyQuota.newBuilder(propertyQuota_) + .mergeFrom(value) + .buildPartial(); } else { propertyQuota_ = value; } @@ -3647,6 +4073,8 @@ public Builder mergePropertyQuota(com.google.analytics.data.v1beta.PropertyQuota return this; } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3665,6 +4093,8 @@ public Builder clearPropertyQuota() { return this; } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3672,11 +4102,13 @@ public Builder clearPropertyQuota() { * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; */ public com.google.analytics.data.v1beta.PropertyQuota.Builder getPropertyQuotaBuilder() { - + onChanged(); return getPropertyQuotaFieldBuilder().getBuilder(); } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3687,11 +4119,14 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO if (propertyQuotaBuilder_ != null) { return propertyQuotaBuilder_.getMessageOrBuilder(); } else { - return propertyQuota_ == null ? - com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() : propertyQuota_; + return propertyQuota_ == null + ? com.google.analytics.data.v1beta.PropertyQuota.getDefaultInstance() + : propertyQuota_; } } /** + * + * *
      * This Analytics Property's quota state including this request.
      * 
@@ -3699,14 +4134,17 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> + com.google.analytics.data.v1beta.PropertyQuota, + com.google.analytics.data.v1beta.PropertyQuota.Builder, + com.google.analytics.data.v1beta.PropertyQuotaOrBuilder> getPropertyQuotaFieldBuilder() { if (propertyQuotaBuilder_ == null) { - propertyQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.data.v1beta.PropertyQuota, com.google.analytics.data.v1beta.PropertyQuota.Builder, com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( - getPropertyQuota(), - getParentForChildren(), - isClean()); + propertyQuotaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.data.v1beta.PropertyQuota, + com.google.analytics.data.v1beta.PropertyQuota.Builder, + com.google.analytics.data.v1beta.PropertyQuotaOrBuilder>( + getPropertyQuota(), getParentForChildren(), isClean()); propertyQuota_ = null; } return propertyQuotaBuilder_; @@ -3714,6 +4152,8 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO private java.lang.Object kind_ = ""; /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -3721,13 +4161,13 @@ public com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaO
      * 
* * string kind = 10; + * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -3736,6 +4176,8 @@ public java.lang.String getKind() { } } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -3743,15 +4185,14 @@ public java.lang.String getKind() {
      * 
* * string kind = 10; + * * @return The bytes for kind. */ - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -3759,6 +4200,8 @@ public java.lang.String getKind() { } } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -3766,20 +4209,22 @@ public java.lang.String getKind() {
      * 
* * string kind = 10; + * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind( - java.lang.String value) { + public Builder setKind(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kind_ = value; onChanged(); return this; } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -3787,15 +4232,18 @@ public Builder setKind(
      * 
* * string kind = 10; + * * @return This builder for chaining. */ public Builder clearKind() { - + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** + * + * *
      * Identifies what kind of resource this message is. This `kind` is always the
      * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -3803,23 +4251,23 @@ public Builder clearKind() {
      * 
* * string kind = 10; + * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { + public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = 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); } @@ -3829,12 +4277,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.data.v1beta.RunReportResponse) } // @@protoc_insertion_point(class_scope:google.analytics.data.v1beta.RunReportResponse) private static final com.google.analytics.data.v1beta.RunReportResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.data.v1beta.RunReportResponse(); } @@ -3843,16 +4291,16 @@ public static com.google.analytics.data.v1beta.RunReportResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunReportResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunReportResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunReportResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunReportResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3867,6 +4315,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.data.v1beta.RunReportResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java similarity index 86% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java rename to proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java index 1cfa3afd..a9f45e94 100644 --- a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.java +++ b/proto-google-analytics-data-v1beta/src/main/java/com/google/analytics/data/v1beta/RunReportResponseOrBuilder.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/analytics/data/v1beta/analytics_data_api.proto package com.google.analytics.data.v1beta; -public interface RunReportResponseOrBuilder extends +public interface RunReportResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.RunReportResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -15,9 +33,10 @@ public interface RunReportResponseOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  java.util.List 
-      getDimensionHeadersList();
+  java.util.List getDimensionHeadersList();
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -27,6 +46,8 @@ public interface RunReportResponseOrBuilder extends
    */
   com.google.analytics.data.v1beta.DimensionHeader getDimensionHeaders(int index);
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -36,6 +57,8 @@ public interface RunReportResponseOrBuilder extends
    */
   int getDimensionHeadersCount();
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -43,9 +66,11 @@ public interface RunReportResponseOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  java.util.List 
+  java.util.List
       getDimensionHeadersOrBuilderList();
   /**
+   *
+   *
    * 
    * Describes dimension columns. The number of DimensionHeaders and ordering of
    * DimensionHeaders matches the dimensions present in rows.
@@ -53,10 +78,11 @@ public interface RunReportResponseOrBuilder extends
    *
    * repeated .google.analytics.data.v1beta.DimensionHeader dimension_headers = 1;
    */
-  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -64,9 +90,10 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  java.util.List 
-      getMetricHeadersList();
+  java.util.List getMetricHeadersList();
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -76,6 +103,8 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    */
   com.google.analytics.data.v1beta.MetricHeader getMetricHeaders(int index);
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -85,6 +114,8 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    */
   int getMetricHeadersCount();
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -92,9 +123,11 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  java.util.List 
+  java.util.List
       getMetricHeadersOrBuilderList();
   /**
+   *
+   *
    * 
    * Describes metric columns. The number of MetricHeaders and ordering of
    * MetricHeaders matches the metrics present in rows.
@@ -102,19 +135,21 @@ com.google.analytics.data.v1beta.DimensionHeaderOrBuilder getDimensionHeadersOrB
    *
    * repeated .google.analytics.data.v1beta.MetricHeader metric_headers = 2;
    */
-  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(
-      int index);
+  com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - java.util.List - getRowsList(); + java.util.List getRowsList(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -123,6 +158,8 @@ com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder */ com.google.analytics.data.v1beta.Row getRows(int index); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -131,34 +168,39 @@ com.google.analytics.data.v1beta.MetricHeaderOrBuilder getMetricHeadersOrBuilder */ int getRowsCount(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - java.util.List - getRowsOrBuilderList(); + java.util.List getRowsOrBuilderList(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.data.v1beta.Row rows = 3; */ - com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( - int index); + com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder(int index); /** + * + * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - java.util.List - getTotalsList(); + java.util.List getTotalsList(); /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -167,6 +209,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( */ com.google.analytics.data.v1beta.Row getTotals(int index); /** + * + * *
    * If requested, the totaled values of metrics.
    * 
@@ -175,34 +219,39 @@ com.google.analytics.data.v1beta.RowOrBuilder getRowsOrBuilder( */ int getTotalsCount(); /** + * + * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - java.util.List - getTotalsOrBuilderList(); + java.util.List getTotalsOrBuilderList(); /** + * + * *
    * If requested, the totaled values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row totals = 4; */ - com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( - int index); + com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder(int index); /** + * + * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - java.util.List - getMaximumsList(); + java.util.List getMaximumsList(); /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -211,6 +260,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( */ com.google.analytics.data.v1beta.Row getMaximums(int index); /** + * + * *
    * If requested, the maximum values of metrics.
    * 
@@ -219,34 +270,40 @@ com.google.analytics.data.v1beta.RowOrBuilder getTotalsOrBuilder( */ int getMaximumsCount(); /** + * + * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - java.util.List + java.util.List getMaximumsOrBuilderList(); /** + * + * *
    * If requested, the maximum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row maximums = 5; */ - com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( - int index); + com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder(int index); /** + * + * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - java.util.List - getMinimumsList(); + java.util.List getMinimumsList(); /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -255,6 +312,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( */ com.google.analytics.data.v1beta.Row getMinimums(int index); /** + * + * *
    * If requested, the minimum values of metrics.
    * 
@@ -263,25 +322,30 @@ com.google.analytics.data.v1beta.RowOrBuilder getMaximumsOrBuilder( */ int getMinimumsCount(); /** + * + * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - java.util.List + java.util.List getMinimumsOrBuilderList(); /** + * + * *
    * If requested, the minimum values of metrics.
    * 
* * repeated .google.analytics.data.v1beta.Row minimums = 6; */ - com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( - int index); + com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(int index); /** + * + * *
    * The total number of rows in the query result. `rowCount` is independent of
    * the number of rows returned in the response, the `limit` request
@@ -293,29 +357,38 @@ com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(
    * 
* * int32 row_count = 7; + * * @return The rowCount. */ int getRowCount(); /** + * + * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Metadata for the report.
    * 
* * .google.analytics.data.v1beta.ResponseMetaData metadata = 8; + * * @return The metadata. */ com.google.analytics.data.v1beta.ResponseMetaData getMetadata(); /** + * + * *
    * Metadata for the report.
    * 
@@ -325,24 +398,32 @@ com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( com.google.analytics.data.v1beta.ResponseMetaDataOrBuilder getMetadataOrBuilder(); /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; + * * @return Whether the propertyQuota field is set. */ boolean hasPropertyQuota(); /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
* * .google.analytics.data.v1beta.PropertyQuota property_quota = 9; + * * @return The propertyQuota. */ com.google.analytics.data.v1beta.PropertyQuota getPropertyQuota(); /** + * + * *
    * This Analytics Property's quota state including this request.
    * 
@@ -352,6 +433,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder( com.google.analytics.data.v1beta.PropertyQuotaOrBuilder getPropertyQuotaOrBuilder(); /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -359,10 +442,13 @@ com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(
    * 
* * string kind = 10; + * * @return The kind. */ java.lang.String getKind(); /** + * + * *
    * Identifies what kind of resource this message is. This `kind` is always the
    * fixed string "analyticsData#runReport". Useful to distinguish between
@@ -370,8 +456,8 @@ com.google.analytics.data.v1beta.RowOrBuilder getMinimumsOrBuilder(
    * 
* * string kind = 10; + * * @return The bytes for kind. */ - com.google.protobuf.ByteString - getKindBytes(); + com.google.protobuf.ByteString getKindBytes(); } diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto b/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto similarity index 100% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto rename to proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/analytics_data_api.proto diff --git a/owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/data.proto b/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/data.proto similarity index 100% rename from owl-bot-staging/v1beta/proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/data.proto rename to proto-google-analytics-data-v1beta/src/main/proto/google/analytics/data/v1beta/data.proto From 4e6be45c2f7b2a8e7179454878b8a85f8ab72dbb Mon Sep 17 00:00:00 2001 From: Chanseok Oh Date: Mon, 1 Nov 2021 11:46:57 -0400 Subject: [PATCH 3/4] Fix builds --- google-analytics-data-bom/pom.xml | 10 --- google-analytics-data/pom.xml | 9 --- grpc-google-analytics-data-v1alpha/pom.xml | 65 ------------------- pom.xml | 12 ---- .../clirr-ignored-differences.xml | 19 ------ proto-google-analytics-data-v1alpha/pom.xml | 42 ------------ versions.txt | 2 - 7 files changed, 159 deletions(-) delete mode 100644 grpc-google-analytics-data-v1alpha/pom.xml delete mode 100644 proto-google-analytics-data-v1alpha/clirr-ignored-differences.xml delete mode 100644 proto-google-analytics-data-v1alpha/pom.xml diff --git a/google-analytics-data-bom/pom.xml b/google-analytics-data-bom/pom.xml index 850d404c..ff5d01af 100644 --- a/google-analytics-data-bom/pom.xml +++ b/google-analytics-data-bom/pom.xml @@ -58,21 +58,11 @@ google-analytics-data 0.10.3-SNAPSHOT - - com.google.api.grpc - grpc-google-analytics-data-v1alpha - 0.10.3-SNAPSHOT - com.google.api.grpc grpc-google-analytics-data-v1beta 0.10.3-SNAPSHOT - - com.google.api.grpc - proto-google-analytics-data-v1alpha - 0.10.3-SNAPSHOT - com.google.api.grpc proto-google-analytics-data-v1beta diff --git a/google-analytics-data/pom.xml b/google-analytics-data/pom.xml index 9b53260a..4608a5ba 100644 --- a/google-analytics-data/pom.xml +++ b/google-analytics-data/pom.xml @@ -42,10 +42,6 @@ proto-google-common-protos - - com.google.api.grpc - proto-google-analytics-data-v1alpha - com.google.api.grpc proto-google-analytics-data-v1beta @@ -75,11 +71,6 @@ 4.13.2 - - com.google.api.grpc - grpc-google-analytics-data-v1alpha - test - com.google.api.grpc grpc-google-analytics-data-v1beta diff --git a/grpc-google-analytics-data-v1alpha/pom.xml b/grpc-google-analytics-data-v1alpha/pom.xml deleted file mode 100644 index ec48a80f..00000000 --- a/grpc-google-analytics-data-v1alpha/pom.xml +++ /dev/null @@ -1,65 +0,0 @@ - - 4.0.0 - com.google.api.grpc - grpc-google-analytics-data-v1alpha - 0.10.3-SNAPSHOT - grpc-google-analytics-data-v1alpha - GRPC library for grpc-google-analytics-data-v1alpha - - com.google.analytics - google-analytics-data-parent - 0.10.3-SNAPSHOT - - - - io.grpc - grpc-api - - - io.grpc - grpc-stub - - - io.grpc - grpc-protobuf - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-analytics-data-v1alpha - - - com.google.guava - guava - - - - - - java9 - - [9,) - - - - javax.annotation - javax.annotation-api - - - - - - - - - org.codehaus.mojo - flatten-maven-plugin - - - - \ No newline at end of file diff --git a/pom.xml b/pom.xml index d0b5d7d3..f8d4b03d 100644 --- a/pom.xml +++ b/pom.xml @@ -63,21 +63,11 @@ google-analytics-data 0.10.3-SNAPSHOT - - com.google.api.grpc - proto-google-analytics-data-v1alpha - 0.10.3-SNAPSHOT - com.google.api.grpc proto-google-analytics-data-v1beta 0.10.3-SNAPSHOT - - com.google.api.grpc - grpc-google-analytics-data-v1alpha - 0.10.3-SNAPSHOT - com.google.api.grpc grpc-google-analytics-data-v1beta @@ -113,9 +103,7 @@ google-analytics-data - grpc-google-analytics-data-v1alpha grpc-google-analytics-data-v1beta - proto-google-analytics-data-v1alpha proto-google-analytics-data-v1beta google-analytics-data-bom diff --git a/proto-google-analytics-data-v1alpha/clirr-ignored-differences.xml b/proto-google-analytics-data-v1alpha/clirr-ignored-differences.xml deleted file mode 100644 index 00405bc0..00000000 --- a/proto-google-analytics-data-v1alpha/clirr-ignored-differences.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - 7012 - com/google/analytics/data/v1alpha/*OrBuilder - * get*(*) - - - 7012 - com/google/analytics/data/v1alpha/*OrBuilder - boolean contains*(*) - - - 7012 - com/google/analytics/data/v1alpha/*OrBuilder - boolean has*(*) - - diff --git a/proto-google-analytics-data-v1alpha/pom.xml b/proto-google-analytics-data-v1alpha/pom.xml deleted file mode 100644 index a43c5acd..00000000 --- a/proto-google-analytics-data-v1alpha/pom.xml +++ /dev/null @@ -1,42 +0,0 @@ - - 4.0.0 - com.google.api.grpc - proto-google-analytics-data-v1alpha - 0.10.3-SNAPSHOT - proto-google-analytics-data-v1alpha - PROTO library for proto-google-analytics-data-v1alpha - - com.google.analytics - google-analytics-data-parent - 0.10.3-SNAPSHOT - - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - com.google.guava - guava - - - com.google.api - api-common - - - - - - - org.codehaus.mojo - flatten-maven-plugin - - - - \ No newline at end of file diff --git a/versions.txt b/versions.txt index a3e2b483..51397811 100644 --- a/versions.txt +++ b/versions.txt @@ -2,7 +2,5 @@ # module:released-version:current-version google-analytics-data:0.10.2:0.10.3-SNAPSHOT -grpc-google-analytics-data-v1alpha:0.10.2:0.10.3-SNAPSHOT grpc-google-analytics-data-v1beta:0.10.2:0.10.3-SNAPSHOT -proto-google-analytics-data-v1alpha:0.10.2:0.10.3-SNAPSHOT proto-google-analytics-data-v1beta:0.10.2:0.10.3-SNAPSHOT From 61b51c9129fca6c44f38cbdf5995eb7e1d60d76c Mon Sep 17 00:00:00 2001 From: Chanseok Oh Date: Mon, 1 Nov 2021 11:49:43 -0400 Subject: [PATCH 4/4] Have clirr ignore removed alpha1 classes --- google-analytics-data/clirr-ignored-differences.xml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 google-analytics-data/clirr-ignored-differences.xml diff --git a/google-analytics-data/clirr-ignored-differences.xml b/google-analytics-data/clirr-ignored-differences.xml new file mode 100644 index 00000000..163361e7 --- /dev/null +++ b/google-analytics-data/clirr-ignored-differences.xml @@ -0,0 +1,8 @@ + + + + + 8001 + com/google/analytics/data/v1alpha/** + +