Example: properties/1234/metadata * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -404,7 +404,7 @@ public final Metadata getMetadata(MetadataName name) { // 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 App + Web Property Identifier is + * dimensions and metrics. In this method, a Google Analytics 4 (GA4) Property Identifier is * specified in the request, and the metadata response includes Custom dimensions and metrics as * well as Universal metadata. * @@ -422,8 +422,8 @@ public final Metadata getMetadata(MetadataName 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 - * App + Web Property identifier. + * specified in the URL path and not URL parameters. Property is a numeric Google Analytics 4 + * (GA4) Property identifier. *
Example: properties/1234/metadata
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -435,7 +435,7 @@ public final Metadata getMetadata(String name) {
// 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 App + Web Property Identifier is
+ * dimensions and metrics. In this method, a Google Analytics 4 (GA4) Property Identifier is
* specified in the request, and the metadata response includes Custom dimensions and metrics as
* well as Universal metadata.
*
@@ -465,7 +465,7 @@ public final Metadata getMetadata(GetMetadataRequest 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 App + Web Property Identifier is
+ * dimensions and metrics. In this method, a Google Analytics 4 (GA4) Property Identifier is
* specified in the request, and the metadata response includes Custom dimensions and metrics as
* well as Universal metadata.
*
@@ -491,6 +491,48 @@ public final UnaryCallable Sample code:
+ *
+ * Sample code:
+ *
+ *
+ *
+ * @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.
+ *
+ *
+ * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ * RunRealtimeReportRequest request = RunRealtimeReportRequest.newBuilder().build();
+ * RunRealtimeReportResponse response = alphaAnalyticsDataClient.runRealtimeReport(request);
+ * }
+ *
+ */
+ public final UnaryCallable
+ * try (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ * RunRealtimeReportRequest request = RunRealtimeReportRequest.newBuilder().build();
+ * ApiFuture<RunRealtimeReportResponse> future = alphaAnalyticsDataClient.runRealtimeReportCallable().futureCall(request);
+ * // Do something
+ * RunRealtimeReportResponse response = future.get();
+ * }
+ *
* Returns metadata for dimensions and metrics available in reporting methods.
* Used to explore the dimensions and metrics. In this method, a Google
- * Analytics App + Web Property Identifier is specified in the request, and
+ * Analytics 4 (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
@@ -483,6 +531,22 @@ public void getMetadata(
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
* Returns metadata for dimensions and metrics available in reporting methods.
* Used to explore the dimensions and metrics. In this method, a Google
- * Analytics App + Web Property Identifier is specified in the request, and
+ * Analytics 4 (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
@@ -672,6 +743,25 @@ public void getMetadata(
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
* Returns metadata for dimensions and metrics available in reporting methods.
* Used to explore the dimensions and metrics. In this method, a Google
- * Analytics App + Web Property Identifier is specified in the request, and
+ * Analytics 4 (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
@@ -791,6 +881,21 @@ public com.google.analytics.data.v1alpha.Metadata getMetadata(
com.google.analytics.data.v1alpha.GetMetadataRequest request) {
return blockingUnaryCall(getChannel(), getGetMetadataMethod(), getCallOptions(), request);
}
+
+ /**
+ *
+ *
+ *
*
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
new file mode 100644
index 00000000..2f702b72
--- /dev/null
+++ b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportRequest.java
@@ -0,0 +1,3343 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See 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 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 blockingUnaryCall(
+ getChannel(), getRunRealtimeReportMethod(), getCallOptions(), request);
+ }
}
/**
@@ -905,7 +1010,7 @@ protected AlphaAnalyticsDataFutureStub build(
*
* Returns metadata for dimensions and metrics available in reporting methods.
* Used to explore the dimensions and metrics. In this method, a Google
- * Analytics App + Web Property Identifier is specified in the request, and
+ * Analytics 4 (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
@@ -920,6 +1025,22 @@ protected AlphaAnalyticsDataFutureStub build(
return futureUnaryCall(
getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request);
}
+
+ /**
+ *
+ *
+ *
*
@@ -482,26 +492,36 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* Report data for each row.
* For example if RunReportRequest contains:
* ```none
- * dimensions {
- * name: "eventName"
- * }
- * dimensions {
- * name: "countryId"
- * }
- * metrics {
- * name: "eventCount"
- * }
+ * "dimensions": [
+ * {
+ * "name": "eventName"
+ * },
+ * {
+ * "name": "countryId"
+ * }
+ * ],
+ * "metrics": [
+ * {
+ * "name": "eventCount"
+ * }
+ * ]
* ```
- * One row with 'in_app_purchase' as the eventName, 'us' as the countryId, and
+ * One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and
* 15 as the eventCount, would be:
* ```none
- * dimension_values {
- * name: 'in_app_purchase'
- * name: 'us'
- * }
- * metric_values {
- * int64_value: 15
- * }
+ * "dimensionValues": [
+ * {
+ * "value": "in_app_purchase"
+ * },
+ * {
+ * "value": "JP"
+ * }
+ * ],
+ * "metricValues": [
+ * {
+ * "value": "15"
+ * }
+ * ]
* ```
*
+ * 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 futureUnaryCall(
+ getChannel().newCall(getRunRealtimeReportMethod(), getCallOptions()), request);
+ }
}
private static final int METHODID_RUN_REPORT = 0;
@@ -928,6 +1049,7 @@ protected AlphaAnalyticsDataFutureStub build(
private static final int METHODID_BATCH_RUN_PIVOT_REPORTS = 3;
private static final int METHODID_GET_UNIVERSAL_METADATA = 4;
private static final int METHODID_GET_METADATA = 5;
+ private static final int METHODID_RUN_REALTIME_REPORT = 6;
private static final class MethodHandlers
- * Dimensions are attributes of your data. For example, the dimension City
- * indicates the city, for example, "Paris" or "New York", from which an event
- * originates. Requests are allowed up to 8 dimensions.
+ * 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}
@@ -136,7 +137,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The name of the dimension.
+ * The name of the dimension. See the [API
+ * Dimensions](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -159,7 +167,14 @@ public java.lang.String getName() {
*
*
*
- * The name of the dimension.
+ * The name of the dimension. See the [API
+ * Dimensions](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -408,9 +423,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Dimensions are attributes of your data. For example, the dimension City
- * indicates the city, for example, "Paris" or "New York", from which an event
- * originates. Requests are allowed up to 8 dimensions.
+ * 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}
@@ -582,7 +598,14 @@ public Builder mergeFrom(
*
*
*
- * The name of the dimension.
+ * The name of the dimension. See the [API
+ * Dimensions](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -604,7 +627,14 @@ public java.lang.String getName() {
*
*
*
- * The name of the dimension.
+ * The name of the dimension. See the [API
+ * Dimensions](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -626,7 +656,14 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * The name of the dimension.
+ * The name of the dimension. See the [API
+ * Dimensions](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -647,7 +684,14 @@ public Builder setName(java.lang.String value) {
*
*
*
- * The name of the dimension.
+ * The name of the dimension. See the [API
+ * Dimensions](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -664,7 +708,14 @@ public Builder clearName() {
*
*
*
- * The name of the dimension.
+ * The name of the dimension. See the [API
+ * Dimensions](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
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
index 6a295201..9f412c6a 100644
--- 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
@@ -27,7 +27,14 @@ public interface DimensionOrBuilder
*
*
*
- * The name of the dimension.
+ * The name of the dimension. See the [API
+ * Dimensions](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -39,7 +46,14 @@ public interface DimensionOrBuilder
*
*
*
- * The name of the dimension.
+ * The name of the dimension. See the [API
+ * Dimensions](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
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
index 2b70ead1..4e8665dc 100644
--- 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
@@ -117,7 +117,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * A Google Analytics App + Web property id.
+ * A Google Analytics GA4 property id. To learn more, see [where to find your
+ * Property
+ * ID](https://developers.google.com/analytics/trusted-testing/analytics-data/property-id).
*
*
* string property_id = 1;
@@ -140,7 +142,9 @@ public java.lang.String getPropertyId() {
*
*
*
- * A Google Analytics App + Web property id.
+ * A Google Analytics GA4 property id. To learn more, see [where to find your
+ * Property
+ * ID](https://developers.google.com/analytics/trusted-testing/analytics-data/property-id).
*
*
* string property_id = 1;
@@ -480,7 +484,9 @@ public Builder mergeFrom(
*
*
*
- * A Google Analytics App + Web property id.
+ * A Google Analytics GA4 property id. To learn more, see [where to find your
+ * Property
+ * ID](https://developers.google.com/analytics/trusted-testing/analytics-data/property-id).
*
*
* string property_id = 1;
@@ -502,7 +508,9 @@ public java.lang.String getPropertyId() {
*
*
*
- * A Google Analytics App + Web property id.
+ * A Google Analytics GA4 property id. To learn more, see [where to find your
+ * Property
+ * ID](https://developers.google.com/analytics/trusted-testing/analytics-data/property-id).
*
*
* string property_id = 1;
@@ -524,7 +532,9 @@ public com.google.protobuf.ByteString getPropertyIdBytes() {
*
*
*
- * A Google Analytics App + Web property id.
+ * A Google Analytics GA4 property id. To learn more, see [where to find your
+ * Property
+ * ID](https://developers.google.com/analytics/trusted-testing/analytics-data/property-id).
*
*
* string property_id = 1;
@@ -545,7 +555,9 @@ public Builder setPropertyId(java.lang.String value) {
*
*
*
- * A Google Analytics App + Web property id.
+ * A Google Analytics GA4 property id. To learn more, see [where to find your
+ * Property
+ * ID](https://developers.google.com/analytics/trusted-testing/analytics-data/property-id).
*
*
* string property_id = 1;
@@ -562,7 +574,9 @@ public Builder clearPropertyId() {
*
*
*
- * A Google Analytics App + Web property id.
+ * A Google Analytics GA4 property id. To learn more, see [where to find your
+ * Property
+ * ID](https://developers.google.com/analytics/trusted-testing/analytics-data/property-id).
*
*
* string property_id = 1;
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
index 1fca30c5..0afcede0 100644
--- 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
@@ -27,7 +27,9 @@ public interface EntityOrBuilder
*
*
*
- * A Google Analytics App + Web property id.
+ * A Google Analytics GA4 property id. To learn more, see [where to find your
+ * Property
+ * ID](https://developers.google.com/analytics/trusted-testing/analytics-data/property-id).
*
*
* string property_id = 1;
@@ -39,7 +41,9 @@ public interface EntityOrBuilder
*
*
*
- * A Google Analytics App + Web property id.
+ * A Google Analytics GA4 property id. To learn more, see [where to find your
+ * Property
+ * ID](https://developers.google.com/analytics/trusted-testing/analytics-data/property-id).
*
*
* string property_id = 1;
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
index c7580e41..a8c7e12f 100644
--- 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
@@ -4641,7 +4641,10 @@ public com.google.protobuf.ByteString getFieldNameBytes() {
*
*
*
- * A filter for null values.
+ * 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;
@@ -5455,7 +5458,10 @@ public Builder setFieldNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * A filter for null values.
+ * 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;
@@ -5472,7 +5478,10 @@ public boolean getNullFilter() {
*
*
*
- * A filter for null values.
+ * 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;
@@ -5490,7 +5499,10 @@ public Builder setNullFilter(boolean value) {
*
*
*
- * A filter for null values.
+ * 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;
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
index 819b15b7..10b89362 100644
--- 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
@@ -54,7 +54,10 @@ public interface FilterOrBuilder
*
*
*
- * A filter for null values.
+ * 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;
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
index 75791b29..805edbcf 100644
--- 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
@@ -119,7 +119,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* 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 App + Web Property identifier.
+ * Google Analytics 4 (GA4) Property identifier.
* Example: properties/1234/metadata
*
*
@@ -147,7 +147,7 @@ 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
- * Google Analytics App + Web Property identifier.
+ * Google Analytics 4 (GA4) Property identifier.
* Example: properties/1234/metadata
*
*
@@ -495,7 +495,7 @@ public Builder mergeFrom(
*
* 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 App + Web Property identifier.
+ * Google Analytics 4 (GA4) Property identifier.
* Example: properties/1234/metadata
*
*
@@ -522,7 +522,7 @@ 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
- * Google Analytics App + Web Property identifier.
+ * Google Analytics 4 (GA4) Property identifier.
* Example: properties/1234/metadata
*
*
@@ -549,7 +549,7 @@ 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
- * Google Analytics App + Web Property identifier.
+ * Google Analytics 4 (GA4) Property identifier.
* Example: properties/1234/metadata
*
*
@@ -575,7 +575,7 @@ public Builder setName(java.lang.String value) {
*
* 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 App + Web Property identifier.
+ * Google Analytics 4 (GA4) Property identifier.
* Example: properties/1234/metadata
*
*
@@ -597,7 +597,7 @@ public Builder clearName() {
*
* 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 App + Web Property identifier.
+ * Google Analytics 4 (GA4) Property identifier.
* Example: properties/1234/metadata
*
*
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
index 97cd84ed..913374f9 100644
--- 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
@@ -29,7 +29,7 @@ public interface GetMetadataRequestOrBuilder
*
* 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 App + Web Property identifier.
+ * Google Analytics 4 (GA4) Property identifier.
* Example: properties/1234/metadata
*
*
@@ -46,7 +46,7 @@ public interface GetMetadataRequestOrBuilder
*
* 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 App + Web Property identifier.
+ * Google Analytics 4 (GA4) Property identifier.
* Example: properties/1234/metadata
*
*
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
index 29c1c67c..fcaf371b 100644
--- 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
@@ -201,7 +201,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -214,7 +214,7 @@ public java.util.List
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -228,7 +228,7 @@ public java.util.List
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -241,7 +241,7 @@ public int getDimensionsCount() {
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -254,7 +254,7 @@ public com.google.analytics.data.v1alpha.DimensionMetadata getDimensions(int ind
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -890,7 +890,7 @@ private void ensureDimensionsIsMutable() {
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -906,7 +906,7 @@ public java.util.List
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -922,7 +922,7 @@ public int getDimensionsCount() {
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -938,7 +938,7 @@ public com.google.analytics.data.v1alpha.DimensionMetadata getDimensions(int ind
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -961,7 +961,7 @@ public Builder setDimensions(
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -981,7 +981,7 @@ public Builder setDimensions(
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1003,7 +1003,7 @@ public Builder addDimensions(com.google.analytics.data.v1alpha.DimensionMetadata
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1026,7 +1026,7 @@ public Builder addDimensions(
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1046,7 +1046,7 @@ public Builder addDimensions(
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1066,7 +1066,7 @@ public Builder addDimensions(
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1086,7 +1086,7 @@ public Builder addAllDimensions(
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1105,7 +1105,7 @@ public Builder clearDimensions() {
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1124,7 +1124,7 @@ public Builder removeDimensions(int index) {
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1137,7 +1137,7 @@ public com.google.analytics.data.v1alpha.DimensionMetadata.Builder getDimensions
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1154,7 +1154,7 @@ public com.google.analytics.data.v1alpha.DimensionMetadataOrBuilder getDimension
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1171,7 +1171,7 @@ public com.google.analytics.data.v1alpha.DimensionMetadataOrBuilder getDimension
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1184,7 +1184,7 @@ public com.google.analytics.data.v1alpha.DimensionMetadata.Builder addDimensions
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -1199,7 +1199,7 @@ public com.google.analytics.data.v1alpha.DimensionMetadata.Builder addDimensions
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
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
index 442d5702..7eef362b 100644
--- 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
@@ -52,7 +52,7 @@ public interface MetadataOrBuilder
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -62,7 +62,7 @@ public interface MetadataOrBuilder
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -72,7 +72,7 @@ public interface MetadataOrBuilder
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -82,7 +82,7 @@ public interface MetadataOrBuilder
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
@@ -93,7 +93,7 @@ public interface MetadataOrBuilder
*
*
*
- * The dimensions descriptions.
+ * The dimension descriptions.
*
*
* repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
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
index dc518f30..98c08526 100644
--- 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
@@ -22,8 +22,9 @@
*
*
*
- * The quantitative measurements of a report. For example, the metric eventCount
- * is the total number of events. Requests are allowed up to 10 metrics.
+ * 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}
@@ -131,7 +132,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The name of the metric.
+ * The name of the metric. See the [API
+ * Metrics](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -154,7 +162,14 @@ public java.lang.String getName() {
*
*
*
- * The name of the metric.
+ * The name of the metric. See the [API
+ * Metrics](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -181,7 +196,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* A mathematical expression for derived metrics. For example, the metric
- * Event count per user is eventCount/totalUsers.
+ * Event count per user is `eventCount/totalUsers`.
*
*
* string expression = 2;
@@ -205,7 +220,7 @@ public java.lang.String getExpression() {
*
*
* A mathematical expression for derived metrics. For example, the metric
- * Event count per user is eventCount/totalUsers.
+ * Event count per user is `eventCount/totalUsers`.
*
*
* string expression = 2;
@@ -231,9 +246,9 @@ public com.google.protobuf.ByteString getExpressionBytes() {
*
*
*
- * Indicates if a metric is invisible.
- * If a metric is invisible, the metric is not in the response, but can be
- * used in filters, order_bys or being referred to in a metric expression.
+ * 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;
@@ -425,8 +440,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The quantitative measurements of a report. For example, the metric eventCount
- * is the total number of events. Requests are allowed up to 10 metrics.
+ * 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}
@@ -597,7 +613,14 @@ public Builder mergeFrom(
*
*
*
- * The name of the metric.
+ * The name of the metric. See the [API
+ * Metrics](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -619,7 +642,14 @@ public java.lang.String getName() {
*
*
*
- * The name of the metric.
+ * The name of the metric. See the [API
+ * Metrics](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -641,7 +671,14 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * The name of the metric.
+ * The name of the metric. See the [API
+ * Metrics](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -662,7 +699,14 @@ public Builder setName(java.lang.String value) {
*
*
*
- * The name of the metric.
+ * The name of the metric. See the [API
+ * Metrics](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -679,7 +723,14 @@ public Builder clearName() {
*
*
*
- * The name of the metric.
+ * The name of the metric. See the [API
+ * Metrics](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -704,7 +755,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* A mathematical expression for derived metrics. For example, the metric
- * Event count per user is eventCount/totalUsers.
+ * Event count per user is `eventCount/totalUsers`.
*
*
* string expression = 2;
@@ -727,7 +778,7 @@ public java.lang.String getExpression() {
*
*
* A mathematical expression for derived metrics. For example, the metric
- * Event count per user is eventCount/totalUsers.
+ * Event count per user is `eventCount/totalUsers`.
*
*
* string expression = 2;
@@ -750,7 +801,7 @@ public com.google.protobuf.ByteString getExpressionBytes() {
*
*
* A mathematical expression for derived metrics. For example, the metric
- * Event count per user is eventCount/totalUsers.
+ * Event count per user is `eventCount/totalUsers`.
*
*
* string expression = 2;
@@ -772,7 +823,7 @@ public Builder setExpression(java.lang.String value) {
*
*
* A mathematical expression for derived metrics. For example, the metric
- * Event count per user is eventCount/totalUsers.
+ * Event count per user is `eventCount/totalUsers`.
*
*
* string expression = 2;
@@ -790,7 +841,7 @@ public Builder clearExpression() {
*
*
* A mathematical expression for derived metrics. For example, the metric
- * Event count per user is eventCount/totalUsers.
+ * Event count per user is `eventCount/totalUsers`.
*
*
* string expression = 2;
@@ -814,9 +865,9 @@ public Builder setExpressionBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Indicates if a metric is invisible.
- * If a metric is invisible, the metric is not in the response, but can be
- * used in filters, order_bys or being referred to in a metric expression.
+ * 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;
@@ -831,9 +882,9 @@ public boolean getInvisible() {
*
*
*
- * Indicates if a metric is invisible.
- * If a metric is invisible, the metric is not in the response, but can be
- * used in filters, order_bys or being referred to in a metric expression.
+ * 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;
@@ -851,9 +902,9 @@ public Builder setInvisible(boolean value) {
*
*
*
- * Indicates if a metric is invisible.
- * If a metric is invisible, the metric is not in the response, but can be
- * used in filters, order_bys or being referred to in a metric expression.
+ * 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;
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
index 10230687..f4535230 100644
--- 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
@@ -27,7 +27,14 @@ public interface MetricOrBuilder
*
*
*
- * The name of the metric.
+ * The name of the metric. See the [API
+ * Metrics](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -39,7 +46,14 @@ public interface MetricOrBuilder
*
*
*
- * The name of the metric.
+ * The name of the metric. See the [API
+ * Metrics](https://developers.google.com/analytics/trusted-testing/analytics-data/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;
@@ -53,7 +67,7 @@ public interface MetricOrBuilder
*
*
* A mathematical expression for derived metrics. For example, the metric
- * Event count per user is eventCount/totalUsers.
+ * Event count per user is `eventCount/totalUsers`.
*
*
* string expression = 2;
@@ -66,7 +80,7 @@ public interface MetricOrBuilder
*
*
* A mathematical expression for derived metrics. For example, the metric
- * Event count per user is eventCount/totalUsers.
+ * Event count per user is `eventCount/totalUsers`.
*
*
* string expression = 2;
@@ -79,9 +93,9 @@ public interface MetricOrBuilder
*
*
*
- * Indicates if a metric is invisible.
- * If a metric is invisible, the metric is not in the response, but can be
- * used in filters, order_bys or being referred to in a metric expression.
+ * 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;
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
index 3518d09e..fd5f2dde 100644
--- 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
@@ -174,7 +174,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -190,7 +191,8 @@ public boolean hasTokensPerDay() {
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -208,7 +210,8 @@ public com.google.analytics.data.v1alpha.QuotaStatus getTokensPerDay() {
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -225,9 +228,10 @@ public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerDayOrB
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -242,9 +246,10 @@ public boolean hasTokensPerHour() {
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -261,9 +266,10 @@ public com.google.analytics.data.v1alpha.QuotaStatus getTokensPerHour() {
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -279,7 +285,8 @@ public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerHourOr
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -294,7 +301,8 @@ public boolean hasConcurrentRequests() {
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -311,7 +319,8 @@ public com.google.analytics.data.v1alpha.QuotaStatus getConcurrentRequests() {
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -327,8 +336,9 @@ public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getConcurrentReque
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -343,8 +353,9 @@ public boolean hasServerErrorsPerProjectPerHour() {
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -361,8 +372,9 @@ public com.google.analytics.data.v1alpha.QuotaStatus getServerErrorsPerProjectPe
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -802,7 +814,8 @@ public Builder mergeFrom(
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -817,7 +830,8 @@ public boolean hasTokensPerDay() {
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -838,7 +852,8 @@ public com.google.analytics.data.v1alpha.QuotaStatus getTokensPerDay() {
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -861,7 +876,8 @@ public Builder setTokensPerDay(com.google.analytics.data.v1alpha.QuotaStatus val
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -882,7 +898,8 @@ public Builder setTokensPerDay(
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -909,7 +926,8 @@ public Builder mergeTokensPerDay(com.google.analytics.data.v1alpha.QuotaStatus v
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -930,7 +948,8 @@ public Builder clearTokensPerDay() {
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -945,7 +964,8 @@ public com.google.analytics.data.v1alpha.QuotaStatus.Builder getTokensPerDayBuil
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -964,7 +984,8 @@ public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerDayOrB
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -997,9 +1018,10 @@ public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerDayOrB
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -1013,9 +1035,10 @@ public boolean hasTokensPerHour() {
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -1035,9 +1058,10 @@ public com.google.analytics.data.v1alpha.QuotaStatus getTokensPerHour() {
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -1059,9 +1083,10 @@ public Builder setTokensPerHour(com.google.analytics.data.v1alpha.QuotaStatus va
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -1081,9 +1106,10 @@ public Builder setTokensPerHour(
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -1109,9 +1135,10 @@ public Builder mergeTokensPerHour(com.google.analytics.data.v1alpha.QuotaStatus
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -1131,9 +1158,10 @@ public Builder clearTokensPerHour() {
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -1147,9 +1175,10 @@ public com.google.analytics.data.v1alpha.QuotaStatus.Builder getTokensPerHourBui
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -1167,9 +1196,10 @@ public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerHourOr
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -1201,7 +1231,8 @@ public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getTokensPerHourOr
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -1215,7 +1246,8 @@ public boolean hasConcurrentRequests() {
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -1235,7 +1267,8 @@ public com.google.analytics.data.v1alpha.QuotaStatus getConcurrentRequests() {
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -1257,7 +1290,8 @@ public Builder setConcurrentRequests(com.google.analytics.data.v1alpha.QuotaStat
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -1277,7 +1311,8 @@ public Builder setConcurrentRequests(
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -1303,7 +1338,8 @@ public Builder mergeConcurrentRequests(com.google.analytics.data.v1alpha.QuotaSt
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -1323,7 +1359,8 @@ public Builder clearConcurrentRequests() {
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -1337,7 +1374,8 @@ public com.google.analytics.data.v1alpha.QuotaStatus.Builder getConcurrentReques
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -1355,7 +1393,8 @@ public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getConcurrentReque
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -1387,8 +1426,9 @@ public com.google.analytics.data.v1alpha.QuotaStatusOrBuilder getConcurrentReque
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -1404,8 +1444,9 @@ public boolean hasServerErrorsPerProjectPerHour() {
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -1426,8 +1467,9 @@ public com.google.analytics.data.v1alpha.QuotaStatus getServerErrorsPerProjectPe
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -1451,8 +1493,9 @@ public Builder setServerErrorsPerProjectPerHour(
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -1473,8 +1516,9 @@ public Builder setServerErrorsPerProjectPerHour(
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -1503,8 +1547,9 @@ public Builder mergeServerErrorsPerProjectPerHour(
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -1525,8 +1570,9 @@ public Builder clearServerErrorsPerProjectPerHour() {
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -1542,8 +1588,9 @@ public Builder clearServerErrorsPerProjectPerHour() {
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -1563,8 +1610,9 @@ public Builder clearServerErrorsPerProjectPerHour() {
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
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
index 2dd378e6..9f192040 100644
--- 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
@@ -27,7 +27,8 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -40,7 +41,8 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -53,7 +55,8 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties can use up to 25,000 tokens per day. Most requests
+ * 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.
*
*
@@ -65,9 +68,10 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -79,9 +83,10 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -93,9 +98,10 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties can use up to 5,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.
+ * 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;
@@ -106,7 +112,8 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -118,7 +125,8 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -130,7 +138,8 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties can send up to 10 concurrent requests.
+ * 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;
@@ -141,8 +150,9 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -154,8 +164,9 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
@@ -167,8 +178,9 @@ public interface PropertyQuotaOrBuilder
*
*
*
- * Analytics Properties and cloud project pairs can have up to 10
- * server errors per hour.
+ * 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;
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
index 151ecade..9c00ec64 100644
--- 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
@@ -25,26 +25,36 @@
* Report data for each row.
* For example if RunReportRequest contains:
* ```none
- * dimensions {
- * name: "eventName"
- * }
- * dimensions {
- * name: "countryId"
- * }
- * metrics {
- * name: "eventCount"
- * }
+ * "dimensions": [
+ * {
+ * "name": "eventName"
+ * },
+ * {
+ * "name": "countryId"
+ * }
+ * ],
+ * "metrics": [
+ * {
+ * "name": "eventCount"
+ * }
+ * ]
* ```
- * One row with 'in_app_purchase' as the eventName, 'us' as the countryId, and
+ * One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and
* 15 as the eventCount, would be:
* ```none
- * dimension_values {
- * name: 'in_app_purchase'
- * name: 'us'
- * }
- * metric_values {
- * int64_value: 15
- * }
+ * "dimensionValues": [
+ * {
+ * "value": "in_app_purchase"
+ * },
+ * {
+ * "value": "JP"
+ * }
+ * ],
+ * "metricValues": [
+ * {
+ * "value": "15"
+ * }
+ * ]
* ```
*
+ * 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
+ * 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/trusted-testing/analytics-data/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/trusted-testing/analytics-data/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
+ * The dimensions requested and displayed.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2;
+ */
+ @java.lang.Override
+ public java.util.List
+ * The dimensions requested and displayed.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.data.v1alpha.DimensionOrBuilder>
+ 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
+ * The metrics requested and displayed.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Metric metrics = 3;
+ */
+ @java.lang.Override
+ public java.util.List
+ * The metrics requested and displayed.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Metric metrics = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.data.v1alpha.MetricOrBuilder>
+ 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
+ * 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
+ * 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
+ * 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
+ * Specifies how rows are ordered in the response.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8;
+ */
+ @java.lang.Override
+ public java.util.List
+ * Specifies how rows are ordered in the response.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.data.v1alpha.OrderByOrBuilder>
+ 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
+ * 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/trusted-testing/analytics-data/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/trusted-testing/analytics-data/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/trusted-testing/analytics-data/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/trusted-testing/analytics-data/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/trusted-testing/analytics-data/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
+ * The dimensions requested and displayed.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Dimension dimensions = 2;
+ */
+ public java.util.List
+ * 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 extends com.google.analytics.data.v1alpha.Dimension> 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 extends com.google.analytics.data.v1alpha.DimensionOrBuilder>
+ 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
+ * The metrics requested and displayed.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Metric metrics = 3;
+ */
+ public java.util.List
+ * 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 extends com.google.analytics.data.v1alpha.Metric> 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 extends com.google.analytics.data.v1alpha.MetricOrBuilder>
+ 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
+ * 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
+ * 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
+ * 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 extends com.google.analytics.data.v1alpha.MetricAggregation> 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
+ * 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
+ * Specifies how rows are ordered in the response.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.OrderBy order_bys = 8;
+ */
+ public java.util.List
+ * 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 extends com.google.analytics.data.v1alpha.OrderBy> 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 extends com.google.analytics.data.v1alpha.OrderByOrBuilder>
+ 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
+ * 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
+ * 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/trusted-testing/analytics-data/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/trusted-testing/analytics-data/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
+ * 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 extends com.google.analytics.data.v1alpha.DimensionOrBuilder>
+ 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
+ * 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 extends com.google.analytics.data.v1alpha.MetricOrBuilder>
+ 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
+ * 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
+ * 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
+ * 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 extends com.google.analytics.data.v1alpha.OrderByOrBuilder>
+ 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
new file mode 100644
index 00000000..4f370abd
--- /dev/null
+++ b/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RunRealtimeReportResponse.java
@@ -0,0 +1,3836 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See 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
+ * 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
+ * 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 extends com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder>
+ 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
+ * 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
+ * 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 extends com.google.analytics.data.v1alpha.MetricHeaderOrBuilder>
+ 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 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
+ * 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 extends com.google.analytics.data.v1alpha.RowOrBuilder>
+ 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
+ * If requested, the totaled values of metrics.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Row totals = 4;
+ */
+ @java.lang.Override
+ public java.util.List
+ * If requested, the totaled values of metrics.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Row totals = 4;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.data.v1alpha.RowOrBuilder>
+ 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
+ * If requested, the maximum values of metrics.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Row maximums = 5;
+ */
+ @java.lang.Override
+ public java.util.List
+ * If requested, the maximum values of metrics.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Row maximums = 5;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.data.v1alpha.RowOrBuilder>
+ 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
+ * If requested, the minimum values of metrics.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Row minimums = 6;
+ */
+ @java.lang.Override
+ public java.util.List
+ * If requested, the minimum values of metrics.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Row minimums = 6;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.data.v1alpha.RowOrBuilder>
+ 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
+ * 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
+ * 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 extends com.google.analytics.data.v1alpha.DimensionHeader> 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 extends com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder>
+ 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
+ * 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
+ * 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 extends com.google.analytics.data.v1alpha.MetricHeader> 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 extends com.google.analytics.data.v1alpha.MetricHeaderOrBuilder>
+ 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
+ * Rows of dimension value combinations and metric values in the report.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Row rows = 3;
+ */
+ public java.util.List
+ * 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 extends com.google.analytics.data.v1alpha.Row> 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 extends com.google.analytics.data.v1alpha.RowOrBuilder>
+ 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
+ * If requested, the totaled values of metrics.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Row totals = 4;
+ */
+ public java.util.List
+ * 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 extends com.google.analytics.data.v1alpha.Row> 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 extends com.google.analytics.data.v1alpha.RowOrBuilder>
+ 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
+ * If requested, the maximum values of metrics.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Row maximums = 5;
+ */
+ public java.util.List
+ * 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 extends com.google.analytics.data.v1alpha.Row> 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 extends com.google.analytics.data.v1alpha.RowOrBuilder>
+ 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
+ * If requested, the minimum values of metrics.
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.Row minimums = 6;
+ */
+ public java.util.List
+ * 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 extends com.google.analytics.data.v1alpha.Row> 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 extends com.google.analytics.data.v1alpha.RowOrBuilder>
+ 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
+ * 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
+ * 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
+ * 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 extends com.google.analytics.data.v1alpha.DimensionHeaderOrBuilder>
+ 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
+ * 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 extends com.google.analytics.data.v1alpha.MetricHeaderOrBuilder>
+ 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
+ * 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 extends com.google.analytics.data.v1alpha.RowOrBuilder> 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
+ * 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 extends com.google.analytics.data.v1alpha.RowOrBuilder> 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
+ * 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 extends com.google.analytics.data.v1alpha.RowOrBuilder>
+ 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
+ * 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 extends com.google.analytics.data.v1alpha.RowOrBuilder>
+ 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/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
index f35d308f..0aa3046b 100644
--- 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
@@ -92,7 +92,7 @@ service AlphaAnalyticsData {
// Returns metadata for dimensions and metrics available in reporting methods.
// Used to explore the dimensions and metrics. In this method, a Google
- // Analytics App + Web Property Identifier is specified in the request, and
+ // Analytics 4 (GA4) Property Identifier is specified in the request, and
// the metadata response includes Custom dimensions and metrics as well as
// Universal metadata.
//
@@ -106,6 +106,16 @@ service AlphaAnalyticsData {
};
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.
@@ -118,7 +128,7 @@ message Metadata {
// Resource name of this metadata.
string name = 3;
- // The dimensions descriptions.
+ // The dimension descriptions.
repeated DimensionMetadata dimensions = 1;
// The metric descriptions.
@@ -393,7 +403,7 @@ message UniversalMetadata {
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 App + Web Property identifier.
+ // Google Analytics 4 (GA4) Property identifier.
//
// Example: properties/1234/metadata
string name = 1 [
@@ -403,3 +413,76 @@ message GetMetadataRequest {
}
];
}
+
+// 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/trusted-testing/analytics-data/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
index dde58529..8af5cc45 100644
--- 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
@@ -46,15 +46,27 @@ message DateRange {
// The unique identifier of the property whose events are tracked.
message Entity {
- // A Google Analytics App + Web property id.
+ // A Google Analytics GA4 property id. To learn more, see [where to find your
+ // Property
+ // ID](https://developers.google.com/analytics/trusted-testing/analytics-data/property-id).
string property_id = 1;
}
-// Dimensions are attributes of your data. For example, the dimension City
-// indicates the city, for example, "Paris" or "New York", from which an event
-// originates. Requests are allowed up to 8 dimensions.
+// 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.
+ // The name of the dimension. See the [API
+ // Dimensions](https://developers.google.com/analytics/trusted-testing/analytics-data/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.
@@ -104,19 +116,29 @@ message DimensionExpression {
}
}
-// The quantitative measurements of a report. For example, the metric eventCount
-// is the total number of events. Requests are allowed up to 10 metrics.
+// 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.
+ // The name of the metric. See the [API
+ // Metrics](https://developers.google.com/analytics/trusted-testing/analytics-data/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.
+ // Event count per user is `eventCount/totalUsers`.
string expression = 2;
- // Indicates if a metric is invisible.
- // If a metric is invisible, the metric is not in the response, but can be
- // used in filters, order_bys or being referred to in a metric expression.
+ // 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;
}
@@ -241,7 +263,10 @@ message Filter {
// Specify one type of filter for `Filter`.
oneof one_filter {
- // A filter for null values.
+ // 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.
@@ -502,28 +527,38 @@ message PivotDimensionHeader {
// For example if RunReportRequest contains:
//
// ```none
-// dimensions {
-// name: "eventName"
-// }
-// dimensions {
-// name: "countryId"
-// }
-// metrics {
-// name: "eventCount"
-// }
+// "dimensions": [
+// {
+// "name": "eventName"
+// },
+// {
+// "name": "countryId"
+// }
+// ],
+// "metrics": [
+// {
+// "name": "eventCount"
+// }
+// ]
// ```
//
-// One row with 'in_app_purchase' as the eventName, 'us' as the countryId, and
+// One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and
// 15 as the eventCount, would be:
//
// ```none
-// dimension_values {
-// name: 'in_app_purchase'
-// name: 'us'
-// }
-// metric_values {
-// int64_value: 15
-// }
+// "dimensionValues": [
+// {
+// "value": "in_app_purchase"
+// },
+// {
+// "value": "JP"
+// }
+// ],
+// "metricValues": [
+// {
+// "value": "15"
+// }
+// ]
// ```
message Row {
// List of requested dimension values. In a PivotReport, dimension_values
@@ -568,20 +603,24 @@ message NumericValue {
// property is exhausted, all requests to that property will return Resource
// Exhausted errors.
message PropertyQuota {
- // Analytics Properties can use up to 25,000 tokens per day. Most requests
+ // 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;
- // Analytics Properties can use up to 5,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.
+ // 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;
- // Analytics Properties can send up to 10 concurrent requests.
+ // Standard Analytics Properties can send up to 10 concurrent requests;
+ // Analytics 360 Properties can use up to 50 concurrent requests.
QuotaStatus concurrent_requests = 3;
- // Analytics Properties and cloud project pairs can have up to 10
- // server errors per hour.
+ // 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;
}
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 6238a9d3..047f841d 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@