diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java index 1dc673006f7f..1ad7cf69478d 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java @@ -8777,6 +8777,99 @@ public final AttributionSettings updateAttributionSettings( return stub.updateAttributionSettingsCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns a customized report of data access records. The report provides records of each time a + * user reads Google Analytics reporting data. Access records are retained for up to 2 years. + * + *
Data Access Reports can be requested for a property. The property must be in Google + * Analytics 360. This method is only available to Administrators. + * + *
These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and + * other products like Firebase & Admob that can retrieve data from Google Analytics through a + * linkage. These records don't include property configuration changes like adding a stream or + * changing a property's time zone. For configuration change history, see + * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. + * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + * AnalyticsAdminServiceClient.create()) { + * RunAccessReportRequest request = + * RunAccessReportRequest.newBuilder() + * .setEntity("entity-1298275357") + * .addAllDimensions(new ArrayList+ * + * @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 RunAccessReportResponse runAccessReport(RunAccessReportRequest request) { + return runAccessReportCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns a customized report of data access records. The report provides records of each time a + * user reads Google Analytics reporting data. Access records are retained for up to 2 years. + * + *()) + * .addAllMetrics(new ArrayList ()) + * .addAllDateRanges(new ArrayList ()) + * .setDimensionFilter(AccessFilterExpression.newBuilder().build()) + * .setMetricFilter(AccessFilterExpression.newBuilder().build()) + * .setOffset(-1019779949) + * .setLimit(102976443) + * .setTimeZone("timeZone-2077180903") + * .addAllOrderBys(new ArrayList ()) + * .setReturnEntityQuota(true) + * .build(); + * RunAccessReportResponse response = analyticsAdminServiceClient.runAccessReport(request); + * } + * }
Data Access Reports can be requested for a property. The property must be in Google + * Analytics 360. This method is only available to Administrators. + * + *
These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and + * other products like Firebase & Admob that can retrieve data from Google Analytics through a + * linkage. These records don't include property configuration changes like adding a stream or + * changing a property's time zone. For configuration change history, see + * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. + * try (AnalyticsAdminServiceClient analyticsAdminServiceClient = + * AnalyticsAdminServiceClient.create()) { + * RunAccessReportRequest request = + * RunAccessReportRequest.newBuilder() + * .setEntity("entity-1298275357") + * .addAllDimensions(new ArrayList+ */ + public final UnaryCallable()) + * .addAllMetrics(new ArrayList ()) + * .addAllDateRanges(new ArrayList ()) + * .setDimensionFilter(AccessFilterExpression.newBuilder().build()) + * .setMetricFilter(AccessFilterExpression.newBuilder().build()) + * .setOffset(-1019779949) + * .setLimit(102976443) + * .setTimeZone("timeZone-2077180903") + * .addAllOrderBys(new ArrayList ()) + * .setReturnEntityQuota(true) + * .build(); + * ApiFuture future = + * analyticsAdminServiceClient.runAccessReportCallable().futureCall(request); + * // Do something. + * RunAccessReportResponse response = future.get(); + * } + * }
+ * Returns a customized report of data access records. The report provides + * records of each time a user reads Google Analytics reporting data. Access + * records are retained for up to 2 years. + * Data Access Reports can be requested for a property. The property must be + * in Google Analytics 360. This method is only available to Administrators. + * These data access records include GA4 UI Reporting, GA4 UI Explorations, + * GA4 Data API, and other products like Firebase & Admob that can retrieve + * data from Google Analytics through a linkage. These records don't include + * property configuration changes like adding a stream or changing a + * property's time zone. For configuration change history, see + * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + *+ */ + public void runAccessReport( + com.google.analytics.admin.v1alpha.RunAccessReportRequest request, + io.grpc.stub.StreamObserver
+ * Returns a customized report of data access records. The report provides + * records of each time a user reads Google Analytics reporting data. Access + * records are retained for up to 2 years. + * Data Access Reports can be requested for a property. The property must be + * in Google Analytics 360. This method is only available to Administrators. + * These data access records include GA4 UI Reporting, GA4 UI Explorations, + * GA4 Data API, and other products like Firebase & Admob that can retrieve + * data from Google Analytics through a linkage. These records don't include + * property configuration changes like adding a stream or changing a + * property's time zone. For configuration change history, see + * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + *+ */ + public void runAccessReport( + com.google.analytics.admin.v1alpha.RunAccessReportRequest request, + io.grpc.stub.StreamObserver
+ * Returns a customized report of data access records. The report provides + * records of each time a user reads Google Analytics reporting data. Access + * records are retained for up to 2 years. + * Data Access Reports can be requested for a property. The property must be + * in Google Analytics 360. This method is only available to Administrators. + * These data access records include GA4 UI Reporting, GA4 UI Explorations, + * GA4 Data API, and other products like Firebase & Admob that can retrieve + * data from Google Analytics through a linkage. These records don't include + * property configuration changes like adding a stream or changing a + * property's time zone. For configuration change history, see + * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + *+ */ + public com.google.analytics.admin.v1alpha.RunAccessReportResponse runAccessReport( + com.google.analytics.admin.v1alpha.RunAccessReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunAccessReportMethod(), getCallOptions(), request); + } } /** @@ -9504,6 +9634,30 @@ protected AnalyticsAdminServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAttributionSettingsMethod(), getCallOptions()), request); } + + /** + * + * + *
+ * Returns a customized report of data access records. The report provides + * records of each time a user reads Google Analytics reporting data. Access + * records are retained for up to 2 years. + * Data Access Reports can be requested for a property. The property must be + * in Google Analytics 360. This method is only available to Administrators. + * These data access records include GA4 UI Reporting, GA4 UI Explorations, + * GA4 Data API, and other products like Firebase & Admob that can retrieve + * data from Google Analytics through a linkage. These records don't include + * property configuration changes like adding a stream or changing a + * property's time zone. For configuration change history, see + * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.RunAccessReportResponse> + runAccessReport(com.google.analytics.admin.v1alpha.RunAccessReportRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunAccessReportMethod(), getCallOptions()), request); + } } private static final int METHODID_GET_ACCOUNT = 0; @@ -9584,6 +9738,7 @@ protected AnalyticsAdminServiceFutureStub build( private static final int METHODID_ARCHIVE_AUDIENCE = 75; private static final int METHODID_GET_ATTRIBUTION_SETTINGS = 76; private static final int METHODID_UPDATE_ATTRIBUTION_SETTINGS = 77; + private static final int METHODID_RUN_ACCESS_REPORT = 78; private static final class MethodHandlers
+ * To express that the result needs to be between two numbers (inclusive). + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessBetweenFilter} + */ +public final class AccessBetweenFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessBetweenFilter) + AccessBetweenFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessBetweenFilter.newBuilder() to construct. + private AccessBetweenFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessBetweenFilter() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessBetweenFilter(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessBetweenFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.analytics.admin.v1alpha.NumericValue.Builder subBuilder = null; + if (fromValue_ != null) { + subBuilder = fromValue_.toBuilder(); + } + fromValue_ = + input.readMessage( + com.google.analytics.admin.v1alpha.NumericValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fromValue_); + fromValue_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + com.google.analytics.admin.v1alpha.NumericValue.Builder subBuilder = null; + if (toValue_ != null) { + subBuilder = toValue_.toBuilder(); + } + toValue_ = + input.readMessage( + com.google.analytics.admin.v1alpha.NumericValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(toValue_); + toValue_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessBetweenFilter.class, + com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder.class); + } + + public static final int FROM_VALUE_FIELD_NUMBER = 1; + private com.google.analytics.admin.v1alpha.NumericValue fromValue_; + /** + * + * + *
+ * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ *
+ * @return Whether the fromValue field is set.
+ */
+ @java.lang.Override
+ public boolean hasFromValue() {
+ return fromValue_ != null;
+ }
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ *
+ * @return The fromValue.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.NumericValue getFromValue() {
+ return fromValue_ == null
+ ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()
+ : fromValue_;
+ }
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBuilder() {
+ return getFromValue();
+ }
+
+ public static final int TO_VALUE_FIELD_NUMBER = 2;
+ private com.google.analytics.admin.v1alpha.NumericValue toValue_;
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ *
+ * @return Whether the toValue field is set.
+ */
+ @java.lang.Override
+ public boolean hasToValue() {
+ return toValue_ != null;
+ }
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ *
+ * @return The toValue.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.NumericValue getToValue() {
+ return toValue_ == null
+ ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()
+ : toValue_;
+ }
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getToValueOrBuilder() {
+ return getToValue();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (fromValue_ != null) {
+ output.writeMessage(1, getFromValue());
+ }
+ if (toValue_ != null) {
+ output.writeMessage(2, getToValue());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (fromValue_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFromValue());
+ }
+ if (toValue_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getToValue());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessBetweenFilter)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter other =
+ (com.google.analytics.admin.v1alpha.AccessBetweenFilter) obj;
+
+ if (hasFromValue() != other.hasFromValue()) return false;
+ if (hasFromValue()) {
+ if (!getFromValue().equals(other.getFromValue())) return false;
+ }
+ if (hasToValue() != other.hasToValue()) return false;
+ if (hasToValue()) {
+ if (!getToValue().equals(other.getToValue())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasFromValue()) {
+ hash = (37 * hash) + FROM_VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getFromValue().hashCode();
+ }
+ if (hasToValue()) {
+ hash = (37 * hash) + TO_VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getToValue().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter 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.admin.v1alpha.AccessBetweenFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom(
+ 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.admin.v1alpha.AccessBetweenFilter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter 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.admin.v1alpha.AccessBetweenFilter parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter 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.admin.v1alpha.AccessBetweenFilter parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter 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.admin.v1alpha.AccessBetweenFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * To express that the result needs to be between two numbers (inclusive). + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessBetweenFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ *
+ * @return Whether the fromValue field is set.
+ */
+ public boolean hasFromValue() {
+ return fromValueBuilder_ != null || fromValue_ != null;
+ }
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ *
+ * @return The fromValue.
+ */
+ public com.google.analytics.admin.v1alpha.NumericValue getFromValue() {
+ if (fromValueBuilder_ == null) {
+ return fromValue_ == null
+ ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()
+ : fromValue_;
+ } else {
+ return fromValueBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ */
+ public Builder setFromValue(com.google.analytics.admin.v1alpha.NumericValue value) {
+ if (fromValueBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ fromValue_ = value;
+ onChanged();
+ } else {
+ fromValueBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ */
+ public Builder setFromValue(
+ com.google.analytics.admin.v1alpha.NumericValue.Builder builderForValue) {
+ if (fromValueBuilder_ == null) {
+ fromValue_ = builderForValue.build();
+ onChanged();
+ } else {
+ fromValueBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ */
+ public Builder mergeFromValue(com.google.analytics.admin.v1alpha.NumericValue value) {
+ if (fromValueBuilder_ == null) {
+ if (fromValue_ != null) {
+ fromValue_ =
+ com.google.analytics.admin.v1alpha.NumericValue.newBuilder(fromValue_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ fromValue_ = value;
+ }
+ onChanged();
+ } else {
+ fromValueBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ */
+ public Builder clearFromValue() {
+ if (fromValueBuilder_ == null) {
+ fromValue_ = null;
+ onChanged();
+ } else {
+ fromValue_ = null;
+ fromValueBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ */
+ public com.google.analytics.admin.v1alpha.NumericValue.Builder getFromValueBuilder() {
+
+ onChanged();
+ return getFromValueFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ */
+ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBuilder() {
+ if (fromValueBuilder_ != null) {
+ return fromValueBuilder_.getMessageOrBuilder();
+ } else {
+ return fromValue_ == null
+ ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()
+ : fromValue_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.NumericValue,
+ com.google.analytics.admin.v1alpha.NumericValue.Builder,
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder>
+ getFromValueFieldBuilder() {
+ if (fromValueBuilder_ == null) {
+ fromValueBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.NumericValue,
+ com.google.analytics.admin.v1alpha.NumericValue.Builder,
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder>(
+ getFromValue(), getParentForChildren(), isClean());
+ fromValue_ = null;
+ }
+ return fromValueBuilder_;
+ }
+
+ private com.google.analytics.admin.v1alpha.NumericValue toValue_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.NumericValue,
+ com.google.analytics.admin.v1alpha.NumericValue.Builder,
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder>
+ toValueBuilder_;
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ *
+ * @return Whether the toValue field is set.
+ */
+ public boolean hasToValue() {
+ return toValueBuilder_ != null || toValue_ != null;
+ }
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ *
+ * @return The toValue.
+ */
+ public com.google.analytics.admin.v1alpha.NumericValue getToValue() {
+ if (toValueBuilder_ == null) {
+ return toValue_ == null
+ ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()
+ : toValue_;
+ } else {
+ return toValueBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ */
+ public Builder setToValue(com.google.analytics.admin.v1alpha.NumericValue value) {
+ if (toValueBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ toValue_ = value;
+ onChanged();
+ } else {
+ toValueBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ */
+ public Builder setToValue(
+ com.google.analytics.admin.v1alpha.NumericValue.Builder builderForValue) {
+ if (toValueBuilder_ == null) {
+ toValue_ = builderForValue.build();
+ onChanged();
+ } else {
+ toValueBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ */
+ public Builder mergeToValue(com.google.analytics.admin.v1alpha.NumericValue value) {
+ if (toValueBuilder_ == null) {
+ if (toValue_ != null) {
+ toValue_ =
+ com.google.analytics.admin.v1alpha.NumericValue.newBuilder(toValue_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ toValue_ = value;
+ }
+ onChanged();
+ } else {
+ toValueBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ */
+ public Builder clearToValue() {
+ if (toValueBuilder_ == null) {
+ toValue_ = null;
+ onChanged();
+ } else {
+ toValue_ = null;
+ toValueBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ */
+ public com.google.analytics.admin.v1alpha.NumericValue.Builder getToValueBuilder() {
+
+ onChanged();
+ return getToValueFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ */
+ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getToValueOrBuilder() {
+ if (toValueBuilder_ != null) {
+ return toValueBuilder_.getMessageOrBuilder();
+ } else {
+ return toValue_ == null
+ ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()
+ : toValue_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.NumericValue,
+ com.google.analytics.admin.v1alpha.NumericValue.Builder,
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder>
+ getToValueFieldBuilder() {
+ if (toValueBuilder_ == null) {
+ toValueBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.NumericValue,
+ com.google.analytics.admin.v1alpha.NumericValue.Builder,
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder>(
+ getToValue(), getParentForChildren(), isClean());
+ toValue_ = null;
+ }
+ return toValueBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessBetweenFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessBetweenFilter)
+ private static final com.google.analytics.admin.v1alpha.AccessBetweenFilter DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessBetweenFilter();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessBetweenFilter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ *
+ * @return Whether the fromValue field is set.
+ */
+ boolean hasFromValue();
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ *
+ * @return The fromValue.
+ */
+ com.google.analytics.admin.v1alpha.NumericValue getFromValue();
+ /**
+ *
+ *
+ * + * Begins with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue from_value = 1;
+ */
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder getFromValueOrBuilder();
+
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ *
+ * @return Whether the toValue field is set.
+ */
+ boolean hasToValue();
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ *
+ * @return The toValue.
+ */
+ com.google.analytics.admin.v1alpha.NumericValue getToValue();
+ /**
+ *
+ *
+ * + * Ends with this number. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue to_value = 2;
+ */
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder getToValueOrBuilder();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java
new file mode 100644
index 000000000000..68a1e9e0be19
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDateRange.java
@@ -0,0 +1,859 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * A contiguous range of days: startDate, startDate + 1, ..., endDate. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessDateRange} + */ +public final class AccessDateRange extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDateRange) + AccessDateRangeOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessDateRange.newBuilder() to construct. + private AccessDateRange(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessDateRange() { + startDate_ = ""; + endDate_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessDateRange(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessDateRange( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + startDate_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + endDate_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessDateRange.class, + com.google.analytics.admin.v1alpha.AccessDateRange.Builder.class); + } + + public static final int START_DATE_FIELD_NUMBER = 1; + private volatile java.lang.Object startDate_; + /** + * + * + *
+ * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + *+ * + *
string start_date = 1;
+ *
+ * @return The startDate.
+ */
+ @java.lang.Override
+ public java.lang.String getStartDate() {
+ java.lang.Object ref = startDate_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ startDate_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + *+ * + *
string start_date = 1;
+ *
+ * @return The bytes for startDate.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getStartDateBytes() {
+ java.lang.Object ref = startDate_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ startDate_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int END_DATE_FIELD_NUMBER = 2;
+ private volatile java.lang.Object endDate_;
+ /**
+ *
+ *
+ * + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + *+ * + *
string end_date = 2;
+ *
+ * @return The endDate.
+ */
+ @java.lang.Override
+ public java.lang.String getEndDate() {
+ java.lang.Object ref = endDate_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ endDate_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + *+ * + *
string end_date = 2;
+ *
+ * @return The bytes for endDate.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getEndDateBytes() {
+ java.lang.Object ref = endDate_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ endDate_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startDate_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, startDate_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endDate_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, endDate_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startDate_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, startDate_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endDate_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, endDate_);
+ }
+ 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.admin.v1alpha.AccessDateRange)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessDateRange other =
+ (com.google.analytics.admin.v1alpha.AccessDateRange) obj;
+
+ if (!getStartDate().equals(other.getStartDate())) return false;
+ if (!getEndDate().equals(other.getEndDate())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + START_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + getStartDate().hashCode();
+ hash = (37 * hash) + END_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + getEndDate().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDateRange 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.admin.v1alpha.AccessDateRange parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom(
+ 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.admin.v1alpha.AccessDateRange parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDateRange parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDateRange 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.admin.v1alpha.AccessDateRange parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDateRange 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.admin.v1alpha.AccessDateRange parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDateRange 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.admin.v1alpha.AccessDateRange prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * A contiguous range of days: startDate, startDate + 1, ..., endDate. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessDateRange} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + *+ * + *
string start_date = 1;
+ *
+ * @return The startDate.
+ */
+ public java.lang.String getStartDate() {
+ java.lang.Object ref = startDate_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ startDate_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + *+ * + *
string start_date = 1;
+ *
+ * @return The bytes for startDate.
+ */
+ public com.google.protobuf.ByteString getStartDateBytes() {
+ java.lang.Object ref = startDate_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ startDate_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + *+ * + *
string start_date = 1;
+ *
+ * @param value The startDate to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStartDate(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ startDate_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + *+ * + *
string start_date = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearStartDate() {
+
+ startDate_ = getDefaultInstance().getStartDate();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + *+ * + *
string start_date = 1;
+ *
+ * @param value The bytes for startDate to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStartDateBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ startDate_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object endDate_ = "";
+ /**
+ *
+ *
+ * + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + *+ * + *
string end_date = 2;
+ *
+ * @return The endDate.
+ */
+ public java.lang.String getEndDate() {
+ java.lang.Object ref = endDate_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ endDate_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + *+ * + *
string end_date = 2;
+ *
+ * @return The bytes for endDate.
+ */
+ public com.google.protobuf.ByteString getEndDateBytes() {
+ java.lang.Object ref = endDate_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ endDate_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + *+ * + *
string end_date = 2;
+ *
+ * @param value The endDate to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndDate(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ endDate_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + *+ * + *
string end_date = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEndDate() {
+
+ endDate_ = getDefaultInstance().getEndDate();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + *+ * + *
string end_date = 2;
+ *
+ * @param value The bytes for endDate to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndDateBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ endDate_ = value;
+ onChanged();
+ return this;
+ }
+
+ @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.admin.v1alpha.AccessDateRange)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDateRange)
+ private static final com.google.analytics.admin.v1alpha.AccessDateRange DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDateRange();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDateRange getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + *+ * + *
string start_date = 1;
+ *
+ * @return The startDate.
+ */
+ java.lang.String getStartDate();
+ /**
+ *
+ *
+ * + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + *+ * + *
string start_date = 1;
+ *
+ * @return The bytes for startDate.
+ */
+ com.google.protobuf.ByteString getStartDateBytes();
+
+ /**
+ *
+ *
+ * + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + *+ * + *
string end_date = 2;
+ *
+ * @return The endDate.
+ */
+ java.lang.String getEndDate();
+ /**
+ *
+ *
+ * + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + *+ * + *
string end_date = 2;
+ *
+ * @return The bytes for endDate.
+ */
+ com.google.protobuf.ByteString getEndDateBytes();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java
new file mode 100644
index 000000000000..eb7bc36562ca
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimension.java
@@ -0,0 +1,663 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * Dimensions are attributes of your data. For example, the dimension + * `userEmail` indicates the email of the user that accessed reporting data. + * Dimension values in report responses are strings. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimension} + */ +public final class AccessDimension extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDimension) + AccessDimensionOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessDimension.newBuilder() to construct. + private AccessDimension(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessDimension() { + dimensionName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessDimension(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessDimension( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + dimensionName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessDimension.class, + com.google.analytics.admin.v1alpha.AccessDimension.Builder.class); + } + + public static final int DIMENSION_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object dimensionName_; + /** + * + * + *
+ * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The dimensionName.
+ */
+ @java.lang.Override
+ public java.lang.String getDimensionName() {
+ java.lang.Object ref = dimensionName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ dimensionName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The bytes for dimensionName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDimensionNameBytes() {
+ java.lang.Object ref = dimensionName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ dimensionName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dimensionName_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessDimension)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessDimension other =
+ (com.google.analytics.admin.v1alpha.AccessDimension) obj;
+
+ if (!getDimensionName().equals(other.getDimensionName())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DIMENSION_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDimensionName().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimension 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.admin.v1alpha.AccessDimension parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom(
+ 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.admin.v1alpha.AccessDimension parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimension parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimension 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.admin.v1alpha.AccessDimension parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimension 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.admin.v1alpha.AccessDimension parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimension 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.admin.v1alpha.AccessDimension prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Dimensions are attributes of your data. For example, the dimension + * `userEmail` indicates the email of the user that accessed reporting data. + * Dimension values in report responses are strings. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimension} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The dimensionName.
+ */
+ public java.lang.String getDimensionName() {
+ java.lang.Object ref = dimensionName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ dimensionName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The bytes for dimensionName.
+ */
+ public com.google.protobuf.ByteString getDimensionNameBytes() {
+ java.lang.Object ref = dimensionName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ dimensionName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + *+ * + *
string dimension_name = 1;
+ *
+ * @param value The dimensionName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDimensionName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ dimensionName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + *+ * + *
string dimension_name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDimensionName() {
+
+ dimensionName_ = getDefaultInstance().getDimensionName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + *+ * + *
string dimension_name = 1;
+ *
+ * @param value The bytes for dimensionName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ dimensionName_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDimension)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDimension)
+ private static final com.google.analytics.admin.v1alpha.AccessDimension DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDimension();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimension getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Describes a dimension column in the report. Dimensions requested in a report + * produce column entries within rows and DimensionHeaders. However, dimensions + * used exclusively within filters or expressions do not produce columns in a + * report; correspondingly, those dimensions do not produce headers. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionHeader} + */ +public final class AccessDimensionHeader extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDimensionHeader) + AccessDimensionHeaderOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessDimensionHeader.newBuilder() to construct. + private AccessDimensionHeader(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessDimensionHeader() { + dimensionName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessDimensionHeader(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessDimensionHeader( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + dimensionName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessDimensionHeader.class, + com.google.analytics.admin.v1alpha.AccessDimensionHeader.Builder.class); + } + + public static final int DIMENSION_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object dimensionName_; + /** + * + * + *
+ * The dimension's name; for example 'userEmail'. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The dimensionName.
+ */
+ @java.lang.Override
+ public java.lang.String getDimensionName() {
+ java.lang.Object ref = dimensionName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ dimensionName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimension's name; for example 'userEmail'. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The bytes for dimensionName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDimensionNameBytes() {
+ java.lang.Object ref = dimensionName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ dimensionName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dimensionName_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessDimensionHeader)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessDimensionHeader other =
+ (com.google.analytics.admin.v1alpha.AccessDimensionHeader) obj;
+
+ if (!getDimensionName().equals(other.getDimensionName())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DIMENSION_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDimensionName().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader 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.admin.v1alpha.AccessDimensionHeader parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom(
+ 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.admin.v1alpha.AccessDimensionHeader parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader 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.admin.v1alpha.AccessDimensionHeader parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader 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.admin.v1alpha.AccessDimensionHeader parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader 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.admin.v1alpha.AccessDimensionHeader prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Describes a dimension column in the report. Dimensions requested in a report + * produce column entries within rows and DimensionHeaders. However, dimensions + * used exclusively within filters or expressions do not produce columns in a + * report; correspondingly, those dimensions do not produce headers. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionHeader} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The dimension's name; for example 'userEmail'. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The dimensionName.
+ */
+ public java.lang.String getDimensionName() {
+ java.lang.Object ref = dimensionName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ dimensionName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimension's name; for example 'userEmail'. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The bytes for dimensionName.
+ */
+ public com.google.protobuf.ByteString getDimensionNameBytes() {
+ java.lang.Object ref = dimensionName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ dimensionName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimension's name; for example 'userEmail'. + *+ * + *
string dimension_name = 1;
+ *
+ * @param value The dimensionName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDimensionName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ dimensionName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The dimension's name; for example 'userEmail'. + *+ * + *
string dimension_name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDimensionName() {
+
+ dimensionName_ = getDefaultInstance().getDimensionName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The dimension's name; for example 'userEmail'. + *+ * + *
string dimension_name = 1;
+ *
+ * @param value The bytes for dimensionName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ dimensionName_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDimensionHeader)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDimensionHeader)
+ private static final com.google.analytics.admin.v1alpha.AccessDimensionHeader DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDimensionHeader();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionHeader getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The dimension's name; for example 'userEmail'. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The dimensionName.
+ */
+ java.lang.String getDimensionName();
+ /**
+ *
+ *
+ * + * The dimension's name; for example 'userEmail'. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The bytes for dimensionName.
+ */
+ com.google.protobuf.ByteString getDimensionNameBytes();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java
new file mode 100644
index 000000000000..2b8d83cdcf3b
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionOrBuilder.java
@@ -0,0 +1,56 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+public interface AccessDimensionOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessDimension)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ * + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The dimensionName.
+ */
+ java.lang.String getDimensionName();
+ /**
+ *
+ *
+ * + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The bytes for dimensionName.
+ */
+ com.google.protobuf.ByteString getDimensionNameBytes();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java
new file mode 100644
index 000000000000..568b3244f43d
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessDimensionValue.java
@@ -0,0 +1,646 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * The value of a dimension. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionValue} + */ +public final class AccessDimensionValue extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessDimensionValue) + AccessDimensionValueOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessDimensionValue.newBuilder() to construct. + private AccessDimensionValue(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessDimensionValue() { + value_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessDimensionValue(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessDimensionValue( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + value_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessDimensionValue.class, + com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder.class); + } + + public static final int VALUE_FIELD_NUMBER = 1; + private volatile java.lang.Object value_; + /** + * + * + *
+ * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + *+ * + *
string value = 1;
+ *
+ * @return The value.
+ */
+ @java.lang.Override
+ public java.lang.String getValue() {
+ java.lang.Object ref = value_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ value_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + *+ * + *
string value = 1;
+ *
+ * @return The bytes for value.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getValueBytes() {
+ java.lang.Object ref = value_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ value_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
+ }
+ 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.admin.v1alpha.AccessDimensionValue)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessDimensionValue other =
+ (com.google.analytics.admin.v1alpha.AccessDimensionValue) obj;
+
+ if (!getValue().equals(other.getValue())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getValue().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionValue 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.admin.v1alpha.AccessDimensionValue parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom(
+ 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.admin.v1alpha.AccessDimensionValue parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionValue parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionValue 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.admin.v1alpha.AccessDimensionValue parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionValue 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.admin.v1alpha.AccessDimensionValue parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionValue 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.admin.v1alpha.AccessDimensionValue prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The value of a dimension. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessDimensionValue} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + *+ * + *
string value = 1;
+ *
+ * @return The value.
+ */
+ public java.lang.String getValue() {
+ java.lang.Object ref = value_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ value_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + *+ * + *
string value = 1;
+ *
+ * @return The bytes for value.
+ */
+ public com.google.protobuf.ByteString getValueBytes() {
+ java.lang.Object ref = value_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ value_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + *+ * + *
string value = 1;
+ *
+ * @param value The value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValue(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ value_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + *+ * + *
string value = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearValue() {
+
+ value_ = getDefaultInstance().getValue();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + *+ * + *
string value = 1;
+ *
+ * @param value The bytes for value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValueBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ value_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessDimensionValue)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessDimensionValue)
+ private static final com.google.analytics.admin.v1alpha.AccessDimensionValue DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessDimensionValue();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessDimensionValue getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + *+ * + *
string value = 1;
+ *
+ * @return The value.
+ */
+ java.lang.String getValue();
+ /**
+ *
+ *
+ * + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + *+ * + *
string value = 1;
+ *
+ * @return The bytes for value.
+ */
+ com.google.protobuf.ByteString getValueBytes();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java
new file mode 100644
index 000000000000..e550792095b5
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilter.java
@@ -0,0 +1,1968 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * An expression to filter dimension or metric values. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilter} + */ +public final class AccessFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessFilter) + AccessFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessFilter.newBuilder() to construct. + private AccessFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessFilter() { + fieldName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessFilter(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + fieldName_ = s; + break; + } + case 18: + { + com.google.analytics.admin.v1alpha.AccessStringFilter.Builder subBuilder = null; + if (oneFilterCase_ == 2) { + subBuilder = + ((com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_) + .toBuilder(); + } + oneFilter_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessStringFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); + } + oneFilterCase_ = 2; + break; + } + case 26: + { + com.google.analytics.admin.v1alpha.AccessInListFilter.Builder subBuilder = null; + if (oneFilterCase_ == 3) { + subBuilder = + ((com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_) + .toBuilder(); + } + oneFilter_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessInListFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); + } + oneFilterCase_ = 3; + break; + } + case 34: + { + com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder subBuilder = null; + if (oneFilterCase_ == 4) { + subBuilder = + ((com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_) + .toBuilder(); + } + oneFilter_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessNumericFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); + } + oneFilterCase_ = 4; + break; + } + case 42: + { + com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder subBuilder = null; + if (oneFilterCase_ == 5) { + subBuilder = + ((com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_) + .toBuilder(); + } + oneFilter_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessBetweenFilter.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_); + oneFilter_ = subBuilder.buildPartial(); + } + oneFilterCase_ = 5; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessFilter.class, + com.google.analytics.admin.v1alpha.AccessFilter.Builder.class); + } + + private int oneFilterCase_ = 0; + private java.lang.Object oneFilter_; + + public enum OneFilterCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + STRING_FILTER(2), + IN_LIST_FILTER(3), + NUMERIC_FILTER(4), + BETWEEN_FILTER(5), + ONEFILTER_NOT_SET(0); + private final int value; + + private OneFilterCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static OneFilterCase valueOf(int value) { + return forNumber(value); + } + + public static OneFilterCase forNumber(int value) { + switch (value) { + case 2: + return STRING_FILTER; + case 3: + return IN_LIST_FILTER; + case 4: + return NUMERIC_FILTER; + case 5: + return BETWEEN_FILTER; + case 0: + return ONEFILTER_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public OneFilterCase getOneFilterCase() { + return OneFilterCase.forNumber(oneFilterCase_); + } + + public static final int STRING_FILTER_FIELD_NUMBER = 2; + /** + * + * + *
+ * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ *
+ * @return Whether the stringFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasStringFilter() {
+ return oneFilterCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ *
+ * @return The stringFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter() {
+ if (oneFilterCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringFilterOrBuilder() {
+ if (oneFilterCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance();
+ }
+
+ public static final int IN_LIST_FILTER_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ *
+ * @return Whether the inListFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasInListFilter() {
+ return oneFilterCase_ == 3;
+ }
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ *
+ * @return The inListFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter() {
+ if (oneFilterCase_ == 3) {
+ return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListFilterOrBuilder() {
+ if (oneFilterCase_ == 3) {
+ return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance();
+ }
+
+ public static final int NUMERIC_FILTER_FIELD_NUMBER = 4;
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ *
+ * @return Whether the numericFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasNumericFilter() {
+ return oneFilterCase_ == 4;
+ }
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ *
+ * @return The numericFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter() {
+ if (oneFilterCase_ == 4) {
+ return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder
+ getNumericFilterOrBuilder() {
+ if (oneFilterCase_ == 4) {
+ return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance();
+ }
+
+ public static final int BETWEEN_FILTER_FIELD_NUMBER = 5;
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ *
+ * @return Whether the betweenFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasBetweenFilter() {
+ return oneFilterCase_ == 5;
+ }
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ *
+ * @return The betweenFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter() {
+ if (oneFilterCase_ == 5) {
+ return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder
+ getBetweenFilterOrBuilder() {
+ if (oneFilterCase_ == 5) {
+ return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance();
+ }
+
+ public static final int FIELD_NAME_FIELD_NUMBER = 1;
+ private volatile java.lang.Object fieldName_;
+ /**
+ *
+ *
+ * + * The dimension name or metric name. + *+ * + *
string field_name = 1;
+ *
+ * @return The fieldName.
+ */
+ @java.lang.Override
+ public java.lang.String getFieldName() {
+ java.lang.Object ref = fieldName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ fieldName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimension name or metric name. + *+ * + *
string field_name = 1;
+ *
+ * @return The bytes for fieldName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getFieldNameBytes() {
+ java.lang.Object ref = fieldName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ fieldName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_);
+ }
+ if (oneFilterCase_ == 2) {
+ output.writeMessage(2, (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_);
+ }
+ if (oneFilterCase_ == 3) {
+ output.writeMessage(3, (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_);
+ }
+ if (oneFilterCase_ == 4) {
+ output.writeMessage(4, (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_);
+ }
+ if (oneFilterCase_ == 5) {
+ output.writeMessage(5, (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_);
+ }
+ if (oneFilterCase_ == 2) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_);
+ }
+ if (oneFilterCase_ == 3) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 3, (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_);
+ }
+ if (oneFilterCase_ == 4) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 4, (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_);
+ }
+ if (oneFilterCase_ == 5) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 5, (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessFilter)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessFilter other =
+ (com.google.analytics.admin.v1alpha.AccessFilter) obj;
+
+ if (!getFieldName().equals(other.getFieldName())) return false;
+ if (!getOneFilterCase().equals(other.getOneFilterCase())) return false;
+ switch (oneFilterCase_) {
+ case 2:
+ if (!getStringFilter().equals(other.getStringFilter())) return false;
+ break;
+ case 3:
+ if (!getInListFilter().equals(other.getInListFilter())) return false;
+ break;
+ case 4:
+ if (!getNumericFilter().equals(other.getNumericFilter())) return false;
+ break;
+ case 5:
+ if (!getBetweenFilter().equals(other.getBetweenFilter())) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + FIELD_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getFieldName().hashCode();
+ switch (oneFilterCase_) {
+ case 2:
+ hash = (37 * hash) + STRING_FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getStringFilter().hashCode();
+ break;
+ case 3:
+ hash = (37 * hash) + IN_LIST_FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getInListFilter().hashCode();
+ break;
+ case 4:
+ hash = (37 * hash) + NUMERIC_FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getNumericFilter().hashCode();
+ break;
+ case 5:
+ hash = (37 * hash) + BETWEEN_FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getBetweenFilter().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilter 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.admin.v1alpha.AccessFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom(
+ 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.admin.v1alpha.AccessFilter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilter parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilter 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.admin.v1alpha.AccessFilter parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilter 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.admin.v1alpha.AccessFilter parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilter 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.admin.v1alpha.AccessFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * An expression to filter dimension or metric values. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ *
+ * @return Whether the stringFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasStringFilter() {
+ return oneFilterCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ *
+ * @return The stringFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter() {
+ if (stringFilterBuilder_ == null) {
+ if (oneFilterCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance();
+ } else {
+ if (oneFilterCase_ == 2) {
+ return stringFilterBuilder_.getMessage();
+ }
+ return com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ */
+ public Builder setStringFilter(com.google.analytics.admin.v1alpha.AccessStringFilter value) {
+ if (stringFilterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ oneFilter_ = value;
+ onChanged();
+ } else {
+ stringFilterBuilder_.setMessage(value);
+ }
+ oneFilterCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ */
+ public Builder setStringFilter(
+ com.google.analytics.admin.v1alpha.AccessStringFilter.Builder builderForValue) {
+ if (stringFilterBuilder_ == null) {
+ oneFilter_ = builderForValue.build();
+ onChanged();
+ } else {
+ stringFilterBuilder_.setMessage(builderForValue.build());
+ }
+ oneFilterCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ */
+ public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.AccessStringFilter value) {
+ if (stringFilterBuilder_ == null) {
+ if (oneFilterCase_ == 2
+ && oneFilter_
+ != com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance()) {
+ oneFilter_ =
+ com.google.analytics.admin.v1alpha.AccessStringFilter.newBuilder(
+ (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ oneFilter_ = value;
+ }
+ onChanged();
+ } else {
+ if (oneFilterCase_ == 2) {
+ stringFilterBuilder_.mergeFrom(value);
+ } else {
+ stringFilterBuilder_.setMessage(value);
+ }
+ }
+ oneFilterCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ */
+ public Builder clearStringFilter() {
+ if (stringFilterBuilder_ == null) {
+ if (oneFilterCase_ == 2) {
+ oneFilterCase_ = 0;
+ oneFilter_ = null;
+ onChanged();
+ }
+ } else {
+ if (oneFilterCase_ == 2) {
+ oneFilterCase_ = 0;
+ oneFilter_ = null;
+ }
+ stringFilterBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessStringFilter.Builder getStringFilterBuilder() {
+ return getStringFilterFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder
+ getStringFilterOrBuilder() {
+ if ((oneFilterCase_ == 2) && (stringFilterBuilder_ != null)) {
+ return stringFilterBuilder_.getMessageOrBuilder();
+ } else {
+ if (oneFilterCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessStringFilter,
+ com.google.analytics.admin.v1alpha.AccessStringFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder>
+ getStringFilterFieldBuilder() {
+ if (stringFilterBuilder_ == null) {
+ if (!(oneFilterCase_ == 2)) {
+ oneFilter_ = com.google.analytics.admin.v1alpha.AccessStringFilter.getDefaultInstance();
+ }
+ stringFilterBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessStringFilter,
+ com.google.analytics.admin.v1alpha.AccessStringFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder>(
+ (com.google.analytics.admin.v1alpha.AccessStringFilter) oneFilter_,
+ getParentForChildren(),
+ isClean());
+ oneFilter_ = null;
+ }
+ oneFilterCase_ = 2;
+ onChanged();
+ ;
+ return stringFilterBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessInListFilter,
+ com.google.analytics.admin.v1alpha.AccessInListFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder>
+ inListFilterBuilder_;
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ *
+ * @return Whether the inListFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasInListFilter() {
+ return oneFilterCase_ == 3;
+ }
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ *
+ * @return The inListFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter() {
+ if (inListFilterBuilder_ == null) {
+ if (oneFilterCase_ == 3) {
+ return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance();
+ } else {
+ if (oneFilterCase_ == 3) {
+ return inListFilterBuilder_.getMessage();
+ }
+ return com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ */
+ public Builder setInListFilter(com.google.analytics.admin.v1alpha.AccessInListFilter value) {
+ if (inListFilterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ oneFilter_ = value;
+ onChanged();
+ } else {
+ inListFilterBuilder_.setMessage(value);
+ }
+ oneFilterCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ */
+ public Builder setInListFilter(
+ com.google.analytics.admin.v1alpha.AccessInListFilter.Builder builderForValue) {
+ if (inListFilterBuilder_ == null) {
+ oneFilter_ = builderForValue.build();
+ onChanged();
+ } else {
+ inListFilterBuilder_.setMessage(builderForValue.build());
+ }
+ oneFilterCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ */
+ public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.AccessInListFilter value) {
+ if (inListFilterBuilder_ == null) {
+ if (oneFilterCase_ == 3
+ && oneFilter_
+ != com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance()) {
+ oneFilter_ =
+ com.google.analytics.admin.v1alpha.AccessInListFilter.newBuilder(
+ (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ oneFilter_ = value;
+ }
+ onChanged();
+ } else {
+ if (oneFilterCase_ == 3) {
+ inListFilterBuilder_.mergeFrom(value);
+ } else {
+ inListFilterBuilder_.setMessage(value);
+ }
+ }
+ oneFilterCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ */
+ public Builder clearInListFilter() {
+ if (inListFilterBuilder_ == null) {
+ if (oneFilterCase_ == 3) {
+ oneFilterCase_ = 0;
+ oneFilter_ = null;
+ onChanged();
+ }
+ } else {
+ if (oneFilterCase_ == 3) {
+ oneFilterCase_ = 0;
+ oneFilter_ = null;
+ }
+ inListFilterBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ */
+ public com.google.analytics.admin.v1alpha.AccessInListFilter.Builder getInListFilterBuilder() {
+ return getInListFilterFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder
+ getInListFilterOrBuilder() {
+ if ((oneFilterCase_ == 3) && (inListFilterBuilder_ != null)) {
+ return inListFilterBuilder_.getMessageOrBuilder();
+ } else {
+ if (oneFilterCase_ == 3) {
+ return (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessInListFilter,
+ com.google.analytics.admin.v1alpha.AccessInListFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder>
+ getInListFilterFieldBuilder() {
+ if (inListFilterBuilder_ == null) {
+ if (!(oneFilterCase_ == 3)) {
+ oneFilter_ = com.google.analytics.admin.v1alpha.AccessInListFilter.getDefaultInstance();
+ }
+ inListFilterBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessInListFilter,
+ com.google.analytics.admin.v1alpha.AccessInListFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder>(
+ (com.google.analytics.admin.v1alpha.AccessInListFilter) oneFilter_,
+ getParentForChildren(),
+ isClean());
+ oneFilter_ = null;
+ }
+ oneFilterCase_ = 3;
+ onChanged();
+ ;
+ return inListFilterBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessNumericFilter,
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder>
+ numericFilterBuilder_;
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ *
+ * @return Whether the numericFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasNumericFilter() {
+ return oneFilterCase_ == 4;
+ }
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ *
+ * @return The numericFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter() {
+ if (numericFilterBuilder_ == null) {
+ if (oneFilterCase_ == 4) {
+ return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance();
+ } else {
+ if (oneFilterCase_ == 4) {
+ return numericFilterBuilder_.getMessage();
+ }
+ return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ */
+ public Builder setNumericFilter(com.google.analytics.admin.v1alpha.AccessNumericFilter value) {
+ if (numericFilterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ oneFilter_ = value;
+ onChanged();
+ } else {
+ numericFilterBuilder_.setMessage(value);
+ }
+ oneFilterCase_ = 4;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ */
+ public Builder setNumericFilter(
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder builderForValue) {
+ if (numericFilterBuilder_ == null) {
+ oneFilter_ = builderForValue.build();
+ onChanged();
+ } else {
+ numericFilterBuilder_.setMessage(builderForValue.build());
+ }
+ oneFilterCase_ = 4;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ */
+ public Builder mergeNumericFilter(
+ com.google.analytics.admin.v1alpha.AccessNumericFilter value) {
+ if (numericFilterBuilder_ == null) {
+ if (oneFilterCase_ == 4
+ && oneFilter_
+ != com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance()) {
+ oneFilter_ =
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.newBuilder(
+ (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ oneFilter_ = value;
+ }
+ onChanged();
+ } else {
+ if (oneFilterCase_ == 4) {
+ numericFilterBuilder_.mergeFrom(value);
+ } else {
+ numericFilterBuilder_.setMessage(value);
+ }
+ }
+ oneFilterCase_ = 4;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ */
+ public Builder clearNumericFilter() {
+ if (numericFilterBuilder_ == null) {
+ if (oneFilterCase_ == 4) {
+ oneFilterCase_ = 0;
+ oneFilter_ = null;
+ onChanged();
+ }
+ } else {
+ if (oneFilterCase_ == 4) {
+ oneFilterCase_ = 0;
+ oneFilter_ = null;
+ }
+ numericFilterBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ */
+ public com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder
+ getNumericFilterBuilder() {
+ return getNumericFilterFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder
+ getNumericFilterOrBuilder() {
+ if ((oneFilterCase_ == 4) && (numericFilterBuilder_ != null)) {
+ return numericFilterBuilder_.getMessageOrBuilder();
+ } else {
+ if (oneFilterCase_ == 4) {
+ return (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessNumericFilter,
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder>
+ getNumericFilterFieldBuilder() {
+ if (numericFilterBuilder_ == null) {
+ if (!(oneFilterCase_ == 4)) {
+ oneFilter_ = com.google.analytics.admin.v1alpha.AccessNumericFilter.getDefaultInstance();
+ }
+ numericFilterBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessNumericFilter,
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder>(
+ (com.google.analytics.admin.v1alpha.AccessNumericFilter) oneFilter_,
+ getParentForChildren(),
+ isClean());
+ oneFilter_ = null;
+ }
+ oneFilterCase_ = 4;
+ onChanged();
+ ;
+ return numericFilterBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter,
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder>
+ betweenFilterBuilder_;
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ *
+ * @return Whether the betweenFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasBetweenFilter() {
+ return oneFilterCase_ == 5;
+ }
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ *
+ * @return The betweenFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter() {
+ if (betweenFilterBuilder_ == null) {
+ if (oneFilterCase_ == 5) {
+ return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance();
+ } else {
+ if (oneFilterCase_ == 5) {
+ return betweenFilterBuilder_.getMessage();
+ }
+ return com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ */
+ public Builder setBetweenFilter(com.google.analytics.admin.v1alpha.AccessBetweenFilter value) {
+ if (betweenFilterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ oneFilter_ = value;
+ onChanged();
+ } else {
+ betweenFilterBuilder_.setMessage(value);
+ }
+ oneFilterCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ */
+ public Builder setBetweenFilter(
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder builderForValue) {
+ if (betweenFilterBuilder_ == null) {
+ oneFilter_ = builderForValue.build();
+ onChanged();
+ } else {
+ betweenFilterBuilder_.setMessage(builderForValue.build());
+ }
+ oneFilterCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ */
+ public Builder mergeBetweenFilter(
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter value) {
+ if (betweenFilterBuilder_ == null) {
+ if (oneFilterCase_ == 5
+ && oneFilter_
+ != com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance()) {
+ oneFilter_ =
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter.newBuilder(
+ (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ oneFilter_ = value;
+ }
+ onChanged();
+ } else {
+ if (oneFilterCase_ == 5) {
+ betweenFilterBuilder_.mergeFrom(value);
+ } else {
+ betweenFilterBuilder_.setMessage(value);
+ }
+ }
+ oneFilterCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ */
+ public Builder clearBetweenFilter() {
+ if (betweenFilterBuilder_ == null) {
+ if (oneFilterCase_ == 5) {
+ oneFilterCase_ = 0;
+ oneFilter_ = null;
+ onChanged();
+ }
+ } else {
+ if (oneFilterCase_ == 5) {
+ oneFilterCase_ = 0;
+ oneFilter_ = null;
+ }
+ betweenFilterBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ */
+ public com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder
+ getBetweenFilterBuilder() {
+ return getBetweenFilterFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder
+ getBetweenFilterOrBuilder() {
+ if ((oneFilterCase_ == 5) && (betweenFilterBuilder_ != null)) {
+ return betweenFilterBuilder_.getMessageOrBuilder();
+ } else {
+ if (oneFilterCase_ == 5) {
+ return (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter,
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder>
+ getBetweenFilterFieldBuilder() {
+ if (betweenFilterBuilder_ == null) {
+ if (!(oneFilterCase_ == 5)) {
+ oneFilter_ = com.google.analytics.admin.v1alpha.AccessBetweenFilter.getDefaultInstance();
+ }
+ betweenFilterBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter,
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder>(
+ (com.google.analytics.admin.v1alpha.AccessBetweenFilter) oneFilter_,
+ getParentForChildren(),
+ isClean());
+ oneFilter_ = null;
+ }
+ oneFilterCase_ = 5;
+ onChanged();
+ ;
+ return betweenFilterBuilder_;
+ }
+
+ private java.lang.Object fieldName_ = "";
+ /**
+ *
+ *
+ * + * The dimension name or metric name. + *+ * + *
string field_name = 1;
+ *
+ * @return The fieldName.
+ */
+ public java.lang.String getFieldName() {
+ java.lang.Object ref = fieldName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ fieldName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimension name or metric name. + *+ * + *
string field_name = 1;
+ *
+ * @return The bytes for fieldName.
+ */
+ public com.google.protobuf.ByteString getFieldNameBytes() {
+ java.lang.Object ref = fieldName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ fieldName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimension name or metric name. + *+ * + *
string field_name = 1;
+ *
+ * @param value The fieldName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFieldName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ fieldName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The dimension name or metric name. + *+ * + *
string field_name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearFieldName() {
+
+ fieldName_ = getDefaultInstance().getFieldName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The dimension name or metric name. + *+ * + *
string field_name = 1;
+ *
+ * @param value The bytes for fieldName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFieldNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ fieldName_ = value;
+ onChanged();
+ return this;
+ }
+
+ @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.admin.v1alpha.AccessFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessFilter)
+ private static final com.google.analytics.admin.v1alpha.AccessFilter DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessFilter();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Expresses dimension or metric filters. The fields in the same expression need + * to be either all dimensions or all metrics. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpression} + */ +public final class AccessFilterExpression extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessFilterExpression) + AccessFilterExpressionOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessFilterExpression.newBuilder() to construct. + private AccessFilterExpression(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessFilterExpression() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessFilterExpression(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessFilterExpression( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder subBuilder = + null; + if (oneExpressionCase_ == 1) { + subBuilder = + ((com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_) + .toBuilder(); + } + oneExpression_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_); + oneExpression_ = subBuilder.buildPartial(); + } + oneExpressionCase_ = 1; + break; + } + case 18: + { + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder subBuilder = + null; + if (oneExpressionCase_ == 2) { + subBuilder = + ((com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_) + .toBuilder(); + } + oneExpression_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_); + oneExpression_ = subBuilder.buildPartial(); + } + oneExpressionCase_ = 2; + break; + } + case 26: + { + com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder subBuilder = null; + if (oneExpressionCase_ == 3) { + subBuilder = + ((com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_) + .toBuilder(); + } + oneExpression_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessFilterExpression.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_); + oneExpression_ = subBuilder.buildPartial(); + } + oneExpressionCase_ = 3; + break; + } + case 34: + { + com.google.analytics.admin.v1alpha.AccessFilter.Builder subBuilder = null; + if (oneExpressionCase_ == 4) { + subBuilder = + ((com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_).toBuilder(); + } + oneExpression_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessFilter.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_); + oneExpression_ = subBuilder.buildPartial(); + } + oneExpressionCase_ = 4; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessFilterExpression.class, + com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder.class); + } + + private int oneExpressionCase_ = 0; + private java.lang.Object oneExpression_; + + public enum OneExpressionCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + AND_GROUP(1), + OR_GROUP(2), + NOT_EXPRESSION(3), + ACCESS_FILTER(4), + ONEEXPRESSION_NOT_SET(0); + private final int value; + + private OneExpressionCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static OneExpressionCase valueOf(int value) { + return forNumber(value); + } + + public static OneExpressionCase forNumber(int value) { + switch (value) { + case 1: + return AND_GROUP; + case 2: + return OR_GROUP; + case 3: + return NOT_EXPRESSION; + case 4: + return ACCESS_FILTER; + case 0: + return ONEEXPRESSION_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public OneExpressionCase getOneExpressionCase() { + return OneExpressionCase.forNumber(oneExpressionCase_); + } + + public static final int AND_GROUP_FIELD_NUMBER = 1; + /** + * + * + *
+ * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ *
+ * @return Whether the andGroup field is set.
+ */
+ @java.lang.Override
+ public boolean hasAndGroup() {
+ return oneExpressionCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ *
+ * @return The andGroup.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup() {
+ if (oneExpressionCase_ == 1) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder
+ getAndGroupOrBuilder() {
+ if (oneExpressionCase_ == 1) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ }
+
+ public static final int OR_GROUP_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ *
+ * @return Whether the orGroup field is set.
+ */
+ @java.lang.Override
+ public boolean hasOrGroup() {
+ return oneExpressionCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ *
+ * @return The orGroup.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup() {
+ if (oneExpressionCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder
+ getOrGroupOrBuilder() {
+ if (oneExpressionCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ }
+
+ public static final int NOT_EXPRESSION_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ *
+ * @return Whether the notExpression field is set.
+ */
+ @java.lang.Override
+ public boolean hasNotExpression() {
+ return oneExpressionCase_ == 3;
+ }
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ *
+ * @return The notExpression.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpression() {
+ if (oneExpressionCase_ == 3) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+ getNotExpressionOrBuilder() {
+ if (oneExpressionCase_ == 3) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance();
+ }
+
+ public static final int ACCESS_FILTER_FIELD_NUMBER = 4;
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ *
+ * @return Whether the accessFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasAccessFilter() {
+ return oneExpressionCase_ == 4;
+ }
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ *
+ * @return The accessFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter() {
+ if (oneExpressionCase_ == 4) {
+ return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterOrBuilder() {
+ if (oneExpressionCase_ == 4) {
+ return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (oneExpressionCase_ == 1) {
+ output.writeMessage(
+ 1, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+ }
+ if (oneExpressionCase_ == 2) {
+ output.writeMessage(
+ 2, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+ }
+ if (oneExpressionCase_ == 3) {
+ output.writeMessage(
+ 3, (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_);
+ }
+ if (oneExpressionCase_ == 4) {
+ output.writeMessage(4, (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (oneExpressionCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+ }
+ if (oneExpressionCase_ == 2) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_);
+ }
+ if (oneExpressionCase_ == 3) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 3, (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_);
+ }
+ if (oneExpressionCase_ == 4) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 4, (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessFilterExpression)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessFilterExpression other =
+ (com.google.analytics.admin.v1alpha.AccessFilterExpression) obj;
+
+ if (!getOneExpressionCase().equals(other.getOneExpressionCase())) return false;
+ switch (oneExpressionCase_) {
+ case 1:
+ if (!getAndGroup().equals(other.getAndGroup())) return false;
+ break;
+ case 2:
+ if (!getOrGroup().equals(other.getOrGroup())) return false;
+ break;
+ case 3:
+ if (!getNotExpression().equals(other.getNotExpression())) return false;
+ break;
+ case 4:
+ if (!getAccessFilter().equals(other.getAccessFilter())) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ switch (oneExpressionCase_) {
+ case 1:
+ hash = (37 * hash) + AND_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + getAndGroup().hashCode();
+ break;
+ case 2:
+ hash = (37 * hash) + OR_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + getOrGroup().hashCode();
+ break;
+ case 3:
+ hash = (37 * hash) + NOT_EXPRESSION_FIELD_NUMBER;
+ hash = (53 * hash) + getNotExpression().hashCode();
+ break;
+ case 4:
+ hash = (37 * hash) + ACCESS_FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getAccessFilter().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpression 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.admin.v1alpha.AccessFilterExpression parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
+ 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.admin.v1alpha.AccessFilterExpression parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpression parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpression 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.admin.v1alpha.AccessFilterExpression parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpression 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.admin.v1alpha.AccessFilterExpression parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpression 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.admin.v1alpha.AccessFilterExpression 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;
+ }
+ /**
+ *
+ *
+ * + * Expresses dimension or metric filters. The fields in the same expression need + * to be either all dimensions or all metrics. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpression} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ *
+ * @return Whether the andGroup field is set.
+ */
+ @java.lang.Override
+ public boolean hasAndGroup() {
+ return oneExpressionCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ *
+ * @return The andGroup.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup() {
+ if (andGroupBuilder_ == null) {
+ if (oneExpressionCase_ == 1) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ } else {
+ if (oneExpressionCase_ == 1) {
+ return andGroupBuilder_.getMessage();
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ */
+ public Builder setAndGroup(
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) {
+ if (andGroupBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ oneExpression_ = value;
+ onChanged();
+ } else {
+ andGroupBuilder_.setMessage(value);
+ }
+ oneExpressionCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ */
+ public Builder setAndGroup(
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder builderForValue) {
+ if (andGroupBuilder_ == null) {
+ oneExpression_ = builderForValue.build();
+ onChanged();
+ } else {
+ andGroupBuilder_.setMessage(builderForValue.build());
+ }
+ oneExpressionCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ */
+ public Builder mergeAndGroup(
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) {
+ if (andGroupBuilder_ == null) {
+ if (oneExpressionCase_ == 1
+ && oneExpression_
+ != com.google.analytics.admin.v1alpha.AccessFilterExpressionList
+ .getDefaultInstance()) {
+ oneExpression_ =
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder(
+ (com.google.analytics.admin.v1alpha.AccessFilterExpressionList)
+ oneExpression_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ oneExpression_ = value;
+ }
+ onChanged();
+ } else {
+ if (oneExpressionCase_ == 1) {
+ andGroupBuilder_.mergeFrom(value);
+ } else {
+ andGroupBuilder_.setMessage(value);
+ }
+ }
+ oneExpressionCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ */
+ public Builder clearAndGroup() {
+ if (andGroupBuilder_ == null) {
+ if (oneExpressionCase_ == 1) {
+ oneExpressionCase_ = 0;
+ oneExpression_ = null;
+ onChanged();
+ }
+ } else {
+ if (oneExpressionCase_ == 1) {
+ oneExpressionCase_ = 0;
+ oneExpression_ = null;
+ }
+ andGroupBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder
+ getAndGroupBuilder() {
+ return getAndGroupFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder
+ getAndGroupOrBuilder() {
+ if ((oneExpressionCase_ == 1) && (andGroupBuilder_ != null)) {
+ return andGroupBuilder_.getMessageOrBuilder();
+ } else {
+ if (oneExpressionCase_ == 1) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>
+ getAndGroupFieldBuilder() {
+ if (andGroupBuilder_ == null) {
+ if (!(oneExpressionCase_ == 1)) {
+ oneExpression_ =
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ }
+ andGroupBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>(
+ (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_,
+ getParentForChildren(),
+ isClean());
+ oneExpression_ = null;
+ }
+ oneExpressionCase_ = 1;
+ onChanged();
+ ;
+ return andGroupBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>
+ orGroupBuilder_;
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ *
+ * @return Whether the orGroup field is set.
+ */
+ @java.lang.Override
+ public boolean hasOrGroup() {
+ return oneExpressionCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ *
+ * @return The orGroup.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup() {
+ if (orGroupBuilder_ == null) {
+ if (oneExpressionCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ } else {
+ if (oneExpressionCase_ == 2) {
+ return orGroupBuilder_.getMessage();
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ */
+ public Builder setOrGroup(com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) {
+ if (orGroupBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ oneExpression_ = value;
+ onChanged();
+ } else {
+ orGroupBuilder_.setMessage(value);
+ }
+ oneExpressionCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ */
+ public Builder setOrGroup(
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder builderForValue) {
+ if (orGroupBuilder_ == null) {
+ oneExpression_ = builderForValue.build();
+ onChanged();
+ } else {
+ orGroupBuilder_.setMessage(builderForValue.build());
+ }
+ oneExpressionCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ */
+ public Builder mergeOrGroup(
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList value) {
+ if (orGroupBuilder_ == null) {
+ if (oneExpressionCase_ == 2
+ && oneExpression_
+ != com.google.analytics.admin.v1alpha.AccessFilterExpressionList
+ .getDefaultInstance()) {
+ oneExpression_ =
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.newBuilder(
+ (com.google.analytics.admin.v1alpha.AccessFilterExpressionList)
+ oneExpression_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ oneExpression_ = value;
+ }
+ onChanged();
+ } else {
+ if (oneExpressionCase_ == 2) {
+ orGroupBuilder_.mergeFrom(value);
+ } else {
+ orGroupBuilder_.setMessage(value);
+ }
+ }
+ oneExpressionCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ */
+ public Builder clearOrGroup() {
+ if (orGroupBuilder_ == null) {
+ if (oneExpressionCase_ == 2) {
+ oneExpressionCase_ = 0;
+ oneExpression_ = null;
+ onChanged();
+ }
+ } else {
+ if (oneExpressionCase_ == 2) {
+ oneExpressionCase_ = 0;
+ oneExpression_ = null;
+ }
+ orGroupBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder
+ getOrGroupBuilder() {
+ return getOrGroupFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder
+ getOrGroupOrBuilder() {
+ if ((oneExpressionCase_ == 2) && (orGroupBuilder_ != null)) {
+ return orGroupBuilder_.getMessageOrBuilder();
+ } else {
+ if (oneExpressionCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>
+ getOrGroupFieldBuilder() {
+ if (orGroupBuilder_ == null) {
+ if (!(oneExpressionCase_ == 2)) {
+ oneExpression_ =
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.getDefaultInstance();
+ }
+ orGroupBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder>(
+ (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) oneExpression_,
+ getParentForChildren(),
+ isClean());
+ oneExpression_ = null;
+ }
+ oneExpressionCase_ = 2;
+ onChanged();
+ ;
+ return orGroupBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpression,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+ notExpressionBuilder_;
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ *
+ * @return Whether the notExpression field is set.
+ */
+ @java.lang.Override
+ public boolean hasNotExpression() {
+ return oneExpressionCase_ == 3;
+ }
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ *
+ * @return The notExpression.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpression() {
+ if (notExpressionBuilder_ == null) {
+ if (oneExpressionCase_ == 3) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance();
+ } else {
+ if (oneExpressionCase_ == 3) {
+ return notExpressionBuilder_.getMessage();
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ */
+ public Builder setNotExpression(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+ if (notExpressionBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ oneExpression_ = value;
+ onChanged();
+ } else {
+ notExpressionBuilder_.setMessage(value);
+ }
+ oneExpressionCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ */
+ public Builder setNotExpression(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) {
+ if (notExpressionBuilder_ == null) {
+ oneExpression_ = builderForValue.build();
+ onChanged();
+ } else {
+ notExpressionBuilder_.setMessage(builderForValue.build());
+ }
+ oneExpressionCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ */
+ public Builder mergeNotExpression(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+ if (notExpressionBuilder_ == null) {
+ if (oneExpressionCase_ == 3
+ && oneExpression_
+ != com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()) {
+ oneExpression_ =
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.newBuilder(
+ (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ oneExpression_ = value;
+ }
+ onChanged();
+ } else {
+ if (oneExpressionCase_ == 3) {
+ notExpressionBuilder_.mergeFrom(value);
+ } else {
+ notExpressionBuilder_.setMessage(value);
+ }
+ }
+ oneExpressionCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ */
+ public Builder clearNotExpression() {
+ if (notExpressionBuilder_ == null) {
+ if (oneExpressionCase_ == 3) {
+ oneExpressionCase_ = 0;
+ oneExpression_ = null;
+ onChanged();
+ }
+ } else {
+ if (oneExpressionCase_ == 3) {
+ oneExpressionCase_ = 0;
+ oneExpression_ = null;
+ }
+ notExpressionBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder
+ getNotExpressionBuilder() {
+ return getNotExpressionFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+ getNotExpressionOrBuilder() {
+ if ((oneExpressionCase_ == 3) && (notExpressionBuilder_ != null)) {
+ return notExpressionBuilder_.getMessageOrBuilder();
+ } else {
+ if (oneExpressionCase_ == 3) {
+ return (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpression,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+ getNotExpressionFieldBuilder() {
+ if (notExpressionBuilder_ == null) {
+ if (!(oneExpressionCase_ == 3)) {
+ oneExpression_ =
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance();
+ }
+ notExpressionBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpression,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
+ (com.google.analytics.admin.v1alpha.AccessFilterExpression) oneExpression_,
+ getParentForChildren(),
+ isClean());
+ oneExpression_ = null;
+ }
+ oneExpressionCase_ = 3;
+ onChanged();
+ ;
+ return notExpressionBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilter,
+ com.google.analytics.admin.v1alpha.AccessFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterOrBuilder>
+ accessFilterBuilder_;
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ *
+ * @return Whether the accessFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasAccessFilter() {
+ return oneExpressionCase_ == 4;
+ }
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ *
+ * @return The accessFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter() {
+ if (accessFilterBuilder_ == null) {
+ if (oneExpressionCase_ == 4) {
+ return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance();
+ } else {
+ if (oneExpressionCase_ == 4) {
+ return accessFilterBuilder_.getMessage();
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ */
+ public Builder setAccessFilter(com.google.analytics.admin.v1alpha.AccessFilter value) {
+ if (accessFilterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ oneExpression_ = value;
+ onChanged();
+ } else {
+ accessFilterBuilder_.setMessage(value);
+ }
+ oneExpressionCase_ = 4;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ */
+ public Builder setAccessFilter(
+ com.google.analytics.admin.v1alpha.AccessFilter.Builder builderForValue) {
+ if (accessFilterBuilder_ == null) {
+ oneExpression_ = builderForValue.build();
+ onChanged();
+ } else {
+ accessFilterBuilder_.setMessage(builderForValue.build());
+ }
+ oneExpressionCase_ = 4;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ */
+ public Builder mergeAccessFilter(com.google.analytics.admin.v1alpha.AccessFilter value) {
+ if (accessFilterBuilder_ == null) {
+ if (oneExpressionCase_ == 4
+ && oneExpression_
+ != com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance()) {
+ oneExpression_ =
+ com.google.analytics.admin.v1alpha.AccessFilter.newBuilder(
+ (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ oneExpression_ = value;
+ }
+ onChanged();
+ } else {
+ if (oneExpressionCase_ == 4) {
+ accessFilterBuilder_.mergeFrom(value);
+ } else {
+ accessFilterBuilder_.setMessage(value);
+ }
+ }
+ oneExpressionCase_ = 4;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ */
+ public Builder clearAccessFilter() {
+ if (accessFilterBuilder_ == null) {
+ if (oneExpressionCase_ == 4) {
+ oneExpressionCase_ = 0;
+ oneExpression_ = null;
+ onChanged();
+ }
+ } else {
+ if (oneExpressionCase_ == 4) {
+ oneExpressionCase_ = 0;
+ oneExpression_ = null;
+ }
+ accessFilterBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilter.Builder getAccessFilterBuilder() {
+ return getAccessFilterFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterOrBuilder() {
+ if ((oneExpressionCase_ == 4) && (accessFilterBuilder_ != null)) {
+ return accessFilterBuilder_.getMessageOrBuilder();
+ } else {
+ if (oneExpressionCase_ == 4) {
+ return (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilter,
+ com.google.analytics.admin.v1alpha.AccessFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterOrBuilder>
+ getAccessFilterFieldBuilder() {
+ if (accessFilterBuilder_ == null) {
+ if (!(oneExpressionCase_ == 4)) {
+ oneExpression_ = com.google.analytics.admin.v1alpha.AccessFilter.getDefaultInstance();
+ }
+ accessFilterBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilter,
+ com.google.analytics.admin.v1alpha.AccessFilter.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterOrBuilder>(
+ (com.google.analytics.admin.v1alpha.AccessFilter) oneExpression_,
+ getParentForChildren(),
+ isClean());
+ oneExpression_ = null;
+ }
+ oneExpressionCase_ = 4;
+ onChanged();
+ ;
+ return accessFilterBuilder_;
+ }
+
+ @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.admin.v1alpha.AccessFilterExpression)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessFilterExpression)
+ private static final com.google.analytics.admin.v1alpha.AccessFilterExpression DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessFilterExpression();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpression getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * A list of filter expressions. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpressionList} + */ +public final class AccessFilterExpressionList extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessFilterExpressionList) + AccessFilterExpressionListOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessFilterExpressionList.newBuilder() to construct. + private AccessFilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessFilterExpressionList() { + expressions_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessFilterExpressionList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessFilterExpressionList( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + expressions_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.AccessFilterExpression>(); + mutable_bitField0_ |= 0x00000001; + } + expressions_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.AccessFilterExpression.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + expressions_ = java.util.Collections.unmodifiableList(expressions_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.class, + com.google.analytics.admin.v1alpha.AccessFilterExpressionList.Builder.class); + } + + public static final int EXPRESSIONS_FIELD_NUMBER = 1; + private java.util.List
+ * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ @java.lang.Override
+ public java.util.List+ * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+ getExpressionsOrBuilderList() {
+ return expressions_;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ @java.lang.Override
+ public int getExpressionsCount() {
+ return expressions_.size();
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions(int index) {
+ return expressions_.get(index);
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getExpressionsOrBuilder(
+ int index) {
+ return expressions_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < expressions_.size(); i++) {
+ output.writeMessage(1, expressions_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < expressions_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, expressions_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessFilterExpressionList)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList other =
+ (com.google.analytics.admin.v1alpha.AccessFilterExpressionList) obj;
+
+ if (!getExpressionsList().equals(other.getExpressionsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getExpressionsCount() > 0) {
+ hash = (37 * hash) + EXPRESSIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getExpressionsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList 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.admin.v1alpha.AccessFilterExpressionList parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom(
+ 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.admin.v1alpha.AccessFilterExpressionList parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList 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.admin.v1alpha.AccessFilterExpressionList parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList 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.admin.v1alpha.AccessFilterExpressionList parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessFilterExpressionList 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.admin.v1alpha.AccessFilterExpressionList prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessFilterExpressionList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public java.util.List+ * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public int getExpressionsCount() {
+ if (expressionsBuilder_ == null) {
+ return expressions_.size();
+ } else {
+ return expressionsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions(int index) {
+ if (expressionsBuilder_ == null) {
+ return expressions_.get(index);
+ } else {
+ return expressionsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public Builder setExpressions(
+ int index, com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+ if (expressionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExpressionsIsMutable();
+ expressions_.set(index, value);
+ onChanged();
+ } else {
+ expressionsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public Builder setExpressions(
+ int index,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ expressionsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public Builder addExpressions(com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+ if (expressionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExpressionsIsMutable();
+ expressions_.add(value);
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public Builder addExpressions(
+ int index, com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+ if (expressionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExpressionsIsMutable();
+ expressions_.add(index, value);
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public Builder addExpressions(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.add(builderForValue.build());
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public Builder addExpressions(
+ int index,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ expressionsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public Builder addAllExpressions(
+ java.lang.Iterable extends com.google.analytics.admin.v1alpha.AccessFilterExpression>
+ values) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, expressions_);
+ onChanged();
+ } else {
+ expressionsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public Builder clearExpressions() {
+ if (expressionsBuilder_ == null) {
+ expressions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ expressionsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public Builder removeExpressions(int index) {
+ if (expressionsBuilder_ == null) {
+ ensureExpressionsIsMutable();
+ expressions_.remove(index);
+ onChanged();
+ } else {
+ expressionsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder getExpressionsBuilder(
+ int index) {
+ return getExpressionsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+ getExpressionsOrBuilder(int index) {
+ if (expressionsBuilder_ == null) {
+ return expressions_.get(index);
+ } else {
+ return expressionsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public java.util.List<
+ ? extends com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+ getExpressionsOrBuilderList() {
+ if (expressionsBuilder_ != null) {
+ return expressionsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(expressions_);
+ }
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder
+ addExpressionsBuilder() {
+ return getExpressionsFieldBuilder()
+ .addBuilder(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder addExpressionsBuilder(
+ int index) {
+ return getExpressionsFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ public java.util.List+ * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ java.util.List+ * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions(int index);
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ int getExpressionsCount();
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ java.util.List extends com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+ getExpressionsOrBuilderList();
+ /**
+ *
+ *
+ * + * A list of filter expressions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1;
+ */
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getExpressionsOrBuilder(
+ int index);
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java
new file mode 100644
index 000000000000..a0186112ff7c
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterExpressionOrBuilder.java
@@ -0,0 +1,171 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+public interface AccessFilterExpressionOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessFilterExpression)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ *
+ * @return Whether the andGroup field is set.
+ */
+ boolean hasAndGroup();
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ *
+ * @return The andGroup.
+ */
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList getAndGroup();
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the and_group has an AND relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
+ */
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getAndGroupOrBuilder();
+
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ *
+ * @return Whether the orGroup field is set.
+ */
+ boolean hasOrGroup();
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ *
+ * @return The orGroup.
+ */
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup();
+ /**
+ *
+ *
+ * + * Each of the FilterExpressions in the or_group has an OR relationship. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
+ */
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder getOrGroupOrBuilder();
+
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ *
+ * @return Whether the notExpression field is set.
+ */
+ boolean hasNotExpression();
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ *
+ * @return The notExpression.
+ */
+ com.google.analytics.admin.v1alpha.AccessFilterExpression getNotExpression();
+ /**
+ *
+ *
+ * + * The FilterExpression is NOT of not_expression. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
+ */
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNotExpressionOrBuilder();
+
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ *
+ * @return Whether the accessFilter field is set.
+ */
+ boolean hasAccessFilter();
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ *
+ * @return The accessFilter.
+ */
+ com.google.analytics.admin.v1alpha.AccessFilter getAccessFilter();
+ /**
+ *
+ *
+ * + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
+ */
+ com.google.analytics.admin.v1alpha.AccessFilterOrBuilder getAccessFilterOrBuilder();
+
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression.OneExpressionCase
+ getOneExpressionCase();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
new file mode 100644
index 000000000000..476b29c22501
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessFilterOrBuilder.java
@@ -0,0 +1,192 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+public interface AccessFilterOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessFilter)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ *
+ * @return Whether the stringFilter field is set.
+ */
+ boolean hasStringFilter();
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ *
+ * @return The stringFilter.
+ */
+ com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter();
+ /**
+ *
+ *
+ * + * Strings related filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2;
+ */
+ com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringFilterOrBuilder();
+
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ *
+ * @return Whether the inListFilter field is set.
+ */
+ boolean hasInListFilter();
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ *
+ * @return The inListFilter.
+ */
+ com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter();
+ /**
+ *
+ *
+ * + * A filter for in list values. + *+ * + *
.google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3;
+ */
+ com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListFilterOrBuilder();
+
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ *
+ * @return Whether the numericFilter field is set.
+ */
+ boolean hasNumericFilter();
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ *
+ * @return The numericFilter.
+ */
+ com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter();
+ /**
+ *
+ *
+ * + * A filter for numeric or date values. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4;
+ */
+ com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumericFilterOrBuilder();
+
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ *
+ * @return Whether the betweenFilter field is set.
+ */
+ boolean hasBetweenFilter();
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ *
+ * @return The betweenFilter.
+ */
+ com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter();
+ /**
+ *
+ *
+ * + * A filter for two values. + *+ * + *
.google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5;
+ */
+ com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder();
+
+ /**
+ *
+ *
+ * + * The dimension name or metric name. + *+ * + *
string field_name = 1;
+ *
+ * @return The fieldName.
+ */
+ java.lang.String getFieldName();
+ /**
+ *
+ *
+ * + * The dimension name or metric name. + *+ * + *
string field_name = 1;
+ *
+ * @return The bytes for fieldName.
+ */
+ com.google.protobuf.ByteString getFieldNameBytes();
+
+ public com.google.analytics.admin.v1alpha.AccessFilter.OneFilterCase getOneFilterCase();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java
new file mode 100644
index 000000000000..6b9d03a6eb42
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessInListFilter.java
@@ -0,0 +1,830 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * The result needs to be in a list of string values. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessInListFilter} + */ +public final class AccessInListFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessInListFilter) + AccessInListFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessInListFilter.newBuilder() to construct. + private AccessInListFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessInListFilter() { + values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessInListFilter(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessInListFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + values_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + values_.add(s); + break; + } + case 16: + { + caseSensitive_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + values_ = values_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessInListFilter.class, + com.google.analytics.admin.v1alpha.AccessInListFilter.Builder.class); + } + + public static final int VALUES_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList values_; + /** + * + * + *
+ * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @return A list containing the values.
+ */
+ public com.google.protobuf.ProtocolStringList getValuesList() {
+ return values_;
+ }
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @return The count of values.
+ */
+ public int getValuesCount() {
+ return values_.size();
+ }
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The values at the given index.
+ */
+ public java.lang.String getValues(int index) {
+ return values_.get(index);
+ }
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the values at the given index.
+ */
+ public com.google.protobuf.ByteString getValuesBytes(int index) {
+ return values_.getByteString(index);
+ }
+
+ public static final int CASE_SENSITIVE_FIELD_NUMBER = 2;
+ private boolean caseSensitive_;
+ /**
+ *
+ *
+ * + * If true, the string value is case sensitive. + *+ * + *
bool case_sensitive = 2;
+ *
+ * @return The caseSensitive.
+ */
+ @java.lang.Override
+ public boolean getCaseSensitive() {
+ return caseSensitive_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < values_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i));
+ }
+ if (caseSensitive_ != false) {
+ output.writeBool(2, caseSensitive_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < values_.size(); i++) {
+ dataSize += computeStringSizeNoTag(values_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getValuesList().size();
+ }
+ if (caseSensitive_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, caseSensitive_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessInListFilter)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessInListFilter other =
+ (com.google.analytics.admin.v1alpha.AccessInListFilter) obj;
+
+ if (!getValuesList().equals(other.getValuesList())) return false;
+ if (getCaseSensitive() != other.getCaseSensitive()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getValuesCount() > 0) {
+ hash = (37 * hash) + VALUES_FIELD_NUMBER;
+ hash = (53 * hash) + getValuesList().hashCode();
+ }
+ hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessInListFilter 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.admin.v1alpha.AccessInListFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom(
+ 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.admin.v1alpha.AccessInListFilter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessInListFilter parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessInListFilter 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.admin.v1alpha.AccessInListFilter parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessInListFilter 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.admin.v1alpha.AccessInListFilter parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessInListFilter 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.admin.v1alpha.AccessInListFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The result needs to be in a list of string values. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessInListFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @return A list containing the values.
+ */
+ public com.google.protobuf.ProtocolStringList getValuesList() {
+ return values_.getUnmodifiableView();
+ }
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @return The count of values.
+ */
+ public int getValuesCount() {
+ return values_.size();
+ }
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The values at the given index.
+ */
+ public java.lang.String getValues(int index) {
+ return values_.get(index);
+ }
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the values at the given index.
+ */
+ public com.google.protobuf.ByteString getValuesBytes(int index) {
+ return values_.getByteString(index);
+ }
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @param index The index to set the value at.
+ * @param value The values to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValues(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
+ values_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @param value The values to add.
+ * @return This builder for chaining.
+ */
+ public Builder addValues(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
+ values_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @param values The values to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllValues(java.lang.Iterable+ * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearValues() {
+ values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @param value The bytes of the values to add.
+ * @return This builder for chaining.
+ */
+ public Builder addValuesBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureValuesIsMutable();
+ values_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private boolean caseSensitive_;
+ /**
+ *
+ *
+ * + * If true, the string value is case sensitive. + *+ * + *
bool case_sensitive = 2;
+ *
+ * @return The caseSensitive.
+ */
+ @java.lang.Override
+ public boolean getCaseSensitive() {
+ return caseSensitive_;
+ }
+ /**
+ *
+ *
+ * + * If true, the string value is case sensitive. + *+ * + *
bool case_sensitive = 2;
+ *
+ * @param value The caseSensitive to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCaseSensitive(boolean value) {
+
+ caseSensitive_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * If true, the string value is case sensitive. + *+ * + *
bool case_sensitive = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearCaseSensitive() {
+
+ caseSensitive_ = false;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessInListFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessInListFilter)
+ private static final com.google.analytics.admin.v1alpha.AccessInListFilter DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessInListFilter();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessInListFilter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @return A list containing the values.
+ */
+ java.util.List+ * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @return The count of values.
+ */
+ int getValuesCount();
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The values at the given index.
+ */
+ java.lang.String getValues(int index);
+ /**
+ *
+ *
+ * + * The list of string values. Must be non-empty. + *+ * + *
repeated string values = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the values at the given index.
+ */
+ com.google.protobuf.ByteString getValuesBytes(int index);
+
+ /**
+ *
+ *
+ * + * If true, the string value is case sensitive. + *+ * + *
bool case_sensitive = 2;
+ *
+ * @return The caseSensitive.
+ */
+ boolean getCaseSensitive();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java
new file mode 100644
index 000000000000..cf9bd13f85fc
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetric.java
@@ -0,0 +1,660 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * The quantitative measurements of a report. For example, the metric + * `accessCount` is the total number of data access records. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetric} + */ +public final class AccessMetric extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessMetric) + AccessMetricOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessMetric.newBuilder() to construct. + private AccessMetric(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessMetric() { + metricName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessMetric(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessMetric( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + metricName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessMetric.class, + com.google.analytics.admin.v1alpha.AccessMetric.Builder.class); + } + + public static final int METRIC_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object metricName_; + /** + * + * + *
+ * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + *+ * + *
string metric_name = 1;
+ *
+ * @return The metricName.
+ */
+ @java.lang.Override
+ public java.lang.String getMetricName() {
+ java.lang.Object ref = metricName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metricName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + *+ * + *
string metric_name = 1;
+ *
+ * @return The bytes for metricName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getMetricNameBytes() {
+ java.lang.Object ref = metricName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ metricName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessMetric)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessMetric other =
+ (com.google.analytics.admin.v1alpha.AccessMetric) obj;
+
+ if (!getMetricName().equals(other.getMetricName())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + METRIC_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricName().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetric 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.admin.v1alpha.AccessMetric parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom(
+ 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.admin.v1alpha.AccessMetric parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetric parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetric 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.admin.v1alpha.AccessMetric parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetric 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.admin.v1alpha.AccessMetric parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetric 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.admin.v1alpha.AccessMetric prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The quantitative measurements of a report. For example, the metric + * `accessCount` is the total number of data access records. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetric} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + *+ * + *
string metric_name = 1;
+ *
+ * @return The metricName.
+ */
+ public java.lang.String getMetricName() {
+ java.lang.Object ref = metricName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metricName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + *+ * + *
string metric_name = 1;
+ *
+ * @return The bytes for metricName.
+ */
+ public com.google.protobuf.ByteString getMetricNameBytes() {
+ java.lang.Object ref = metricName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ metricName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + *+ * + *
string metric_name = 1;
+ *
+ * @param value The metricName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetricName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ metricName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + *+ * + *
string metric_name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMetricName() {
+
+ metricName_ = getDefaultInstance().getMetricName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + *+ * + *
string metric_name = 1;
+ *
+ * @param value The bytes for metricName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ metricName_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessMetric)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessMetric)
+ private static final com.google.analytics.admin.v1alpha.AccessMetric DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessMetric();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetric getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Describes a metric column in the report. Visible metrics requested in a + * report produce column entries within rows and MetricHeaders. However, + * metrics used exclusively within filters or expressions do not produce columns + * in a report; correspondingly, those metrics do not produce headers. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricHeader} + */ +public final class AccessMetricHeader extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessMetricHeader) + AccessMetricHeaderOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessMetricHeader.newBuilder() to construct. + private AccessMetricHeader(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessMetricHeader() { + metricName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessMetricHeader(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessMetricHeader( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + metricName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessMetricHeader.class, + com.google.analytics.admin.v1alpha.AccessMetricHeader.Builder.class); + } + + public static final int METRIC_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object metricName_; + /** + * + * + *
+ * The metric's name; for example 'accessCount'. + *+ * + *
string metric_name = 1;
+ *
+ * @return The metricName.
+ */
+ @java.lang.Override
+ public java.lang.String getMetricName() {
+ java.lang.Object ref = metricName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metricName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The metric's name; for example 'accessCount'. + *+ * + *
string metric_name = 1;
+ *
+ * @return The bytes for metricName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getMetricNameBytes() {
+ java.lang.Object ref = metricName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ metricName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessMetricHeader)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessMetricHeader other =
+ (com.google.analytics.admin.v1alpha.AccessMetricHeader) obj;
+
+ if (!getMetricName().equals(other.getMetricName())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + METRIC_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricName().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricHeader 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.admin.v1alpha.AccessMetricHeader parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom(
+ 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.admin.v1alpha.AccessMetricHeader parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricHeader parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricHeader 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.admin.v1alpha.AccessMetricHeader parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricHeader 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.admin.v1alpha.AccessMetricHeader parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricHeader 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.admin.v1alpha.AccessMetricHeader prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Describes a metric column in the report. Visible metrics requested in a + * report produce column entries within rows and MetricHeaders. However, + * metrics used exclusively within filters or expressions do not produce columns + * in a report; correspondingly, those metrics do not produce headers. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricHeader} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The metric's name; for example 'accessCount'. + *+ * + *
string metric_name = 1;
+ *
+ * @return The metricName.
+ */
+ public java.lang.String getMetricName() {
+ java.lang.Object ref = metricName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metricName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The metric's name; for example 'accessCount'. + *+ * + *
string metric_name = 1;
+ *
+ * @return The bytes for metricName.
+ */
+ public com.google.protobuf.ByteString getMetricNameBytes() {
+ java.lang.Object ref = metricName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ metricName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The metric's name; for example 'accessCount'. + *+ * + *
string metric_name = 1;
+ *
+ * @param value The metricName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetricName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ metricName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The metric's name; for example 'accessCount'. + *+ * + *
string metric_name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMetricName() {
+
+ metricName_ = getDefaultInstance().getMetricName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The metric's name; for example 'accessCount'. + *+ * + *
string metric_name = 1;
+ *
+ * @param value The bytes for metricName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ metricName_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessMetricHeader)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessMetricHeader)
+ private static final com.google.analytics.admin.v1alpha.AccessMetricHeader DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessMetricHeader();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricHeader getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The metric's name; for example 'accessCount'. + *+ * + *
string metric_name = 1;
+ *
+ * @return The metricName.
+ */
+ java.lang.String getMetricName();
+ /**
+ *
+ *
+ * + * The metric's name; for example 'accessCount'. + *+ * + *
string metric_name = 1;
+ *
+ * @return The bytes for metricName.
+ */
+ com.google.protobuf.ByteString getMetricNameBytes();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java
new file mode 100644
index 000000000000..1bca388890ed
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricOrBuilder.java
@@ -0,0 +1,56 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+public interface AccessMetricOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessMetric)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ * + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + *+ * + *
string metric_name = 1;
+ *
+ * @return The metricName.
+ */
+ java.lang.String getMetricName();
+ /**
+ *
+ *
+ * + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + *+ * + *
string metric_name = 1;
+ *
+ * @return The bytes for metricName.
+ */
+ com.google.protobuf.ByteString getMetricNameBytes();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java
new file mode 100644
index 000000000000..654d246e5471
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessMetricValue.java
@@ -0,0 +1,638 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * The value of a metric. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricValue} + */ +public final class AccessMetricValue extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessMetricValue) + AccessMetricValueOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessMetricValue.newBuilder() to construct. + private AccessMetricValue(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessMetricValue() { + value_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessMetricValue(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessMetricValue( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + value_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessMetricValue.class, + com.google.analytics.admin.v1alpha.AccessMetricValue.Builder.class); + } + + public static final int VALUE_FIELD_NUMBER = 1; + private volatile java.lang.Object value_; + /** + * + * + *
+ * The measurement value. For example, this value may be '13'. + *+ * + *
string value = 1;
+ *
+ * @return The value.
+ */
+ @java.lang.Override
+ public java.lang.String getValue() {
+ java.lang.Object ref = value_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ value_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The measurement value. For example, this value may be '13'. + *+ * + *
string value = 1;
+ *
+ * @return The bytes for value.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getValueBytes() {
+ java.lang.Object ref = value_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ value_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
+ }
+ 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.admin.v1alpha.AccessMetricValue)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessMetricValue other =
+ (com.google.analytics.admin.v1alpha.AccessMetricValue) obj;
+
+ if (!getValue().equals(other.getValue())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getValue().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricValue 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.admin.v1alpha.AccessMetricValue parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom(
+ 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.admin.v1alpha.AccessMetricValue parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricValue parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricValue 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.admin.v1alpha.AccessMetricValue parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricValue 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.admin.v1alpha.AccessMetricValue parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricValue 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.admin.v1alpha.AccessMetricValue prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The value of a metric. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessMetricValue} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The measurement value. For example, this value may be '13'. + *+ * + *
string value = 1;
+ *
+ * @return The value.
+ */
+ public java.lang.String getValue() {
+ java.lang.Object ref = value_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ value_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The measurement value. For example, this value may be '13'. + *+ * + *
string value = 1;
+ *
+ * @return The bytes for value.
+ */
+ public com.google.protobuf.ByteString getValueBytes() {
+ java.lang.Object ref = value_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ value_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The measurement value. For example, this value may be '13'. + *+ * + *
string value = 1;
+ *
+ * @param value The value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValue(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ value_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The measurement value. For example, this value may be '13'. + *+ * + *
string value = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearValue() {
+
+ value_ = getDefaultInstance().getValue();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The measurement value. For example, this value may be '13'. + *+ * + *
string value = 1;
+ *
+ * @param value The bytes for value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValueBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ value_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessMetricValue)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessMetricValue)
+ private static final com.google.analytics.admin.v1alpha.AccessMetricValue DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessMetricValue();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessMetricValue getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The measurement value. For example, this value may be '13'. + *+ * + *
string value = 1;
+ *
+ * @return The value.
+ */
+ java.lang.String getValue();
+ /**
+ *
+ *
+ * + * The measurement value. For example, this value may be '13'. + *+ * + *
string value = 1;
+ *
+ * @return The bytes for value.
+ */
+ com.google.protobuf.ByteString getValueBytes();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java
new file mode 100644
index 000000000000..e14acf0b2c24
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessNumericFilter.java
@@ -0,0 +1,1122 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * Filters for numeric or date values. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessNumericFilter} + */ +public final class AccessNumericFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessNumericFilter) + AccessNumericFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessNumericFilter.newBuilder() to construct. + private AccessNumericFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessNumericFilter() { + operation_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessNumericFilter(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessNumericFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + operation_ = rawValue; + break; + } + case 18: + { + com.google.analytics.admin.v1alpha.NumericValue.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); + } + value_ = + input.readMessage( + com.google.analytics.admin.v1alpha.NumericValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessNumericFilter.class, + com.google.analytics.admin.v1alpha.AccessNumericFilter.Builder.class); + } + + /** + * + * + *
+ * The operation applied to a numeric filter. + *+ * + * Protobuf enum {@code google.analytics.admin.v1alpha.AccessNumericFilter.Operation} + */ + public enum Operation implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Unspecified. + *+ * + *
OPERATION_UNSPECIFIED = 0;
+ */
+ OPERATION_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * Equal + *+ * + *
EQUAL = 1;
+ */
+ EQUAL(1),
+ /**
+ *
+ *
+ * + * Less than + *+ * + *
LESS_THAN = 2;
+ */
+ LESS_THAN(2),
+ /**
+ *
+ *
+ * + * Less than or equal + *+ * + *
LESS_THAN_OR_EQUAL = 3;
+ */
+ LESS_THAN_OR_EQUAL(3),
+ /**
+ *
+ *
+ * + * Greater than + *+ * + *
GREATER_THAN = 4;
+ */
+ GREATER_THAN(4),
+ /**
+ *
+ *
+ * + * Greater than or equal + *+ * + *
GREATER_THAN_OR_EQUAL = 5;
+ */
+ GREATER_THAN_OR_EQUAL(5),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Unspecified. + *+ * + *
OPERATION_UNSPECIFIED = 0;
+ */
+ public static final int OPERATION_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * Equal + *+ * + *
EQUAL = 1;
+ */
+ public static final int EQUAL_VALUE = 1;
+ /**
+ *
+ *
+ * + * Less than + *+ * + *
LESS_THAN = 2;
+ */
+ public static final int LESS_THAN_VALUE = 2;
+ /**
+ *
+ *
+ * + * Less than or equal + *+ * + *
LESS_THAN_OR_EQUAL = 3;
+ */
+ public static final int LESS_THAN_OR_EQUAL_VALUE = 3;
+ /**
+ *
+ *
+ * + * Greater than + *+ * + *
GREATER_THAN = 4;
+ */
+ public static final int GREATER_THAN_VALUE = 4;
+ /**
+ *
+ *
+ * + * Greater than or equal + *+ * + *
GREATER_THAN_OR_EQUAL = 5;
+ */
+ public static final int GREATER_THAN_OR_EQUAL_VALUE = 5;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Operation valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Operation forNumber(int value) {
+ switch (value) {
+ case 0:
+ return OPERATION_UNSPECIFIED;
+ case 1:
+ return EQUAL;
+ case 2:
+ return LESS_THAN;
+ case 3:
+ return LESS_THAN_OR_EQUAL;
+ case 4:
+ return GREATER_THAN;
+ case 5:
+ return GREATER_THAN_OR_EQUAL;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * The operation type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;
+ *
+ * @return The enum numeric value on the wire for operation.
+ */
+ @java.lang.Override
+ public int getOperationValue() {
+ return operation_;
+ }
+ /**
+ *
+ *
+ * + * The operation type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;
+ *
+ * @return The operation.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation() {
+ @SuppressWarnings("deprecation")
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation result =
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.valueOf(operation_);
+ return result == null
+ ? com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int VALUE_FIELD_NUMBER = 2;
+ private com.google.analytics.admin.v1alpha.NumericValue value_;
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ *
+ * @return Whether the value field is set.
+ */
+ @java.lang.Override
+ public boolean hasValue() {
+ return value_ != null;
+ }
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ *
+ * @return The value.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.NumericValue getValue() {
+ return value_ == null
+ ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()
+ : value_;
+ }
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getValueOrBuilder() {
+ return getValue();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (operation_
+ != com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(1, operation_);
+ }
+ if (value_ != null) {
+ output.writeMessage(2, getValue());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (operation_
+ != com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, operation_);
+ }
+ if (value_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessNumericFilter)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessNumericFilter other =
+ (com.google.analytics.admin.v1alpha.AccessNumericFilter) obj;
+
+ if (operation_ != other.operation_) return false;
+ if (hasValue() != other.hasValue()) return false;
+ if (hasValue()) {
+ if (!getValue().equals(other.getValue())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + OPERATION_FIELD_NUMBER;
+ hash = (53 * hash) + operation_;
+ if (hasValue()) {
+ hash = (37 * hash) + VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getValue().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessNumericFilter 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.admin.v1alpha.AccessNumericFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom(
+ 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.admin.v1alpha.AccessNumericFilter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessNumericFilter parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessNumericFilter 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.admin.v1alpha.AccessNumericFilter parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessNumericFilter 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.admin.v1alpha.AccessNumericFilter parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessNumericFilter 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.admin.v1alpha.AccessNumericFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Filters for numeric or date values. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessNumericFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The operation type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;
+ *
+ * @return The enum numeric value on the wire for operation.
+ */
+ @java.lang.Override
+ public int getOperationValue() {
+ return operation_;
+ }
+ /**
+ *
+ *
+ * + * The operation type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;
+ *
+ * @param value The enum numeric value on the wire for operation to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOperationValue(int value) {
+
+ operation_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The operation type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;
+ *
+ * @return The operation.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation() {
+ @SuppressWarnings("deprecation")
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation result =
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.valueOf(operation_);
+ return result == null
+ ? com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * The operation type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;
+ *
+ * @param value The operation to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOperation(
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ operation_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The operation type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearOperation() {
+
+ operation_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.analytics.admin.v1alpha.NumericValue value_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.NumericValue,
+ com.google.analytics.admin.v1alpha.NumericValue.Builder,
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder>
+ valueBuilder_;
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ *
+ * @return Whether the value field is set.
+ */
+ public boolean hasValue() {
+ return valueBuilder_ != null || value_ != null;
+ }
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ *
+ * @return The value.
+ */
+ public com.google.analytics.admin.v1alpha.NumericValue getValue() {
+ if (valueBuilder_ == null) {
+ return value_ == null
+ ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()
+ : value_;
+ } else {
+ return valueBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ */
+ public Builder setValue(com.google.analytics.admin.v1alpha.NumericValue value) {
+ if (valueBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ value_ = value;
+ onChanged();
+ } else {
+ valueBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ */
+ public Builder setValue(
+ com.google.analytics.admin.v1alpha.NumericValue.Builder builderForValue) {
+ if (valueBuilder_ == null) {
+ value_ = builderForValue.build();
+ onChanged();
+ } else {
+ valueBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ */
+ public Builder mergeValue(com.google.analytics.admin.v1alpha.NumericValue value) {
+ if (valueBuilder_ == null) {
+ if (value_ != null) {
+ value_ =
+ com.google.analytics.admin.v1alpha.NumericValue.newBuilder(value_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ value_ = value;
+ }
+ onChanged();
+ } else {
+ valueBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ */
+ public Builder clearValue() {
+ if (valueBuilder_ == null) {
+ value_ = null;
+ onChanged();
+ } else {
+ value_ = null;
+ valueBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ */
+ public com.google.analytics.admin.v1alpha.NumericValue.Builder getValueBuilder() {
+
+ onChanged();
+ return getValueFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ */
+ public com.google.analytics.admin.v1alpha.NumericValueOrBuilder getValueOrBuilder() {
+ if (valueBuilder_ != null) {
+ return valueBuilder_.getMessageOrBuilder();
+ } else {
+ return value_ == null
+ ? com.google.analytics.admin.v1alpha.NumericValue.getDefaultInstance()
+ : value_;
+ }
+ }
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.NumericValue,
+ com.google.analytics.admin.v1alpha.NumericValue.Builder,
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder>
+ getValueFieldBuilder() {
+ if (valueBuilder_ == null) {
+ valueBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.NumericValue,
+ com.google.analytics.admin.v1alpha.NumericValue.Builder,
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder>(
+ getValue(), getParentForChildren(), isClean());
+ value_ = null;
+ }
+ return valueBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessNumericFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessNumericFilter)
+ private static final com.google.analytics.admin.v1alpha.AccessNumericFilter DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessNumericFilter();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessNumericFilter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The operation type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;
+ *
+ * @return The enum numeric value on the wire for operation.
+ */
+ int getOperationValue();
+ /**
+ *
+ *
+ * + * The operation type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;
+ *
+ * @return The operation.
+ */
+ com.google.analytics.admin.v1alpha.AccessNumericFilter.Operation getOperation();
+
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ *
+ * @return Whether the value field is set.
+ */
+ boolean hasValue();
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ *
+ * @return The value.
+ */
+ com.google.analytics.admin.v1alpha.NumericValue getValue();
+ /**
+ *
+ *
+ * + * A numeric value or a date value. + *+ * + *
.google.analytics.admin.v1alpha.NumericValue value = 2;
+ */
+ com.google.analytics.admin.v1alpha.NumericValueOrBuilder getValueOrBuilder();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java
new file mode 100644
index 000000000000..ae60174864ef
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessOrderBy.java
@@ -0,0 +1,3004 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * Order bys define how rows will be sorted in the response. For example, + * ordering rows by descending access count is one ordering, and ordering rows + * by the country string is a different ordering. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy} + */ +public final class AccessOrderBy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessOrderBy) + AccessOrderByOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessOrderBy.newBuilder() to construct. + private AccessOrderBy(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessOrderBy() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessOrderBy(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessOrderBy( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder subBuilder = + null; + if (oneOrderByCase_ == 1) { + subBuilder = + ((com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_) + .toBuilder(); + } + oneOrderBy_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_); + oneOrderBy_ = subBuilder.buildPartial(); + } + oneOrderByCase_ = 1; + break; + } + case 18: + { + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder subBuilder = + null; + if (oneOrderByCase_ == 2) { + subBuilder = + ((com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) + oneOrderBy_) + .toBuilder(); + } + oneOrderBy_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) + oneOrderBy_); + oneOrderBy_ = subBuilder.buildPartial(); + } + oneOrderByCase_ = 2; + break; + } + case 24: + { + desc_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessOrderBy.class, + com.google.analytics.admin.v1alpha.AccessOrderBy.Builder.class); + } + + public interface MetricOrderByOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+ * A metric name in the request to order by. + *+ * + *
string metric_name = 1;
+ *
+ * @return The metricName.
+ */
+ java.lang.String getMetricName();
+ /**
+ *
+ *
+ * + * A metric name in the request to order by. + *+ * + *
string metric_name = 1;
+ *
+ * @return The bytes for metricName.
+ */
+ com.google.protobuf.ByteString getMetricNameBytes();
+ }
+ /**
+ *
+ *
+ * + * Sorts by metric values. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy} + */ + public static final class MetricOrderBy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) + MetricOrderByOrBuilder { + private static final long serialVersionUID = 0L; + // Use MetricOrderBy.newBuilder() to construct. + private MetricOrderBy(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private MetricOrderBy() { + metricName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MetricOrderBy(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private MetricOrderBy( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + metricName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.class, + com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder.class); + } + + public static final int METRIC_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object metricName_; + /** + * + * + *
+ * A metric name in the request to order by. + *+ * + *
string metric_name = 1;
+ *
+ * @return The metricName.
+ */
+ @java.lang.Override
+ public java.lang.String getMetricName() {
+ java.lang.Object ref = metricName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metricName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * A metric name in the request to order by. + *+ * + *
string metric_name = 1;
+ *
+ * @return The bytes for metricName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getMetricNameBytes() {
+ java.lang.Object ref = metricName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ metricName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy other =
+ (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) obj;
+
+ if (!getMetricName().equals(other.getMetricName())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + METRIC_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricName().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Sorts by metric values. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * A metric name in the request to order by. + *+ * + *
string metric_name = 1;
+ *
+ * @return The metricName.
+ */
+ public java.lang.String getMetricName() {
+ java.lang.Object ref = metricName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ metricName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * A metric name in the request to order by. + *+ * + *
string metric_name = 1;
+ *
+ * @return The bytes for metricName.
+ */
+ public com.google.protobuf.ByteString getMetricNameBytes() {
+ java.lang.Object ref = metricName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ metricName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * A metric name in the request to order by. + *+ * + *
string metric_name = 1;
+ *
+ * @param value The metricName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetricName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ metricName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A metric name in the request to order by. + *+ * + *
string metric_name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMetricName() {
+
+ metricName_ = getDefaultInstance().getMetricName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A metric name in the request to order by. + *+ * + *
string metric_name = 1;
+ *
+ * @param value The bytes for metricName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ metricName_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy)
+ private static final com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * A dimension name in the request to order by. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The dimensionName.
+ */
+ java.lang.String getDimensionName();
+ /**
+ *
+ *
+ * + * A dimension name in the request to order by. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The bytes for dimensionName.
+ */
+ com.google.protobuf.ByteString getDimensionNameBytes();
+
+ /**
+ *
+ *
+ * + * Controls the rule for dimension value ordering. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;
+ *
+ *
+ * @return The enum numeric value on the wire for orderType.
+ */
+ int getOrderTypeValue();
+ /**
+ *
+ *
+ * + * Controls the rule for dimension value ordering. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;
+ *
+ *
+ * @return The orderType.
+ */
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType getOrderType();
+ }
+ /**
+ *
+ *
+ * + * Sorts by dimension values. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy} + */ + public static final class DimensionOrderBy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) + DimensionOrderByOrBuilder { + private static final long serialVersionUID = 0L; + // Use DimensionOrderBy.newBuilder() to construct. + private DimensionOrderBy(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private DimensionOrderBy() { + dimensionName_ = ""; + orderType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DimensionOrderBy(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DimensionOrderBy( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + dimensionName_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); + + orderType_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.class, + com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder.class); + } + + /** + * + * + *
+ * Rule to order the string dimension values by. + *+ * + * Protobuf enum {@code google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType} + */ + public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Unspecified. + *+ * + *
ORDER_TYPE_UNSPECIFIED = 0;
+ */
+ ORDER_TYPE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < + * "b" < "z". + *+ * + *
ALPHANUMERIC = 1;
+ */
+ ALPHANUMERIC(1),
+ /**
+ *
+ *
+ * + * Case insensitive alphanumeric sort by lower case Unicode code point. + * For example, "2" < "A" < "b" < "X" < "z". + *+ * + *
CASE_INSENSITIVE_ALPHANUMERIC = 2;
+ */
+ CASE_INSENSITIVE_ALPHANUMERIC(2),
+ /**
+ *
+ *
+ * + * Dimension values are converted to numbers before sorting. For example + * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < + * "25". Non-numeric dimension values all have equal ordering value below + * all numeric values. + *+ * + *
NUMERIC = 3;
+ */
+ NUMERIC(3),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Unspecified. + *+ * + *
ORDER_TYPE_UNSPECIFIED = 0;
+ */
+ public static final int ORDER_TYPE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < + * "b" < "z". + *+ * + *
ALPHANUMERIC = 1;
+ */
+ public static final int ALPHANUMERIC_VALUE = 1;
+ /**
+ *
+ *
+ * + * Case insensitive alphanumeric sort by lower case Unicode code point. + * For example, "2" < "A" < "b" < "X" < "z". + *+ * + *
CASE_INSENSITIVE_ALPHANUMERIC = 2;
+ */
+ public static final int CASE_INSENSITIVE_ALPHANUMERIC_VALUE = 2;
+ /**
+ *
+ *
+ * + * Dimension values are converted to numbers before sorting. For example + * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < + * "25". Non-numeric dimension values all have equal ordering value below + * all numeric values. + *+ * + *
NUMERIC = 3;
+ */
+ public static final int NUMERIC_VALUE = 3;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static OrderType valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static OrderType forNumber(int value) {
+ switch (value) {
+ case 0:
+ return ORDER_TYPE_UNSPECIFIED;
+ case 1:
+ return ALPHANUMERIC;
+ case 2:
+ return CASE_INSENSITIVE_ALPHANUMERIC;
+ case 3:
+ return NUMERIC;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * A dimension name in the request to order by. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The dimensionName.
+ */
+ @java.lang.Override
+ public java.lang.String getDimensionName() {
+ java.lang.Object ref = dimensionName_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ dimensionName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * A dimension name in the request to order by. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The bytes for dimensionName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDimensionNameBytes() {
+ java.lang.Object ref = dimensionName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ dimensionName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ORDER_TYPE_FIELD_NUMBER = 2;
+ private int orderType_;
+ /**
+ *
+ *
+ * + * Controls the rule for dimension value ordering. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;
+ *
+ *
+ * @return The enum numeric value on the wire for orderType.
+ */
+ @java.lang.Override
+ public int getOrderTypeValue() {
+ return orderType_;
+ }
+ /**
+ *
+ *
+ * + * Controls the rule for dimension value ordering. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;
+ *
+ *
+ * @return The orderType.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType
+ getOrderType() {
+ @SuppressWarnings("deprecation")
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType result =
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.valueOf(
+ orderType_);
+ return result == null
+ ? com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED
+ : result;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dimensionName_);
+ }
+ if (orderType_
+ != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType
+ .ORDER_TYPE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(2, orderType_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dimensionName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dimensionName_);
+ }
+ if (orderType_
+ != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType
+ .ORDER_TYPE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, orderType_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy other =
+ (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) obj;
+
+ if (!getDimensionName().equals(other.getDimensionName())) return false;
+ if (orderType_ != other.orderType_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DIMENSION_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDimensionName().hashCode();
+ hash = (37 * hash) + ORDER_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + orderType_;
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Sorts by dimension values. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * A dimension name in the request to order by. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The dimensionName.
+ */
+ public java.lang.String getDimensionName() {
+ java.lang.Object ref = dimensionName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ dimensionName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * A dimension name in the request to order by. + *+ * + *
string dimension_name = 1;
+ *
+ * @return The bytes for dimensionName.
+ */
+ public com.google.protobuf.ByteString getDimensionNameBytes() {
+ java.lang.Object ref = dimensionName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ dimensionName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * A dimension name in the request to order by. + *+ * + *
string dimension_name = 1;
+ *
+ * @param value The dimensionName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDimensionName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ dimensionName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A dimension name in the request to order by. + *+ * + *
string dimension_name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDimensionName() {
+
+ dimensionName_ = getDefaultInstance().getDimensionName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A dimension name in the request to order by. + *+ * + *
string dimension_name = 1;
+ *
+ * @param value The bytes for dimensionName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDimensionNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ dimensionName_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int orderType_ = 0;
+ /**
+ *
+ *
+ * + * Controls the rule for dimension value ordering. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;
+ *
+ *
+ * @return The enum numeric value on the wire for orderType.
+ */
+ @java.lang.Override
+ public int getOrderTypeValue() {
+ return orderType_;
+ }
+ /**
+ *
+ *
+ * + * Controls the rule for dimension value ordering. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;
+ *
+ *
+ * @param value The enum numeric value on the wire for orderType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOrderTypeValue(int value) {
+
+ orderType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Controls the rule for dimension value ordering. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;
+ *
+ *
+ * @return The orderType.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType
+ getOrderType() {
+ @SuppressWarnings("deprecation")
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType result =
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType.valueOf(
+ orderType_);
+ return result == null
+ ? com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType
+ .UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Controls the rule for dimension value ordering. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;
+ *
+ *
+ * @param value The orderType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOrderType(
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ orderType_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Controls the rule for dimension value ordering. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearOrderType() {
+
+ orderType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy)
+ private static final com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ *
+ * @return Whether the metric field is set.
+ */
+ @java.lang.Override
+ public boolean hasMetric() {
+ return oneOrderByCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ *
+ * @return The metric.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric() {
+ if (oneOrderByCase_ == 1) {
+ return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder
+ getMetricOrBuilder() {
+ if (oneOrderByCase_ == 1) {
+ return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance();
+ }
+
+ public static final int DIMENSION_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ *
+ * @return Whether the dimension field is set.
+ */
+ @java.lang.Override
+ public boolean hasDimension() {
+ return oneOrderByCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ *
+ * @return The dimension.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDimension() {
+ if (oneOrderByCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder
+ getDimensionOrBuilder() {
+ if (oneOrderByCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.getDefaultInstance();
+ }
+
+ public static final int DESC_FIELD_NUMBER = 3;
+ private boolean desc_;
+ /**
+ *
+ *
+ * + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + *+ * + *
bool desc = 3;
+ *
+ * @return The desc.
+ */
+ @java.lang.Override
+ public boolean getDesc() {
+ return desc_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (oneOrderByCase_ == 1) {
+ output.writeMessage(
+ 1, (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_);
+ }
+ if (oneOrderByCase_ == 2) {
+ output.writeMessage(
+ 2, (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_);
+ }
+ if (desc_ != false) {
+ output.writeBool(3, desc_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (oneOrderByCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_);
+ }
+ if (oneOrderByCase_ == 2) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_);
+ }
+ if (desc_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, desc_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessOrderBy)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessOrderBy other =
+ (com.google.analytics.admin.v1alpha.AccessOrderBy) obj;
+
+ if (getDesc() != other.getDesc()) return false;
+ if (!getOneOrderByCase().equals(other.getOneOrderByCase())) return false;
+ switch (oneOrderByCase_) {
+ case 1:
+ if (!getMetric().equals(other.getMetric())) return false;
+ break;
+ case 2:
+ if (!getDimension().equals(other.getDimension())) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DESC_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesc());
+ switch (oneOrderByCase_) {
+ case 1:
+ hash = (37 * hash) + METRIC_FIELD_NUMBER;
+ hash = (53 * hash) + getMetric().hashCode();
+ break;
+ case 2:
+ hash = (37 * hash) + DIMENSION_FIELD_NUMBER;
+ hash = (53 * hash) + getDimension().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy 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.admin.v1alpha.AccessOrderBy parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom(
+ 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.admin.v1alpha.AccessOrderBy parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy 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.admin.v1alpha.AccessOrderBy parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy 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.admin.v1alpha.AccessOrderBy parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy 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.admin.v1alpha.AccessOrderBy 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;
+ }
+ /**
+ *
+ *
+ * + * Order bys define how rows will be sorted in the response. For example, + * ordering rows by descending access count is one ordering, and ordering rows + * by the country string is a different ordering. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessOrderBy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ *
+ * @return Whether the metric field is set.
+ */
+ @java.lang.Override
+ public boolean hasMetric() {
+ return oneOrderByCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ *
+ * @return The metric.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric() {
+ if (metricBuilder_ == null) {
+ if (oneOrderByCase_ == 1) {
+ return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance();
+ } else {
+ if (oneOrderByCase_ == 1) {
+ return metricBuilder_.getMessage();
+ }
+ return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ */
+ public Builder setMetric(com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy value) {
+ if (metricBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ oneOrderBy_ = value;
+ onChanged();
+ } else {
+ metricBuilder_.setMessage(value);
+ }
+ oneOrderByCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ */
+ public Builder setMetric(
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder builderForValue) {
+ if (metricBuilder_ == null) {
+ oneOrderBy_ = builderForValue.build();
+ onChanged();
+ } else {
+ metricBuilder_.setMessage(builderForValue.build());
+ }
+ oneOrderByCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ */
+ public Builder mergeMetric(
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy value) {
+ if (metricBuilder_ == null) {
+ if (oneOrderByCase_ == 1
+ && oneOrderBy_
+ != com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy
+ .getDefaultInstance()) {
+ oneOrderBy_ =
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.newBuilder(
+ (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ oneOrderBy_ = value;
+ }
+ onChanged();
+ } else {
+ if (oneOrderByCase_ == 1) {
+ metricBuilder_.mergeFrom(value);
+ } else {
+ metricBuilder_.setMessage(value);
+ }
+ }
+ oneOrderByCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ */
+ public Builder clearMetric() {
+ if (metricBuilder_ == null) {
+ if (oneOrderByCase_ == 1) {
+ oneOrderByCase_ = 0;
+ oneOrderBy_ = null;
+ onChanged();
+ }
+ } else {
+ if (oneOrderByCase_ == 1) {
+ oneOrderByCase_ = 0;
+ oneOrderBy_ = null;
+ }
+ metricBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ */
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder
+ getMetricBuilder() {
+ return getMetricFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder
+ getMetricOrBuilder() {
+ if ((oneOrderByCase_ == 1) && (metricBuilder_ != null)) {
+ return metricBuilder_.getMessageOrBuilder();
+ } else {
+ if (oneOrderByCase_ == 1) {
+ return (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy,
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder,
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder>
+ getMetricFieldBuilder() {
+ if (metricBuilder_ == null) {
+ if (!(oneOrderByCase_ == 1)) {
+ oneOrderBy_ =
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.getDefaultInstance();
+ }
+ metricBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy,
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy.Builder,
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder>(
+ (com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy) oneOrderBy_,
+ getParentForChildren(),
+ isClean());
+ oneOrderBy_ = null;
+ }
+ oneOrderByCase_ = 1;
+ onChanged();
+ ;
+ return metricBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy,
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder,
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder>
+ dimensionBuilder_;
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ *
+ * @return Whether the dimension field is set.
+ */
+ @java.lang.Override
+ public boolean hasDimension() {
+ return oneOrderByCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ *
+ * @return The dimension.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDimension() {
+ if (dimensionBuilder_ == null) {
+ if (oneOrderByCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy
+ .getDefaultInstance();
+ } else {
+ if (oneOrderByCase_ == 2) {
+ return dimensionBuilder_.getMessage();
+ }
+ return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ */
+ public Builder setDimension(
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy value) {
+ if (dimensionBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ oneOrderBy_ = value;
+ onChanged();
+ } else {
+ dimensionBuilder_.setMessage(value);
+ }
+ oneOrderByCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ */
+ public Builder setDimension(
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder builderForValue) {
+ if (dimensionBuilder_ == null) {
+ oneOrderBy_ = builderForValue.build();
+ onChanged();
+ } else {
+ dimensionBuilder_.setMessage(builderForValue.build());
+ }
+ oneOrderByCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ */
+ public Builder mergeDimension(
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy value) {
+ if (dimensionBuilder_ == null) {
+ if (oneOrderByCase_ == 2
+ && oneOrderBy_
+ != com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy
+ .getDefaultInstance()) {
+ oneOrderBy_ =
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.newBuilder(
+ (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy)
+ oneOrderBy_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ oneOrderBy_ = value;
+ }
+ onChanged();
+ } else {
+ if (oneOrderByCase_ == 2) {
+ dimensionBuilder_.mergeFrom(value);
+ } else {
+ dimensionBuilder_.setMessage(value);
+ }
+ }
+ oneOrderByCase_ = 2;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ */
+ public Builder clearDimension() {
+ if (dimensionBuilder_ == null) {
+ if (oneOrderByCase_ == 2) {
+ oneOrderByCase_ = 0;
+ oneOrderBy_ = null;
+ onChanged();
+ }
+ } else {
+ if (oneOrderByCase_ == 2) {
+ oneOrderByCase_ = 0;
+ oneOrderBy_ = null;
+ }
+ dimensionBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder
+ getDimensionBuilder() {
+ return getDimensionFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder
+ getDimensionOrBuilder() {
+ if ((oneOrderByCase_ == 2) && (dimensionBuilder_ != null)) {
+ return dimensionBuilder_.getMessageOrBuilder();
+ } else {
+ if (oneOrderByCase_ == 2) {
+ return (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_;
+ }
+ return com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy,
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder,
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder>
+ getDimensionFieldBuilder() {
+ if (dimensionBuilder_ == null) {
+ if (!(oneOrderByCase_ == 2)) {
+ oneOrderBy_ =
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy
+ .getDefaultInstance();
+ }
+ dimensionBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy,
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.Builder,
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder>(
+ (com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy) oneOrderBy_,
+ getParentForChildren(),
+ isClean());
+ oneOrderBy_ = null;
+ }
+ oneOrderByCase_ = 2;
+ onChanged();
+ ;
+ return dimensionBuilder_;
+ }
+
+ private boolean desc_;
+ /**
+ *
+ *
+ * + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + *+ * + *
bool desc = 3;
+ *
+ * @return The desc.
+ */
+ @java.lang.Override
+ public boolean getDesc() {
+ return desc_;
+ }
+ /**
+ *
+ *
+ * + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + *+ * + *
bool desc = 3;
+ *
+ * @param value The desc to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDesc(boolean value) {
+
+ desc_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + *+ * + *
bool desc = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDesc() {
+
+ desc_ = false;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessOrderBy)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessOrderBy)
+ private static final com.google.analytics.admin.v1alpha.AccessOrderBy DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessOrderBy();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessOrderBy getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ *
+ * @return Whether the metric field is set.
+ */
+ boolean hasMetric();
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ *
+ * @return The metric.
+ */
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric();
+ /**
+ *
+ *
+ * + * Sorts results by a metric's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
+ */
+ com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder();
+
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ *
+ * @return Whether the dimension field is set.
+ */
+ boolean hasDimension();
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ *
+ * @return The dimension.
+ */
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy getDimension();
+ /**
+ *
+ *
+ * + * Sorts results by a dimension's values. + *+ * + *
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
+ */
+ com.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByOrBuilder
+ getDimensionOrBuilder();
+
+ /**
+ *
+ *
+ * + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + *+ * + *
bool desc = 3;
+ *
+ * @return The desc.
+ */
+ boolean getDesc();
+
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.OneOrderByCase getOneOrderByCase();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java
new file mode 100644
index 000000000000..8c3bb6df4d64
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuota.java
@@ -0,0 +1,1663 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * Current state of all quotas for this Analytics property. If any quota for a + * property is exhausted, all requests to that property will return Resource + * Exhausted errors. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuota} + */ +public final class AccessQuota extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessQuota) + AccessQuotaOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessQuota.newBuilder() to construct. + private AccessQuota(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessQuota() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessQuota(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessQuota( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder subBuilder = null; + if (tokensPerDay_ != null) { + subBuilder = tokensPerDay_.toBuilder(); + } + tokensPerDay_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessQuotaStatus.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tokensPerDay_); + tokensPerDay_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder subBuilder = null; + if (tokensPerHour_ != null) { + subBuilder = tokensPerHour_.toBuilder(); + } + tokensPerHour_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessQuotaStatus.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tokensPerHour_); + tokensPerHour_ = subBuilder.buildPartial(); + } + + break; + } + case 26: + { + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder subBuilder = null; + if (concurrentRequests_ != null) { + subBuilder = concurrentRequests_.toBuilder(); + } + concurrentRequests_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessQuotaStatus.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(concurrentRequests_); + concurrentRequests_ = subBuilder.buildPartial(); + } + + break; + } + case 34: + { + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder subBuilder = null; + if (serverErrorsPerProjectPerHour_ != null) { + subBuilder = serverErrorsPerProjectPerHour_.toBuilder(); + } + serverErrorsPerProjectPerHour_ = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessQuotaStatus.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(serverErrorsPerProjectPerHour_); + serverErrorsPerProjectPerHour_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessQuota.class, + com.google.analytics.admin.v1alpha.AccessQuota.Builder.class); + } + + public static final int TOKENS_PER_DAY_FIELD_NUMBER = 1; + private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerDay_; + /** + * + * + *
+ * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ *
+ * @return Whether the tokensPerDay field is set.
+ */
+ @java.lang.Override
+ public boolean hasTokensPerDay() {
+ return tokensPerDay_ != null;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ *
+ * @return The tokensPerDay.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay() {
+ return tokensPerDay_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : tokensPerDay_;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder() {
+ return getTokensPerDay();
+ }
+
+ public static final int TOKENS_PER_HOUR_FIELD_NUMBER = 2;
+ private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerHour_;
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ *
+ * @return Whether the tokensPerHour field is set.
+ */
+ @java.lang.Override
+ public boolean hasTokensPerHour() {
+ return tokensPerHour_ != null;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ *
+ * @return The tokensPerHour.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerHour() {
+ return tokensPerHour_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : tokensPerHour_;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder() {
+ return getTokensPerHour();
+ }
+
+ public static final int CONCURRENT_REQUESTS_FIELD_NUMBER = 3;
+ private com.google.analytics.admin.v1alpha.AccessQuotaStatus concurrentRequests_;
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ *
+ * @return Whether the concurrentRequests field is set.
+ */
+ @java.lang.Override
+ public boolean hasConcurrentRequests() {
+ return concurrentRequests_ != null;
+ }
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ *
+ * @return The concurrentRequests.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequests() {
+ return concurrentRequests_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : concurrentRequests_;
+ }
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
+ getConcurrentRequestsOrBuilder() {
+ return getConcurrentRequests();
+ }
+
+ public static final int SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER = 4;
+ private com.google.analytics.admin.v1alpha.AccessQuotaStatus serverErrorsPerProjectPerHour_;
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ *
+ * @return Whether the serverErrorsPerProjectPerHour field is set.
+ */
+ @java.lang.Override
+ public boolean hasServerErrorsPerProjectPerHour() {
+ return serverErrorsPerProjectPerHour_ != null;
+ }
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ *
+ * @return The serverErrorsPerProjectPerHour.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getServerErrorsPerProjectPerHour() {
+ return serverErrorsPerProjectPerHour_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : serverErrorsPerProjectPerHour_;
+ }
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
+ getServerErrorsPerProjectPerHourOrBuilder() {
+ return getServerErrorsPerProjectPerHour();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (tokensPerDay_ != null) {
+ output.writeMessage(1, getTokensPerDay());
+ }
+ if (tokensPerHour_ != null) {
+ output.writeMessage(2, getTokensPerHour());
+ }
+ if (concurrentRequests_ != null) {
+ output.writeMessage(3, getConcurrentRequests());
+ }
+ if (serverErrorsPerProjectPerHour_ != null) {
+ output.writeMessage(4, getServerErrorsPerProjectPerHour());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (tokensPerDay_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTokensPerDay());
+ }
+ if (tokensPerHour_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTokensPerHour());
+ }
+ if (concurrentRequests_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getConcurrentRequests());
+ }
+ if (serverErrorsPerProjectPerHour_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 4, getServerErrorsPerProjectPerHour());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessQuota)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessQuota other =
+ (com.google.analytics.admin.v1alpha.AccessQuota) obj;
+
+ if (hasTokensPerDay() != other.hasTokensPerDay()) return false;
+ if (hasTokensPerDay()) {
+ if (!getTokensPerDay().equals(other.getTokensPerDay())) return false;
+ }
+ if (hasTokensPerHour() != other.hasTokensPerHour()) return false;
+ if (hasTokensPerHour()) {
+ if (!getTokensPerHour().equals(other.getTokensPerHour())) return false;
+ }
+ if (hasConcurrentRequests() != other.hasConcurrentRequests()) return false;
+ if (hasConcurrentRequests()) {
+ if (!getConcurrentRequests().equals(other.getConcurrentRequests())) return false;
+ }
+ if (hasServerErrorsPerProjectPerHour() != other.hasServerErrorsPerProjectPerHour())
+ return false;
+ if (hasServerErrorsPerProjectPerHour()) {
+ if (!getServerErrorsPerProjectPerHour().equals(other.getServerErrorsPerProjectPerHour()))
+ return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasTokensPerDay()) {
+ hash = (37 * hash) + TOKENS_PER_DAY_FIELD_NUMBER;
+ hash = (53 * hash) + getTokensPerDay().hashCode();
+ }
+ if (hasTokensPerHour()) {
+ hash = (37 * hash) + TOKENS_PER_HOUR_FIELD_NUMBER;
+ hash = (53 * hash) + getTokensPerHour().hashCode();
+ }
+ if (hasConcurrentRequests()) {
+ hash = (37 * hash) + CONCURRENT_REQUESTS_FIELD_NUMBER;
+ hash = (53 * hash) + getConcurrentRequests().hashCode();
+ }
+ if (hasServerErrorsPerProjectPerHour()) {
+ hash = (37 * hash) + SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER;
+ hash = (53 * hash) + getServerErrorsPerProjectPerHour().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuota 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.admin.v1alpha.AccessQuota parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(
+ 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.admin.v1alpha.AccessQuota parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuota parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuota 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.admin.v1alpha.AccessQuota parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuota 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.admin.v1alpha.AccessQuota parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuota 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.admin.v1alpha.AccessQuota prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Current state of all quotas for this Analytics property. If any quota for a + * property is exhausted, all requests to that property will return Resource + * Exhausted errors. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuota} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ *
+ * @return Whether the tokensPerDay field is set.
+ */
+ public boolean hasTokensPerDay() {
+ return tokensPerDayBuilder_ != null || tokensPerDay_ != null;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ *
+ * @return The tokensPerDay.
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay() {
+ if (tokensPerDayBuilder_ == null) {
+ return tokensPerDay_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : tokensPerDay_;
+ } else {
+ return tokensPerDayBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ */
+ public Builder setTokensPerDay(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
+ if (tokensPerDayBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ tokensPerDay_ = value;
+ onChanged();
+ } else {
+ tokensPerDayBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ */
+ public Builder setTokensPerDay(
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder builderForValue) {
+ if (tokensPerDayBuilder_ == null) {
+ tokensPerDay_ = builderForValue.build();
+ onChanged();
+ } else {
+ tokensPerDayBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ */
+ public Builder mergeTokensPerDay(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
+ if (tokensPerDayBuilder_ == null) {
+ if (tokensPerDay_ != null) {
+ tokensPerDay_ =
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.newBuilder(tokensPerDay_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ tokensPerDay_ = value;
+ }
+ onChanged();
+ } else {
+ tokensPerDayBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ */
+ public Builder clearTokensPerDay() {
+ if (tokensPerDayBuilder_ == null) {
+ tokensPerDay_ = null;
+ onChanged();
+ } else {
+ tokensPerDay_ = null;
+ tokensPerDayBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPerDayBuilder() {
+
+ onChanged();
+ return getTokensPerDayFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
+ getTokensPerDayOrBuilder() {
+ if (tokensPerDayBuilder_ != null) {
+ return tokensPerDayBuilder_.getMessageOrBuilder();
+ } else {
+ return tokensPerDay_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : tokensPerDay_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+ getTokensPerDayFieldBuilder() {
+ if (tokensPerDayBuilder_ == null) {
+ tokensPerDayBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>(
+ getTokensPerDay(), getParentForChildren(), isClean());
+ tokensPerDay_ = null;
+ }
+ return tokensPerDayBuilder_;
+ }
+
+ private com.google.analytics.admin.v1alpha.AccessQuotaStatus tokensPerHour_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+ tokensPerHourBuilder_;
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ *
+ * @return Whether the tokensPerHour field is set.
+ */
+ public boolean hasTokensPerHour() {
+ return tokensPerHourBuilder_ != null || tokensPerHour_ != null;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ *
+ * @return The tokensPerHour.
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerHour() {
+ if (tokensPerHourBuilder_ == null) {
+ return tokensPerHour_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : tokensPerHour_;
+ } else {
+ return tokensPerHourBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ */
+ public Builder setTokensPerHour(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
+ if (tokensPerHourBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ tokensPerHour_ = value;
+ onChanged();
+ } else {
+ tokensPerHourBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ */
+ public Builder setTokensPerHour(
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder builderForValue) {
+ if (tokensPerHourBuilder_ == null) {
+ tokensPerHour_ = builderForValue.build();
+ onChanged();
+ } else {
+ tokensPerHourBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ */
+ public Builder mergeTokensPerHour(com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
+ if (tokensPerHourBuilder_ == null) {
+ if (tokensPerHour_ != null) {
+ tokensPerHour_ =
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.newBuilder(tokensPerHour_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ tokensPerHour_ = value;
+ }
+ onChanged();
+ } else {
+ tokensPerHourBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ */
+ public Builder clearTokensPerHour() {
+ if (tokensPerHourBuilder_ == null) {
+ tokensPerHour_ = null;
+ onChanged();
+ } else {
+ tokensPerHour_ = null;
+ tokensPerHourBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder getTokensPerHourBuilder() {
+
+ onChanged();
+ return getTokensPerHourFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
+ getTokensPerHourOrBuilder() {
+ if (tokensPerHourBuilder_ != null) {
+ return tokensPerHourBuilder_.getMessageOrBuilder();
+ } else {
+ return tokensPerHour_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : tokensPerHour_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+ getTokensPerHourFieldBuilder() {
+ if (tokensPerHourBuilder_ == null) {
+ tokensPerHourBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>(
+ getTokensPerHour(), getParentForChildren(), isClean());
+ tokensPerHour_ = null;
+ }
+ return tokensPerHourBuilder_;
+ }
+
+ private com.google.analytics.admin.v1alpha.AccessQuotaStatus concurrentRequests_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+ concurrentRequestsBuilder_;
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ *
+ * @return Whether the concurrentRequests field is set.
+ */
+ public boolean hasConcurrentRequests() {
+ return concurrentRequestsBuilder_ != null || concurrentRequests_ != null;
+ }
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ *
+ * @return The concurrentRequests.
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequests() {
+ if (concurrentRequestsBuilder_ == null) {
+ return concurrentRequests_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : concurrentRequests_;
+ } else {
+ return concurrentRequestsBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ */
+ public Builder setConcurrentRequests(
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
+ if (concurrentRequestsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ concurrentRequests_ = value;
+ onChanged();
+ } else {
+ concurrentRequestsBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ */
+ public Builder setConcurrentRequests(
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder builderForValue) {
+ if (concurrentRequestsBuilder_ == null) {
+ concurrentRequests_ = builderForValue.build();
+ onChanged();
+ } else {
+ concurrentRequestsBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ */
+ public Builder mergeConcurrentRequests(
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
+ if (concurrentRequestsBuilder_ == null) {
+ if (concurrentRequests_ != null) {
+ concurrentRequests_ =
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.newBuilder(concurrentRequests_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ concurrentRequests_ = value;
+ }
+ onChanged();
+ } else {
+ concurrentRequestsBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ */
+ public Builder clearConcurrentRequests() {
+ if (concurrentRequestsBuilder_ == null) {
+ concurrentRequests_ = null;
+ onChanged();
+ } else {
+ concurrentRequests_ = null;
+ concurrentRequestsBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder
+ getConcurrentRequestsBuilder() {
+
+ onChanged();
+ return getConcurrentRequestsFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
+ getConcurrentRequestsOrBuilder() {
+ if (concurrentRequestsBuilder_ != null) {
+ return concurrentRequestsBuilder_.getMessageOrBuilder();
+ } else {
+ return concurrentRequests_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : concurrentRequests_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+ getConcurrentRequestsFieldBuilder() {
+ if (concurrentRequestsBuilder_ == null) {
+ concurrentRequestsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>(
+ getConcurrentRequests(), getParentForChildren(), isClean());
+ concurrentRequests_ = null;
+ }
+ return concurrentRequestsBuilder_;
+ }
+
+ private com.google.analytics.admin.v1alpha.AccessQuotaStatus serverErrorsPerProjectPerHour_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+ serverErrorsPerProjectPerHourBuilder_;
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ *
+ * @return Whether the serverErrorsPerProjectPerHour field is set.
+ */
+ public boolean hasServerErrorsPerProjectPerHour() {
+ return serverErrorsPerProjectPerHourBuilder_ != null
+ || serverErrorsPerProjectPerHour_ != null;
+ }
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ *
+ * @return The serverErrorsPerProjectPerHour.
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus getServerErrorsPerProjectPerHour() {
+ if (serverErrorsPerProjectPerHourBuilder_ == null) {
+ return serverErrorsPerProjectPerHour_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : serverErrorsPerProjectPerHour_;
+ } else {
+ return serverErrorsPerProjectPerHourBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ */
+ public Builder setServerErrorsPerProjectPerHour(
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
+ if (serverErrorsPerProjectPerHourBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ serverErrorsPerProjectPerHour_ = value;
+ onChanged();
+ } else {
+ serverErrorsPerProjectPerHourBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ */
+ public Builder setServerErrorsPerProjectPerHour(
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder builderForValue) {
+ if (serverErrorsPerProjectPerHourBuilder_ == null) {
+ serverErrorsPerProjectPerHour_ = builderForValue.build();
+ onChanged();
+ } else {
+ serverErrorsPerProjectPerHourBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ */
+ public Builder mergeServerErrorsPerProjectPerHour(
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus value) {
+ if (serverErrorsPerProjectPerHourBuilder_ == null) {
+ if (serverErrorsPerProjectPerHour_ != null) {
+ serverErrorsPerProjectPerHour_ =
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.newBuilder(
+ serverErrorsPerProjectPerHour_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ serverErrorsPerProjectPerHour_ = value;
+ }
+ onChanged();
+ } else {
+ serverErrorsPerProjectPerHourBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ */
+ public Builder clearServerErrorsPerProjectPerHour() {
+ if (serverErrorsPerProjectPerHourBuilder_ == null) {
+ serverErrorsPerProjectPerHour_ = null;
+ onChanged();
+ } else {
+ serverErrorsPerProjectPerHour_ = null;
+ serverErrorsPerProjectPerHourBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder
+ getServerErrorsPerProjectPerHourBuilder() {
+
+ onChanged();
+ return getServerErrorsPerProjectPerHourFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ */
+ public com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
+ getServerErrorsPerProjectPerHourOrBuilder() {
+ if (serverErrorsPerProjectPerHourBuilder_ != null) {
+ return serverErrorsPerProjectPerHourBuilder_.getMessageOrBuilder();
+ } else {
+ return serverErrorsPerProjectPerHour_ == null
+ ? com.google.analytics.admin.v1alpha.AccessQuotaStatus.getDefaultInstance()
+ : serverErrorsPerProjectPerHour_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
+ * .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>
+ getServerErrorsPerProjectPerHourFieldBuilder() {
+ if (serverErrorsPerProjectPerHourBuilder_ == null) {
+ serverErrorsPerProjectPerHourBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder,
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder>(
+ getServerErrorsPerProjectPerHour(), getParentForChildren(), isClean());
+ serverErrorsPerProjectPerHour_ = null;
+ }
+ return serverErrorsPerProjectPerHourBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessQuota)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessQuota)
+ private static final com.google.analytics.admin.v1alpha.AccessQuota DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessQuota();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuota getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ *
+ * @return Whether the tokensPerDay field is set.
+ */
+ boolean hasTokensPerDay();
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ *
+ * @return The tokensPerDay.
+ */
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerDay();
+ /**
+ *
+ *
+ * + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1;
+ */
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder();
+
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ *
+ * @return Whether the tokensPerHour field is set.
+ */
+ boolean hasTokensPerHour();
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ *
+ * @return The tokensPerHour.
+ */
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus getTokensPerHour();
+ /**
+ *
+ *
+ * + * Properties can use 50,000 tokens per hour. An API request consumes a single + * number of tokens, and that number is deducted from both the hourly and + * daily quotas. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
+ */
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder();
+
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ *
+ * @return Whether the concurrentRequests field is set.
+ */
+ boolean hasConcurrentRequests();
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ *
+ * @return The concurrentRequests.
+ */
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus getConcurrentRequests();
+ /**
+ *
+ *
+ * + * Properties can use up to 50 concurrent requests. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3;
+ */
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder();
+
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ *
+ * @return Whether the serverErrorsPerProjectPerHour field is set.
+ */
+ boolean hasServerErrorsPerProjectPerHour();
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ *
+ * @return The serverErrorsPerProjectPerHour.
+ */
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus getServerErrorsPerProjectPerHour();
+ /**
+ *
+ *
+ * + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + *+ * + *
.google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
+ *
+ */
+ com.google.analytics.admin.v1alpha.AccessQuotaStatusOrBuilder
+ getServerErrorsPerProjectPerHourOrBuilder();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java
new file mode 100644
index 000000000000..fe381ea23fdb
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessQuotaStatus.java
@@ -0,0 +1,638 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * Current state for a particular quota group. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuotaStatus} + */ +public final class AccessQuotaStatus extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessQuotaStatus) + AccessQuotaStatusOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessQuotaStatus.newBuilder() to construct. + private AccessQuotaStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessQuotaStatus() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessQuotaStatus(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessQuotaStatus( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + consumed_ = input.readInt32(); + break; + } + case 16: + { + remaining_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessQuotaStatus.class, + com.google.analytics.admin.v1alpha.AccessQuotaStatus.Builder.class); + } + + public static final int CONSUMED_FIELD_NUMBER = 1; + private int consumed_; + /** + * + * + *
+ * Quota consumed by this request. + *+ * + *
int32 consumed = 1;
+ *
+ * @return The consumed.
+ */
+ @java.lang.Override
+ public int getConsumed() {
+ return consumed_;
+ }
+
+ public static final int REMAINING_FIELD_NUMBER = 2;
+ private int remaining_;
+ /**
+ *
+ *
+ * + * Quota remaining after this request. + *+ * + *
int32 remaining = 2;
+ *
+ * @return The remaining.
+ */
+ @java.lang.Override
+ public int getRemaining() {
+ return remaining_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (consumed_ != 0) {
+ output.writeInt32(1, consumed_);
+ }
+ if (remaining_ != 0) {
+ output.writeInt32(2, remaining_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (consumed_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, consumed_);
+ }
+ if (remaining_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, remaining_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessQuotaStatus)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessQuotaStatus other =
+ (com.google.analytics.admin.v1alpha.AccessQuotaStatus) obj;
+
+ if (getConsumed() != other.getConsumed()) return false;
+ if (getRemaining() != other.getRemaining()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + CONSUMED_FIELD_NUMBER;
+ hash = (53 * hash) + getConsumed();
+ hash = (37 * hash) + REMAINING_FIELD_NUMBER;
+ hash = (53 * hash) + getRemaining();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus 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.admin.v1alpha.AccessQuotaStatus parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom(
+ 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.admin.v1alpha.AccessQuotaStatus parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus 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.admin.v1alpha.AccessQuotaStatus parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus 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.admin.v1alpha.AccessQuotaStatus parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus 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.admin.v1alpha.AccessQuotaStatus prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Current state for a particular quota group. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessQuotaStatus} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Quota consumed by this request. + *+ * + *
int32 consumed = 1;
+ *
+ * @return The consumed.
+ */
+ @java.lang.Override
+ public int getConsumed() {
+ return consumed_;
+ }
+ /**
+ *
+ *
+ * + * Quota consumed by this request. + *+ * + *
int32 consumed = 1;
+ *
+ * @param value The consumed to set.
+ * @return This builder for chaining.
+ */
+ public Builder setConsumed(int value) {
+
+ consumed_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Quota consumed by this request. + *+ * + *
int32 consumed = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearConsumed() {
+
+ consumed_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int remaining_;
+ /**
+ *
+ *
+ * + * Quota remaining after this request. + *+ * + *
int32 remaining = 2;
+ *
+ * @return The remaining.
+ */
+ @java.lang.Override
+ public int getRemaining() {
+ return remaining_;
+ }
+ /**
+ *
+ *
+ * + * Quota remaining after this request. + *+ * + *
int32 remaining = 2;
+ *
+ * @param value The remaining to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRemaining(int value) {
+
+ remaining_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Quota remaining after this request. + *+ * + *
int32 remaining = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRemaining() {
+
+ remaining_ = 0;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessQuotaStatus)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessQuotaStatus)
+ private static final com.google.analytics.admin.v1alpha.AccessQuotaStatus DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessQuotaStatus();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessQuotaStatus getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Quota consumed by this request. + *+ * + *
int32 consumed = 1;
+ *
+ * @return The consumed.
+ */
+ int getConsumed();
+
+ /**
+ *
+ *
+ * + * Quota remaining after this request. + *+ * + *
int32 remaining = 2;
+ *
+ * @return The remaining.
+ */
+ int getRemaining();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java
new file mode 100644
index 000000000000..63280dc15b45
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessReportProto.java
@@ -0,0 +1,393 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+public final class AccessReportProto {
+ private AccessReportProto() {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+ }
+
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ return descriptor;
+ }
+
+ private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+ static {
+ java.lang.String[] descriptorData = {
+ "\n2google/analytics/admin/v1alpha/access_"
+ + "report.proto\022\036google.analytics.admin.v1a"
+ + "lpha\")\n\017AccessDimension\022\026\n\016dimension_nam"
+ + "e\030\001 \001(\t\"#\n\014AccessMetric\022\023\n\013metric_name\030\001"
+ + " \001(\t\"7\n\017AccessDateRange\022\022\n\nstart_date\030\001 "
+ + "\001(\t\022\020\n\010end_date\030\002 \001(\t\"\344\002\n\026AccessFilterEx"
+ + "pression\022O\n\tand_group\030\001 \001(\0132:.google.ana"
+ + "lytics.admin.v1alpha.AccessFilterExpress"
+ + "ionListH\000\022N\n\010or_group\030\002 \001(\0132:.google.ana"
+ + "lytics.admin.v1alpha.AccessFilterExpress"
+ + "ionListH\000\022P\n\016not_expression\030\003 \001(\01326.goog"
+ + "le.analytics.admin.v1alpha.AccessFilterE"
+ + "xpressionH\000\022E\n\raccess_filter\030\004 \001(\0132,.goo"
+ + "gle.analytics.admin.v1alpha.AccessFilter"
+ + "H\000B\020\n\016one_expression\"i\n\032AccessFilterExpr"
+ + "essionList\022K\n\013expressions\030\001 \003(\01326.google"
+ + ".analytics.admin.v1alpha.AccessFilterExp"
+ + "ression\"\351\002\n\014AccessFilter\022K\n\rstring_filte"
+ + "r\030\002 \001(\01322.google.analytics.admin.v1alpha"
+ + ".AccessStringFilterH\000\022L\n\016in_list_filter\030"
+ + "\003 \001(\01322.google.analytics.admin.v1alpha.A"
+ + "ccessInListFilterH\000\022M\n\016numeric_filter\030\004 "
+ + "\001(\01323.google.analytics.admin.v1alpha.Acc"
+ + "essNumericFilterH\000\022M\n\016between_filter\030\005 \001"
+ + "(\01323.google.analytics.admin.v1alpha.Acce"
+ + "ssBetweenFilterH\000\022\022\n\nfield_name\030\001 \001(\tB\014\n"
+ + "\none_filter\"\225\002\n\022AccessStringFilter\022P\n\nma"
+ + "tch_type\030\001 \001(\0162<.google.analytics.admin."
+ + "v1alpha.AccessStringFilter.MatchType\022\r\n\005"
+ + "value\030\002 \001(\t\022\026\n\016case_sensitive\030\003 \001(\010\"\205\001\n\t"
+ + "MatchType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n"
+ + "\005EXACT\020\001\022\017\n\013BEGINS_WITH\020\002\022\r\n\tENDS_WITH\020\003"
+ + "\022\014\n\010CONTAINS\020\004\022\017\n\013FULL_REGEXP\020\005\022\022\n\016PARTI"
+ + "AL_REGEXP\020\006\"<\n\022AccessInListFilter\022\016\n\006val"
+ + "ues\030\001 \003(\t\022\026\n\016case_sensitive\030\002 \001(\010\"\254\002\n\023Ac"
+ + "cessNumericFilter\022P\n\toperation\030\001 \001(\0162=.g"
+ + "oogle.analytics.admin.v1alpha.AccessNume"
+ + "ricFilter.Operation\022;\n\005value\030\002 \001(\0132,.goo"
+ + "gle.analytics.admin.v1alpha.NumericValue"
+ + "\"\205\001\n\tOperation\022\031\n\025OPERATION_UNSPECIFIED\020"
+ + "\000\022\t\n\005EQUAL\020\001\022\r\n\tLESS_THAN\020\002\022\026\n\022LESS_THAN"
+ + "_OR_EQUAL\020\003\022\020\n\014GREATER_THAN\020\004\022\031\n\025GREATER"
+ + "_THAN_OR_EQUAL\020\005\"\227\001\n\023AccessBetweenFilter"
+ + "\022@\n\nfrom_value\030\001 \001(\0132,.google.analytics."
+ + "admin.v1alpha.NumericValue\022>\n\010to_value\030\002"
+ + " \001(\0132,.google.analytics.admin.v1alpha.Nu"
+ + "mericValue\"J\n\014NumericValue\022\025\n\013int64_valu"
+ + "e\030\001 \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000B\013\n\tone"
+ + "_value\"\355\003\n\rAccessOrderBy\022M\n\006metric\030\001 \001(\013"
+ + "2;.google.analytics.admin.v1alpha.Access"
+ + "OrderBy.MetricOrderByH\000\022S\n\tdimension\030\002 \001"
+ + "(\0132>.google.analytics.admin.v1alpha.Acce"
+ + "ssOrderBy.DimensionOrderByH\000\022\014\n\004desc\030\003 \001"
+ + "(\010\032$\n\rMetricOrderBy\022\023\n\013metric_name\030\001 \001(\t"
+ + "\032\363\001\n\020DimensionOrderBy\022\026\n\016dimension_name\030"
+ + "\001 \001(\t\022\\\n\norder_type\030\002 \001(\0162H.google.analy"
+ + "tics.admin.v1alpha.AccessOrderBy.Dimensi"
+ + "onOrderBy.OrderType\"i\n\tOrderType\022\032\n\026ORDE"
+ + "R_TYPE_UNSPECIFIED\020\000\022\020\n\014ALPHANUMERIC\020\001\022!"
+ + "\n\035CASE_INSENSITIVE_ALPHANUMERIC\020\002\022\013\n\007NUM"
+ + "ERIC\020\003B\016\n\014one_order_by\"/\n\025AccessDimensio"
+ + "nHeader\022\026\n\016dimension_name\030\001 \001(\t\")\n\022Acces"
+ + "sMetricHeader\022\023\n\013metric_name\030\001 \001(\t\"\245\001\n\tA"
+ + "ccessRow\022N\n\020dimension_values\030\001 \003(\01324.goo"
+ + "gle.analytics.admin.v1alpha.AccessDimens"
+ + "ionValue\022H\n\rmetric_values\030\002 \003(\01321.google"
+ + ".analytics.admin.v1alpha.AccessMetricVal"
+ + "ue\"%\n\024AccessDimensionValue\022\r\n\005value\030\001 \001("
+ + "\t\"\"\n\021AccessMetricValue\022\r\n\005value\030\001 \001(\t\"\323\002"
+ + "\n\013AccessQuota\022I\n\016tokens_per_day\030\001 \001(\01321."
+ + "google.analytics.admin.v1alpha.AccessQuo"
+ + "taStatus\022J\n\017tokens_per_hour\030\002 \001(\01321.goog"
+ + "le.analytics.admin.v1alpha.AccessQuotaSt"
+ + "atus\022N\n\023concurrent_requests\030\003 \001(\01321.goog"
+ + "le.analytics.admin.v1alpha.AccessQuotaSt"
+ + "atus\022]\n\"server_errors_per_project_per_ho"
+ + "ur\030\004 \001(\01321.google.analytics.admin.v1alph"
+ + "a.AccessQuotaStatus\"8\n\021AccessQuotaStatus"
+ + "\022\020\n\010consumed\030\001 \001(\005\022\021\n\tremaining\030\002 \001(\005B~\n"
+ + "\"com.google.analytics.admin.v1alphaB\021Acc"
+ + "essReportProtoP\001ZCgoogle.golang.org/genp"
+ + "roto/googleapis/analytics/admin/v1alpha;"
+ + "adminb\006proto3"
+ };
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+ internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_google_analytics_admin_v1alpha_AccessDimension_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessDimension_descriptor,
+ new java.lang.String[] {
+ "DimensionName",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor =
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_google_analytics_admin_v1alpha_AccessMetric_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessMetric_descriptor,
+ new java.lang.String[] {
+ "MetricName",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor =
+ getDescriptor().getMessageTypes().get(2);
+ internal_static_google_analytics_admin_v1alpha_AccessDateRange_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessDateRange_descriptor,
+ new java.lang.String[] {
+ "StartDate", "EndDate",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor =
+ getDescriptor().getMessageTypes().get(3);
+ internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessFilterExpression_descriptor,
+ new java.lang.String[] {
+ "AndGroup", "OrGroup", "NotExpression", "AccessFilter", "OneExpression",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor =
+ getDescriptor().getMessageTypes().get(4);
+ internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessFilterExpressionList_descriptor,
+ new java.lang.String[] {
+ "Expressions",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor =
+ getDescriptor().getMessageTypes().get(5);
+ internal_static_google_analytics_admin_v1alpha_AccessFilter_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessFilter_descriptor,
+ new java.lang.String[] {
+ "StringFilter",
+ "InListFilter",
+ "NumericFilter",
+ "BetweenFilter",
+ "FieldName",
+ "OneFilter",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor =
+ getDescriptor().getMessageTypes().get(6);
+ internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor,
+ new java.lang.String[] {
+ "MatchType", "Value", "CaseSensitive",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor =
+ getDescriptor().getMessageTypes().get(7);
+ internal_static_google_analytics_admin_v1alpha_AccessInListFilter_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessInListFilter_descriptor,
+ new java.lang.String[] {
+ "Values", "CaseSensitive",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor =
+ getDescriptor().getMessageTypes().get(8);
+ internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessNumericFilter_descriptor,
+ new java.lang.String[] {
+ "Operation", "Value",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor =
+ getDescriptor().getMessageTypes().get(9);
+ internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessBetweenFilter_descriptor,
+ new java.lang.String[] {
+ "FromValue", "ToValue",
+ });
+ internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor =
+ getDescriptor().getMessageTypes().get(10);
+ internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor,
+ new java.lang.String[] {
+ "Int64Value", "DoubleValue", "OneValue",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor =
+ getDescriptor().getMessageTypes().get(11);
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor,
+ new java.lang.String[] {
+ "Metric", "Dimension", "Desc", "OneOrderBy",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor =
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor
+ .getNestedTypes()
+ .get(0);
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_MetricOrderBy_descriptor,
+ new java.lang.String[] {
+ "MetricName",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor =
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_descriptor
+ .getNestedTypes()
+ .get(1);
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessOrderBy_DimensionOrderBy_descriptor,
+ new java.lang.String[] {
+ "DimensionName", "OrderType",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor =
+ getDescriptor().getMessageTypes().get(12);
+ internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessDimensionHeader_descriptor,
+ new java.lang.String[] {
+ "DimensionName",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor =
+ getDescriptor().getMessageTypes().get(13);
+ internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessMetricHeader_descriptor,
+ new java.lang.String[] {
+ "MetricName",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor =
+ getDescriptor().getMessageTypes().get(14);
+ internal_static_google_analytics_admin_v1alpha_AccessRow_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessRow_descriptor,
+ new java.lang.String[] {
+ "DimensionValues", "MetricValues",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor =
+ getDescriptor().getMessageTypes().get(15);
+ internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessDimensionValue_descriptor,
+ new java.lang.String[] {
+ "Value",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor =
+ getDescriptor().getMessageTypes().get(16);
+ internal_static_google_analytics_admin_v1alpha_AccessMetricValue_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessMetricValue_descriptor,
+ new java.lang.String[] {
+ "Value",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor =
+ getDescriptor().getMessageTypes().get(17);
+ internal_static_google_analytics_admin_v1alpha_AccessQuota_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessQuota_descriptor,
+ new java.lang.String[] {
+ "TokensPerDay",
+ "TokensPerHour",
+ "ConcurrentRequests",
+ "ServerErrorsPerProjectPerHour",
+ });
+ internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor =
+ getDescriptor().getMessageTypes().get(18);
+ internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_AccessQuotaStatus_descriptor,
+ new java.lang.String[] {
+ "Consumed", "Remaining",
+ });
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java
new file mode 100644
index 000000000000..c4be5a5f4e2a
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessRow.java
@@ -0,0 +1,1543 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * Access report data for each row. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessRow} + */ +public final class AccessRow extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessRow) + AccessRowOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessRow.newBuilder() to construct. + private AccessRow(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessRow() { + dimensionValues_ = java.util.Collections.emptyList(); + metricValues_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessRow(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessRow( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensionValues_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.AccessDimensionValue>(); + mutable_bitField0_ |= 0x00000001; + } + dimensionValues_.add( + input.readMessage( + com.google.analytics.admin.v1alpha.AccessDimensionValue.parser(), + extensionRegistry)); + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + metricValues_ = + new java.util.ArrayList
+ * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.List+ * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder>
+ getDimensionValuesOrBuilderList() {
+ return dimensionValues_;
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ @java.lang.Override
+ public int getDimensionValuesCount() {
+ return dimensionValues_.size();
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValues(int index) {
+ return dimensionValues_.get(index);
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder
+ getDimensionValuesOrBuilder(int index) {
+ return dimensionValues_.get(index);
+ }
+
+ public static final int METRIC_VALUES_FIELD_NUMBER = 2;
+ private java.util.List+ * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ @java.lang.Override
+ public java.util.List+ * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder>
+ getMetricValuesOrBuilderList() {
+ return metricValues_;
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ @java.lang.Override
+ public int getMetricValuesCount() {
+ return metricValues_.size();
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessMetricValue getMetricValues(int index) {
+ return metricValues_.get(index);
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricValuesOrBuilder(
+ int index) {
+ return metricValues_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < dimensionValues_.size(); i++) {
+ output.writeMessage(1, dimensionValues_.get(i));
+ }
+ for (int i = 0; i < metricValues_.size(); i++) {
+ output.writeMessage(2, metricValues_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < dimensionValues_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dimensionValues_.get(i));
+ }
+ for (int i = 0; i < metricValues_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, metricValues_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessRow)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessRow other =
+ (com.google.analytics.admin.v1alpha.AccessRow) obj;
+
+ if (!getDimensionValuesList().equals(other.getDimensionValuesList())) return false;
+ if (!getMetricValuesList().equals(other.getMetricValuesList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getDimensionValuesCount() > 0) {
+ hash = (37 * hash) + DIMENSION_VALUES_FIELD_NUMBER;
+ hash = (53 * hash) + getDimensionValuesList().hashCode();
+ }
+ if (getMetricValuesCount() > 0) {
+ hash = (37 * hash) + METRIC_VALUES_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricValuesList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessRow 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.admin.v1alpha.AccessRow parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
+ 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.admin.v1alpha.AccessRow parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessRow parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessRow 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.admin.v1alpha.AccessRow parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessRow 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.admin.v1alpha.AccessRow parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessRow 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.admin.v1alpha.AccessRow 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;
+ }
+ /**
+ *
+ *
+ * + * Access report data for each row. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessRow} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public java.util.List+ * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public int getDimensionValuesCount() {
+ if (dimensionValuesBuilder_ == null) {
+ return dimensionValues_.size();
+ } else {
+ return dimensionValuesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValues(int index) {
+ if (dimensionValuesBuilder_ == null) {
+ return dimensionValues_.get(index);
+ } else {
+ return dimensionValuesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public Builder setDimensionValues(
+ int index, com.google.analytics.admin.v1alpha.AccessDimensionValue value) {
+ if (dimensionValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDimensionValuesIsMutable();
+ dimensionValues_.set(index, value);
+ onChanged();
+ } else {
+ dimensionValuesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public Builder setDimensionValues(
+ int index,
+ com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) {
+ if (dimensionValuesBuilder_ == null) {
+ ensureDimensionValuesIsMutable();
+ dimensionValues_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ dimensionValuesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public Builder addDimensionValues(
+ com.google.analytics.admin.v1alpha.AccessDimensionValue value) {
+ if (dimensionValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDimensionValuesIsMutable();
+ dimensionValues_.add(value);
+ onChanged();
+ } else {
+ dimensionValuesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public Builder addDimensionValues(
+ int index, com.google.analytics.admin.v1alpha.AccessDimensionValue value) {
+ if (dimensionValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDimensionValuesIsMutable();
+ dimensionValues_.add(index, value);
+ onChanged();
+ } else {
+ dimensionValuesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public Builder addDimensionValues(
+ com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) {
+ if (dimensionValuesBuilder_ == null) {
+ ensureDimensionValuesIsMutable();
+ dimensionValues_.add(builderForValue.build());
+ onChanged();
+ } else {
+ dimensionValuesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public Builder addDimensionValues(
+ int index,
+ com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder builderForValue) {
+ if (dimensionValuesBuilder_ == null) {
+ ensureDimensionValuesIsMutable();
+ dimensionValues_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ dimensionValuesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public Builder addAllDimensionValues(
+ java.lang.Iterable extends com.google.analytics.admin.v1alpha.AccessDimensionValue>
+ values) {
+ if (dimensionValuesBuilder_ == null) {
+ ensureDimensionValuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensionValues_);
+ onChanged();
+ } else {
+ dimensionValuesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public Builder clearDimensionValues() {
+ if (dimensionValuesBuilder_ == null) {
+ dimensionValues_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ dimensionValuesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public Builder removeDimensionValues(int index) {
+ if (dimensionValuesBuilder_ == null) {
+ ensureDimensionValuesIsMutable();
+ dimensionValues_.remove(index);
+ onChanged();
+ } else {
+ dimensionValuesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder
+ getDimensionValuesBuilder(int index) {
+ return getDimensionValuesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder
+ getDimensionValuesOrBuilder(int index) {
+ if (dimensionValuesBuilder_ == null) {
+ return dimensionValues_.get(index);
+ } else {
+ return dimensionValuesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public java.util.List<
+ ? extends com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder>
+ getDimensionValuesOrBuilderList() {
+ if (dimensionValuesBuilder_ != null) {
+ return dimensionValuesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(dimensionValues_);
+ }
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder
+ addDimensionValuesBuilder() {
+ return getDimensionValuesFieldBuilder()
+ .addBuilder(com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public com.google.analytics.admin.v1alpha.AccessDimensionValue.Builder
+ addDimensionValuesBuilder(int index) {
+ return getDimensionValuesFieldBuilder()
+ .addBuilder(
+ index, com.google.analytics.admin.v1alpha.AccessDimensionValue.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ public java.util.List+ * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public java.util.List+ * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public int getMetricValuesCount() {
+ if (metricValuesBuilder_ == null) {
+ return metricValues_.size();
+ } else {
+ return metricValuesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessMetricValue getMetricValues(int index) {
+ if (metricValuesBuilder_ == null) {
+ return metricValues_.get(index);
+ } else {
+ return metricValuesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public Builder setMetricValues(
+ int index, com.google.analytics.admin.v1alpha.AccessMetricValue value) {
+ if (metricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMetricValuesIsMutable();
+ metricValues_.set(index, value);
+ onChanged();
+ } else {
+ metricValuesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public Builder setMetricValues(
+ int index, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder builderForValue) {
+ if (metricValuesBuilder_ == null) {
+ ensureMetricValuesIsMutable();
+ metricValues_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ metricValuesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public Builder addMetricValues(com.google.analytics.admin.v1alpha.AccessMetricValue value) {
+ if (metricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMetricValuesIsMutable();
+ metricValues_.add(value);
+ onChanged();
+ } else {
+ metricValuesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public Builder addMetricValues(
+ int index, com.google.analytics.admin.v1alpha.AccessMetricValue value) {
+ if (metricValuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMetricValuesIsMutable();
+ metricValues_.add(index, value);
+ onChanged();
+ } else {
+ metricValuesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public Builder addMetricValues(
+ com.google.analytics.admin.v1alpha.AccessMetricValue.Builder builderForValue) {
+ if (metricValuesBuilder_ == null) {
+ ensureMetricValuesIsMutable();
+ metricValues_.add(builderForValue.build());
+ onChanged();
+ } else {
+ metricValuesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public Builder addMetricValues(
+ int index, com.google.analytics.admin.v1alpha.AccessMetricValue.Builder builderForValue) {
+ if (metricValuesBuilder_ == null) {
+ ensureMetricValuesIsMutable();
+ metricValues_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ metricValuesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public Builder addAllMetricValues(
+ java.lang.Iterable extends com.google.analytics.admin.v1alpha.AccessMetricValue> values) {
+ if (metricValuesBuilder_ == null) {
+ ensureMetricValuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricValues_);
+ onChanged();
+ } else {
+ metricValuesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public Builder clearMetricValues() {
+ if (metricValuesBuilder_ == null) {
+ metricValues_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ metricValuesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public Builder removeMetricValues(int index) {
+ if (metricValuesBuilder_ == null) {
+ ensureMetricValuesIsMutable();
+ metricValues_.remove(index);
+ onChanged();
+ } else {
+ metricValuesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder getMetricValuesBuilder(
+ int index) {
+ return getMetricValuesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricValuesOrBuilder(
+ int index) {
+ if (metricValuesBuilder_ == null) {
+ return metricValues_.get(index);
+ } else {
+ return metricValuesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder>
+ getMetricValuesOrBuilderList() {
+ if (metricValuesBuilder_ != null) {
+ return metricValuesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(metricValues_);
+ }
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder addMetricValuesBuilder() {
+ return getMetricValuesFieldBuilder()
+ .addBuilder(com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessMetricValue.Builder addMetricValuesBuilder(
+ int index) {
+ return getMetricValuesFieldBuilder()
+ .addBuilder(
+ index, com.google.analytics.admin.v1alpha.AccessMetricValue.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ public java.util.List+ * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ java.util.List+ * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ com.google.analytics.admin.v1alpha.AccessDimensionValue getDimensionValues(int index);
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ int getDimensionValuesCount();
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ java.util.List extends com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder>
+ getDimensionValuesOrBuilderList();
+ /**
+ *
+ *
+ * + * List of dimension values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1;
+ *
+ */
+ com.google.analytics.admin.v1alpha.AccessDimensionValueOrBuilder getDimensionValuesOrBuilder(
+ int index);
+
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ java.util.List+ * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ com.google.analytics.admin.v1alpha.AccessMetricValue getMetricValues(int index);
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ int getMetricValuesCount();
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ java.util.List extends com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder>
+ getMetricValuesOrBuilderList();
+ /**
+ *
+ *
+ * + * List of metric values. These values are in the same order as specified + * in the request. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2;
+ */
+ com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricValuesOrBuilder(int index);
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
new file mode 100644
index 000000000000..2895699c2346
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessStringFilter.java
@@ -0,0 +1,1135 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * The filter for strings. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessStringFilter} + */ +public final class AccessStringFilter extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessStringFilter) + AccessStringFilterOrBuilder { + private static final long serialVersionUID = 0L; + // Use AccessStringFilter.newBuilder() to construct. + private AccessStringFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AccessStringFilter() { + matchType_ = 0; + value_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AccessStringFilter(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AccessStringFilter( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + matchType_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + value_ = s; + break; + } + case 24: + { + caseSensitive_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_AccessStringFilter_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.AccessStringFilter.class, + com.google.analytics.admin.v1alpha.AccessStringFilter.Builder.class); + } + + /** + * + * + *
+ * The match type of a string filter. + *+ * + * Protobuf enum {@code google.analytics.admin.v1alpha.AccessStringFilter.MatchType} + */ + public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Unspecified + *+ * + *
MATCH_TYPE_UNSPECIFIED = 0;
+ */
+ MATCH_TYPE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * Exact match of the string value. + *+ * + *
EXACT = 1;
+ */
+ EXACT(1),
+ /**
+ *
+ *
+ * + * Begins with the string value. + *+ * + *
BEGINS_WITH = 2;
+ */
+ BEGINS_WITH(2),
+ /**
+ *
+ *
+ * + * Ends with the string value. + *+ * + *
ENDS_WITH = 3;
+ */
+ ENDS_WITH(3),
+ /**
+ *
+ *
+ * + * Contains the string value. + *+ * + *
CONTAINS = 4;
+ */
+ CONTAINS(4),
+ /**
+ *
+ *
+ * + * Full match for the regular expression with the string value. + *+ * + *
FULL_REGEXP = 5;
+ */
+ FULL_REGEXP(5),
+ /**
+ *
+ *
+ * + * Partial match for the regular expression with the string value. + *+ * + *
PARTIAL_REGEXP = 6;
+ */
+ PARTIAL_REGEXP(6),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Unspecified + *+ * + *
MATCH_TYPE_UNSPECIFIED = 0;
+ */
+ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * Exact match of the string value. + *+ * + *
EXACT = 1;
+ */
+ public static final int EXACT_VALUE = 1;
+ /**
+ *
+ *
+ * + * Begins with the string value. + *+ * + *
BEGINS_WITH = 2;
+ */
+ public static final int BEGINS_WITH_VALUE = 2;
+ /**
+ *
+ *
+ * + * Ends with the string value. + *+ * + *
ENDS_WITH = 3;
+ */
+ public static final int ENDS_WITH_VALUE = 3;
+ /**
+ *
+ *
+ * + * Contains the string value. + *+ * + *
CONTAINS = 4;
+ */
+ public static final int CONTAINS_VALUE = 4;
+ /**
+ *
+ *
+ * + * Full match for the regular expression with the string value. + *+ * + *
FULL_REGEXP = 5;
+ */
+ public static final int FULL_REGEXP_VALUE = 5;
+ /**
+ *
+ *
+ * + * Partial match for the regular expression with the string value. + *+ * + *
PARTIAL_REGEXP = 6;
+ */
+ public static final int PARTIAL_REGEXP_VALUE = 6;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static MatchType valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static MatchType forNumber(int value) {
+ switch (value) {
+ case 0:
+ return MATCH_TYPE_UNSPECIFIED;
+ case 1:
+ return EXACT;
+ case 2:
+ return BEGINS_WITH;
+ case 3:
+ return ENDS_WITH;
+ case 4:
+ return CONTAINS;
+ case 5:
+ return FULL_REGEXP;
+ case 6:
+ return PARTIAL_REGEXP;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * The match type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;
+ *
+ * @return The enum numeric value on the wire for matchType.
+ */
+ @java.lang.Override
+ public int getMatchTypeValue() {
+ return matchType_;
+ }
+ /**
+ *
+ *
+ * + * The match type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;
+ *
+ * @return The matchType.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType() {
+ @SuppressWarnings("deprecation")
+ com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType result =
+ com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.valueOf(matchType_);
+ return result == null
+ ? com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int VALUE_FIELD_NUMBER = 2;
+ private volatile java.lang.Object value_;
+ /**
+ *
+ *
+ * + * The string value used for the matching. + *+ * + *
string value = 2;
+ *
+ * @return The value.
+ */
+ @java.lang.Override
+ public java.lang.String getValue() {
+ java.lang.Object ref = value_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ value_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The string value used for the matching. + *+ * + *
string value = 2;
+ *
+ * @return The bytes for value.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getValueBytes() {
+ java.lang.Object ref = value_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ value_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CASE_SENSITIVE_FIELD_NUMBER = 3;
+ private boolean caseSensitive_;
+ /**
+ *
+ *
+ * + * If true, the string value is case sensitive. + *+ * + *
bool case_sensitive = 3;
+ *
+ * @return The caseSensitive.
+ */
+ @java.lang.Override
+ public boolean getCaseSensitive() {
+ return caseSensitive_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (matchType_
+ != com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(1, matchType_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
+ }
+ if (caseSensitive_ != false) {
+ output.writeBool(3, caseSensitive_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (matchType_
+ != com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, matchType_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
+ }
+ if (caseSensitive_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, caseSensitive_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.AccessStringFilter)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.AccessStringFilter other =
+ (com.google.analytics.admin.v1alpha.AccessStringFilter) obj;
+
+ if (matchType_ != other.matchType_) return false;
+ if (!getValue().equals(other.getValue())) return false;
+ if (getCaseSensitive() != other.getCaseSensitive()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + MATCH_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + matchType_;
+ hash = (37 * hash) + VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getValue().hashCode();
+ hash = (37 * hash) + CASE_SENSITIVE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCaseSensitive());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessStringFilter 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.admin.v1alpha.AccessStringFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom(
+ 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.admin.v1alpha.AccessStringFilter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessStringFilter parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessStringFilter 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.admin.v1alpha.AccessStringFilter parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessStringFilter 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.admin.v1alpha.AccessStringFilter parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessStringFilter 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.admin.v1alpha.AccessStringFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The filter for strings. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.AccessStringFilter} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The match type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;
+ *
+ * @return The enum numeric value on the wire for matchType.
+ */
+ @java.lang.Override
+ public int getMatchTypeValue() {
+ return matchType_;
+ }
+ /**
+ *
+ *
+ * + * The match type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;
+ *
+ * @param value The enum numeric value on the wire for matchType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMatchTypeValue(int value) {
+
+ matchType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The match type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;
+ *
+ * @return The matchType.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType() {
+ @SuppressWarnings("deprecation")
+ com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType result =
+ com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.valueOf(matchType_);
+ return result == null
+ ? com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * The match type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;
+ *
+ * @param value The matchType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMatchType(
+ com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ matchType_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The match type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMatchType() {
+
+ matchType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object value_ = "";
+ /**
+ *
+ *
+ * + * The string value used for the matching. + *+ * + *
string value = 2;
+ *
+ * @return The value.
+ */
+ public java.lang.String getValue() {
+ java.lang.Object ref = value_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ value_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The string value used for the matching. + *+ * + *
string value = 2;
+ *
+ * @return The bytes for value.
+ */
+ public com.google.protobuf.ByteString getValueBytes() {
+ java.lang.Object ref = value_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ value_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The string value used for the matching. + *+ * + *
string value = 2;
+ *
+ * @param value The value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValue(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ value_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The string value used for the matching. + *+ * + *
string value = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearValue() {
+
+ value_ = getDefaultInstance().getValue();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The string value used for the matching. + *+ * + *
string value = 2;
+ *
+ * @param value The bytes for value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValueBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ value_ = value;
+ onChanged();
+ return this;
+ }
+
+ private boolean caseSensitive_;
+ /**
+ *
+ *
+ * + * If true, the string value is case sensitive. + *+ * + *
bool case_sensitive = 3;
+ *
+ * @return The caseSensitive.
+ */
+ @java.lang.Override
+ public boolean getCaseSensitive() {
+ return caseSensitive_;
+ }
+ /**
+ *
+ *
+ * + * If true, the string value is case sensitive. + *+ * + *
bool case_sensitive = 3;
+ *
+ * @param value The caseSensitive to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCaseSensitive(boolean value) {
+
+ caseSensitive_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * If true, the string value is case sensitive. + *+ * + *
bool case_sensitive = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearCaseSensitive() {
+
+ caseSensitive_ = false;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessStringFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessStringFilter)
+ private static final com.google.analytics.admin.v1alpha.AccessStringFilter DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessStringFilter();
+ }
+
+ public static com.google.analytics.admin.v1alpha.AccessStringFilter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The match type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;
+ *
+ * @return The enum numeric value on the wire for matchType.
+ */
+ int getMatchTypeValue();
+ /**
+ *
+ *
+ * + * The match type for this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;
+ *
+ * @return The matchType.
+ */
+ com.google.analytics.admin.v1alpha.AccessStringFilter.MatchType getMatchType();
+
+ /**
+ *
+ *
+ * + * The string value used for the matching. + *+ * + *
string value = 2;
+ *
+ * @return The value.
+ */
+ java.lang.String getValue();
+ /**
+ *
+ *
+ * + * The string value used for the matching. + *+ * + *
string value = 2;
+ *
+ * @return The bytes for value.
+ */
+ com.google.protobuf.ByteString getValueBytes();
+
+ /**
+ *
+ *
+ * + * If true, the string value is case sensitive. + *+ * + *
bool case_sensitive = 3;
+ *
+ * @return The caseSensitive.
+ */
+ boolean getCaseSensitive();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java
index c4a5c7ad34ea..a806bba1a4ec 100644
--- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java
@@ -27,6 +27,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -438,813 +446,842 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n4google/analytics/admin/v1alpha/analyti"
+ "cs_admin.proto\022\036google.analytics.admin.v"
- + "1alpha\032-google/analytics/admin/v1alpha/a"
- + "udience.proto\032.google/analytics/admin/v1"
- + "alpha/resources.proto\032\034google/api/annota"
- + "tions.proto\032\027google/api/client.proto\032\037go"
- + "ogle/api/field_behavior.proto\032\031google/ap"
- + "i/resource.proto\032\033google/protobuf/empty."
- + "proto\032 google/protobuf/field_mask.proto\032"
- + "\037google/protobuf/timestamp.proto\"P\n\021GetA"
- + "ccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%ana"
- + "lyticsadmin.googleapis.com/Account\"R\n\023Li"
- + "stAccountsRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\n"
- + "page_token\030\002 \001(\t\022\024\n\014show_deleted\030\003 \001(\010\"j"
- + "\n\024ListAccountsResponse\0229\n\010accounts\030\001 \003(\013"
- + "2\'.google.analytics.admin.v1alpha.Accoun"
- + "t\022\027\n\017next_page_token\030\002 \001(\t\"S\n\024DeleteAcco"
- + "untRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%analyt"
- + "icsadmin.googleapis.com/Account\"\213\001\n\024Upda"
- + "teAccountRequest\022=\n\007account\030\001 \001(\0132\'.goog"
- + "le.analytics.admin.v1alpha.AccountB\003\340A\002\022"
- + "4\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F"
- + "ieldMaskB\003\340A\002\"o\n\035ProvisionAccountTicketR"
- + "equest\0228\n\007account\030\001 \001(\0132\'.google.analyti"
- + "cs.admin.v1alpha.Account\022\024\n\014redirect_uri"
- + "\030\002 \001(\t\";\n\036ProvisionAccountTicketResponse"
- + "\022\031\n\021account_ticket_id\030\001 \001(\t\"R\n\022GetProper"
- + "tyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analyti"
- + "csadmin.googleapis.com/Property\"i\n\025ListP"
- + "ropertiesRequest\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022\021\n"
- + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014"
- + "show_deleted\030\004 \001(\010\"o\n\026ListPropertiesResp"
- + "onse\022<\n\nproperties\030\001 \003(\0132(.google.analyt"
- + "ics.admin.v1alpha.Property\022\027\n\017next_page_"
- + "token\030\002 \001(\t\"\216\001\n\025UpdatePropertyRequest\022?\n"
- + "\010property\030\001 \001(\0132(.google.analytics.admin"
- + ".v1alpha.PropertyB\003\340A\002\0224\n\013update_mask\030\002 "
- + "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"X\n\025"
- + "CreatePropertyRequest\022?\n\010property\030\001 \001(\0132"
- + "(.google.analytics.admin.v1alpha.Propert"
- + "yB\003\340A\002\"U\n\025DeletePropertyRequest\022<\n\004name\030"
- + "\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googleapis"
- + ".com/Property\"R\n\022GetUserLinkRequest\022<\n\004n"
- + "ame\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.google"
- + "apis.com/UserLink\"\231\001\n\030BatchGetUserLinksR"
- + "equest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analytic"
- + "sadmin.googleapis.com/UserLink\022=\n\005names\030"
- + "\002 \003(\tB.\340A\002\372A(\n&analyticsadmin.googleapis"
- + ".com/UserLink\"Y\n\031BatchGetUserLinksRespon"
- + "se\022<\n\nuser_links\030\001 \003(\0132(.google.analytic"
- + "s.admin.v1alpha.UserLink\"}\n\024ListUserLink"
- + "sRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyt"
- + "icsadmin.googleapis.com/UserLink\022\021\n\tpage"
- + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\025ListU"
+ + "1alpha\0322google/analytics/admin/v1alpha/a"
+ + "ccess_report.proto\032-google/analytics/adm"
+ + "in/v1alpha/audience.proto\032.google/analyt"
+ + "ics/admin/v1alpha/resources.proto\032\034googl"
+ + "e/api/annotations.proto\032\027google/api/clie"
+ + "nt.proto\032\037google/api/field_behavior.prot"
+ + "o\032\031google/api/resource.proto\032\033google/pro"
+ + "tobuf/empty.proto\032 google/protobuf/field"
+ + "_mask.proto\032\037google/protobuf/timestamp.p"
+ + "roto\"\244\004\n\026RunAccessReportRequest\022\016\n\006entit"
+ + "y\030\001 \001(\t\022C\n\ndimensions\030\002 \003(\0132/.google.ana"
+ + "lytics.admin.v1alpha.AccessDimension\022=\n\007"
+ + "metrics\030\003 \003(\0132,.google.analytics.admin.v"
+ + "1alpha.AccessMetric\022D\n\013date_ranges\030\004 \003(\013"
+ + "2/.google.analytics.admin.v1alpha.Access"
+ + "DateRange\022P\n\020dimension_filter\030\005 \001(\01326.go"
+ + "ogle.analytics.admin.v1alpha.AccessFilte"
+ + "rExpression\022M\n\rmetric_filter\030\006 \001(\01326.goo"
+ + "gle.analytics.admin.v1alpha.AccessFilter"
+ + "Expression\022\016\n\006offset\030\007 \001(\003\022\r\n\005limit\030\010 \001("
+ + "\003\022\021\n\ttime_zone\030\t \001(\t\022@\n\torder_bys\030\n \003(\0132"
+ + "-.google.analytics.admin.v1alpha.AccessO"
+ + "rderBy\022\033\n\023return_entity_quota\030\013 \001(\010\"\277\002\n\027"
+ + "RunAccessReportResponse\022P\n\021dimension_hea"
+ + "ders\030\001 \003(\01325.google.analytics.admin.v1al"
+ + "pha.AccessDimensionHeader\022J\n\016metric_head"
+ + "ers\030\002 \003(\01322.google.analytics.admin.v1alp"
+ + "ha.AccessMetricHeader\0227\n\004rows\030\003 \003(\0132).go"
+ + "ogle.analytics.admin.v1alpha.AccessRow\022\021"
+ + "\n\trow_count\030\004 \001(\005\022:\n\005quota\030\005 \001(\0132+.googl"
+ + "e.analytics.admin.v1alpha.AccessQuota\"P\n"
+ + "\021GetAccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'"
+ + "\n%analyticsadmin.googleapis.com/Account\""
+ + "R\n\023ListAccountsRequest\022\021\n\tpage_size\030\001 \001("
+ + "\005\022\022\n\npage_token\030\002 \001(\t\022\024\n\014show_deleted\030\003 "
+ + "\001(\010\"j\n\024ListAccountsResponse\0229\n\010accounts\030"
+ + "\001 \003(\0132\'.google.analytics.admin.v1alpha.A"
+ + "ccount\022\027\n\017next_page_token\030\002 \001(\t\"S\n\024Delet"
+ + "eAccountRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%a"
+ + "nalyticsadmin.googleapis.com/Account\"\213\001\n"
+ + "\024UpdateAccountRequest\022=\n\007account\030\001 \001(\0132\'"
+ + ".google.analytics.admin.v1alpha.AccountB"
+ + "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto"
+ + "buf.FieldMaskB\003\340A\002\"o\n\035ProvisionAccountTi"
+ + "cketRequest\0228\n\007account\030\001 \001(\0132\'.google.an"
+ + "alytics.admin.v1alpha.Account\022\024\n\014redirec"
+ + "t_uri\030\002 \001(\t\";\n\036ProvisionAccountTicketRes"
+ + "ponse\022\031\n\021account_ticket_id\030\001 \001(\t\"R\n\022GetP"
+ + "ropertyRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&an"
+ + "alyticsadmin.googleapis.com/Property\"i\n\025"
+ + "ListPropertiesRequest\022\023\n\006filter\030\001 \001(\tB\003\340"
+ + "A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001("
+ + "\t\022\024\n\014show_deleted\030\004 \001(\010\"o\n\026ListPropertie"
+ + "sResponse\022<\n\nproperties\030\001 \003(\0132(.google.a"
+ + "nalytics.admin.v1alpha.Property\022\027\n\017next_"
+ + "page_token\030\002 \001(\t\"\216\001\n\025UpdatePropertyReque"
+ + "st\022?\n\010property\030\001 \001(\0132(.google.analytics."
+ + "admin.v1alpha.PropertyB\003\340A\002\0224\n\013update_ma"
+ + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A"
+ + "\002\"X\n\025CreatePropertyRequest\022?\n\010property\030\001"
+ + " \001(\0132(.google.analytics.admin.v1alpha.Pr"
+ + "opertyB\003\340A\002\"U\n\025DeletePropertyRequest\022<\n\004"
+ + "name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.googl"
+ + "eapis.com/Property\"R\n\022GetUserLinkRequest"
+ + "\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&analyticsadmin.g"
+ + "oogleapis.com/UserLink\"\231\001\n\030BatchGetUserL"
+ + "inksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&ana"
+ + "lyticsadmin.googleapis.com/UserLink\022=\n\005n"
+ + "ames\030\002 \003(\tB.\340A\002\372A(\n&analyticsadmin.googl"
+ + "eapis.com/UserLink\"Y\n\031BatchGetUserLinksR"
+ + "esponse\022<\n\nuser_links\030\001 \003(\0132(.google.ana"
+ + "lytics.admin.v1alpha.UserLink\"}\n\024ListUse"
+ + "rLinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&a"
+ + "nalyticsadmin.googleapis.com/UserLink\022\021\n"
+ + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\025"
+ + "ListUserLinksResponse\022<\n\nuser_links\030\001 \003("
+ + "\0132(.google.analytics.admin.v1alpha.UserL"
+ + "ink\022\027\n\017next_page_token\030\002 \001(\t\"~\n\025AuditUse"
+ + "rLinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&a"
+ + "nalyticsadmin.googleapis.com/UserLink\022\021\n"
+ + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\026"
+ + "AuditUserLinksResponse\022A\n\nuser_links\030\001 \003"
+ + "(\0132-.google.analytics.admin.v1alpha.Audi"
+ + "tUserLink\022\027\n\017next_page_token\030\002 \001(\t\"\267\001\n\025C"
+ + "reateUserLinkRequest\022>\n\006parent\030\001 \001(\tB.\340A"
+ + "\002\372A(\022&analyticsadmin.googleapis.com/User"
+ + "Link\022\034\n\017notify_new_user\030\002 \001(\010B\003\340A\001\022@\n\tus"
+ + "er_link\030\003 \001(\0132(.google.analytics.admin.v"
+ + "1alpha.UserLinkB\003\340A\002\"\312\001\n\033BatchCreateUser"
+ + "LinksRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&an"
+ + "alyticsadmin.googleapis.com/UserLink\022\035\n\020"
+ + "notify_new_users\030\002 \001(\010B\003\340A\001\022L\n\010requests\030"
+ + "\003 \003(\01325.google.analytics.admin.v1alpha.C"
+ + "reateUserLinkRequestB\003\340A\002\"\\\n\034BatchCreate"
+ + "UserLinksResponse\022<\n\nuser_links\030\001 \003(\0132(."
+ + "google.analytics.admin.v1alpha.UserLink\""
+ + "Y\n\025UpdateUserLinkRequest\022@\n\tuser_link\030\001 "
+ + "\001(\0132(.google.analytics.admin.v1alpha.Use"
+ + "rLinkB\003\340A\002\"\253\001\n\033BatchUpdateUserLinksReque"
+ + "st\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadm"
+ + "in.googleapis.com/UserLink\022L\n\010requests\030\002"
+ + " \003(\01325.google.analytics.admin.v1alpha.Up"
+ + "dateUserLinkRequestB\003\340A\002\"\\\n\034BatchUpdateU"
+ "serLinksResponse\022<\n\nuser_links\030\001 \003(\0132(.g"
- + "oogle.analytics.admin.v1alpha.UserLink\022\027"
- + "\n\017next_page_token\030\002 \001(\t\"~\n\025AuditUserLink"
- + "sRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyt"
- + "icsadmin.googleapis.com/UserLink\022\021\n\tpage"
- + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\026Audit"
- + "UserLinksResponse\022A\n\nuser_links\030\001 \003(\0132-."
- + "google.analytics.admin.v1alpha.AuditUser"
- + "Link\022\027\n\017next_page_token\030\002 \001(\t\"\267\001\n\025Create"
- + "UserLinkRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022"
- + "&analyticsadmin.googleapis.com/UserLink\022"
- + "\034\n\017notify_new_user\030\002 \001(\010B\003\340A\001\022@\n\tuser_li"
- + "nk\030\003 \001(\0132(.google.analytics.admin.v1alph"
- + "a.UserLinkB\003\340A\002\"\312\001\n\033BatchCreateUserLinks"
- + "Request\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyti"
- + "csadmin.googleapis.com/UserLink\022\035\n\020notif"
- + "y_new_users\030\002 \001(\010B\003\340A\001\022L\n\010requests\030\003 \003(\013"
- + "25.google.analytics.admin.v1alpha.Create"
- + "UserLinkRequestB\003\340A\002\"\\\n\034BatchCreateUserL"
- + "inksResponse\022<\n\nuser_links\030\001 \003(\0132(.googl"
- + "e.analytics.admin.v1alpha.UserLink\"Y\n\025Up"
- + "dateUserLinkRequest\022@\n\tuser_link\030\001 \001(\0132("
- + ".google.analytics.admin.v1alpha.UserLink"
- + "B\003\340A\002\"\253\001\n\033BatchUpdateUserLinksRequest\022>\n"
+ + "oogle.analytics.admin.v1alpha.UserLink\"U"
+ + "\n\025DeleteUserLinkRequest\022<\n\004name\030\001 \001(\tB.\340"
+ + "A\002\372A(\n&analyticsadmin.googleapis.com/Use"
+ + "rLink\"\253\001\n\033BatchDeleteUserLinksRequest\022>\n"
+ "\006parent\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.go"
+ "ogleapis.com/UserLink\022L\n\010requests\030\002 \003(\0132"
- + "5.google.analytics.admin.v1alpha.UpdateU"
- + "serLinkRequestB\003\340A\002\"\\\n\034BatchUpdateUserLi"
- + "nksResponse\022<\n\nuser_links\030\001 \003(\0132(.google"
- + ".analytics.admin.v1alpha.UserLink\"U\n\025Del"
- + "eteUserLinkRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A("
- + "\n&analyticsadmin.googleapis.com/UserLink"
- + "\"\253\001\n\033BatchDeleteUserLinksRequest\022>\n\006pare"
- + "nt\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googlea"
- + "pis.com/UserLink\022L\n\010requests\030\002 \003(\01325.goo"
- + "gle.analytics.admin.v1alpha.DeleteUserLi"
- + "nkRequestB\003\340A\002\"\251\001\n\031CreateFirebaseLinkReq"
- + "uest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analyticsa"
- + "dmin.googleapis.com/FirebaseLink\022H\n\rfire"
- + "base_link\030\002 \001(\0132,.google.analytics.admin"
- + ".v1alpha.FirebaseLinkB\003\340A\002\"]\n\031DeleteFire"
- + "baseLinkRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*a"
- + "nalyticsadmin.googleapis.com/FirebaseLin"
- + "k\"\205\001\n\030ListFirebaseLinksRequest\022B\n\006parent"
- + "\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.googleapi"
- + "s.com/FirebaseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n"
- + "\npage_token\030\003 \001(\t\"z\n\031ListFirebaseLinksRe"
- + "sponse\022D\n\016firebase_links\030\001 \003(\0132,.google."
- + "analytics.admin.v1alpha.FirebaseLink\022\027\n\017"
- + "next_page_token\030\002 \001(\t\"\\\n\027GetGlobalSiteTa"
- + "gRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analytic"
- + "sadmin.googleapis.com/GlobalSiteTag\"\256\001\n\032"
- + "CreateGoogleAdsLinkRequest\022C\n\006parent\030\001 \001"
- + "(\tB3\340A\002\372A-\022+analyticsadmin.googleapis.co"
- + "m/GoogleAdsLink\022K\n\017google_ads_link\030\002 \001(\013"
- + "2-.google.analytics.admin.v1alpha.Google"
- + "AdsLinkB\003\340A\002\"\232\001\n\032UpdateGoogleAdsLinkRequ"
- + "est\022F\n\017google_ads_link\030\001 \001(\0132-.google.an"
- + "alytics.admin.v1alpha.GoogleAdsLink\0224\n\013u"
- + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field"
- + "MaskB\003\340A\002\"_\n\032DeleteGoogleAdsLinkRequest\022"
- + "A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadmin.go"
- + "ogleapis.com/GoogleAdsLink\"\207\001\n\031ListGoogl"
- + "eAdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-"
- + "\022+analyticsadmin.googleapis.com/GoogleAd"
- + "sLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003"
- + " \001(\t\"~\n\032ListGoogleAdsLinksResponse\022G\n\020go"
- + "ogle_ads_links\030\001 \003(\0132-.google.analytics."
- + "admin.v1alpha.GoogleAdsLink\022\027\n\017next_page"
- + "_token\030\002 \001(\t\"h\n\035GetDataSharingSettingsRe"
- + "quest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyticsad"
- + "min.googleapis.com/DataSharingSettings\"D"
- + "\n\033ListAccountSummariesRequest\022\021\n\tpage_si"
- + "ze\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034ListAcc"
- + "ountSummariesResponse\022I\n\021account_summari"
- + "es\030\001 \003(\0132..google.analytics.admin.v1alph"
- + "a.AccountSummary\022\027\n\017next_page_token\030\002 \001("
- + "\t\"\206\001\n$AcknowledgeUserDataCollectionReque"
- + "st\022@\n\010property\030\001 \001(\tB.\340A\002\372A(\n&analyticsa"
- + "dmin.googleapis.com/Property\022\034\n\017acknowle"
- + "dgement\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUserDat"
- + "aCollectionResponse\"\203\004\n SearchChangeHist"
- + "oryEventsRequest\022>\n\007account\030\001 \001(\tB-\340A\002\372A"
- + "\'\n%analyticsadmin.googleapis.com/Account"
- + "\022@\n\010property\030\002 \001(\tB.\340A\001\372A(\n&analyticsadm"
- + "in.googleapis.com/Property\022U\n\rresource_t"
- + "ype\030\003 \003(\01629.google.analytics.admin.v1alp"
- + "ha.ChangeHistoryResourceTypeB\003\340A\001\022?\n\006act"
- + "ion\030\004 \003(\0162*.google.analytics.admin.v1alp"
- + "ha.ActionTypeB\003\340A\001\022\030\n\013actor_email\030\005 \003(\tB"
- + "\003\340A\001\022=\n\024earliest_change_time\030\006 \001(\0132\032.goo"
- + "gle.protobuf.TimestampB\003\340A\001\022;\n\022latest_ch"
- + "ange_time\030\007 \001(\0132\032.google.protobuf.Timest"
- + "ampB\003\340A\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n\npage"
- + "_token\030\t \001(\tB\003\340A\001\"\217\001\n!SearchChangeHistor"
- + "yEventsResponse\022Q\n\025change_history_events"
- + "\030\001 \003(\01322.google.analytics.admin.v1alpha."
- + "ChangeHistoryEvent\022\027\n\017next_page_token\030\002 "
- + "\001(\t\"t\n#GetMeasurementProtocolSecretReque"
- + "st\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin"
- + ".googleapis.com/MeasurementProtocolSecre"
- + "t\"\336\001\n&CreateMeasurementProtocolSecretReq"
- + "uest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\0227analyticsa"
- + "dmin.googleapis.com/MeasurementProtocolS"
- + "ecret\022c\n\033measurement_protocol_secret\030\002 \001"
- + "(\01329.google.analytics.admin.v1alpha.Meas"
- + "urementProtocolSecretB\003\340A\002\"w\n&DeleteMeas"
- + "urementProtocolSecretRequest\022M\n\004name\030\001 \001"
- + "(\tB?\340A\002\372A9\n7analyticsadmin.googleapis.co"
- + "m/MeasurementProtocolSecret\"\276\001\n&UpdateMe"
- + "asurementProtocolSecretRequest\022c\n\033measur"
- + "ement_protocol_secret\030\001 \001(\01329.google.ana"
- + "lytics.admin.v1alpha.MeasurementProtocol"
- + "SecretB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.googl"
- + "e.protobuf.FieldMask\"\237\001\n%ListMeasurement"
- + "ProtocolSecretsRequest\022O\n\006parent\030\001 \001(\tB?"
- + "\340A\002\372A9\0227analyticsadmin.googleapis.com/Me"
- + "asurementProtocolSecret\022\021\n\tpage_size\030\002 \001"
- + "(\005\022\022\n\npage_token\030\003 \001(\t\"\242\001\n&ListMeasureme"
- + "ntProtocolSecretsResponse\022_\n\034measurement"
- + "_protocol_secrets\030\001 \003(\01329.google.analyti"
- + "cs.admin.v1alpha.MeasurementProtocolSecr"
- + "et\022\027\n\017next_page_token\030\002 \001(\t\"l\n\037GetGoogle"
- + "SignalsSettingsRequest\022I\n\004name\030\001 \001(\tB;\340A"
- + "\002\372A5\n3analyticsadmin.googleapis.com/Goog"
- + "leSignalsSettings\"\267\001\n\"UpdateGoogleSignal"
- + "sSettingsRequest\022[\n\027google_signals_setti"
- + "ngs\030\001 \001(\01325.google.analytics.admin.v1alp"
- + "ha.GoogleSignalsSettingsB\003\340A\002\0224\n\013update_"
- + "mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003"
- + "\340A\002\"\265\001\n\034CreateConversionEventRequest\022N\n\020"
- + "conversion_event\030\001 \001(\0132/.google.analytic"
- + "s.admin.v1alpha.ConversionEventB\003\340A\002\022E\n\006"
- + "parent\030\002 \001(\tB5\340A\002\372A/\022-analyticsadmin.goo"
- + "gleapis.com/ConversionEvent\"`\n\031GetConver"
- + "sionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-"
- + "analyticsadmin.googleapis.com/Conversion"
- + "Event\"c\n\034DeleteConversionEventRequest\022C\n"
- + "\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.goog"
- + "leapis.com/ConversionEvent\"\213\001\n\033ListConve"
- + "rsionEventsRequest\022E\n\006parent\030\001 \001(\tB5\340A\002\372"
- + "A/\022-analyticsadmin.googleapis.com/Conver"
- + "sionEvent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok"
- + "en\030\003 \001(\t\"\203\001\n\034ListConversionEventsRespons"
- + "e\022J\n\021conversion_events\030\001 \003(\0132/.google.an"
- + "alytics.admin.v1alpha.ConversionEvent\022\027\n"
- + "\017next_page_token\030\002 \001(\t\"|\n\'GetDisplayVide"
- + "o360AdvertiserLinkRequest\022Q\n\004name\030\001 \001(\tB"
- + "C\340A\002\372A=\n;analyticsadmin.googleapis.com/D"
- + "isplayVideo360AdvertiserLink\"\247\001\n)ListDis"
- + "playVideo360AdvertiserLinksRequest\022S\n\006pa"
- + "rent\030\001 \001(\tBC\340A\002\372A=\022;analyticsadmin.googl"
- + "eapis.com/DisplayVideo360AdvertiserLink\022"
- + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\260"
- + "\001\n*ListDisplayVideo360AdvertiserLinksRes"
- + "ponse\022i\n\"display_video_360_advertiser_li"
- + "nks\030\001 \003(\0132=.google.analytics.admin.v1alp"
- + "ha.DisplayVideo360AdvertiserLink\022\027\n\017next"
- + "_page_token\030\002 \001(\t\"\360\001\n*CreateDisplayVideo"
- + "360AdvertiserLinkRequest\022S\n\006parent\030\001 \001(\t"
- + "BC\340A\002\372A=\022;analyticsadmin.googleapis.com/"
- + "DisplayVideo360AdvertiserLink\022m\n!display"
- + "_video_360_advertiser_link\030\002 \001(\0132=.googl"
- + "e.analytics.admin.v1alpha.DisplayVideo36"
- + "0AdvertiserLinkB\003\340A\002\"\177\n*DeleteDisplayVid"
- + "eo360AdvertiserLinkRequest\022Q\n\004name\030\001 \001(\t"
- + "BC\340A\002\372A=\n;analyticsadmin.googleapis.com/"
- + "DisplayVideo360AdvertiserLink\"\314\001\n*Update"
- + "DisplayVideo360AdvertiserLinkRequest\022h\n!"
- + "display_video_360_advertiser_link\030\001 \001(\0132"
- + "=.google.analytics.admin.v1alpha.Display"
- + "Video360AdvertiserLink\0224\n\013update_mask\030\002 "
- + "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\214\001\n"
- + "/GetDisplayVideo360AdvertiserLinkProposa"
- + "lRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalytic"
- + "sadmin.googleapis.com/DisplayVideo360Adv"
- + "ertiserLinkProposal\"\267\001\n1ListDisplayVideo"
- + "360AdvertiserLinkProposalsRequest\022[\n\006par"
- + "ent\030\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.google"
- + "apis.com/DisplayVideo360AdvertiserLinkPr"
- + "oposal\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030"
- + "\003 \001(\t\"\311\001\n2ListDisplayVideo360AdvertiserL"
- + "inkProposalsResponse\022z\n+display_video_36"
- + "0_advertiser_link_proposals\030\001 \003(\0132E.goog"
- + "le.analytics.admin.v1alpha.DisplayVideo3"
- + "60AdvertiserLinkProposal\022\027\n\017next_page_to"
- + "ken\030\002 \001(\t\"\221\002\n2CreateDisplayVideo360Adver"
- + "tiserLinkProposalRequest\022[\n\006parent\030\001 \001(\t"
- + "BK\340A\002\372AE\022Canalyticsadmin.googleapis.com/"
- + "DisplayVideo360AdvertiserLinkProposal\022~\n"
- + "*display_video_360_advertiser_link_propo"
- + "sal\030\002 \001(\0132E.google.analytics.admin.v1alp"
- + "ha.DisplayVideo360AdvertiserLinkProposal"
- + "B\003\340A\002\"\217\001\n2DeleteDisplayVideo360Advertise"
- + "rLinkProposalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372"
- + "AE\nCanalyticsadmin.googleapis.com/Displa"
- + "yVideo360AdvertiserLinkProposal\"\220\001\n3Appr"
- + "oveDisplayVideo360AdvertiserLinkProposal"
- + "Request\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalytics"
- + "admin.googleapis.com/DisplayVideo360Adve"
- + "rtiserLinkProposal\"\240\001\n4ApproveDisplayVid"
- + "eo360AdvertiserLinkProposalResponse\022h\n!d"
- + "isplay_video_360_advertiser_link\030\001 \001(\0132="
+ + "5.google.analytics.admin.v1alpha.DeleteU"
+ + "serLinkRequestB\003\340A\002\"\251\001\n\031CreateFirebaseLi"
+ + "nkRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*analy"
+ + "ticsadmin.googleapis.com/FirebaseLink\022H\n"
+ + "\rfirebase_link\030\002 \001(\0132,.google.analytics."
+ + "admin.v1alpha.FirebaseLinkB\003\340A\002\"]\n\031Delet"
+ + "eFirebaseLinkRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372"
+ + "A,\n*analyticsadmin.googleapis.com/Fireba"
+ + "seLink\"\205\001\n\030ListFirebaseLinksRequest\022B\n\006p"
+ + "arent\030\001 \001(\tB2\340A\002\372A,\022*analyticsadmin.goog"
+ + "leapis.com/FirebaseLink\022\021\n\tpage_size\030\002 \001"
+ + "(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031ListFirebaseLi"
+ + "nksResponse\022D\n\016firebase_links\030\001 \003(\0132,.go"
+ + "ogle.analytics.admin.v1alpha.FirebaseLin"
+ + "k\022\027\n\017next_page_token\030\002 \001(\t\"\\\n\027GetGlobalS"
+ + "iteTagRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+ana"
+ + "lyticsadmin.googleapis.com/GlobalSiteTag"
+ + "\"\256\001\n\032CreateGoogleAdsLinkRequest\022C\n\006paren"
+ + "t\030\001 \001(\tB3\340A\002\372A-\022+analyticsadmin.googleap"
+ + "is.com/GoogleAdsLink\022K\n\017google_ads_link\030"
+ + "\002 \001(\0132-.google.analytics.admin.v1alpha.G"
+ + "oogleAdsLinkB\003\340A\002\"\232\001\n\032UpdateGoogleAdsLin"
+ + "kRequest\022F\n\017google_ads_link\030\001 \001(\0132-.goog"
+ + "le.analytics.admin.v1alpha.GoogleAdsLink"
+ + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf."
+ + "FieldMaskB\003\340A\002\"_\n\032DeleteGoogleAdsLinkReq"
+ + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+analyticsadm"
+ + "in.googleapis.com/GoogleAdsLink\"\207\001\n\031List"
+ + "GoogleAdsLinksRequest\022C\n\006parent\030\001 \001(\tB3\340"
+ + "A\002\372A-\022+analyticsadmin.googleapis.com/Goo"
+ + "gleAdsLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to"
+ + "ken\030\003 \001(\t\"~\n\032ListGoogleAdsLinksResponse\022"
+ + "G\n\020google_ads_links\030\001 \003(\0132-.google.analy"
+ + "tics.admin.v1alpha.GoogleAdsLink\022\027\n\017next"
+ + "_page_token\030\002 \001(\t\"h\n\035GetDataSharingSetti"
+ + "ngsRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1analyt"
+ + "icsadmin.googleapis.com/DataSharingSetti"
+ + "ngs\"D\n\033ListAccountSummariesRequest\022\021\n\tpa"
+ + "ge_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034Li"
+ + "stAccountSummariesResponse\022I\n\021account_su"
+ + "mmaries\030\001 \003(\0132..google.analytics.admin.v"
+ + "1alpha.AccountSummary\022\027\n\017next_page_token"
+ + "\030\002 \001(\t\"\206\001\n$AcknowledgeUserDataCollection"
+ + "Request\022@\n\010property\030\001 \001(\tB.\340A\002\372A(\n&analy"
+ + "ticsadmin.googleapis.com/Property\022\034\n\017ack"
+ + "nowledgement\030\002 \001(\tB\003\340A\002\"\'\n%AcknowledgeUs"
+ + "erDataCollectionResponse\"\203\004\n SearchChang"
+ + "eHistoryEventsRequest\022>\n\007account\030\001 \001(\tB-"
+ + "\340A\002\372A\'\n%analyticsadmin.googleapis.com/Ac"
+ + "count\022@\n\010property\030\002 \001(\tB.\340A\001\372A(\n&analyti"
+ + "csadmin.googleapis.com/Property\022U\n\rresou"
+ + "rce_type\030\003 \003(\01629.google.analytics.admin."
+ + "v1alpha.ChangeHistoryResourceTypeB\003\340A\001\022?"
+ + "\n\006action\030\004 \003(\0162*.google.analytics.admin."
+ + "v1alpha.ActionTypeB\003\340A\001\022\030\n\013actor_email\030\005"
+ + " \003(\tB\003\340A\001\022=\n\024earliest_change_time\030\006 \001(\0132"
+ + "\032.google.protobuf.TimestampB\003\340A\001\022;\n\022late"
+ + "st_change_time\030\007 \001(\0132\032.google.protobuf.T"
+ + "imestampB\003\340A\001\022\026\n\tpage_size\030\010 \001(\005B\003\340A\001\022\027\n"
+ + "\npage_token\030\t \001(\tB\003\340A\001\"\217\001\n!SearchChangeH"
+ + "istoryEventsResponse\022Q\n\025change_history_e"
+ + "vents\030\001 \003(\01322.google.analytics.admin.v1a"
+ + "lpha.ChangeHistoryEvent\022\027\n\017next_page_tok"
+ + "en\030\002 \001(\t\"t\n#GetMeasurementProtocolSecret"
+ + "Request\022M\n\004name\030\001 \001(\tB?\340A\002\372A9\n7analytics"
+ + "admin.googleapis.com/MeasurementProtocol"
+ + "Secret\"\336\001\n&CreateMeasurementProtocolSecr"
+ + "etRequest\022O\n\006parent\030\001 \001(\tB?\340A\002\372A9\0227analy"
+ + "ticsadmin.googleapis.com/MeasurementProt"
+ + "ocolSecret\022c\n\033measurement_protocol_secre"
+ + "t\030\002 \001(\01329.google.analytics.admin.v1alpha"
+ + ".MeasurementProtocolSecretB\003\340A\002\"w\n&Delet"
+ + "eMeasurementProtocolSecretRequest\022M\n\004nam"
+ + "e\030\001 \001(\tB?\340A\002\372A9\n7analyticsadmin.googleap"
+ + "is.com/MeasurementProtocolSecret\"\276\001\n&Upd"
+ + "ateMeasurementProtocolSecretRequest\022c\n\033m"
+ + "easurement_protocol_secret\030\001 \001(\01329.googl"
+ + "e.analytics.admin.v1alpha.MeasurementPro"
+ + "tocolSecretB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032."
+ + "google.protobuf.FieldMask\"\237\001\n%ListMeasur"
+ + "ementProtocolSecretsRequest\022O\n\006parent\030\001 "
+ + "\001(\tB?\340A\002\372A9\0227analyticsadmin.googleapis.c"
+ + "om/MeasurementProtocolSecret\022\021\n\tpage_siz"
+ + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\242\001\n&ListMeas"
+ + "urementProtocolSecretsResponse\022_\n\034measur"
+ + "ement_protocol_secrets\030\001 \003(\01329.google.an"
+ + "alytics.admin.v1alpha.MeasurementProtoco"
+ + "lSecret\022\027\n\017next_page_token\030\002 \001(\t\"l\n\037GetG"
+ + "oogleSignalsSettingsRequest\022I\n\004name\030\001 \001("
+ + "\tB;\340A\002\372A5\n3analyticsadmin.googleapis.com"
+ + "/GoogleSignalsSettings\"\267\001\n\"UpdateGoogleS"
+ + "ignalsSettingsRequest\022[\n\027google_signals_"
+ + "settings\030\001 \001(\01325.google.analytics.admin."
+ + "v1alpha.GoogleSignalsSettingsB\003\340A\002\0224\n\013up"
+ + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM"
+ + "askB\003\340A\002\"\265\001\n\034CreateConversionEventReques"
+ + "t\022N\n\020conversion_event\030\001 \001(\0132/.google.ana"
+ + "lytics.admin.v1alpha.ConversionEventB\003\340A"
+ + "\002\022E\n\006parent\030\002 \001(\tB5\340A\002\372A/\022-analyticsadmi"
+ + "n.googleapis.com/ConversionEvent\"`\n\031GetC"
+ + "onversionEventRequest\022C\n\004name\030\001 \001(\tB5\340A\002"
+ + "\372A/\n-analyticsadmin.googleapis.com/Conve"
+ + "rsionEvent\"c\n\034DeleteConversionEventReque"
+ + "st\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin"
+ + ".googleapis.com/ConversionEvent\"\213\001\n\033List"
+ + "ConversionEventsRequest\022E\n\006parent\030\001 \001(\tB"
+ + "5\340A\002\372A/\022-analyticsadmin.googleapis.com/C"
+ + "onversionEvent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag"
+ + "e_token\030\003 \001(\t\"\203\001\n\034ListConversionEventsRe"
+ + "sponse\022J\n\021conversion_events\030\001 \003(\0132/.goog"
+ + "le.analytics.admin.v1alpha.ConversionEve"
+ + "nt\022\027\n\017next_page_token\030\002 \001(\t\"|\n\'GetDispla"
+ + "yVideo360AdvertiserLinkRequest\022Q\n\004name\030\001"
+ + " \001(\tBC\340A\002\372A=\n;analyticsadmin.googleapis."
+ + "com/DisplayVideo360AdvertiserLink\"\247\001\n)Li"
+ + "stDisplayVideo360AdvertiserLinksRequest\022"
+ + "S\n\006parent\030\001 \001(\tBC\340A\002\372A=\022;analyticsadmin."
+ + "googleapis.com/DisplayVideo360Advertiser"
+ + "Link\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 "
+ + "\001(\t\"\260\001\n*ListDisplayVideo360AdvertiserLin"
+ + "ksResponse\022i\n\"display_video_360_advertis"
+ + "er_links\030\001 \003(\0132=.google.analytics.admin."
+ + "v1alpha.DisplayVideo360AdvertiserLink\022\027\n"
+ + "\017next_page_token\030\002 \001(\t\"\360\001\n*CreateDisplay"
+ + "Video360AdvertiserLinkRequest\022S\n\006parent\030"
+ + "\001 \001(\tBC\340A\002\372A=\022;analyticsadmin.googleapis"
+ + ".com/DisplayVideo360AdvertiserLink\022m\n!di"
+ + "splay_video_360_advertiser_link\030\002 \001(\0132=."
+ + "google.analytics.admin.v1alpha.DisplayVi"
+ + "deo360AdvertiserLinkB\003\340A\002\"\177\n*DeleteDispl"
+ + "ayVideo360AdvertiserLinkRequest\022Q\n\004name\030"
+ + "\001 \001(\tBC\340A\002\372A=\n;analyticsadmin.googleapis"
+ + ".com/DisplayVideo360AdvertiserLink\"\314\001\n*U"
+ + "pdateDisplayVideo360AdvertiserLinkReques"
+ + "t\022h\n!display_video_360_advertiser_link\030\001"
+ + " \001(\0132=.google.analytics.admin.v1alpha.Di"
+ + "splayVideo360AdvertiserLink\0224\n\013update_ma"
+ + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A"
+ + "\002\"\214\001\n/GetDisplayVideo360AdvertiserLinkPr"
+ + "oposalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCana"
+ + "lyticsadmin.googleapis.com/DisplayVideo3"
+ + "60AdvertiserLinkProposal\"\267\001\n1ListDisplay"
+ + "Video360AdvertiserLinkProposalsRequest\022["
+ + "\n\006parent\030\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.g"
+ + "oogleapis.com/DisplayVideo360AdvertiserL"
+ + "inkProposal\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t"
+ + "oken\030\003 \001(\t\"\311\001\n2ListDisplayVideo360Advert"
+ + "iserLinkProposalsResponse\022z\n+display_vid"
+ + "eo_360_advertiser_link_proposals\030\001 \003(\0132E"
+ ".google.analytics.admin.v1alpha.DisplayV"
- + "ideo360AdvertiserLink\"\217\001\n2CancelDisplayV"
- + "ideo360AdvertiserLinkProposalRequest\022Y\n\004"
- + "name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin.googl"
- + "eapis.com/DisplayVideo360AdvertiserLinkP"
- + "roposal\"\265\001\n\034CreateCustomDimensionRequest"
- + "\022E\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin"
- + ".googleapis.com/CustomDimension\022N\n\020custo"
- + "m_dimension\030\002 \001(\0132/.google.analytics.adm"
- + "in.v1alpha.CustomDimensionB\003\340A\002\"\237\001\n\034Upda"
- + "teCustomDimensionRequest\022I\n\020custom_dimen"
- + "sion\030\001 \001(\0132/.google.analytics.admin.v1al"
- + "pha.CustomDimension\0224\n\013update_mask\030\002 \001(\013"
- + "2\032.google.protobuf.FieldMaskB\003\340A\002\"\213\001\n\033Li"
- + "stCustomDimensionsRequest\022E\n\006parent\030\001 \001("
- + "\tB5\340A\002\372A/\022-analyticsadmin.googleapis.com"
- + "/CustomDimension\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np"
- + "age_token\030\003 \001(\t\"\203\001\n\034ListCustomDimensions"
- + "Response\022J\n\021custom_dimensions\030\001 \003(\0132/.go"
- + "ogle.analytics.admin.v1alpha.CustomDimen"
- + "sion\022\027\n\017next_page_token\030\002 \001(\t\"d\n\035Archive"
- + "CustomDimensionRequest\022C\n\004name\030\001 \001(\tB5\340A"
- + "\002\372A/\n-analyticsadmin.googleapis.com/Cust"
- + "omDimension\"`\n\031GetCustomDimensionRequest"
- + "\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsadmin.g"
- + "oogleapis.com/CustomDimension\"\251\001\n\031Create"
- + "CustomMetricRequest\022B\n\006parent\030\001 \001(\tB2\340A\002"
- + "\372A,\022*analyticsadmin.googleapis.com/Custo"
- + "mMetric\022H\n\rcustom_metric\030\002 \001(\0132,.google."
- + "analytics.admin.v1alpha.CustomMetricB\003\340A"
- + "\002\"\226\001\n\031UpdateCustomMetricRequest\022C\n\rcusto"
- + "m_metric\030\001 \001(\0132,.google.analytics.admin."
- + "v1alpha.CustomMetric\0224\n\013update_mask\030\002 \001("
- + "\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\205\001\n\030L"
- + "istCustomMetricsRequest\022B\n\006parent\030\001 \001(\tB"
- + "2\340A\002\372A,\022*analyticsadmin.googleapis.com/C"
- + "ustomMetric\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t"
- + "oken\030\003 \001(\t\"z\n\031ListCustomMetricsResponse\022"
- + "D\n\016custom_metrics\030\001 \003(\0132,.google.analyti"
- + "cs.admin.v1alpha.CustomMetric\022\027\n\017next_pa"
- + "ge_token\030\002 \001(\t\"^\n\032ArchiveCustomMetricReq"
- + "uest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analyticsadm"
- + "in.googleapis.com/CustomMetric\"Z\n\026GetCus"
- + "tomMetricRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*"
- + "analyticsadmin.googleapis.com/CustomMetr"
- + "ic\"l\n\037GetDataRetentionSettingsRequest\022I\n"
- + "\004name\030\001 \001(\tB;\340A\002\372A5\n3analyticsadmin.goog"
- + "leapis.com/DataRetentionSettings\"\267\001\n\"Upd"
- + "ateDataRetentionSettingsRequest\022[\n\027data_"
- + "retention_settings\030\001 \001(\01325.google.analyt"
- + "ics.admin.v1alpha.DataRetentionSettingsB"
- + "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto"
- + "buf.FieldMaskB\003\340A\002\"\241\001\n\027CreateDataStreamR"
- + "equest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(analytic"
- + "sadmin.googleapis.com/DataStream\022D\n\013data"
- + "_stream\030\002 \001(\0132*.google.analytics.admin.v"
- + "1alpha.DataStreamB\003\340A\002\"Y\n\027DeleteDataStre"
- + "amRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(analyti"
- + "csadmin.googleapis.com/DataStream\"\220\001\n\027Up"
- + "dateDataStreamRequest\022?\n\013data_stream\030\001 \001"
- + "(\0132*.google.analytics.admin.v1alpha.Data"
- + "Stream\0224\n\013update_mask\030\002 \001(\0132\032.google.pro"
- + "tobuf.FieldMaskB\003\340A\002\"\201\001\n\026ListDataStreams"
- + "Request\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(analyti"
- + "csadmin.googleapis.com/DataStream\022\021\n\tpag"
- + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\027List"
- + "DataStreamsResponse\022@\n\014data_streams\030\001 \003("
- + "\0132*.google.analytics.admin.v1alpha.DataS"
- + "tream\022\027\n\017next_page_token\030\002 \001(\t\"V\n\024GetDat"
+ + "ideo360AdvertiserLinkProposal\022\027\n\017next_pa"
+ + "ge_token\030\002 \001(\t\"\221\002\n2CreateDisplayVideo360"
+ + "AdvertiserLinkProposalRequest\022[\n\006parent\030"
+ + "\001 \001(\tBK\340A\002\372AE\022Canalyticsadmin.googleapis"
+ + ".com/DisplayVideo360AdvertiserLinkPropos"
+ + "al\022~\n*display_video_360_advertiser_link_"
+ + "proposal\030\002 \001(\0132E.google.analytics.admin."
+ + "v1alpha.DisplayVideo360AdvertiserLinkPro"
+ + "posalB\003\340A\002\"\217\001\n2DeleteDisplayVideo360Adve"
+ + "rtiserLinkProposalRequest\022Y\n\004name\030\001 \001(\tB"
+ + "K\340A\002\372AE\nCanalyticsadmin.googleapis.com/D"
+ + "isplayVideo360AdvertiserLinkProposal\"\220\001\n"
+ + "3ApproveDisplayVideo360AdvertiserLinkPro"
+ + "posalRequest\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanal"
+ + "yticsadmin.googleapis.com/DisplayVideo36"
+ + "0AdvertiserLinkProposal\"\240\001\n4ApproveDispl"
+ + "ayVideo360AdvertiserLinkProposalResponse"
+ + "\022h\n!display_video_360_advertiser_link\030\001 "
+ + "\001(\0132=.google.analytics.admin.v1alpha.Dis"
+ + "playVideo360AdvertiserLink\"\217\001\n2CancelDis"
+ + "playVideo360AdvertiserLinkProposalReques"
+ + "t\022Y\n\004name\030\001 \001(\tBK\340A\002\372AE\nCanalyticsadmin."
+ + "googleapis.com/DisplayVideo360Advertiser"
+ + "LinkProposal\"\265\001\n\034CreateCustomDimensionRe"
+ + "quest\022E\n\006parent\030\001 \001(\tB5\340A\002\372A/\022-analytics"
+ + "admin.googleapis.com/CustomDimension\022N\n\020"
+ + "custom_dimension\030\002 \001(\0132/.google.analytic"
+ + "s.admin.v1alpha.CustomDimensionB\003\340A\002\"\237\001\n"
+ + "\034UpdateCustomDimensionRequest\022I\n\020custom_"
+ + "dimension\030\001 \001(\0132/.google.analytics.admin"
+ + ".v1alpha.CustomDimension\0224\n\013update_mask\030"
+ + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\213"
+ + "\001\n\033ListCustomDimensionsRequest\022E\n\006parent"
+ + "\030\001 \001(\tB5\340A\002\372A/\022-analyticsadmin.googleapi"
+ + "s.com/CustomDimension\022\021\n\tpage_size\030\002 \001(\005"
+ + "\022\022\n\npage_token\030\003 \001(\t\"\203\001\n\034ListCustomDimen"
+ + "sionsResponse\022J\n\021custom_dimensions\030\001 \003(\013"
+ + "2/.google.analytics.admin.v1alpha.Custom"
+ + "Dimension\022\027\n\017next_page_token\030\002 \001(\t\"d\n\035Ar"
+ + "chiveCustomDimensionRequest\022C\n\004name\030\001 \001("
+ + "\tB5\340A\002\372A/\n-analyticsadmin.googleapis.com"
+ + "/CustomDimension\"`\n\031GetCustomDimensionRe"
+ + "quest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-analyticsad"
+ + "min.googleapis.com/CustomDimension\"\251\001\n\031C"
+ + "reateCustomMetricRequest\022B\n\006parent\030\001 \001(\t"
+ + "B2\340A\002\372A,\022*analyticsadmin.googleapis.com/"
+ + "CustomMetric\022H\n\rcustom_metric\030\002 \001(\0132,.go"
+ + "ogle.analytics.admin.v1alpha.CustomMetri"
+ + "cB\003\340A\002\"\226\001\n\031UpdateCustomMetricRequest\022C\n\r"
+ + "custom_metric\030\001 \001(\0132,.google.analytics.a"
+ + "dmin.v1alpha.CustomMetric\0224\n\013update_mask"
+ + "\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\""
+ + "\205\001\n\030ListCustomMetricsRequest\022B\n\006parent\030\001"
+ + " \001(\tB2\340A\002\372A,\022*analyticsadmin.googleapis."
+ + "com/CustomMetric\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np"
+ + "age_token\030\003 \001(\t\"z\n\031ListCustomMetricsResp"
+ + "onse\022D\n\016custom_metrics\030\001 \003(\0132,.google.an"
+ + "alytics.admin.v1alpha.CustomMetric\022\027\n\017ne"
+ + "xt_page_token\030\002 \001(\t\"^\n\032ArchiveCustomMetr"
+ + "icRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*analyti"
+ + "csadmin.googleapis.com/CustomMetric\"Z\n\026G"
+ + "etCustomMetricRequest\022@\n\004name\030\001 \001(\tB2\340A\002"
+ + "\372A,\n*analyticsadmin.googleapis.com/Custo"
+ + "mMetric\"l\n\037GetDataRetentionSettingsReque"
+ + "st\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3analyticsadmin"
+ + ".googleapis.com/DataRetentionSettings\"\267\001"
+ + "\n\"UpdateDataRetentionSettingsRequest\022[\n\027"
+ + "data_retention_settings\030\001 \001(\01325.google.a"
+ + "nalytics.admin.v1alpha.DataRetentionSett"
+ + "ingsB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google."
+ + "protobuf.FieldMaskB\003\340A\002\"\241\001\n\027CreateDataSt"
+ + "reamRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(ana"
+ + "lyticsadmin.googleapis.com/DataStream\022D\n"
+ + "\013data_stream\030\002 \001(\0132*.google.analytics.ad"
+ + "min.v1alpha.DataStreamB\003\340A\002\"Y\n\027DeleteDat"
+ "aStreamRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(an"
- + "alyticsadmin.googleapis.com/DataStream\"R"
- + "\n\022GetAudienceRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372"
- + "A(\n&analyticsadmin.googleapis.com/Audien"
- + "ce\"}\n\024ListAudiencesRequest\022>\n\006parent\030\001 \001"
- + "(\tB.\340A\002\372A(\022&analyticsadmin.googleapis.co"
- + "m/Audience\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to"
- + "ken\030\003 \001(\t\"m\n\025ListAudiencesResponse\022;\n\tau"
- + "diences\030\001 \003(\0132(.google.analytics.admin.v"
- + "1alpha.Audience\022\027\n\017next_page_token\030\002 \001(\t"
- + "\"\230\001\n\025CreateAudienceRequest\022>\n\006parent\030\001 \001"
- + "(\tB.\340A\002\372A(\022&analyticsadmin.googleapis.co"
- + "m/Audience\022?\n\010audience\030\002 \001(\0132(.google.an"
- + "alytics.admin.v1alpha.AudienceB\003\340A\002\"\216\001\n\025"
- + "UpdateAudienceRequest\022?\n\010audience\030\001 \001(\0132"
- + "(.google.analytics.admin.v1alpha.Audienc"
- + "eB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pro"
- + "tobuf.FieldMaskB\003\340A\002\"V\n\026ArchiveAudienceR"
- + "equest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\022&analyticsa"
- + "dmin.googleapis.com/Audience\"h\n\035GetAttri"
- + "butionSettingsRequest\022G\n\004name\030\001 \001(\tB9\340A\002"
- + "\372A3\n1analyticsadmin.googleapis.com/Attri"
- + "butionSettings\"\260\001\n UpdateAttributionSett"
- + "ingsRequest\022V\n\024attribution_settings\030\001 \001("
- + "\01323.google.analytics.admin.v1alpha.Attri"
- + "butionSettingsB\003\340A\002\0224\n\013update_mask\030\002 \001(\013"
- + "2\032.google.protobuf.FieldMaskB\003\340A\0022\314\213\001\n\025A"
- + "nalyticsAdminService\022\223\001\n\nGetAccount\0221.go"
- + "ogle.analytics.admin.v1alpha.GetAccountR"
- + "equest\032\'.google.analytics.admin.v1alpha."
- + "Account\")\202\323\344\223\002\034\022\032/v1alpha/{name=accounts"
- + "/*}\332A\004name\022\224\001\n\014ListAccounts\0223.google.ana"
- + "lytics.admin.v1alpha.ListAccountsRequest"
- + "\0324.google.analytics.admin.v1alpha.ListAc"
- + "countsResponse\"\031\202\323\344\223\002\023\022\021/v1alpha/account"
- + "s\022\210\001\n\rDeleteAccount\0224.google.analytics.a"
- + "dmin.v1alpha.DeleteAccountRequest\032\026.goog"
- + "le.protobuf.Empty\")\202\323\344\223\002\034*\032/v1alpha/{nam"
- + "e=accounts/*}\332A\004name\022\271\001\n\rUpdateAccount\0224"
- + ".google.analytics.admin.v1alpha.UpdateAc"
- + "countRequest\032\'.google.analytics.admin.v1"
- + "alpha.Account\"I\202\323\344\223\002-2\"/v1alpha/{account"
- + ".name=accounts/*}:\007account\332A\023account,upd"
- + "ate_mask\022\314\001\n\026ProvisionAccountTicket\022=.go"
- + "ogle.analytics.admin.v1alpha.ProvisionAc"
- + "countTicketRequest\032>.google.analytics.ad"
- + "min.v1alpha.ProvisionAccountTicketRespon"
- + "se\"3\202\323\344\223\002-\"(/v1alpha/accounts:provisionA"
- + "ccountTicket:\001*\022\264\001\n\024ListAccountSummaries"
- + "\022;.google.analytics.admin.v1alpha.ListAc"
- + "countSummariesRequest\032<.google.analytics"
- + ".admin.v1alpha.ListAccountSummariesRespo"
- + "nse\"!\202\323\344\223\002\033\022\031/v1alpha/accountSummaries\022\230"
- + "\001\n\013GetProperty\0222.google.analytics.admin."
- + "v1alpha.GetPropertyRequest\032(.google.anal"
- + "ytics.admin.v1alpha.Property\"+\202\323\344\223\002\036\022\034/v"
- + "1alpha/{name=properties/*}\332A\004name\022\234\001\n\016Li"
- + "stProperties\0225.google.analytics.admin.v1"
- + "alpha.ListPropertiesRequest\0326.google.ana"
- + "lytics.admin.v1alpha.ListPropertiesRespo"
- + "nse\"\033\202\323\344\223\002\025\022\023/v1alpha/properties\022\243\001\n\016Cre"
- + "ateProperty\0225.google.analytics.admin.v1a"
- + "lpha.CreatePropertyRequest\032(.google.anal"
- + "ytics.admin.v1alpha.Property\"0\202\323\344\223\002\037\"\023/v"
- + "1alpha/properties:\010property\332A\010property\022\236"
- + "\001\n\016DeleteProperty\0225.google.analytics.adm"
- + "in.v1alpha.DeletePropertyRequest\032(.googl"
- + "e.analytics.admin.v1alpha.Property\"+\202\323\344\223"
- + "\002\036*\034/v1alpha/{name=properties/*}\332A\004name\022"
- + "\301\001\n\016UpdateProperty\0225.google.analytics.ad"
- + "min.v1alpha.UpdatePropertyRequest\032(.goog"
- + "le.analytics.admin.v1alpha.Property\"N\202\323\344"
- + "\223\00212%/v1alpha/{property.name=properties/"
- + "*}:\010property\332A\024property,update_mask\022\316\001\n\013",
- "GetUserLink\0222.google.analytics.admin.v1a"
- + "lpha.GetUserLinkRequest\032(.google.analyti"
- + "cs.admin.v1alpha.UserLink\"a\202\323\344\223\002T\022&/v1al"
- + "pha/{name=accounts/*/userLinks/*}Z*\022(/v1"
- + "alpha/{name=properties/*/userLinks/*}\332A\004"
- + "name\022\366\001\n\021BatchGetUserLinks\0228.google.anal"
- + "ytics.admin.v1alpha.BatchGetUserLinksReq"
- + "uest\0329.google.analytics.admin.v1alpha.Ba"
- + "tchGetUserLinksResponse\"l\202\323\344\223\002f\022//v1alph"
- + "a/{parent=accounts/*}/userLinks:batchGet"
- + "Z3\0221/v1alpha/{parent=properties/*}/userL"
- + "inks:batchGet\022\341\001\n\rListUserLinks\0224.google"
- + ".analytics.admin.v1alpha.ListUserLinksRe"
- + "quest\0325.google.analytics.admin.v1alpha.L"
- + "istUserLinksResponse\"c\202\323\344\223\002T\022&/v1alpha/{"
- + "parent=accounts/*}/userLinksZ*\022(/v1alpha"
- + "/{parent=properties/*}/userLinks\332A\006paren"
- + "t\022\355\001\n\016AuditUserLinks\0225.google.analytics."
- + "admin.v1alpha.AuditUserLinksRequest\0326.go"
- + "ogle.analytics.admin.v1alpha.AuditUserLi"
- + "nksResponse\"l\202\323\344\223\002f\",/v1alpha/{parent=ac"
- + "counts/*}/userLinks:audit:\001*Z3\"./v1alpha"
- + "/{parent=properties/*}/userLinks:audit:\001"
- + "*\022\367\001\n\016CreateUserLink\0225.google.analytics."
- + "admin.v1alpha.CreateUserLinkRequest\032(.go"
- + "ogle.analytics.admin.v1alpha.UserLink\"\203\001"
- + "\202\323\344\223\002j\"&/v1alpha/{parent=accounts/*}/use"
- + "rLinks:\tuser_linkZ5\"(/v1alpha/{parent=pr"
- + "operties/*}/userLinks:\tuser_link\332A\020paren"
- + "t,user_link\022\213\002\n\024BatchCreateUserLinks\022;.g"
- + "oogle.analytics.admin.v1alpha.BatchCreat"
- + "eUserLinksRequest\032<.google.analytics.adm"
- + "in.v1alpha.BatchCreateUserLinksResponse\""
- + "x\202\323\344\223\002r\"2/v1alpha/{parent=accounts/*}/us"
- + "erLinks:batchCreate:\001*Z9\"4/v1alpha/{pare"
- + "nt=properties/*}/userLinks:batchCreate:\001"
- + "*\022\204\002\n\016UpdateUserLink\0225.google.analytics."
- + "admin.v1alpha.UpdateUserLinkRequest\032(.go"
- + "ogle.analytics.admin.v1alpha.UserLink\"\220\001"
- + "\202\323\344\223\002~20/v1alpha/{user_link.name=account"
- + "s/*/userLinks/*}:\tuser_linkZ?22/v1alpha/"
- + "{user_link.name=properties/*/userLinks/*"
- + "}:\tuser_link\332A\tuser_link\022\213\002\n\024BatchUpdate"
- + "UserLinks\022;.google.analytics.admin.v1alp"
- + "ha.BatchUpdateUserLinksRequest\032<.google."
- + "analytics.admin.v1alpha.BatchUpdateUserL"
- + "inksResponse\"x\202\323\344\223\002r\"2/v1alpha/{parent=a"
- + "ccounts/*}/userLinks:batchUpdate:\001*Z9\"4/"
- + "v1alpha/{parent=properties/*}/userLinks:"
- + "batchUpdate:\001*\022\302\001\n\016DeleteUserLink\0225.goog"
- + "le.analytics.admin.v1alpha.DeleteUserLin"
- + "kRequest\032\026.google.protobuf.Empty\"a\202\323\344\223\002T"
- + "*&/v1alpha/{name=accounts/*/userLinks/*}"
- + "Z**(/v1alpha/{name=properties/*/userLink"
- + "s/*}\332A\004name\022\345\001\n\024BatchDeleteUserLinks\022;.g"
- + "oogle.analytics.admin.v1alpha.BatchDelet"
- + "eUserLinksRequest\032\026.google.protobuf.Empt"
- + "y\"x\202\323\344\223\002r\"2/v1alpha/{parent=accounts/*}/"
- + "userLinks:batchDelete:\001*Z9\"4/v1alpha/{pa"
- + "rent=properties/*}/userLinks:batchDelete"
- + ":\001*\022\331\001\n\022CreateFirebaseLink\0229.google.anal"
- + "ytics.admin.v1alpha.CreateFirebaseLinkRe"
- + "quest\032,.google.analytics.admin.v1alpha.F"
- + "irebaseLink\"Z\202\323\344\223\002=\",/v1alpha/{parent=pr"
- + "operties/*}/firebaseLinks:\rfirebase_link"
- + "\332A\024parent,firebase_link\022\244\001\n\022DeleteFireba"
- + "seLink\0229.google.analytics.admin.v1alpha."
- + "DeleteFirebaseLinkRequest\032\026.google.proto"
- + "buf.Empty\";\202\323\344\223\002.*,/v1alpha/{name=proper"
- + "ties/*/firebaseLinks/*}\332A\004name\022\307\001\n\021ListF"
- + "irebaseLinks\0228.google.analytics.admin.v1"
- + "alpha.ListFirebaseLinksRequest\0329.google."
- + "analytics.admin.v1alpha.ListFirebaseLink"
- + "sResponse\"=\202\323\344\223\002.\022,/v1alpha/{parent=prop"
- + "erties/*}/firebaseLinks\332A\006parent\022\303\001\n\020Get"
- + "GlobalSiteTag\0227.google.analytics.admin.v"
- + "1alpha.GetGlobalSiteTagRequest\032-.google."
- + "analytics.admin.v1alpha.GlobalSiteTag\"G\202"
- + "\323\344\223\002:\0228/v1alpha/{name=properties/*/dataS"
- + "treams/*/globalSiteTag}\332A\004name\022\341\001\n\023Creat"
- + "eGoogleAdsLink\022:.google.analytics.admin."
- + "v1alpha.CreateGoogleAdsLinkRequest\032-.goo"
- + "gle.analytics.admin.v1alpha.GoogleAdsLin"
- + "k\"_\202\323\344\223\002@\"-/v1alpha/{parent=properties/*"
- + "}/googleAdsLinks:\017google_ads_link\332A\026pare"
- + "nt,google_ads_link\022\366\001\n\023UpdateGoogleAdsLi"
- + "nk\022:.google.analytics.admin.v1alpha.Upda"
- + "teGoogleAdsLinkRequest\032-.google.analytic"
- + "s.admin.v1alpha.GoogleAdsLink\"t\202\323\344\223\002P2=/"
- + "v1alpha/{google_ads_link.name=properties"
- + "/*/googleAdsLinks/*}:\017google_ads_link\332A\033"
- + "google_ads_link,update_mask\022\247\001\n\023DeleteGo"
- + "ogleAdsLink\022:.google.analytics.admin.v1a"
- + "lpha.DeleteGoogleAdsLinkRequest\032\026.google"
- + ".protobuf.Empty\"<\202\323\344\223\002/*-/v1alpha/{name="
- + "properties/*/googleAdsLinks/*}\332A\004name\022\313\001"
- + "\n\022ListGoogleAdsLinks\0229.google.analytics."
- + "admin.v1alpha.ListGoogleAdsLinksRequest\032"
- + ":.google.analytics.admin.v1alpha.ListGoo"
- + "gleAdsLinksResponse\">\202\323\344\223\002/\022-/v1alpha/{p"
- + "arent=properties/*}/googleAdsLinks\332A\006par"
- + "ent\022\313\001\n\026GetDataSharingSettings\022=.google."
- + "analytics.admin.v1alpha.GetDataSharingSe"
- + "ttingsRequest\0323.google.analytics.admin.v"
- + "1alpha.DataSharingSettings\"=\202\323\344\223\0020\022./v1a"
- + "lpha/{name=accounts/*/dataSharingSetting"
- + "s}\332A\004name\022\366\001\n\034GetMeasurementProtocolSecr"
- + "et\022C.google.analytics.admin.v1alpha.GetM"
- + "easurementProtocolSecretRequest\0329.google"
- + ".analytics.admin.v1alpha.MeasurementProt"
- + "ocolSecret\"V\202\323\344\223\002I\022G/v1alpha/{name=prope"
- + "rties/*/dataStreams/*/measurementProtoco"
- + "lSecrets/*}\332A\004name\022\211\002\n\036ListMeasurementPr"
- + "otocolSecrets\022E.google.analytics.admin.v"
- + "1alpha.ListMeasurementProtocolSecretsReq"
- + "uest\032F.google.analytics.admin.v1alpha.Li"
- + "stMeasurementProtocolSecretsResponse\"X\202\323"
- + "\344\223\002I\022G/v1alpha/{parent=properties/*/data"
- + "Streams/*}/measurementProtocolSecrets\332A\006"
- + "parent\022\270\002\n\037CreateMeasurementProtocolSecr"
- + "et\022F.google.analytics.admin.v1alpha.Crea"
- + "teMeasurementProtocolSecretRequest\0329.goo"
- + "gle.analytics.admin.v1alpha.MeasurementP"
- + "rotocolSecret\"\221\001\202\323\344\223\002f\"G/v1alpha/{parent"
- + "=properties/*/dataStreams/*}/measurement"
- + "ProtocolSecrets:\033measurement_protocol_se"
- + "cret\332A\"parent,measurement_protocol_secre"
- + "t\022\331\001\n\037DeleteMeasurementProtocolSecret\022F."
- + "google.analytics.admin.v1alpha.DeleteMea"
- + "surementProtocolSecretRequest\032\026.google.p"
- + "rotobuf.Empty\"V\202\323\344\223\002I*G/v1alpha/{name=pr"
- + "operties/*/dataStreams/*/measurementProt"
- + "ocolSecrets/*}\332A\004name\022\332\002\n\037UpdateMeasurem"
- + "entProtocolSecret\022F.google.analytics.adm"
- + "in.v1alpha.UpdateMeasurementProtocolSecr"
- + "etRequest\0329.google.analytics.admin.v1alp"
- + "ha.MeasurementProtocolSecret\"\263\001\202\323\344\223\002\202\0012c"
- + "/v1alpha/{measurement_protocol_secret.na"
+ + "alyticsadmin.googleapis.com/DataStream\"\220"
+ + "\001\n\027UpdateDataStreamRequest\022?\n\013data_strea"
+ + "m\030\001 \001(\0132*.google.analytics.admin.v1alpha"
+ + ".DataStream\0224\n\013update_mask\030\002 \001(\0132\032.googl"
+ + "e.protobuf.FieldMaskB\003\340A\002\"\201\001\n\026ListDataSt"
+ + "reamsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(an"
+ + "alyticsadmin.googleapis.com/DataStream\022\021"
+ + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n"
+ + "\027ListDataStreamsResponse\022@\n\014data_streams"
+ + "\030\001 \003(\0132*.google.analytics.admin.v1alpha."
+ + "DataStream\022\027\n\017next_page_token\030\002 \001(\t\"V\n\024G"
+ + "etDataStreamRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A"
+ + "*\n(analyticsadmin.googleapis.com/DataStr"
+ + "eam\"R\n\022GetAudienceRequest\022<\n\004name\030\001 \001(\tB"
+ + ".\340A\002\372A(\n&analyticsadmin.googleapis.com/A"
+ + "udience\"}\n\024ListAudiencesRequest\022>\n\006paren"
+ + "t\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googleap"
+ + "is.com/Audience\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa"
+ + "ge_token\030\003 \001(\t\"m\n\025ListAudiencesResponse\022"
+ + ";\n\taudiences\030\001 \003(\0132(.google.analytics.ad"
+ + "min.v1alpha.Audience\022\027\n\017next_page_token\030"
+ + "\002 \001(\t\"\230\001\n\025CreateAudienceRequest\022>\n\006paren"
+ + "t\030\001 \001(\tB.\340A\002\372A(\022&analyticsadmin.googleap"
+ + "is.com/Audience\022?\n\010audience\030\002 \001(\0132(.goog"
+ + "le.analytics.admin.v1alpha.AudienceB\003\340A\002"
+ + "\"\216\001\n\025UpdateAudienceRequest\022?\n\010audience\030\001"
+ + " \001(\0132(.google.analytics.admin.v1alpha.Au"
+ + "dienceB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.googl"
+ + "e.protobuf.FieldMaskB\003\340A\002\"V\n\026ArchiveAudi"
+ + "enceRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\022&analy"
+ + "ticsadmin.googleapis.com/Audience\"h\n\035Get"
+ + "AttributionSettingsRequest\022G\n\004name\030\001 \001(\t"
+ + "B9\340A\002\372A3\n1analyticsadmin.googleapis.com/"
+ + "AttributionSettings\"\260\001\n UpdateAttributio"
+ + "nSettingsRequest\022V\n\024attribution_settings"
+ + "\030\001 \001(\01323.google.analytics.admin.v1alpha."
+ + "AttributionSettingsB\003\340A\002\0224\n\013update_mask\030"
+ + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\0022\214"
+ + "\215\001\n\025AnalyticsAdminService\022\223\001\n\nGetAccount"
+ + "\0221.google.analytics.admin.v1alpha.GetAcc"
+ + "ountRequest\032\'.google.analytics.admin.v1a"
+ + "lpha.Account\")\202\323\344\223\002\034\022\032/v1alpha/{name=acc"
+ + "ounts/*}\332A\004name\022\224\001\n\014ListAccounts\0223.googl"
+ + "e.analytics.admin.v1alpha.ListAccountsRe"
+ + "quest\0324.google.analytics.admin.v1alpha.L"
+ + "istAccountsResponse\"\031\202\323\344\223\002\023\022\021/v1alpha/ac"
+ + "counts\022\210\001\n\rDeleteAccount\0224.google.analyt"
+ + "ics.admin.v1alpha.DeleteAccountRequest\032\026"
+ + ".google.protobuf.Empty\")\202\323\344\223\002\034*\032/v1alpha"
+ + "/{name=accounts/*}\332A\004name\022\271\001\n\rUpdateAcco"
+ + "unt\0224.google.analytics.admin.v1alpha.Upd"
+ + "ateAccountRequest\032\'.google.analytics.adm"
+ + "in.v1alpha.Account\"I\202\323\344\223\002-2\"/v1alpha/{ac"
+ + "count.name=accounts/*}:\007account\332A\023accoun"
+ + "t,update_mask\022\314\001\n\026ProvisionAccountTicket"
+ + "\022=.google.analytics.admin.v1alpha.Provis"
+ + "ionAccountTicketRequest\032>.google.analyti"
+ + "cs.admin.v1alpha.ProvisionAccountTicketR"
+ + "esponse\"3\202\323\344\223\002-\"(/v1alpha/accounts:provi"
+ + "sionAccountTicket:\001*\022\264\001\n\024ListAccountSumm"
+ + "aries\022;.google.analytics.admin.v1alpha.L"
+ + "istAccountSummariesRequest\032<.google.anal",
+ "ytics.admin.v1alpha.ListAccountSummaries"
+ + "Response\"!\202\323\344\223\002\033\022\031/v1alpha/accountSummar"
+ + "ies\022\230\001\n\013GetProperty\0222.google.analytics.a"
+ + "dmin.v1alpha.GetPropertyRequest\032(.google"
+ + ".analytics.admin.v1alpha.Property\"+\202\323\344\223\002"
+ + "\036\022\034/v1alpha/{name=properties/*}\332A\004name\022\234"
+ + "\001\n\016ListProperties\0225.google.analytics.adm"
+ + "in.v1alpha.ListPropertiesRequest\0326.googl"
+ + "e.analytics.admin.v1alpha.ListProperties"
+ + "Response\"\033\202\323\344\223\002\025\022\023/v1alpha/properties\022\243\001"
+ + "\n\016CreateProperty\0225.google.analytics.admi"
+ + "n.v1alpha.CreatePropertyRequest\032(.google"
+ + ".analytics.admin.v1alpha.Property\"0\202\323\344\223\002"
+ + "\037\"\023/v1alpha/properties:\010property\332A\010prope"
+ + "rty\022\236\001\n\016DeleteProperty\0225.google.analytic"
+ + "s.admin.v1alpha.DeletePropertyRequest\032(."
+ + "google.analytics.admin.v1alpha.Property\""
+ + "+\202\323\344\223\002\036*\034/v1alpha/{name=properties/*}\332A\004"
+ + "name\022\301\001\n\016UpdateProperty\0225.google.analyti"
+ + "cs.admin.v1alpha.UpdatePropertyRequest\032("
+ + ".google.analytics.admin.v1alpha.Property"
+ + "\"N\202\323\344\223\00212%/v1alpha/{property.name=proper"
+ + "ties/*}:\010property\332A\024property,update_mask"
+ + "\022\316\001\n\013GetUserLink\0222.google.analytics.admi"
+ + "n.v1alpha.GetUserLinkRequest\032(.google.an"
+ + "alytics.admin.v1alpha.UserLink\"a\202\323\344\223\002T\022&"
+ + "/v1alpha/{name=accounts/*/userLinks/*}Z*"
+ + "\022(/v1alpha/{name=properties/*/userLinks/"
+ + "*}\332A\004name\022\366\001\n\021BatchGetUserLinks\0228.google"
+ + ".analytics.admin.v1alpha.BatchGetUserLin"
+ + "ksRequest\0329.google.analytics.admin.v1alp"
+ + "ha.BatchGetUserLinksResponse\"l\202\323\344\223\002f\022//v"
+ + "1alpha/{parent=accounts/*}/userLinks:bat"
+ + "chGetZ3\0221/v1alpha/{parent=properties/*}/"
+ + "userLinks:batchGet\022\341\001\n\rListUserLinks\0224.g"
+ + "oogle.analytics.admin.v1alpha.ListUserLi"
+ + "nksRequest\0325.google.analytics.admin.v1al"
+ + "pha.ListUserLinksResponse\"c\202\323\344\223\002T\022&/v1al"
+ + "pha/{parent=accounts/*}/userLinksZ*\022(/v1"
+ + "alpha/{parent=properties/*}/userLinks\332A\006"
+ + "parent\022\355\001\n\016AuditUserLinks\0225.google.analy"
+ + "tics.admin.v1alpha.AuditUserLinksRequest"
+ + "\0326.google.analytics.admin.v1alpha.AuditU"
+ + "serLinksResponse\"l\202\323\344\223\002f\",/v1alpha/{pare"
+ + "nt=accounts/*}/userLinks:audit:\001*Z3\"./v1"
+ + "alpha/{parent=properties/*}/userLinks:au"
+ + "dit:\001*\022\367\001\n\016CreateUserLink\0225.google.analy"
+ + "tics.admin.v1alpha.CreateUserLinkRequest"
+ + "\032(.google.analytics.admin.v1alpha.UserLi"
+ + "nk\"\203\001\202\323\344\223\002j\"&/v1alpha/{parent=accounts/*"
+ + "}/userLinks:\tuser_linkZ5\"(/v1alpha/{pare"
+ + "nt=properties/*}/userLinks:\tuser_link\332A\020"
+ + "parent,user_link\022\213\002\n\024BatchCreateUserLink"
+ + "s\022;.google.analytics.admin.v1alpha.Batch"
+ + "CreateUserLinksRequest\032<.google.analytic"
+ + "s.admin.v1alpha.BatchCreateUserLinksResp"
+ + "onse\"x\202\323\344\223\002r\"2/v1alpha/{parent=accounts/"
+ + "*}/userLinks:batchCreate:\001*Z9\"4/v1alpha/"
+ + "{parent=properties/*}/userLinks:batchCre"
+ + "ate:\001*\022\204\002\n\016UpdateUserLink\0225.google.analy"
+ + "tics.admin.v1alpha.UpdateUserLinkRequest"
+ + "\032(.google.analytics.admin.v1alpha.UserLi"
+ + "nk\"\220\001\202\323\344\223\002~20/v1alpha/{user_link.name=ac"
+ + "counts/*/userLinks/*}:\tuser_linkZ?22/v1a"
+ + "lpha/{user_link.name=properties/*/userLi"
+ + "nks/*}:\tuser_link\332A\tuser_link\022\213\002\n\024BatchU"
+ + "pdateUserLinks\022;.google.analytics.admin."
+ + "v1alpha.BatchUpdateUserLinksRequest\032<.go"
+ + "ogle.analytics.admin.v1alpha.BatchUpdate"
+ + "UserLinksResponse\"x\202\323\344\223\002r\"2/v1alpha/{par"
+ + "ent=accounts/*}/userLinks:batchUpdate:\001*"
+ + "Z9\"4/v1alpha/{parent=properties/*}/userL"
+ + "inks:batchUpdate:\001*\022\302\001\n\016DeleteUserLink\0225"
+ + ".google.analytics.admin.v1alpha.DeleteUs"
+ + "erLinkRequest\032\026.google.protobuf.Empty\"a\202"
+ + "\323\344\223\002T*&/v1alpha/{name=accounts/*/userLin"
+ + "ks/*}Z**(/v1alpha/{name=properties/*/use"
+ + "rLinks/*}\332A\004name\022\345\001\n\024BatchDeleteUserLink"
+ + "s\022;.google.analytics.admin.v1alpha.Batch"
+ + "DeleteUserLinksRequest\032\026.google.protobuf"
+ + ".Empty\"x\202\323\344\223\002r\"2/v1alpha/{parent=account"
+ + "s/*}/userLinks:batchDelete:\001*Z9\"4/v1alph"
+ + "a/{parent=properties/*}/userLinks:batchD"
+ + "elete:\001*\022\331\001\n\022CreateFirebaseLink\0229.google"
+ + ".analytics.admin.v1alpha.CreateFirebaseL"
+ + "inkRequest\032,.google.analytics.admin.v1al"
+ + "pha.FirebaseLink\"Z\202\323\344\223\002=\",/v1alpha/{pare"
+ + "nt=properties/*}/firebaseLinks:\rfirebase"
+ + "_link\332A\024parent,firebase_link\022\244\001\n\022DeleteF"
+ + "irebaseLink\0229.google.analytics.admin.v1a"
+ + "lpha.DeleteFirebaseLinkRequest\032\026.google."
+ + "protobuf.Empty\";\202\323\344\223\002.*,/v1alpha/{name=p"
+ + "roperties/*/firebaseLinks/*}\332A\004name\022\307\001\n\021"
+ + "ListFirebaseLinks\0228.google.analytics.adm"
+ + "in.v1alpha.ListFirebaseLinksRequest\0329.go"
+ + "ogle.analytics.admin.v1alpha.ListFirebas"
+ + "eLinksResponse\"=\202\323\344\223\002.\022,/v1alpha/{parent"
+ + "=properties/*}/firebaseLinks\332A\006parent\022\303\001"
+ + "\n\020GetGlobalSiteTag\0227.google.analytics.ad"
+ + "min.v1alpha.GetGlobalSiteTagRequest\032-.go"
+ + "ogle.analytics.admin.v1alpha.GlobalSiteT"
+ + "ag\"G\202\323\344\223\002:\0228/v1alpha/{name=properties/*/"
+ + "dataStreams/*/globalSiteTag}\332A\004name\022\341\001\n\023"
+ + "CreateGoogleAdsLink\022:.google.analytics.a"
+ + "dmin.v1alpha.CreateGoogleAdsLinkRequest\032"
+ + "-.google.analytics.admin.v1alpha.GoogleA"
+ + "dsLink\"_\202\323\344\223\002@\"-/v1alpha/{parent=propert"
+ + "ies/*}/googleAdsLinks:\017google_ads_link\332A"
+ + "\026parent,google_ads_link\022\366\001\n\023UpdateGoogle"
+ + "AdsLink\022:.google.analytics.admin.v1alpha"
+ + ".UpdateGoogleAdsLinkRequest\032-.google.ana"
+ + "lytics.admin.v1alpha.GoogleAdsLink\"t\202\323\344\223"
+ + "\002P2=/v1alpha/{google_ads_link.name=prope"
+ + "rties/*/googleAdsLinks/*}:\017google_ads_li"
+ + "nk\332A\033google_ads_link,update_mask\022\247\001\n\023Del"
+ + "eteGoogleAdsLink\022:.google.analytics.admi"
+ + "n.v1alpha.DeleteGoogleAdsLinkRequest\032\026.g"
+ + "oogle.protobuf.Empty\"<\202\323\344\223\002/*-/v1alpha/{"
+ + "name=properties/*/googleAdsLinks/*}\332A\004na"
+ + "me\022\313\001\n\022ListGoogleAdsLinks\0229.google.analy"
+ + "tics.admin.v1alpha.ListGoogleAdsLinksReq"
+ + "uest\032:.google.analytics.admin.v1alpha.Li"
+ + "stGoogleAdsLinksResponse\">\202\323\344\223\002/\022-/v1alp"
+ + "ha/{parent=properties/*}/googleAdsLinks\332"
+ + "A\006parent\022\313\001\n\026GetDataSharingSettings\022=.go"
+ + "ogle.analytics.admin.v1alpha.GetDataShar"
+ + "ingSettingsRequest\0323.google.analytics.ad"
+ + "min.v1alpha.DataSharingSettings\"=\202\323\344\223\0020\022"
+ + "./v1alpha/{name=accounts/*/dataSharingSe"
+ + "ttings}\332A\004name\022\366\001\n\034GetMeasurementProtoco"
+ + "lSecret\022C.google.analytics.admin.v1alpha"
+ + ".GetMeasurementProtocolSecretRequest\0329.g"
+ + "oogle.analytics.admin.v1alpha.Measuremen"
+ + "tProtocolSecret\"V\202\323\344\223\002I\022G/v1alpha/{name="
+ + "properties/*/dataStreams/*/measurementPr"
+ + "otocolSecrets/*}\332A\004name\022\211\002\n\036ListMeasurem"
+ + "entProtocolSecrets\022E.google.analytics.ad"
+ + "min.v1alpha.ListMeasurementProtocolSecre"
+ + "tsRequest\032F.google.analytics.admin.v1alp"
+ + "ha.ListMeasurementProtocolSecretsRespons"
+ + "e\"X\202\323\344\223\002I\022G/v1alpha/{parent=properties/*"
+ + "/dataStreams/*}/measurementProtocolSecre"
+ + "ts\332A\006parent\022\270\002\n\037CreateMeasurementProtoco"
+ + "lSecret\022F.google.analytics.admin.v1alpha"
+ + ".CreateMeasurementProtocolSecretRequest\032"
+ + "9.google.analytics.admin.v1alpha.Measure"
+ + "mentProtocolSecret\"\221\001\202\323\344\223\002f\"G/v1alpha/{p"
+ + "arent=properties/*/dataStreams/*}/measur"
+ + "ementProtocolSecrets:\033measurement_protoc"
+ + "ol_secret\332A\"parent,measurement_protocol_"
+ + "secret\022\331\001\n\037DeleteMeasurementProtocolSecr"
+ + "et\022F.google.analytics.admin.v1alpha.Dele"
+ + "teMeasurementProtocolSecretRequest\032\026.goo"
+ + "gle.protobuf.Empty\"V\202\323\344\223\002I*G/v1alpha/{na"
+ "me=properties/*/dataStreams/*/measuremen"
- + "tProtocolSecrets/*}:\033measurement_protoco"
- + "l_secret\332A\'measurement_protocol_secret,u"
- + "pdate_mask\022\367\001\n\035AcknowledgeUserDataCollec"
- + "tion\022D.google.analytics.admin.v1alpha.Ac"
- + "knowledgeUserDataCollectionRequest\032E.goo"
- + "gle.analytics.admin.v1alpha.AcknowledgeU"
- + "serDataCollectionResponse\"I\202\323\344\223\002C\">/v1al"
- + "pha/{property=properties/*}:acknowledgeU"
- + "serDataCollection:\001*\022\344\001\n\031SearchChangeHis"
- + "toryEvents\022@.google.analytics.admin.v1al"
- + "pha.SearchChangeHistoryEventsRequest\032A.g"
- + "oogle.analytics.admin.v1alpha.SearchChan"
- + "geHistoryEventsResponse\"B\202\323\344\223\002<\"7/v1alph"
- + "a/{account=accounts/*}:searchChangeHisto"
- + "ryEvents:\001*\022\325\001\n\030GetGoogleSignalsSettings"
- + "\022?.google.analytics.admin.v1alpha.GetGoo"
- + "gleSignalsSettingsRequest\0325.google.analy"
- + "tics.admin.v1alpha.GoogleSignalsSettings"
- + "\"A\202\323\344\223\0024\0222/v1alpha/{name=properties/*/go"
- + "ogleSignalsSettings}\332A\004name\022\254\002\n\033UpdateGo"
- + "ogleSignalsSettings\022B.google.analytics.a"
- + "dmin.v1alpha.UpdateGoogleSignalsSettings"
- + "Request\0325.google.analytics.admin.v1alpha"
- + ".GoogleSignalsSettings\"\221\001\202\323\344\223\002e2J/v1alph"
- + "a/{google_signals_settings.name=properti"
- + "es/*/googleSignalsSettings}:\027google_sign"
- + "als_settings\332A#google_signals_settings,u"
- + "pdate_mask\022\353\001\n\025CreateConversionEvent\022<.g"
- + "oogle.analytics.admin.v1alpha.CreateConv"
- + "ersionEventRequest\032/.google.analytics.ad"
- + "min.v1alpha.ConversionEvent\"c\202\323\344\223\002C\"//v1"
- + "alpha/{parent=properties/*}/conversionEv"
- + "ents:\020conversion_event\332A\027parent,conversi"
- + "on_event\022\300\001\n\022GetConversionEvent\0229.google"
- + ".analytics.admin.v1alpha.GetConversionEv"
- + "entRequest\032/.google.analytics.admin.v1al"
- + "pha.ConversionEvent\">\202\323\344\223\0021\022//v1alpha/{n"
- + "ame=properties/*/conversionEvents/*}\332A\004n"
- + "ame\022\255\001\n\025DeleteConversionEvent\022<.google.a"
- + "nalytics.admin.v1alpha.DeleteConversionE"
- + "ventRequest\032\026.google.protobuf.Empty\">\202\323\344"
- + "\223\0021*//v1alpha/{name=properties/*/convers"
- + "ionEvents/*}\332A\004name\022\323\001\n\024ListConversionEv"
- + "ents\022;.google.analytics.admin.v1alpha.Li"
- + "stConversionEventsRequest\032<.google.analy"
- + "tics.admin.v1alpha.ListConversionEventsR"
- + "esponse\"@\202\323\344\223\0021\022//v1alpha/{parent=proper"
- + "ties/*}/conversionEvents\332A\006parent\022\370\001\n Ge"
- + "tDisplayVideo360AdvertiserLink\022G.google."
- + "analytics.admin.v1alpha.GetDisplayVideo3"
- + "60AdvertiserLinkRequest\032=.google.analyti"
- + "cs.admin.v1alpha.DisplayVideo360Advertis"
- + "erLink\"L\202\323\344\223\002?\022=/v1alpha/{name=propertie"
- + "s/*/displayVideo360AdvertiserLinks/*}\332A\004"
- + "name\022\213\002\n\"ListDisplayVideo360AdvertiserLi"
- + "nks\022I.google.analytics.admin.v1alpha.Lis"
- + "tDisplayVideo360AdvertiserLinksRequest\032J"
- + ".google.analytics.admin.v1alpha.ListDisp"
- + "layVideo360AdvertiserLinksResponse\"N\202\323\344\223"
- + "\002?\022=/v1alpha/{parent=properties/*}/displ"
- + "ayVideo360AdvertiserLinks\332A\006parent\022\306\002\n#C"
- + "reateDisplayVideo360AdvertiserLink\022J.goo"
- + "gle.analytics.admin.v1alpha.CreateDispla"
- + "yVideo360AdvertiserLinkRequest\032=.google."
- + "analytics.admin.v1alpha.DisplayVideo360A"
- + "dvertiserLink\"\223\001\202\323\344\223\002b\"=/v1alpha/{parent"
- + "=properties/*}/displayVideo360Advertiser"
- + "Links:!display_video_360_advertiser_link"
- + "\332A(parent,display_video_360_advertiser_l"
- + "ink\022\327\001\n#DeleteDisplayVideo360AdvertiserL"
- + "ink\022J.google.analytics.admin.v1alpha.Del"
- + "eteDisplayVideo360AdvertiserLinkRequest\032"
- + "\026.google.protobuf.Empty\"L\202\323\344\223\002?*=/v1alph"
- + "a/{name=properties/*/displayVideo360Adve"
- + "rtiserLinks/*}\332A\004name\022\356\002\n#UpdateDisplayV"
- + "ideo360AdvertiserLink\022J.google.analytics"
- + ".admin.v1alpha.UpdateDisplayVideo360Adve"
- + "rtiserLinkRequest\032=.google.analytics.adm"
- + "in.v1alpha.DisplayVideo360AdvertiserLink"
- + "\"\273\001\202\323\344\223\002\204\0012_/v1alpha/{display_video_360_"
- + "advertiser_link.name=properties/*/displa"
- + "yVideo360AdvertiserLinks/*}:!display_vid"
- + "eo_360_advertiser_link\332A-display_video_3"
- + "60_advertiser_link,update_mask\022\230\002\n(GetDi"
- + "splayVideo360AdvertiserLinkProposal\022O.go"
+ + "tProtocolSecrets/*}\332A\004name\022\332\002\n\037UpdateMea"
+ + "surementProtocolSecret\022F.google.analytic"
+ + "s.admin.v1alpha.UpdateMeasurementProtoco"
+ + "lSecretRequest\0329.google.analytics.admin."
+ + "v1alpha.MeasurementProtocolSecret\"\263\001\202\323\344\223"
+ + "\002\202\0012c/v1alpha/{measurement_protocol_secr"
+ + "et.name=properties/*/dataStreams/*/measu"
+ + "rementProtocolSecrets/*}:\033measurement_pr"
+ + "otocol_secret\332A\'measurement_protocol_sec"
+ + "ret,update_mask\022\367\001\n\035AcknowledgeUserDataC"
+ + "ollection\022D.google.analytics.admin.v1alp"
+ + "ha.AcknowledgeUserDataCollectionRequest\032"
+ + "E.google.analytics.admin.v1alpha.Acknowl"
+ + "edgeUserDataCollectionResponse\"I\202\323\344\223\002C\">"
+ + "/v1alpha/{property=properties/*}:acknowl"
+ + "edgeUserDataCollection:\001*\022\344\001\n\031SearchChan"
+ + "geHistoryEvents\022@.google.analytics.admin"
+ + ".v1alpha.SearchChangeHistoryEventsReques"
+ + "t\032A.google.analytics.admin.v1alpha.Searc"
+ + "hChangeHistoryEventsResponse\"B\202\323\344\223\002<\"7/v"
+ + "1alpha/{account=accounts/*}:searchChange"
+ + "HistoryEvents:\001*\022\325\001\n\030GetGoogleSignalsSet"
+ + "tings\022?.google.analytics.admin.v1alpha.G"
+ + "etGoogleSignalsSettingsRequest\0325.google."
+ + "analytics.admin.v1alpha.GoogleSignalsSet"
+ + "tings\"A\202\323\344\223\0024\0222/v1alpha/{name=properties"
+ + "/*/googleSignalsSettings}\332A\004name\022\254\002\n\033Upd"
+ + "ateGoogleSignalsSettings\022B.google.analyt"
+ + "ics.admin.v1alpha.UpdateGoogleSignalsSet"
+ + "tingsRequest\0325.google.analytics.admin.v1"
+ + "alpha.GoogleSignalsSettings\"\221\001\202\323\344\223\002e2J/v"
+ + "1alpha/{google_signals_settings.name=pro"
+ + "perties/*/googleSignalsSettings}:\027google"
+ + "_signals_settings\332A#google_signals_setti"
+ + "ngs,update_mask\022\353\001\n\025CreateConversionEven"
+ + "t\022<.google.analytics.admin.v1alpha.Creat"
+ + "eConversionEventRequest\032/.google.analyti"
+ + "cs.admin.v1alpha.ConversionEvent\"c\202\323\344\223\002C"
+ + "\"//v1alpha/{parent=properties/*}/convers"
+ + "ionEvents:\020conversion_event\332A\027parent,con"
+ + "version_event\022\300\001\n\022GetConversionEvent\0229.g"
+ + "oogle.analytics.admin.v1alpha.GetConvers"
+ + "ionEventRequest\032/.google.analytics.admin"
+ + ".v1alpha.ConversionEvent\">\202\323\344\223\0021\022//v1alp"
+ + "ha/{name=properties/*/conversionEvents/*"
+ + "}\332A\004name\022\255\001\n\025DeleteConversionEvent\022<.goo"
+ + "gle.analytics.admin.v1alpha.DeleteConver"
+ + "sionEventRequest\032\026.google.protobuf.Empty"
+ + "\">\202\323\344\223\0021*//v1alpha/{name=properties/*/co"
+ + "nversionEvents/*}\332A\004name\022\323\001\n\024ListConvers"
+ + "ionEvents\022;.google.analytics.admin.v1alp"
+ + "ha.ListConversionEventsRequest\032<.google."
+ + "analytics.admin.v1alpha.ListConversionEv"
+ + "entsResponse\"@\202\323\344\223\0021\022//v1alpha/{parent=p"
+ + "roperties/*}/conversionEvents\332A\006parent\022\370"
+ + "\001\n GetDisplayVideo360AdvertiserLink\022G.go"
+ "ogle.analytics.admin.v1alpha.GetDisplayV"
- + "ideo360AdvertiserLinkProposalRequest\032E.g"
- + "oogle.analytics.admin.v1alpha.DisplayVid"
- + "eo360AdvertiserLinkProposal\"T\202\323\344\223\002G\022E/v1"
- + "alpha/{name=properties/*/displayVideo360"
- + "AdvertiserLinkProposals/*}\332A\004name\022\253\002\n*Li"
- + "stDisplayVideo360AdvertiserLinkProposals"
- + "\022Q.google.analytics.admin.v1alpha.ListDi"
- + "splayVideo360AdvertiserLinkProposalsRequ"
- + "est\032R.google.analytics.admin.v1alpha.Lis"
- + "tDisplayVideo360AdvertiserLinkProposalsR"
- + "esponse\"V\202\323\344\223\002G\022E/v1alpha/{parent=proper"
- + "ties/*}/displayVideo360AdvertiserLinkPro"
- + "posals\332A\006parent\022\370\002\n+CreateDisplayVideo36"
- + "0AdvertiserLinkProposal\022R.google.analyti"
- + "cs.admin.v1alpha.CreateDisplayVideo360Ad"
- + "vertiserLinkProposalRequest\032E.google.ana"
- + "lytics.admin.v1alpha.DisplayVideo360Adve"
- + "rtiserLinkProposal\"\255\001\202\323\344\223\002s\"E/v1alpha/{p"
+ + "ideo360AdvertiserLinkRequest\032=.google.an"
+ + "alytics.admin.v1alpha.DisplayVideo360Adv"
+ + "ertiserLink\"L\202\323\344\223\002?\022=/v1alpha/{name=prop"
+ + "erties/*/displayVideo360AdvertiserLinks/"
+ + "*}\332A\004name\022\213\002\n\"ListDisplayVideo360Adverti"
+ + "serLinks\022I.google.analytics.admin.v1alph"
+ + "a.ListDisplayVideo360AdvertiserLinksRequ"
+ + "est\032J.google.analytics.admin.v1alpha.Lis"
+ + "tDisplayVideo360AdvertiserLinksResponse\""
+ + "N\202\323\344\223\002?\022=/v1alpha/{parent=properties/*}/"
+ + "displayVideo360AdvertiserLinks\332A\006parent\022"
+ + "\306\002\n#CreateDisplayVideo360AdvertiserLink\022"
+ + "J.google.analytics.admin.v1alpha.CreateD"
+ + "isplayVideo360AdvertiserLinkRequest\032=.go"
+ + "ogle.analytics.admin.v1alpha.DisplayVide"
+ + "o360AdvertiserLink\"\223\001\202\323\344\223\002b\"=/v1alpha/{p"
+ "arent=properties/*}/displayVideo360Adver"
- + "tiserLinkProposals:*display_video_360_ad"
- + "vertiser_link_proposal\332A1parent,display_"
- + "video_360_advertiser_link_proposal\022\357\001\n+D"
- + "eleteDisplayVideo360AdvertiserLinkPropos"
- + "al\022R.google.analytics.admin.v1alpha.Dele"
- + "teDisplayVideo360AdvertiserLinkProposalR"
- + "equest\032\026.google.protobuf.Empty\"T\202\323\344\223\002G*E"
- + "/v1alpha/{name=properties/*/displayVideo"
- + "360AdvertiserLinkProposals/*}\332A\004name\022\263\002\n"
- + ",ApproveDisplayVideo360AdvertiserLinkPro"
- + "posal\022S.google.analytics.admin.v1alpha.A"
- + "pproveDisplayVideo360AdvertiserLinkPropo"
- + "salRequest\032T.google.analytics.admin.v1al"
+ + "tiserLinks:!display_video_360_advertiser"
+ + "_link\332A(parent,display_video_360_adverti"
+ + "ser_link\022\327\001\n#DeleteDisplayVideo360Advert"
+ + "iserLink\022J.google.analytics.admin.v1alph"
+ + "a.DeleteDisplayVideo360AdvertiserLinkReq"
+ + "uest\032\026.google.protobuf.Empty\"L\202\323\344\223\002?*=/v"
+ + "1alpha/{name=properties/*/displayVideo36"
+ + "0AdvertiserLinks/*}\332A\004name\022\356\002\n#UpdateDis"
+ + "playVideo360AdvertiserLink\022J.google.anal"
+ + "ytics.admin.v1alpha.UpdateDisplayVideo36"
+ + "0AdvertiserLinkRequest\032=.google.analytic"
+ + "s.admin.v1alpha.DisplayVideo360Advertise"
+ + "rLink\"\273\001\202\323\344\223\002\204\0012_/v1alpha/{display_video"
+ + "_360_advertiser_link.name=properties/*/d"
+ + "isplayVideo360AdvertiserLinks/*}:!displa"
+ + "y_video_360_advertiser_link\332A-display_vi"
+ + "deo_360_advertiser_link,update_mask\022\230\002\n("
+ + "GetDisplayVideo360AdvertiserLinkProposal"
+ + "\022O.google.analytics.admin.v1alpha.GetDis"
+ + "playVideo360AdvertiserLinkProposalReques"
+ + "t\032E.google.analytics.admin.v1alpha.Displ"
+ + "ayVideo360AdvertiserLinkProposal\"T\202\323\344\223\002G"
+ + "\022E/v1alpha/{name=properties/*/displayVid"
+ + "eo360AdvertiserLinkProposals/*}\332A\004name\022\253"
+ + "\002\n*ListDisplayVideo360AdvertiserLinkProp"
+ + "osals\022Q.google.analytics.admin.v1alpha.L"
+ + "istDisplayVideo360AdvertiserLinkProposal"
+ + "sRequest\032R.google.analytics.admin.v1alph"
+ + "a.ListDisplayVideo360AdvertiserLinkPropo"
+ + "salsResponse\"V\202\323\344\223\002G\022E/v1alpha/{parent=p"
+ + "roperties/*}/displayVideo360AdvertiserLi"
+ + "nkProposals\332A\006parent\022\370\002\n+CreateDisplayVi"
+ + "deo360AdvertiserLinkProposal\022R.google.an"
+ + "alytics.admin.v1alpha.CreateDisplayVideo"
+ + "360AdvertiserLinkProposalRequest\032E.googl"
+ + "e.analytics.admin.v1alpha.DisplayVideo36"
+ + "0AdvertiserLinkProposal\"\255\001\202\323\344\223\002s\"E/v1alp"
+ + "ha/{parent=properties/*}/displayVideo360"
+ + "AdvertiserLinkProposals:*display_video_3"
+ + "60_advertiser_link_proposal\332A1parent,dis"
+ + "play_video_360_advertiser_link_proposal\022"
+ + "\357\001\n+DeleteDisplayVideo360AdvertiserLinkP"
+ + "roposal\022R.google.analytics.admin.v1alpha"
+ + ".DeleteDisplayVideo360AdvertiserLinkProp"
+ + "osalRequest\032\026.google.protobuf.Empty\"T\202\323\344"
+ + "\223\002G*E/v1alpha/{name=properties/*/display"
+ + "Video360AdvertiserLinkProposals/*}\332A\004nam"
+ + "e\022\263\002\n,ApproveDisplayVideo360AdvertiserLi"
+ + "nkProposal\022S.google.analytics.admin.v1al"
+ "pha.ApproveDisplayVideo360AdvertiserLink"
- + "ProposalResponse\"X\202\323\344\223\002R\"M/v1alpha/{name"
- + "=properties/*/displayVideo360AdvertiserL"
- + "inkProposals/*}:approve:\001*\022\241\002\n+CancelDis"
- + "playVideo360AdvertiserLinkProposal\022R.goo"
- + "gle.analytics.admin.v1alpha.CancelDispla"
- + "yVideo360AdvertiserLinkProposalRequest\032E"
- + ".google.analytics.admin.v1alpha.DisplayV"
- + "ideo360AdvertiserLinkProposal\"W\202\323\344\223\002Q\"L/"
- + "v1alpha/{name=properties/*/displayVideo3"
- + "60AdvertiserLinkProposals/*}:cancel:\001*\022\353"
- + "\001\n\025CreateCustomDimension\022<.google.analyt"
- + "ics.admin.v1alpha.CreateCustomDimensionR"
- + "equest\032/.google.analytics.admin.v1alpha."
- + "CustomDimension\"c\202\323\344\223\002C\"//v1alpha/{paren"
- + "t=properties/*}/customDimensions:\020custom"
- + "_dimension\332A\027parent,custom_dimension\022\201\002\n"
- + "\025UpdateCustomDimension\022<.google.analytic"
- + "s.admin.v1alpha.UpdateCustomDimensionReq"
- + "uest\032/.google.analytics.admin.v1alpha.Cu"
- + "stomDimension\"y\202\323\344\223\002T2@/v1alpha/{custom_"
- + "dimension.name=properties/*/customDimens"
- + "ions/*}:\020custom_dimension\332A\034custom_dimen"
- + "sion,update_mask\022\323\001\n\024ListCustomDimension"
- + "s\022;.google.analytics.admin.v1alpha.ListC"
- + "ustomDimensionsRequest\032<.google.analytic"
- + "s.admin.v1alpha.ListCustomDimensionsResp"
- + "onse\"@\202\323\344\223\0021\022//v1alpha/{parent=propertie"
- + "s/*}/customDimensions\332A\006parent\022\272\001\n\026Archi"
- + "veCustomDimension\022=.google.analytics.adm"
- + "in.v1alpha.ArchiveCustomDimensionRequest"
- + "\032\026.google.protobuf.Empty\"I\202\323\344\223\002<\"7/v1alp"
- + "ha/{name=properties/*/customDimensions/*"
- + "}:archive:\001*\332A\004name\022\300\001\n\022GetCustomDimensi"
- + "on\0229.google.analytics.admin.v1alpha.GetC"
- + "ustomDimensionRequest\032/.google.analytics"
- + ".admin.v1alpha.CustomDimension\">\202\323\344\223\0021\022/"
- + "/v1alpha/{name=properties/*/customDimens"
- + "ions/*}\332A\004name\022\331\001\n\022CreateCustomMetric\0229."
- + "google.analytics.admin.v1alpha.CreateCus"
+ + "ProposalRequest\032T.google.analytics.admin"
+ + ".v1alpha.ApproveDisplayVideo360Advertise"
+ + "rLinkProposalResponse\"X\202\323\344\223\002R\"M/v1alpha/"
+ + "{name=properties/*/displayVideo360Advert"
+ + "iserLinkProposals/*}:approve:\001*\022\241\002\n+Canc"
+ + "elDisplayVideo360AdvertiserLinkProposal\022"
+ + "R.google.analytics.admin.v1alpha.CancelD"
+ + "isplayVideo360AdvertiserLinkProposalRequ"
+ + "est\032E.google.analytics.admin.v1alpha.Dis"
+ + "playVideo360AdvertiserLinkProposal\"W\202\323\344\223"
+ + "\002Q\"L/v1alpha/{name=properties/*/displayV"
+ + "ideo360AdvertiserLinkProposals/*}:cancel"
+ + ":\001*\022\353\001\n\025CreateCustomDimension\022<.google.a"
+ + "nalytics.admin.v1alpha.CreateCustomDimen"
+ + "sionRequest\032/.google.analytics.admin.v1a"
+ + "lpha.CustomDimension\"c\202\323\344\223\002C\"//v1alpha/{"
+ + "parent=properties/*}/customDimensions:\020c"
+ + "ustom_dimension\332A\027parent,custom_dimensio"
+ + "n\022\201\002\n\025UpdateCustomDimension\022<.google.ana"
+ + "lytics.admin.v1alpha.UpdateCustomDimensi"
+ + "onRequest\032/.google.analytics.admin.v1alp"
+ + "ha.CustomDimension\"y\202\323\344\223\002T2@/v1alpha/{cu"
+ + "stom_dimension.name=properties/*/customD"
+ + "imensions/*}:\020custom_dimension\332A\034custom_"
+ + "dimension,update_mask\022\323\001\n\024ListCustomDime"
+ + "nsions\022;.google.analytics.admin.v1alpha."
+ + "ListCustomDimensionsRequest\032<.google.ana"
+ + "lytics.admin.v1alpha.ListCustomDimension"
+ + "sResponse\"@\202\323\344\223\0021\022//v1alpha/{parent=prop"
+ + "erties/*}/customDimensions\332A\006parent\022\272\001\n\026"
+ + "ArchiveCustomDimension\022=.google.analytic"
+ + "s.admin.v1alpha.ArchiveCustomDimensionRe"
+ + "quest\032\026.google.protobuf.Empty\"I\202\323\344\223\002<\"7/"
+ + "v1alpha/{name=properties/*/customDimensi"
+ + "ons/*}:archive:\001*\332A\004name\022\300\001\n\022GetCustomDi"
+ + "mension\0229.google.analytics.admin.v1alpha"
+ + ".GetCustomDimensionRequest\032/.google.anal"
+ + "ytics.admin.v1alpha.CustomDimension\">\202\323\344"
+ + "\223\0021\022//v1alpha/{name=properties/*/customD"
+ + "imensions/*}\332A\004name\022\331\001\n\022CreateCustomMetr"
+ + "ic\0229.google.analytics.admin.v1alpha.Crea"
+ + "teCustomMetricRequest\032,.google.analytics"
+ + ".admin.v1alpha.CustomMetric\"Z\202\323\344\223\002=\",/v1"
+ + "alpha/{parent=properties/*}/customMetric"
+ + "s:\rcustom_metric\332A\024parent,custom_metric\022"
+ + "\354\001\n\022UpdateCustomMetric\0229.google.analytic"
+ + "s.admin.v1alpha.UpdateCustomMetricReques"
+ + "t\032,.google.analytics.admin.v1alpha.Custo"
+ + "mMetric\"m\202\323\344\223\002K2:/v1alpha/{custom_metric"
+ + ".name=properties/*/customMetrics/*}:\rcus"
+ + "tom_metric\332A\031custom_metric,update_mask\022\307"
+ + "\001\n\021ListCustomMetrics\0228.google.analytics."
+ + "admin.v1alpha.ListCustomMetricsRequest\0329"
+ + ".google.analytics.admin.v1alpha.ListCust"
+ + "omMetricsResponse\"=\202\323\344\223\002.\022,/v1alpha/{par"
+ + "ent=properties/*}/customMetrics\332A\006parent"
+ + "\022\261\001\n\023ArchiveCustomMetric\022:.google.analyt"
+ + "ics.admin.v1alpha.ArchiveCustomMetricReq"
+ + "uest\032\026.google.protobuf.Empty\"F\202\323\344\223\0029\"4/v"
+ + "1alpha/{name=properties/*/customMetrics/"
+ + "*}:archive:\001*\332A\004name\022\264\001\n\017GetCustomMetric"
+ + "\0226.google.analytics.admin.v1alpha.GetCus"
+ "tomMetricRequest\032,.google.analytics.admi"
- + "n.v1alpha.CustomMetric\"Z\202\323\344\223\002=\",/v1alpha"
- + "/{parent=properties/*}/customMetrics:\rcu"
- + "stom_metric\332A\024parent,custom_metric\022\354\001\n\022U"
- + "pdateCustomMetric\0229.google.analytics.adm"
- + "in.v1alpha.UpdateCustomMetricRequest\032,.g"
- + "oogle.analytics.admin.v1alpha.CustomMetr"
- + "ic\"m\202\323\344\223\002K2:/v1alpha/{custom_metric.name"
- + "=properties/*/customMetrics/*}:\rcustom_m"
- + "etric\332A\031custom_metric,update_mask\022\307\001\n\021Li"
- + "stCustomMetrics\0228.google.analytics.admin"
- + ".v1alpha.ListCustomMetricsRequest\0329.goog"
- + "le.analytics.admin.v1alpha.ListCustomMet"
- + "ricsResponse\"=\202\323\344\223\002.\022,/v1alpha/{parent=p"
- + "roperties/*}/customMetrics\332A\006parent\022\261\001\n\023"
- + "ArchiveCustomMetric\022:.google.analytics.a"
- + "dmin.v1alpha.ArchiveCustomMetricRequest\032"
- + "\026.google.protobuf.Empty\"F\202\323\344\223\0029\"4/v1alph"
- + "a/{name=properties/*/customMetrics/*}:ar"
- + "chive:\001*\332A\004name\022\264\001\n\017GetCustomMetric\0226.go"
- + "ogle.analytics.admin.v1alpha.GetCustomMe"
- + "tricRequest\032,.google.analytics.admin.v1a"
- + "lpha.CustomMetric\";\202\323\344\223\002.\022,/v1alpha/{nam"
- + "e=properties/*/customMetrics/*}\332A\004name\022\325"
- + "\001\n\030GetDataRetentionSettings\022?.google.ana"
- + "lytics.admin.v1alpha.GetDataRetentionSet"
- + "tingsRequest\0325.google.analytics.admin.v1"
- + "alpha.DataRetentionSettings\"A\202\323\344\223\0024\0222/v1"
- + "alpha/{name=properties/*/dataRetentionSe"
- + "ttings}\332A\004name\022\254\002\n\033UpdateDataRetentionSe"
- + "ttings\022B.google.analytics.admin.v1alpha."
- + "UpdateDataRetentionSettingsRequest\0325.goo"
- + "gle.analytics.admin.v1alpha.DataRetentio"
- + "nSettings\"\221\001\202\323\344\223\002e2J/v1alpha/{data_reten"
- + "tion_settings.name=properties/*/dataRete"
- + "ntionSettings}:\027data_retention_settings\332"
- + "A#data_retention_settings,update_mask\022\315\001"
- + "\n\020CreateDataStream\0227.google.analytics.ad"
- + "min.v1alpha.CreateDataStreamRequest\032*.go"
- + "ogle.analytics.admin.v1alpha.DataStream\""
- + "T\202\323\344\223\0029\"*/v1alpha/{parent=properties/*}/"
- + "dataStreams:\013data_stream\332A\022parent,data_s"
- + "tream\022\236\001\n\020DeleteDataStream\0227.google.anal"
- + "ytics.admin.v1alpha.DeleteDataStreamRequ"
- + "est\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v1"
- + "alpha/{name=properties/*/dataStreams/*}\332"
- + "A\004name\022\336\001\n\020UpdateDataStream\0227.google.ana"
- + "lytics.admin.v1alpha.UpdateDataStreamReq"
- + "uest\032*.google.analytics.admin.v1alpha.Da"
- + "taStream\"e\202\323\344\223\002E26/v1alpha/{data_stream."
- + "name=properties/*/dataStreams/*}:\013data_s"
- + "tream\332A\027data_stream,update_mask\022\277\001\n\017List"
- + "DataStreams\0226.google.analytics.admin.v1a"
- + "lpha.ListDataStreamsRequest\0327.google.ana"
- + "lytics.admin.v1alpha.ListDataStreamsResp"
- + "onse\";\202\323\344\223\002,\022*/v1alpha/{parent=propertie"
- + "s/*}/dataStreams\332A\006parent\022\254\001\n\rGetDataStr"
- + "eam\0224.google.analytics.admin.v1alpha.Get"
- + "DataStreamRequest\032*.google.analytics.adm"
- + "in.v1alpha.DataStream\"9\202\323\344\223\002,\022*/v1alpha/"
- + "{name=properties/*/dataStreams/*}\332A\004name"
- + "\022\244\001\n\013GetAudience\0222.google.analytics.admi"
- + "n.v1alpha.GetAudienceRequest\032(.google.an"
- + "alytics.admin.v1alpha.Audience\"7\202\323\344\223\002*\022("
- + "/v1alpha/{name=properties/*/audiences/*}"
- + "\332A\004name\022\267\001\n\rListAudiences\0224.google.analy"
- + "tics.admin.v1alpha.ListAudiencesRequest\032"
- + "5.google.analytics.admin.v1alpha.ListAud"
- + "iencesResponse\"9\202\323\344\223\002*\022(/v1alpha/{parent"
- + "=properties/*}/audiences\332A\006parent\022\277\001\n\016Cr"
- + "eateAudience\0225.google.analytics.admin.v1"
- + "alpha.CreateAudienceRequest\032(.google.ana"
- + "lytics.admin.v1alpha.Audience\"L\202\323\344\223\0024\"(/"
- + "v1alpha/{parent=properties/*}/audiences:"
- + "\010audience\332A\017parent,audience\022\315\001\n\016UpdateAu"
- + "dience\0225.google.analytics.admin.v1alpha."
- + "UpdateAudienceRequest\032(.google.analytics"
- + ".admin.v1alpha.Audience\"Z\202\323\344\223\002=21/v1alph"
- + "a/{audience.name=properties/*/audiences/"
- + "*}:\010audience\332A\024audience,update_mask\022\236\001\n\017"
- + "ArchiveAudience\0226.google.analytics.admin"
- + ".v1alpha.ArchiveAudienceRequest\032\026.google"
- + ".protobuf.Empty\";\202\323\344\223\0025\"0/v1alpha/{name="
- + "properties/*/audiences/*}:archive:\001*\022\315\001\n"
- + "\026GetAttributionSettings\022=.google.analyti"
- + "cs.admin.v1alpha.GetAttributionSettingsR"
- + "equest\0323.google.analytics.admin.v1alpha."
- + "AttributionSettings\"?\202\323\344\223\0022\0220/v1alpha/{n"
- + "ame=properties/*/attributionSettings}\332A\004"
- + "name\022\233\002\n\031UpdateAttributionSettings\022@.goo"
- + "gle.analytics.admin.v1alpha.UpdateAttrib"
- + "utionSettingsRequest\0323.google.analytics."
- + "admin.v1alpha.AttributionSettings\"\206\001\202\323\344\223"
- + "\002]2E/v1alpha/{attribution_settings.name="
- + "properties/*/attributionSettings}:\024attri"
- + "bution_settings\332A attribution_settings,u"
- + "pdate_mask\032\374\001\312A\035analyticsadmin.googleapi"
- + "s.com\322A\330\001https://www.googleapis.com/auth"
- + "/analytics.edit,https://www.googleapis.c"
- + "om/auth/analytics.manage.users,https://w"
- + "ww.googleapis.com/auth/analytics.manage."
- + "users.readonly,https://www.googleapis.co"
- + "m/auth/analytics.readonlyB\200\001\n\"com.google",
- ".analytics.admin.v1alphaB\023AnalyticsAdmin"
- + "ProtoP\001ZCgoogle.golang.org/genproto/goog"
- + "leapis/analytics/admin/v1alpha;adminb\006pr"
- + "oto3"
+ + "n.v1alpha.CustomMetric\";\202\323\344\223\002.\022,/v1alpha"
+ + "/{name=properties/*/customMetrics/*}\332A\004n"
+ + "ame\022\325\001\n\030GetDataRetentionSettings\022?.googl"
+ + "e.analytics.admin.v1alpha.GetDataRetenti"
+ + "onSettingsRequest\0325.google.analytics.adm"
+ + "in.v1alpha.DataRetentionSettings\"A\202\323\344\223\0024"
+ + "\0222/v1alpha/{name=properties/*/dataRetent"
+ + "ionSettings}\332A\004name\022\254\002\n\033UpdateDataRetent"
+ + "ionSettings\022B.google.analytics.admin.v1a"
+ + "lpha.UpdateDataRetentionSettingsRequest\032"
+ + "5.google.analytics.admin.v1alpha.DataRet"
+ + "entionSettings\"\221\001\202\323\344\223\002e2J/v1alpha/{data_"
+ + "retention_settings.name=properties/*/dat"
+ + "aRetentionSettings}:\027data_retention_sett"
+ + "ings\332A#data_retention_settings,update_ma"
+ + "sk\022\315\001\n\020CreateDataStream\0227.google.analyti"
+ + "cs.admin.v1alpha.CreateDataStreamRequest"
+ + "\032*.google.analytics.admin.v1alpha.DataSt"
+ + "ream\"T\202\323\344\223\0029\"*/v1alpha/{parent=propertie"
+ + "s/*}/dataStreams:\013data_stream\332A\022parent,d"
+ + "ata_stream\022\236\001\n\020DeleteDataStream\0227.google"
+ + ".analytics.admin.v1alpha.DeleteDataStrea"
+ + "mRequest\032\026.google.protobuf.Empty\"9\202\323\344\223\002,"
+ + "**/v1alpha/{name=properties/*/dataStream"
+ + "s/*}\332A\004name\022\336\001\n\020UpdateDataStream\0227.googl"
+ + "e.analytics.admin.v1alpha.UpdateDataStre"
+ + "amRequest\032*.google.analytics.admin.v1alp"
+ + "ha.DataStream\"e\202\323\344\223\002E26/v1alpha/{data_st"
+ + "ream.name=properties/*/dataStreams/*}:\013d"
+ + "ata_stream\332A\027data_stream,update_mask\022\277\001\n"
+ + "\017ListDataStreams\0226.google.analytics.admi"
+ + "n.v1alpha.ListDataStreamsRequest\0327.googl"
+ + "e.analytics.admin.v1alpha.ListDataStream"
+ + "sResponse\";\202\323\344\223\002,\022*/v1alpha/{parent=prop"
+ + "erties/*}/dataStreams\332A\006parent\022\254\001\n\rGetDa"
+ + "taStream\0224.google.analytics.admin.v1alph"
+ + "a.GetDataStreamRequest\032*.google.analytic"
+ + "s.admin.v1alpha.DataStream\"9\202\323\344\223\002,\022*/v1a"
+ + "lpha/{name=properties/*/dataStreams/*}\332A"
+ + "\004name\022\244\001\n\013GetAudience\0222.google.analytics"
+ + ".admin.v1alpha.GetAudienceRequest\032(.goog"
+ + "le.analytics.admin.v1alpha.Audience\"7\202\323\344"
+ + "\223\002*\022(/v1alpha/{name=properties/*/audienc"
+ + "es/*}\332A\004name\022\267\001\n\rListAudiences\0224.google."
+ + "analytics.admin.v1alpha.ListAudiencesReq"
+ + "uest\0325.google.analytics.admin.v1alpha.Li"
+ + "stAudiencesResponse\"9\202\323\344\223\002*\022(/v1alpha/{p"
+ + "arent=properties/*}/audiences\332A\006parent\022\277"
+ + "\001\n\016CreateAudience\0225.google.analytics.adm"
+ + "in.v1alpha.CreateAudienceRequest\032(.googl"
+ + "e.analytics.admin.v1alpha.Audience\"L\202\323\344\223"
+ + "\0024\"(/v1alpha/{parent=properties/*}/audie"
+ + "nces:\010audience\332A\017parent,audience\022\315\001\n\016Upd"
+ + "ateAudience\0225.google.analytics.admin.v1a"
+ + "lpha.UpdateAudienceRequest\032(.google.anal"
+ + "ytics.admin.v1alpha.Audience\"Z\202\323\344\223\002=21/v"
+ + "1alpha/{audience.name=properties/*/audie"
+ + "nces/*}:\010audience\332A\024audience,update_mask",
+ "\022\236\001\n\017ArchiveAudience\0226.google.analytics."
+ + "admin.v1alpha.ArchiveAudienceRequest\032\026.g"
+ + "oogle.protobuf.Empty\";\202\323\344\223\0025\"0/v1alpha/{"
+ + "name=properties/*/audiences/*}:archive:\001"
+ + "*\022\315\001\n\026GetAttributionSettings\022=.google.an"
+ + "alytics.admin.v1alpha.GetAttributionSett"
+ + "ingsRequest\0323.google.analytics.admin.v1a"
+ + "lpha.AttributionSettings\"?\202\323\344\223\0022\0220/v1alp"
+ + "ha/{name=properties/*/attributionSetting"
+ + "s}\332A\004name\022\233\002\n\031UpdateAttributionSettings\022"
+ + "@.google.analytics.admin.v1alpha.UpdateA"
+ + "ttributionSettingsRequest\0323.google.analy"
+ + "tics.admin.v1alpha.AttributionSettings\"\206"
+ + "\001\202\323\344\223\002]2E/v1alpha/{attribution_settings."
+ + "name=properties/*/attributionSettings}:\024"
+ + "attribution_settings\332A attribution_setti"
+ + "ngs,update_mask\022\275\001\n\017RunAccessReport\0226.go"
+ + "ogle.analytics.admin.v1alpha.RunAccessRe"
+ + "portRequest\0327.google.analytics.admin.v1a"
+ + "lpha.RunAccessReportResponse\"9\202\323\344\223\0023\"./v"
+ + "1alpha/{entity=properties/*}:runAccessRe"
+ + "port:\001*\032\374\001\312A\035analyticsadmin.googleapis.c"
+ + "om\322A\330\001https://www.googleapis.com/auth/an"
+ + "alytics.edit,https://www.googleapis.com/"
+ + "auth/analytics.manage.users,https://www."
+ + "googleapis.com/auth/analytics.manage.use"
+ + "rs.readonly,https://www.googleapis.com/a"
+ + "uth/analytics.readonlyB\200\001\n\"com.google.an"
+ + "alytics.admin.v1alphaB\023AnalyticsAdminPro"
+ + "toP\001ZCgoogle.golang.org/genproto/googlea"
+ + "pis/analytics/admin/v1alpha;adminb\006proto"
+ + "3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor(),
com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(),
com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(),
com.google.api.AnnotationsProto.getDescriptor(),
@@ -1255,8 +1292,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.protobuf.FieldMaskProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
- internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor =
+ internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
+ internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_RunAccessReportRequest_descriptor,
+ new java.lang.String[] {
+ "Entity",
+ "Dimensions",
+ "Metrics",
+ "DateRanges",
+ "DimensionFilter",
+ "MetricFilter",
+ "Offset",
+ "Limit",
+ "TimeZone",
+ "OrderBys",
+ "ReturnEntityQuota",
+ });
+ internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor =
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_analytics_admin_v1alpha_RunAccessReportResponse_descriptor,
+ new java.lang.String[] {
+ "DimensionHeaders", "MetricHeaders", "Rows", "RowCount", "Quota",
+ });
+ internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor =
+ getDescriptor().getMessageTypes().get(2);
internal_static_google_analytics_admin_v1alpha_GetAccountRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetAccountRequest_descriptor,
@@ -1264,7 +1327,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor =
- getDescriptor().getMessageTypes().get(1);
+ getDescriptor().getMessageTypes().get(3);
internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListAccountsRequest_descriptor,
@@ -1272,7 +1335,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"PageSize", "PageToken", "ShowDeleted",
});
internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor =
- getDescriptor().getMessageTypes().get(2);
+ getDescriptor().getMessageTypes().get(4);
internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListAccountsResponse_descriptor,
@@ -1280,7 +1343,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Accounts", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor =
- getDescriptor().getMessageTypes().get(3);
+ getDescriptor().getMessageTypes().get(5);
internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_DeleteAccountRequest_descriptor,
@@ -1288,7 +1351,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor =
- getDescriptor().getMessageTypes().get(4);
+ getDescriptor().getMessageTypes().get(6);
internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateAccountRequest_descriptor,
@@ -1296,7 +1359,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Account", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor =
- getDescriptor().getMessageTypes().get(5);
+ getDescriptor().getMessageTypes().get(7);
internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketRequest_descriptor,
@@ -1304,7 +1367,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Account", "RedirectUri",
});
internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor =
- getDescriptor().getMessageTypes().get(6);
+ getDescriptor().getMessageTypes().get(8);
internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ProvisionAccountTicketResponse_descriptor,
@@ -1312,7 +1375,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"AccountTicketId",
});
internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor =
- getDescriptor().getMessageTypes().get(7);
+ getDescriptor().getMessageTypes().get(9);
internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetPropertyRequest_descriptor,
@@ -1320,7 +1383,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor =
- getDescriptor().getMessageTypes().get(8);
+ getDescriptor().getMessageTypes().get(10);
internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListPropertiesRequest_descriptor,
@@ -1328,7 +1391,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Filter", "PageSize", "PageToken", "ShowDeleted",
});
internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor =
- getDescriptor().getMessageTypes().get(9);
+ getDescriptor().getMessageTypes().get(11);
internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListPropertiesResponse_descriptor,
@@ -1336,7 +1399,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Properties", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdatePropertyRequest_descriptor,
@@ -1344,7 +1407,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Property", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreatePropertyRequest_descriptor,
@@ -1352,7 +1415,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Property",
});
internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_DeletePropertyRequest_descriptor,
@@ -1360,7 +1423,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetUserLinkRequest_descriptor,
@@ -1368,7 +1431,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksRequest_descriptor,
@@ -1376,7 +1439,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Names",
});
internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_BatchGetUserLinksResponse_descriptor,
@@ -1384,7 +1447,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UserLinks",
});
internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListUserLinksRequest_descriptor,
@@ -1392,7 +1455,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor =
- getDescriptor().getMessageTypes().get(17);
+ getDescriptor().getMessageTypes().get(19);
internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListUserLinksResponse_descriptor,
@@ -1400,7 +1463,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UserLinks", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor =
- getDescriptor().getMessageTypes().get(18);
+ getDescriptor().getMessageTypes().get(20);
internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_AuditUserLinksRequest_descriptor,
@@ -1408,7 +1471,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor =
- getDescriptor().getMessageTypes().get(19);
+ getDescriptor().getMessageTypes().get(21);
internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_AuditUserLinksResponse_descriptor,
@@ -1416,7 +1479,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UserLinks", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(20);
+ getDescriptor().getMessageTypes().get(22);
internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateUserLinkRequest_descriptor,
@@ -1424,7 +1487,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "NotifyNewUser", "UserLink",
});
internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor =
- getDescriptor().getMessageTypes().get(21);
+ getDescriptor().getMessageTypes().get(23);
internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksRequest_descriptor,
@@ -1432,7 +1495,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "NotifyNewUsers", "Requests",
});
internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor =
- getDescriptor().getMessageTypes().get(22);
+ getDescriptor().getMessageTypes().get(24);
internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_BatchCreateUserLinksResponse_descriptor,
@@ -1440,7 +1503,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UserLinks",
});
internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(23);
+ getDescriptor().getMessageTypes().get(25);
internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateUserLinkRequest_descriptor,
@@ -1448,7 +1511,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UserLink",
});
internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor =
- getDescriptor().getMessageTypes().get(24);
+ getDescriptor().getMessageTypes().get(26);
internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksRequest_descriptor,
@@ -1456,7 +1519,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Requests",
});
internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor =
- getDescriptor().getMessageTypes().get(25);
+ getDescriptor().getMessageTypes().get(27);
internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_BatchUpdateUserLinksResponse_descriptor,
@@ -1464,7 +1527,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UserLinks",
});
internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(26);
+ getDescriptor().getMessageTypes().get(28);
internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_DeleteUserLinkRequest_descriptor,
@@ -1472,7 +1535,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor =
- getDescriptor().getMessageTypes().get(27);
+ getDescriptor().getMessageTypes().get(29);
internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_BatchDeleteUserLinksRequest_descriptor,
@@ -1480,7 +1543,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Requests",
});
internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(28);
+ getDescriptor().getMessageTypes().get(30);
internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateFirebaseLinkRequest_descriptor,
@@ -1488,7 +1551,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "FirebaseLink",
});
internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(29);
+ getDescriptor().getMessageTypes().get(31);
internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_DeleteFirebaseLinkRequest_descriptor,
@@ -1496,7 +1559,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor =
- getDescriptor().getMessageTypes().get(30);
+ getDescriptor().getMessageTypes().get(32);
internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksRequest_descriptor,
@@ -1504,7 +1567,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor =
- getDescriptor().getMessageTypes().get(31);
+ getDescriptor().getMessageTypes().get(33);
internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListFirebaseLinksResponse_descriptor,
@@ -1512,7 +1575,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"FirebaseLinks", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor =
- getDescriptor().getMessageTypes().get(32);
+ getDescriptor().getMessageTypes().get(34);
internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetGlobalSiteTagRequest_descriptor,
@@ -1520,7 +1583,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(33);
+ getDescriptor().getMessageTypes().get(35);
internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateGoogleAdsLinkRequest_descriptor,
@@ -1528,7 +1591,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "GoogleAdsLink",
});
internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(34);
+ getDescriptor().getMessageTypes().get(36);
internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateGoogleAdsLinkRequest_descriptor,
@@ -1536,7 +1599,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"GoogleAdsLink", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(35);
+ getDescriptor().getMessageTypes().get(37);
internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_DeleteGoogleAdsLinkRequest_descriptor,
@@ -1544,7 +1607,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor =
- getDescriptor().getMessageTypes().get(36);
+ getDescriptor().getMessageTypes().get(38);
internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksRequest_descriptor,
@@ -1552,7 +1615,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor =
- getDescriptor().getMessageTypes().get(37);
+ getDescriptor().getMessageTypes().get(39);
internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListGoogleAdsLinksResponse_descriptor,
@@ -1560,7 +1623,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"GoogleAdsLinks", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor =
- getDescriptor().getMessageTypes().get(38);
+ getDescriptor().getMessageTypes().get(40);
internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetDataSharingSettingsRequest_descriptor,
@@ -1568,7 +1631,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor =
- getDescriptor().getMessageTypes().get(39);
+ getDescriptor().getMessageTypes().get(41);
internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListAccountSummariesRequest_descriptor,
@@ -1576,7 +1639,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor =
- getDescriptor().getMessageTypes().get(40);
+ getDescriptor().getMessageTypes().get(42);
internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListAccountSummariesResponse_descriptor,
@@ -1584,7 +1647,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"AccountSummaries", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor =
- getDescriptor().getMessageTypes().get(41);
+ getDescriptor().getMessageTypes().get(43);
internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionRequest_descriptor,
@@ -1592,13 +1655,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Property", "Acknowledgement",
});
internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor =
- getDescriptor().getMessageTypes().get(42);
+ getDescriptor().getMessageTypes().get(44);
internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_AcknowledgeUserDataCollectionResponse_descriptor,
new java.lang.String[] {});
internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor =
- getDescriptor().getMessageTypes().get(43);
+ getDescriptor().getMessageTypes().get(45);
internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsRequest_descriptor,
@@ -1614,7 +1677,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"PageToken",
});
internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor =
- getDescriptor().getMessageTypes().get(44);
+ getDescriptor().getMessageTypes().get(46);
internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_SearchChangeHistoryEventsResponse_descriptor,
@@ -1622,7 +1685,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ChangeHistoryEvents", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor =
- getDescriptor().getMessageTypes().get(45);
+ getDescriptor().getMessageTypes().get(47);
internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetMeasurementProtocolSecretRequest_descriptor,
@@ -1630,7 +1693,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor =
- getDescriptor().getMessageTypes().get(46);
+ getDescriptor().getMessageTypes().get(48);
internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateMeasurementProtocolSecretRequest_descriptor,
@@ -1638,7 +1701,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "MeasurementProtocolSecret",
});
internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor =
- getDescriptor().getMessageTypes().get(47);
+ getDescriptor().getMessageTypes().get(49);
internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_DeleteMeasurementProtocolSecretRequest_descriptor,
@@ -1646,7 +1709,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor =
- getDescriptor().getMessageTypes().get(48);
+ getDescriptor().getMessageTypes().get(50);
internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateMeasurementProtocolSecretRequest_descriptor,
@@ -1654,7 +1717,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"MeasurementProtocolSecret", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor =
- getDescriptor().getMessageTypes().get(49);
+ getDescriptor().getMessageTypes().get(51);
internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsRequest_descriptor,
@@ -1662,7 +1725,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor =
- getDescriptor().getMessageTypes().get(50);
+ getDescriptor().getMessageTypes().get(52);
internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListMeasurementProtocolSecretsResponse_descriptor,
@@ -1670,7 +1733,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"MeasurementProtocolSecrets", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor =
- getDescriptor().getMessageTypes().get(51);
+ getDescriptor().getMessageTypes().get(53);
internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor,
@@ -1678,7 +1741,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor =
- getDescriptor().getMessageTypes().get(52);
+ getDescriptor().getMessageTypes().get(54);
internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateGoogleSignalsSettingsRequest_descriptor,
@@ -1686,7 +1749,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"GoogleSignalsSettings", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor =
- getDescriptor().getMessageTypes().get(53);
+ getDescriptor().getMessageTypes().get(55);
internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateConversionEventRequest_descriptor,
@@ -1694,7 +1757,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ConversionEvent", "Parent",
});
internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor =
- getDescriptor().getMessageTypes().get(54);
+ getDescriptor().getMessageTypes().get(56);
internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor,
@@ -1702,7 +1765,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor =
- getDescriptor().getMessageTypes().get(55);
+ getDescriptor().getMessageTypes().get(57);
internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_DeleteConversionEventRequest_descriptor,
@@ -1710,7 +1773,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor =
- getDescriptor().getMessageTypes().get(56);
+ getDescriptor().getMessageTypes().get(58);
internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListConversionEventsRequest_descriptor,
@@ -1718,7 +1781,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor =
- getDescriptor().getMessageTypes().get(57);
+ getDescriptor().getMessageTypes().get(59);
internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListConversionEventsResponse_descriptor,
@@ -1726,7 +1789,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ConversionEvents", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(58);
+ getDescriptor().getMessageTypes().get(60);
internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkRequest_descriptor,
@@ -1734,7 +1797,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor =
- getDescriptor().getMessageTypes().get(59);
+ getDescriptor().getMessageTypes().get(61);
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksRequest_descriptor,
@@ -1742,7 +1805,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor =
- getDescriptor().getMessageTypes().get(60);
+ getDescriptor().getMessageTypes().get(62);
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinksResponse_descriptor,
@@ -1750,7 +1813,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DisplayVideo360AdvertiserLinks", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(61);
+ getDescriptor().getMessageTypes().get(63);
internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkRequest_descriptor,
@@ -1758,7 +1821,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "DisplayVideo360AdvertiserLink",
});
internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(62);
+ getDescriptor().getMessageTypes().get(64);
internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkRequest_descriptor,
@@ -1766,7 +1829,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor =
- getDescriptor().getMessageTypes().get(63);
+ getDescriptor().getMessageTypes().get(65);
internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateDisplayVideo360AdvertiserLinkRequest_descriptor,
@@ -1774,7 +1837,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DisplayVideo360AdvertiserLink", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor =
- getDescriptor().getMessageTypes().get(64);
+ getDescriptor().getMessageTypes().get(66);
internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetDisplayVideo360AdvertiserLinkProposalRequest_descriptor,
@@ -1782,7 +1845,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor =
- getDescriptor().getMessageTypes().get(65);
+ getDescriptor().getMessageTypes().get(67);
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsRequest_descriptor,
@@ -1790,7 +1853,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor =
- getDescriptor().getMessageTypes().get(66);
+ getDescriptor().getMessageTypes().get(68);
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListDisplayVideo360AdvertiserLinkProposalsResponse_descriptor,
@@ -1798,7 +1861,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DisplayVideo360AdvertiserLinkProposals", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor =
- getDescriptor().getMessageTypes().get(67);
+ getDescriptor().getMessageTypes().get(69);
internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateDisplayVideo360AdvertiserLinkProposalRequest_descriptor,
@@ -1806,7 +1869,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "DisplayVideo360AdvertiserLinkProposal",
});
internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor =
- getDescriptor().getMessageTypes().get(68);
+ getDescriptor().getMessageTypes().get(70);
internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_DeleteDisplayVideo360AdvertiserLinkProposalRequest_descriptor,
@@ -1814,7 +1877,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor =
- getDescriptor().getMessageTypes().get(69);
+ getDescriptor().getMessageTypes().get(71);
internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalRequest_descriptor,
@@ -1822,7 +1885,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor =
- getDescriptor().getMessageTypes().get(70);
+ getDescriptor().getMessageTypes().get(72);
internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ApproveDisplayVideo360AdvertiserLinkProposalResponse_descriptor,
@@ -1830,7 +1893,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DisplayVideo360AdvertiserLink",
});
internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor =
- getDescriptor().getMessageTypes().get(71);
+ getDescriptor().getMessageTypes().get(73);
internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CancelDisplayVideo360AdvertiserLinkProposalRequest_descriptor,
@@ -1838,7 +1901,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor =
- getDescriptor().getMessageTypes().get(72);
+ getDescriptor().getMessageTypes().get(74);
internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateCustomDimensionRequest_descriptor,
@@ -1846,7 +1909,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "CustomDimension",
});
internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor =
- getDescriptor().getMessageTypes().get(73);
+ getDescriptor().getMessageTypes().get(75);
internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateCustomDimensionRequest_descriptor,
@@ -1854,7 +1917,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CustomDimension", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor =
- getDescriptor().getMessageTypes().get(74);
+ getDescriptor().getMessageTypes().get(76);
internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsRequest_descriptor,
@@ -1862,7 +1925,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor =
- getDescriptor().getMessageTypes().get(75);
+ getDescriptor().getMessageTypes().get(77);
internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListCustomDimensionsResponse_descriptor,
@@ -1870,7 +1933,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CustomDimensions", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor =
- getDescriptor().getMessageTypes().get(76);
+ getDescriptor().getMessageTypes().get(78);
internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ArchiveCustomDimensionRequest_descriptor,
@@ -1878,7 +1941,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor =
- getDescriptor().getMessageTypes().get(77);
+ getDescriptor().getMessageTypes().get(79);
internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetCustomDimensionRequest_descriptor,
@@ -1886,7 +1949,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor =
- getDescriptor().getMessageTypes().get(78);
+ getDescriptor().getMessageTypes().get(80);
internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateCustomMetricRequest_descriptor,
@@ -1894,7 +1957,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "CustomMetric",
});
internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor =
- getDescriptor().getMessageTypes().get(79);
+ getDescriptor().getMessageTypes().get(81);
internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateCustomMetricRequest_descriptor,
@@ -1902,7 +1965,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CustomMetric", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor =
- getDescriptor().getMessageTypes().get(80);
+ getDescriptor().getMessageTypes().get(82);
internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListCustomMetricsRequest_descriptor,
@@ -1910,7 +1973,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor =
- getDescriptor().getMessageTypes().get(81);
+ getDescriptor().getMessageTypes().get(83);
internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListCustomMetricsResponse_descriptor,
@@ -1918,7 +1981,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CustomMetrics", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor =
- getDescriptor().getMessageTypes().get(82);
+ getDescriptor().getMessageTypes().get(84);
internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ArchiveCustomMetricRequest_descriptor,
@@ -1926,7 +1989,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor =
- getDescriptor().getMessageTypes().get(83);
+ getDescriptor().getMessageTypes().get(85);
internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetCustomMetricRequest_descriptor,
@@ -1934,7 +1997,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor =
- getDescriptor().getMessageTypes().get(84);
+ getDescriptor().getMessageTypes().get(86);
internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetDataRetentionSettingsRequest_descriptor,
@@ -1942,7 +2005,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor =
- getDescriptor().getMessageTypes().get(85);
+ getDescriptor().getMessageTypes().get(87);
internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateDataRetentionSettingsRequest_descriptor,
@@ -1950,7 +2013,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DataRetentionSettings", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor =
- getDescriptor().getMessageTypes().get(86);
+ getDescriptor().getMessageTypes().get(88);
internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateDataStreamRequest_descriptor,
@@ -1958,7 +2021,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "DataStream",
});
internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor =
- getDescriptor().getMessageTypes().get(87);
+ getDescriptor().getMessageTypes().get(89);
internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_DeleteDataStreamRequest_descriptor,
@@ -1966,7 +2029,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor =
- getDescriptor().getMessageTypes().get(88);
+ getDescriptor().getMessageTypes().get(90);
internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateDataStreamRequest_descriptor,
@@ -1974,7 +2037,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DataStream", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor =
- getDescriptor().getMessageTypes().get(89);
+ getDescriptor().getMessageTypes().get(91);
internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListDataStreamsRequest_descriptor,
@@ -1982,7 +2045,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor =
- getDescriptor().getMessageTypes().get(90);
+ getDescriptor().getMessageTypes().get(92);
internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListDataStreamsResponse_descriptor,
@@ -1990,7 +2053,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DataStreams", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor =
- getDescriptor().getMessageTypes().get(91);
+ getDescriptor().getMessageTypes().get(93);
internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetDataStreamRequest_descriptor,
@@ -1998,7 +2061,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor =
- getDescriptor().getMessageTypes().get(92);
+ getDescriptor().getMessageTypes().get(94);
internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetAudienceRequest_descriptor,
@@ -2006,7 +2069,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor =
- getDescriptor().getMessageTypes().get(93);
+ getDescriptor().getMessageTypes().get(95);
internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListAudiencesRequest_descriptor,
@@ -2014,7 +2077,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor =
- getDescriptor().getMessageTypes().get(94);
+ getDescriptor().getMessageTypes().get(96);
internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ListAudiencesResponse_descriptor,
@@ -2022,7 +2085,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Audiences", "NextPageToken",
});
internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor =
- getDescriptor().getMessageTypes().get(95);
+ getDescriptor().getMessageTypes().get(97);
internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_CreateAudienceRequest_descriptor,
@@ -2030,7 +2093,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Audience",
});
internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor =
- getDescriptor().getMessageTypes().get(96);
+ getDescriptor().getMessageTypes().get(98);
internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateAudienceRequest_descriptor,
@@ -2038,7 +2101,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Audience", "UpdateMask",
});
internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor =
- getDescriptor().getMessageTypes().get(97);
+ getDescriptor().getMessageTypes().get(99);
internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_ArchiveAudienceRequest_descriptor,
@@ -2046,7 +2109,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor =
- getDescriptor().getMessageTypes().get(98);
+ getDescriptor().getMessageTypes().get(100);
internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_GetAttributionSettingsRequest_descriptor,
@@ -2054,7 +2117,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor =
- getDescriptor().getMessageTypes().get(99);
+ getDescriptor().getMessageTypes().get(101);
internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_analytics_admin_v1alpha_UpdateAttributionSettingsRequest_descriptor,
@@ -2071,6 +2134,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
+ com.google.analytics.admin.v1alpha.AccessReportProto.getDescriptor();
com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor();
com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java
new file mode 100644
index 000000000000..62678e6b0f6d
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/NumericValue.java
@@ -0,0 +1,806 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/access_report.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * To represent a number. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.NumericValue} + */ +public final class NumericValue extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.NumericValue) + NumericValueOrBuilder { + private static final long serialVersionUID = 0L; + // Use NumericValue.newBuilder() to construct. + private NumericValue(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private NumericValue() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NumericValue(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NumericValue( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + oneValue_ = input.readInt64(); + oneValueCase_ = 1; + break; + } + case 17: + { + oneValue_ = input.readDouble(); + oneValueCase_ = 2; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_NumericValue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.analytics.admin.v1alpha.AccessReportProto + .internal_static_google_analytics_admin_v1alpha_NumericValue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.analytics.admin.v1alpha.NumericValue.class, + com.google.analytics.admin.v1alpha.NumericValue.Builder.class); + } + + private int oneValueCase_ = 0; + private java.lang.Object oneValue_; + + public enum OneValueCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + INT64_VALUE(1), + DOUBLE_VALUE(2), + ONEVALUE_NOT_SET(0); + private final int value; + + private OneValueCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static OneValueCase valueOf(int value) { + return forNumber(value); + } + + public static OneValueCase forNumber(int value) { + switch (value) { + case 1: + return INT64_VALUE; + case 2: + return DOUBLE_VALUE; + case 0: + return ONEVALUE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public OneValueCase getOneValueCase() { + return OneValueCase.forNumber(oneValueCase_); + } + + public static final int INT64_VALUE_FIELD_NUMBER = 1; + /** + * + * + *
+ * Integer value + *+ * + *
int64 int64_value = 1;
+ *
+ * @return Whether the int64Value field is set.
+ */
+ @java.lang.Override
+ public boolean hasInt64Value() {
+ return oneValueCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * Integer value + *+ * + *
int64 int64_value = 1;
+ *
+ * @return The int64Value.
+ */
+ @java.lang.Override
+ public long getInt64Value() {
+ if (oneValueCase_ == 1) {
+ return (java.lang.Long) oneValue_;
+ }
+ return 0L;
+ }
+
+ public static final int DOUBLE_VALUE_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Double value + *+ * + *
double double_value = 2;
+ *
+ * @return Whether the doubleValue field is set.
+ */
+ @java.lang.Override
+ public boolean hasDoubleValue() {
+ return oneValueCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Double value + *+ * + *
double double_value = 2;
+ *
+ * @return The doubleValue.
+ */
+ @java.lang.Override
+ public double getDoubleValue() {
+ if (oneValueCase_ == 2) {
+ return (java.lang.Double) oneValue_;
+ }
+ return 0D;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (oneValueCase_ == 1) {
+ output.writeInt64(1, (long) ((java.lang.Long) oneValue_));
+ }
+ if (oneValueCase_ == 2) {
+ output.writeDouble(2, (double) ((java.lang.Double) oneValue_));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (oneValueCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeInt64Size(
+ 1, (long) ((java.lang.Long) oneValue_));
+ }
+ if (oneValueCase_ == 2) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeDoubleSize(
+ 2, (double) ((java.lang.Double) oneValue_));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.analytics.admin.v1alpha.NumericValue)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.NumericValue other =
+ (com.google.analytics.admin.v1alpha.NumericValue) obj;
+
+ if (!getOneValueCase().equals(other.getOneValueCase())) return false;
+ switch (oneValueCase_) {
+ case 1:
+ if (getInt64Value() != other.getInt64Value()) return false;
+ break;
+ case 2:
+ if (java.lang.Double.doubleToLongBits(getDoubleValue())
+ != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ switch (oneValueCase_) {
+ case 1:
+ hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value());
+ break;
+ case 2:
+ hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER;
+ hash =
+ (53 * hash)
+ + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getDoubleValue()));
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.analytics.admin.v1alpha.NumericValue prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * To represent a number. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.NumericValue} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Integer value + *+ * + *
int64 int64_value = 1;
+ *
+ * @return Whether the int64Value field is set.
+ */
+ public boolean hasInt64Value() {
+ return oneValueCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * Integer value + *+ * + *
int64 int64_value = 1;
+ *
+ * @return The int64Value.
+ */
+ public long getInt64Value() {
+ if (oneValueCase_ == 1) {
+ return (java.lang.Long) oneValue_;
+ }
+ return 0L;
+ }
+ /**
+ *
+ *
+ * + * Integer value + *+ * + *
int64 int64_value = 1;
+ *
+ * @param value The int64Value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInt64Value(long value) {
+ oneValueCase_ = 1;
+ oneValue_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Integer value + *+ * + *
int64 int64_value = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearInt64Value() {
+ if (oneValueCase_ == 1) {
+ oneValueCase_ = 0;
+ oneValue_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Double value + *+ * + *
double double_value = 2;
+ *
+ * @return Whether the doubleValue field is set.
+ */
+ public boolean hasDoubleValue() {
+ return oneValueCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Double value + *+ * + *
double double_value = 2;
+ *
+ * @return The doubleValue.
+ */
+ public double getDoubleValue() {
+ if (oneValueCase_ == 2) {
+ return (java.lang.Double) oneValue_;
+ }
+ return 0D;
+ }
+ /**
+ *
+ *
+ * + * Double value + *+ * + *
double double_value = 2;
+ *
+ * @param value The doubleValue to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDoubleValue(double value) {
+ oneValueCase_ = 2;
+ oneValue_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Double value + *+ * + *
double double_value = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDoubleValue() {
+ if (oneValueCase_ == 2) {
+ oneValueCase_ = 0;
+ oneValue_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.NumericValue)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.NumericValue)
+ private static final com.google.analytics.admin.v1alpha.NumericValue DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.NumericValue();
+ }
+
+ public static com.google.analytics.admin.v1alpha.NumericValue getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Integer value + *+ * + *
int64 int64_value = 1;
+ *
+ * @return Whether the int64Value field is set.
+ */
+ boolean hasInt64Value();
+ /**
+ *
+ *
+ * + * Integer value + *+ * + *
int64 int64_value = 1;
+ *
+ * @return The int64Value.
+ */
+ long getInt64Value();
+
+ /**
+ *
+ *
+ * + * Double value + *+ * + *
double double_value = 2;
+ *
+ * @return Whether the doubleValue field is set.
+ */
+ boolean hasDoubleValue();
+ /**
+ *
+ *
+ * + * Double value + *+ * + *
double double_value = 2;
+ *
+ * @return The doubleValue.
+ */
+ double getDoubleValue();
+
+ public com.google.analytics.admin.v1alpha.NumericValue.OneValueCase getOneValueCase();
+}
diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java
new file mode 100644
index 000000000000..5b4b2ce54386
--- /dev/null
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RunAccessReportRequest.java
@@ -0,0 +1,3968 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/analytics/admin/v1alpha/analytics_admin.proto
+
+package com.google.analytics.admin.v1alpha;
+
+/**
+ *
+ *
+ * + * The request for a Data Access Record Report. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.RunAccessReportRequest} + */ +public final class RunAccessReportRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.RunAccessReportRequest) + RunAccessReportRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RunAccessReportRequest.newBuilder() to construct. + private RunAccessReportRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private RunAccessReportRequest() { + entity_ = ""; + dimensions_ = java.util.Collections.emptyList(); + metrics_ = java.util.Collections.emptyList(); + dateRanges_ = java.util.Collections.emptyList(); + timeZone_ = ""; + orderBys_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RunAccessReportRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RunAccessReportRequest( + 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(); + + entity_ = s; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dimensions_ = + new java.util.ArrayList
+ * The Data Access Report is requested for this property. + * For example if "123" is your GA4 property ID, then entity should be + * "properties/123". + *+ * + *
string entity = 1;
+ *
+ * @return The entity.
+ */
+ @java.lang.Override
+ public java.lang.String getEntity() {
+ java.lang.Object ref = entity_;
+ 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();
+ entity_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The Data Access Report is requested for this property. + * For example if "123" is your GA4 property ID, then entity should be + * "properties/123". + *+ * + *
string entity = 1;
+ *
+ * @return The bytes for entity.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getEntityBytes() {
+ java.lang.Object ref = entity_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ entity_ = 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 in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ @java.lang.Override
+ public java.util.List+ * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder>
+ getDimensionsOrBuilderList() {
+ return dimensions_;
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ @java.lang.Override
+ public int getDimensionsCount() {
+ return dimensions_.size();
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessDimension getDimensions(int index) {
+ return dimensions_.get(index);
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuilder(
+ int index) {
+ return dimensions_.get(index);
+ }
+
+ public static final int METRICS_FIELD_NUMBER = 3;
+ private java.util.List+ * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ @java.lang.Override
+ public java.util.List+ * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessMetricOrBuilder>
+ getMetricsOrBuilderList() {
+ return metrics_;
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ @java.lang.Override
+ public int getMetricsCount() {
+ return metrics_.size();
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index) {
+ return metrics_.get(index);
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(int index) {
+ return metrics_.get(index);
+ }
+
+ public static final int DATE_RANGES_FIELD_NUMBER = 4;
+ private java.util.List+ * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ @java.lang.Override
+ public java.util.List+ * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder>
+ getDateRangesOrBuilderList() {
+ return dateRanges_;
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ @java.lang.Override
+ public int getDateRangesCount() {
+ return dateRanges_.size();
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessDateRange getDateRanges(int index) {
+ return dateRanges_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuilder(
+ int index) {
+ return dateRanges_.get(index);
+ }
+
+ public static final int DIMENSION_FILTER_FIELD_NUMBER = 5;
+ private com.google.analytics.admin.v1alpha.AccessFilterExpression dimensionFilter_;
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ *
+ * @return Whether the dimensionFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasDimensionFilter() {
+ return dimensionFilter_ != null;
+ }
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ *
+ * @return The dimensionFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFilter() {
+ return dimensionFilter_ == null
+ ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
+ : dimensionFilter_;
+ }
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+ getDimensionFilterOrBuilder() {
+ return getDimensionFilter();
+ }
+
+ public static final int METRIC_FILTER_FIELD_NUMBER = 6;
+ private com.google.analytics.admin.v1alpha.AccessFilterExpression metricFilter_;
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ *
+ * @return Whether the metricFilter field is set.
+ */
+ @java.lang.Override
+ public boolean hasMetricFilter() {
+ return metricFilter_ != null;
+ }
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ *
+ * @return The metricFilter.
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter() {
+ return metricFilter_ == null
+ ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
+ : metricFilter_;
+ }
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+ getMetricFilterOrBuilder() {
+ return getMetricFilter();
+ }
+
+ public static final int OFFSET_FIELD_NUMBER = 7;
+ private long offset_;
+ /**
+ *
+ *
+ * + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + *+ * + *
int64 offset = 7;
+ *
+ * @return The offset.
+ */
+ @java.lang.Override
+ public long getOffset() {
+ return offset_;
+ }
+
+ public static final int LIMIT_FIELD_NUMBER = 8;
+ private long limit_;
+ /**
+ *
+ *
+ * + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + *+ * + *
int64 limit = 8;
+ *
+ * @return The limit.
+ */
+ @java.lang.Override
+ public long getLimit() {
+ return limit_;
+ }
+
+ public static final int TIME_ZONE_FIELD_NUMBER = 9;
+ private volatile java.lang.Object timeZone_;
+ /**
+ *
+ *
+ * + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + *+ * + *
string time_zone = 9;
+ *
+ * @return The timeZone.
+ */
+ @java.lang.Override
+ public java.lang.String getTimeZone() {
+ java.lang.Object ref = timeZone_;
+ 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();
+ timeZone_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + *+ * + *
string time_zone = 9;
+ *
+ * @return The bytes for timeZone.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getTimeZoneBytes() {
+ java.lang.Object ref = timeZone_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ timeZone_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ORDER_BYS_FIELD_NUMBER = 10;
+ private java.util.List+ * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ @java.lang.Override
+ public java.util.List+ * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder>
+ getOrderBysOrBuilderList() {
+ return orderBys_;
+ }
+ /**
+ *
+ *
+ * + * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ @java.lang.Override
+ public int getOrderBysCount() {
+ return orderBys_.size();
+ }
+ /**
+ *
+ *
+ * + * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderBy getOrderBys(int index) {
+ return orderBys_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ @java.lang.Override
+ public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder(int index) {
+ return orderBys_.get(index);
+ }
+
+ public static final int RETURN_ENTITY_QUOTA_FIELD_NUMBER = 11;
+ private boolean returnEntityQuota_;
+ /**
+ *
+ *
+ * + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). + *+ * + *
bool return_entity_quota = 11;
+ *
+ * @return The returnEntityQuota.
+ */
+ @java.lang.Override
+ public boolean getReturnEntityQuota() {
+ return returnEntityQuota_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_);
+ }
+ for (int i = 0; i < dimensions_.size(); i++) {
+ output.writeMessage(2, dimensions_.get(i));
+ }
+ for (int i = 0; i < metrics_.size(); i++) {
+ output.writeMessage(3, metrics_.get(i));
+ }
+ for (int i = 0; i < dateRanges_.size(); i++) {
+ output.writeMessage(4, dateRanges_.get(i));
+ }
+ if (dimensionFilter_ != null) {
+ output.writeMessage(5, getDimensionFilter());
+ }
+ if (metricFilter_ != null) {
+ output.writeMessage(6, getMetricFilter());
+ }
+ if (offset_ != 0L) {
+ output.writeInt64(7, offset_);
+ }
+ if (limit_ != 0L) {
+ output.writeInt64(8, limit_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, timeZone_);
+ }
+ for (int i = 0; i < orderBys_.size(); i++) {
+ output.writeMessage(10, orderBys_.get(i));
+ }
+ if (returnEntityQuota_ != false) {
+ output.writeBool(11, returnEntityQuota_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_);
+ }
+ for (int i = 0; i < dimensions_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dimensions_.get(i));
+ }
+ for (int i = 0; i < metrics_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i));
+ }
+ for (int i = 0; i < dateRanges_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, dateRanges_.get(i));
+ }
+ if (dimensionFilter_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDimensionFilter());
+ }
+ if (metricFilter_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetricFilter());
+ }
+ if (offset_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, offset_);
+ }
+ if (limit_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, limit_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeZone_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, timeZone_);
+ }
+ for (int i = 0; i < orderBys_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, orderBys_.get(i));
+ }
+ if (returnEntityQuota_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, returnEntityQuota_);
+ }
+ 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.admin.v1alpha.RunAccessReportRequest)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.admin.v1alpha.RunAccessReportRequest other =
+ (com.google.analytics.admin.v1alpha.RunAccessReportRequest) obj;
+
+ if (!getEntity().equals(other.getEntity())) return false;
+ if (!getDimensionsList().equals(other.getDimensionsList())) return false;
+ if (!getMetricsList().equals(other.getMetricsList())) return false;
+ if (!getDateRangesList().equals(other.getDateRangesList())) return false;
+ if (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 (getOffset() != other.getOffset()) return false;
+ if (getLimit() != other.getLimit()) return false;
+ if (!getTimeZone().equals(other.getTimeZone())) return false;
+ if (!getOrderBysList().equals(other.getOrderBysList())) return false;
+ if (getReturnEntityQuota() != other.getReturnEntityQuota()) 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) + ENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getEntity().hashCode();
+ if (getDimensionsCount() > 0) {
+ hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getDimensionsList().hashCode();
+ }
+ if (getMetricsCount() > 0) {
+ hash = (37 * hash) + METRICS_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricsList().hashCode();
+ }
+ if (getDateRangesCount() > 0) {
+ hash = (37 * hash) + DATE_RANGES_FIELD_NUMBER;
+ hash = (53 * hash) + getDateRangesList().hashCode();
+ }
+ if (hasDimensionFilter()) {
+ hash = (37 * hash) + DIMENSION_FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getDimensionFilter().hashCode();
+ }
+ if (hasMetricFilter()) {
+ hash = (37 * hash) + METRIC_FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getMetricFilter().hashCode();
+ }
+ hash = (37 * hash) + OFFSET_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset());
+ hash = (37 * hash) + LIMIT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit());
+ hash = (37 * hash) + TIME_ZONE_FIELD_NUMBER;
+ hash = (53 * hash) + getTimeZone().hashCode();
+ if (getOrderBysCount() > 0) {
+ hash = (37 * hash) + ORDER_BYS_FIELD_NUMBER;
+ hash = (53 * hash) + getOrderBysList().hashCode();
+ }
+ hash = (37 * hash) + RETURN_ENTITY_QUOTA_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnEntityQuota());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest 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.admin.v1alpha.RunAccessReportRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom(
+ 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.admin.v1alpha.RunAccessReportRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest 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.admin.v1alpha.RunAccessReportRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest 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.admin.v1alpha.RunAccessReportRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest 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.admin.v1alpha.RunAccessReportRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The request for a Data Access Record Report. + *+ * + * Protobuf type {@code google.analytics.admin.v1alpha.RunAccessReportRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The Data Access Report is requested for this property. + * For example if "123" is your GA4 property ID, then entity should be + * "properties/123". + *+ * + *
string entity = 1;
+ *
+ * @return The entity.
+ */
+ public java.lang.String getEntity() {
+ java.lang.Object ref = entity_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ entity_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The Data Access Report is requested for this property. + * For example if "123" is your GA4 property ID, then entity should be + * "properties/123". + *+ * + *
string entity = 1;
+ *
+ * @return The bytes for entity.
+ */
+ public com.google.protobuf.ByteString getEntityBytes() {
+ java.lang.Object ref = entity_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ entity_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The Data Access Report is requested for this property. + * For example if "123" is your GA4 property ID, then entity should be + * "properties/123". + *+ * + *
string entity = 1;
+ *
+ * @param value The entity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntity(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ entity_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The Data Access Report is requested for this property. + * For example if "123" is your GA4 property ID, then entity should be + * "properties/123". + *+ * + *
string entity = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEntity() {
+
+ entity_ = getDefaultInstance().getEntity();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The Data Access Report is requested for this property. + * For example if "123" is your GA4 property ID, then entity should be + * "properties/123". + *+ * + *
string entity = 1;
+ *
+ * @param value The bytes for entity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEntityBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ entity_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List+ * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public java.util.List+ * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public int getDimensionsCount() {
+ if (dimensionsBuilder_ == null) {
+ return dimensions_.size();
+ } else {
+ return dimensionsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessDimension getDimensions(int index) {
+ if (dimensionsBuilder_ == null) {
+ return dimensions_.get(index);
+ } else {
+ return dimensionsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public Builder setDimensions(
+ int index, com.google.analytics.admin.v1alpha.AccessDimension 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 in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public Builder setDimensions(
+ int index, com.google.analytics.admin.v1alpha.AccessDimension.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 in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public Builder addDimensions(com.google.analytics.admin.v1alpha.AccessDimension 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 in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public Builder addDimensions(
+ int index, com.google.analytics.admin.v1alpha.AccessDimension 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 in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public Builder addDimensions(
+ com.google.analytics.admin.v1alpha.AccessDimension.Builder builderForValue) {
+ if (dimensionsBuilder_ == null) {
+ ensureDimensionsIsMutable();
+ dimensions_.add(builderForValue.build());
+ onChanged();
+ } else {
+ dimensionsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public Builder addDimensions(
+ int index, com.google.analytics.admin.v1alpha.AccessDimension.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 in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public Builder addAllDimensions(
+ java.lang.Iterable extends com.google.analytics.admin.v1alpha.AccessDimension> 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 in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension 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 in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension 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 in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessDimension.Builder getDimensionsBuilder(
+ int index) {
+ return getDimensionsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuilder(
+ int index) {
+ if (dimensionsBuilder_ == null) {
+ return dimensions_.get(index);
+ } else {
+ return dimensionsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder>
+ getDimensionsOrBuilderList() {
+ if (dimensionsBuilder_ != null) {
+ return dimensionsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(dimensions_);
+ }
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessDimension.Builder addDimensionsBuilder() {
+ return getDimensionsFieldBuilder()
+ .addBuilder(com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public com.google.analytics.admin.v1alpha.AccessDimension.Builder addDimensionsBuilder(
+ int index) {
+ return getDimensionsFieldBuilder()
+ .addBuilder(
+ index, com.google.analytics.admin.v1alpha.AccessDimension.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ public java.util.List+ * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public java.util.List+ * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public int getMetricsCount() {
+ if (metricsBuilder_ == null) {
+ return metrics_.size();
+ } else {
+ return metricsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public com.google.analytics.admin.v1alpha.AccessMetric getMetrics(int index) {
+ if (metricsBuilder_ == null) {
+ return metrics_.get(index);
+ } else {
+ return metricsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public Builder setMetrics(int index, com.google.analytics.admin.v1alpha.AccessMetric 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 in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public Builder setMetrics(
+ int index, com.google.analytics.admin.v1alpha.AccessMetric.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 in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public Builder addMetrics(com.google.analytics.admin.v1alpha.AccessMetric 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 in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public Builder addMetrics(int index, com.google.analytics.admin.v1alpha.AccessMetric 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 in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public Builder addMetrics(
+ com.google.analytics.admin.v1alpha.AccessMetric.Builder builderForValue) {
+ if (metricsBuilder_ == null) {
+ ensureMetricsIsMutable();
+ metrics_.add(builderForValue.build());
+ onChanged();
+ } else {
+ metricsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public Builder addMetrics(
+ int index, com.google.analytics.admin.v1alpha.AccessMetric.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 in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public Builder addAllMetrics(
+ java.lang.Iterable extends com.google.analytics.admin.v1alpha.AccessMetric> 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 in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric 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 in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric 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 in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public com.google.analytics.admin.v1alpha.AccessMetric.Builder getMetricsBuilder(int index) {
+ return getMetricsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuilder(int index) {
+ if (metricsBuilder_ == null) {
+ return metrics_.get(index);
+ } else {
+ return metricsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessMetricOrBuilder>
+ getMetricsOrBuilderList() {
+ if (metricsBuilder_ != null) {
+ return metricsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(metrics_);
+ }
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder() {
+ return getMetricsFieldBuilder()
+ .addBuilder(com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public com.google.analytics.admin.v1alpha.AccessMetric.Builder addMetricsBuilder(int index) {
+ return getMetricsFieldBuilder()
+ .addBuilder(index, com.google.analytics.admin.v1alpha.AccessMetric.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ public java.util.List+ * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public java.util.List+ * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public int getDateRangesCount() {
+ if (dateRangesBuilder_ == null) {
+ return dateRanges_.size();
+ } else {
+ return dateRangesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public com.google.analytics.admin.v1alpha.AccessDateRange getDateRanges(int index) {
+ if (dateRangesBuilder_ == null) {
+ return dateRanges_.get(index);
+ } else {
+ return dateRangesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public Builder setDateRanges(
+ int index, com.google.analytics.admin.v1alpha.AccessDateRange value) {
+ if (dateRangesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDateRangesIsMutable();
+ dateRanges_.set(index, value);
+ onChanged();
+ } else {
+ dateRangesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public Builder setDateRanges(
+ int index, com.google.analytics.admin.v1alpha.AccessDateRange.Builder builderForValue) {
+ if (dateRangesBuilder_ == null) {
+ ensureDateRangesIsMutable();
+ dateRanges_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ dateRangesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public Builder addDateRanges(com.google.analytics.admin.v1alpha.AccessDateRange value) {
+ if (dateRangesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDateRangesIsMutable();
+ dateRanges_.add(value);
+ onChanged();
+ } else {
+ dateRangesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public Builder addDateRanges(
+ int index, com.google.analytics.admin.v1alpha.AccessDateRange value) {
+ if (dateRangesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDateRangesIsMutable();
+ dateRanges_.add(index, value);
+ onChanged();
+ } else {
+ dateRangesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public Builder addDateRanges(
+ com.google.analytics.admin.v1alpha.AccessDateRange.Builder builderForValue) {
+ if (dateRangesBuilder_ == null) {
+ ensureDateRangesIsMutable();
+ dateRanges_.add(builderForValue.build());
+ onChanged();
+ } else {
+ dateRangesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public Builder addDateRanges(
+ int index, com.google.analytics.admin.v1alpha.AccessDateRange.Builder builderForValue) {
+ if (dateRangesBuilder_ == null) {
+ ensureDateRangesIsMutable();
+ dateRanges_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ dateRangesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public Builder addAllDateRanges(
+ java.lang.Iterable extends com.google.analytics.admin.v1alpha.AccessDateRange> values) {
+ if (dateRangesBuilder_ == null) {
+ ensureDateRangesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dateRanges_);
+ onChanged();
+ } else {
+ dateRangesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public Builder clearDateRanges() {
+ if (dateRangesBuilder_ == null) {
+ dateRanges_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ dateRangesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public Builder removeDateRanges(int index) {
+ if (dateRangesBuilder_ == null) {
+ ensureDateRangesIsMutable();
+ dateRanges_.remove(index);
+ onChanged();
+ } else {
+ dateRangesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder getDateRangesBuilder(
+ int index) {
+ return getDateRangesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder getDateRangesOrBuilder(
+ int index) {
+ if (dateRangesBuilder_ == null) {
+ return dateRanges_.get(index);
+ } else {
+ return dateRangesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessDateRangeOrBuilder>
+ getDateRangesOrBuilderList() {
+ if (dateRangesBuilder_ != null) {
+ return dateRangesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(dateRanges_);
+ }
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesBuilder() {
+ return getDateRangesFieldBuilder()
+ .addBuilder(com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public com.google.analytics.admin.v1alpha.AccessDateRange.Builder addDateRangesBuilder(
+ int index) {
+ return getDateRangesFieldBuilder()
+ .addBuilder(
+ index, com.google.analytics.admin.v1alpha.AccessDateRange.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4;
+ */
+ public java.util.List+ * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ *
+ * @return Whether the dimensionFilter field is set.
+ */
+ public boolean hasDimensionFilter() {
+ return dimensionFilterBuilder_ != null || dimensionFilter_ != null;
+ }
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ *
+ * @return The dimensionFilter.
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression getDimensionFilter() {
+ if (dimensionFilterBuilder_ == null) {
+ return dimensionFilter_ == null
+ ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
+ : dimensionFilter_;
+ } else {
+ return dimensionFilterBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ */
+ public Builder setDimensionFilter(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+ if (dimensionFilterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ dimensionFilter_ = value;
+ onChanged();
+ } else {
+ dimensionFilterBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ */
+ public Builder setDimensionFilter(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) {
+ if (dimensionFilterBuilder_ == null) {
+ dimensionFilter_ = builderForValue.build();
+ onChanged();
+ } else {
+ dimensionFilterBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ */
+ public Builder mergeDimensionFilter(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+ if (dimensionFilterBuilder_ == null) {
+ if (dimensionFilter_ != null) {
+ dimensionFilter_ =
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.newBuilder(dimensionFilter_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ dimensionFilter_ = value;
+ }
+ onChanged();
+ } else {
+ dimensionFilterBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ */
+ public Builder clearDimensionFilter() {
+ if (dimensionFilterBuilder_ == null) {
+ dimensionFilter_ = null;
+ onChanged();
+ } else {
+ dimensionFilter_ = null;
+ dimensionFilterBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder
+ getDimensionFilterBuilder() {
+
+ onChanged();
+ return getDimensionFilterFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+ getDimensionFilterOrBuilder() {
+ if (dimensionFilterBuilder_ != null) {
+ return dimensionFilterBuilder_.getMessageOrBuilder();
+ } else {
+ return dimensionFilter_ == null
+ ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
+ : dimensionFilter_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Dimension filters allow you to restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpression,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+ getDimensionFilterFieldBuilder() {
+ if (dimensionFilterBuilder_ == null) {
+ dimensionFilterBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpression,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
+ getDimensionFilter(), getParentForChildren(), isClean());
+ dimensionFilter_ = null;
+ }
+ return dimensionFilterBuilder_;
+ }
+
+ private com.google.analytics.admin.v1alpha.AccessFilterExpression metricFilter_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpression,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+ metricFilterBuilder_;
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ *
+ * @return Whether the metricFilter field is set.
+ */
+ public boolean hasMetricFilter() {
+ return metricFilterBuilder_ != null || metricFilter_ != null;
+ }
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ *
+ * @return The metricFilter.
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression getMetricFilter() {
+ if (metricFilterBuilder_ == null) {
+ return metricFilter_ == null
+ ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
+ : metricFilter_;
+ } else {
+ return metricFilterBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ */
+ public Builder setMetricFilter(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+ if (metricFilterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ metricFilter_ = value;
+ onChanged();
+ } else {
+ metricFilterBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ */
+ public Builder setMetricFilter(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder builderForValue) {
+ if (metricFilterBuilder_ == null) {
+ metricFilter_ = builderForValue.build();
+ onChanged();
+ } else {
+ metricFilterBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ */
+ public Builder mergeMetricFilter(
+ com.google.analytics.admin.v1alpha.AccessFilterExpression value) {
+ if (metricFilterBuilder_ == null) {
+ if (metricFilter_ != null) {
+ metricFilter_ =
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.newBuilder(metricFilter_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ metricFilter_ = value;
+ }
+ onChanged();
+ } else {
+ metricFilterBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ */
+ public Builder clearMetricFilter() {
+ if (metricFilterBuilder_ == null) {
+ metricFilter_ = null;
+ onChanged();
+ } else {
+ metricFilter_ = null;
+ metricFilterBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder
+ getMetricFilterBuilder() {
+
+ onChanged();
+ return getMetricFilterFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ */
+ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder
+ getMetricFilterOrBuilder() {
+ if (metricFilterBuilder_ != null) {
+ return metricFilterBuilder_.getMessageOrBuilder();
+ } else {
+ return metricFilter_ == null
+ ? com.google.analytics.admin.v1alpha.AccessFilterExpression.getDefaultInstance()
+ : metricFilter_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + *+ * + *
.google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpression,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>
+ getMetricFilterFieldBuilder() {
+ if (metricFilterBuilder_ == null) {
+ metricFilterBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.admin.v1alpha.AccessFilterExpression,
+ com.google.analytics.admin.v1alpha.AccessFilterExpression.Builder,
+ com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder>(
+ getMetricFilter(), getParentForChildren(), isClean());
+ metricFilter_ = null;
+ }
+ return metricFilterBuilder_;
+ }
+
+ private long offset_;
+ /**
+ *
+ *
+ * + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + *+ * + *
int64 offset = 7;
+ *
+ * @return The offset.
+ */
+ @java.lang.Override
+ public long getOffset() {
+ return offset_;
+ }
+ /**
+ *
+ *
+ * + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + *+ * + *
int64 offset = 7;
+ *
+ * @param value The offset to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOffset(long value) {
+
+ offset_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + *+ * + *
int64 offset = 7;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearOffset() {
+
+ offset_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long limit_;
+ /**
+ *
+ *
+ * + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + *+ * + *
int64 limit = 8;
+ *
+ * @return The limit.
+ */
+ @java.lang.Override
+ public long getLimit() {
+ return limit_;
+ }
+ /**
+ *
+ *
+ * + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + *+ * + *
int64 limit = 8;
+ *
+ * @param value The limit to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLimit(long value) {
+
+ limit_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + *+ * + *
int64 limit = 8;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearLimit() {
+
+ limit_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object timeZone_ = "";
+ /**
+ *
+ *
+ * + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + *+ * + *
string time_zone = 9;
+ *
+ * @return The timeZone.
+ */
+ public java.lang.String getTimeZone() {
+ java.lang.Object ref = timeZone_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ timeZone_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + *+ * + *
string time_zone = 9;
+ *
+ * @return The bytes for timeZone.
+ */
+ public com.google.protobuf.ByteString getTimeZoneBytes() {
+ java.lang.Object ref = timeZone_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ timeZone_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + *+ * + *
string time_zone = 9;
+ *
+ * @param value The timeZone to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTimeZone(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ timeZone_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + *+ * + *
string time_zone = 9;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTimeZone() {
+
+ timeZone_ = getDefaultInstance().getTimeZone();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + *+ * + *
string time_zone = 9;
+ *
+ * @param value The bytes for timeZone to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ timeZone_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List+ * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public java.util.List+ * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public int getOrderBysCount() {
+ if (orderBysBuilder_ == null) {
+ return orderBys_.size();
+ } else {
+ return orderBysBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public com.google.analytics.admin.v1alpha.AccessOrderBy 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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public Builder setOrderBys(int index, com.google.analytics.admin.v1alpha.AccessOrderBy 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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public Builder setOrderBys(
+ int index, com.google.analytics.admin.v1alpha.AccessOrderBy.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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public Builder addOrderBys(com.google.analytics.admin.v1alpha.AccessOrderBy 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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public Builder addOrderBys(int index, com.google.analytics.admin.v1alpha.AccessOrderBy 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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public Builder addOrderBys(
+ com.google.analytics.admin.v1alpha.AccessOrderBy.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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public Builder addOrderBys(
+ int index, com.google.analytics.admin.v1alpha.AccessOrderBy.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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public Builder addAllOrderBys(
+ java.lang.Iterable extends com.google.analytics.admin.v1alpha.AccessOrderBy> 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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ 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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public Builder removeOrderBys(int index) {
+ if (orderBysBuilder_ == null) {
+ ensureOrderBysIsMutable();
+ orderBys_.remove(index);
+ onChanged();
+ } else {
+ orderBysBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder getOrderBysBuilder(int index) {
+ return getOrderBysFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder 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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public java.util.List extends com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder>
+ 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.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder addOrderBysBuilder() {
+ return getOrderBysFieldBuilder()
+ .addBuilder(com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder addOrderBysBuilder(int index) {
+ return getOrderBysFieldBuilder()
+ .addBuilder(index, com.google.analytics.admin.v1alpha.AccessOrderBy.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Specifies how rows are ordered in the response. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10;
+ */
+ public java.util.List+ * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). + *+ * + *
bool return_entity_quota = 11;
+ *
+ * @return The returnEntityQuota.
+ */
+ @java.lang.Override
+ public boolean getReturnEntityQuota() {
+ return returnEntityQuota_;
+ }
+ /**
+ *
+ *
+ * + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). + *+ * + *
bool return_entity_quota = 11;
+ *
+ * @param value The returnEntityQuota to set.
+ * @return This builder for chaining.
+ */
+ public Builder setReturnEntityQuota(boolean value) {
+
+ returnEntityQuota_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). + *+ * + *
bool return_entity_quota = 11;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearReturnEntityQuota() {
+
+ returnEntityQuota_ = 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.admin.v1alpha.RunAccessReportRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.RunAccessReportRequest)
+ private static final com.google.analytics.admin.v1alpha.RunAccessReportRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.RunAccessReportRequest();
+ }
+
+ public static com.google.analytics.admin.v1alpha.RunAccessReportRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The Data Access Report is requested for this property. + * For example if "123" is your GA4 property ID, then entity should be + * "properties/123". + *+ * + *
string entity = 1;
+ *
+ * @return The entity.
+ */
+ java.lang.String getEntity();
+ /**
+ *
+ *
+ * + * The Data Access Report is requested for this property. + * For example if "123" is your GA4 property ID, then entity should be + * "properties/123". + *+ * + *
string entity = 1;
+ *
+ * @return The bytes for entity.
+ */
+ com.google.protobuf.ByteString getEntityBytes();
+
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ java.util.List+ * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ com.google.analytics.admin.v1alpha.AccessDimension getDimensions(int index);
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ int getDimensionsCount();
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ java.util.List extends com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder>
+ getDimensionsOrBuilderList();
+ /**
+ *
+ *
+ * + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2;
+ */
+ com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensionsOrBuilder(int index);
+
+ /**
+ *
+ *
+ * + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + *+ * + *
repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3;
+ */
+ java.util.List